Commit graph

465 commits

Author SHA1 Message Date
Alexandre Emsenhuber
f62e0b0fd6 mwScriptLoader.php script has been removed 2010-08-01 13:13:04 +00:00
Raimond Spekking
0f55112939 Show the copyright message in user preference language for Wikimedia wikis, important especially for multi language projects like Commons.
Stick to content language for standard MediaWiki installations for the case that [[MediaWiki:Copyright]] is customized.
It is very unlikely that a third party installation translate its customization in 204 languages like we have done it at Translatewiki for WikimediaMessages
2010-07-21 16:01:10 +00:00
Alexandre Emsenhuber
9d37f29a9a * document new hooks
* fixed quotes
2010-07-03 14:33:09 +00:00
Max Semenik
7f12b94750 Added a new hook that allows extensions to add their own tests to the core test suite 2010-06-28 18:17:47 +00:00
Matěj Grabovský
beb7b8fe3b (bug 18891) Deprecated Article::insertNewArticle still used in core 2010-06-26 13:25:08 +00:00
Platonides
3566d5cb13 Deprecate MonoBookTemplateToolboxEnd hook.
SkinTemplateToolboxEnd available since 1.13 should be used instead.
Usage among extensions fixed.
2010-06-08 14:52:15 +00:00
Aaron Schulz
7a0769d619 (bug 23676) Spelling correction: ArticleRevisionVisiblitySet -> ArticleRevisionVisibilitySet 2010-05-27 15:13:30 +00:00
Mark A. Hershberger
5148fe8cd7 re r66675 fix typo 2010-05-21 00:57:46 +00:00
Mark A. Hershberger
4f01b9f10b * Add formatting for user messages.
** First, try a hook for the user messages
** Next, check for a template
** Otherwise, do something sane.
2010-05-20 18:47:13 +00:00
Mark A. Hershberger
0a4586c223 * Since it makes sense (to me :) to make the arguments for the two UserMessage hooks more uniform, do it.
* Document these hooks in doc/hooks.txt
2010-05-20 02:12:04 +00:00
Alexandre Emsenhuber
7a14da0df5 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine
* one indentation fix in WatchlistEditor.php
2010-05-08 13:23:11 +00:00
Sam Reed
bc8da89b18 Fix hooks.txt to match code, minor followup to r65506 2010-04-24 11:12:07 +00:00
Sam Reed
7c0aecb42b * (bug 23276) Add hook to Special:NewPages to modify query
Patch by Dan Barrett
2010-04-24 11:05:15 +00:00
Sam Reed
505f4ce94a Fix hooks.txt SpecialSearchNogomatch $title to &$title
* (bug 23206) Add Special::Search hook for detecting successful "Go"

Not implemented completely as per patch, $term removed, seems a bit useless/redundant (and doesn't exist for Nomatch)
2010-04-16 10:19:50 +00:00
Alexandre Emsenhuber
1cf4890aba Documented hooks added in r64903 2010-04-13 17:33:22 +00:00
Alexandre Emsenhuber
da5cd88a3e fix typo 2010-03-09 20:40:00 +00:00
Platonides
c3964fe4d5 Remove unused VectorTemplateToolboxEnd hook.
Per-skin hooks are evil. Extensions should use SkinTemplateToolboxEnd.
2010-03-03 22:15:40 +00:00
Alexandre Emsenhuber
d4c2f2796b (bug 8790) Metadata edition ($wgUseMetadataEdit) has been moved to a separate extension "MetadataEdit":
* Removed $wgUseMetadataEdit and related code in EditPage from and created a new extension "MetadataEdit"
* Added 3 new hooks EditFormInitialText, EditFormGetDiffText and EditFormGetPreviewText
* Moved 'metadata_help' message to the extension
2010-02-20 17:05:56 +00:00
Tim Starling
8557f29f5e Revert r58635 and related, unnecessary and incorrect use of the hook mechanism 2010-02-09 06:12:15 +00:00
Alexandre Emsenhuber
638701000c * (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks the return value 2010-01-29 17:27:30 +00:00
Platonides
525cc3f606 Revert r61572. These titles are output parameters. A reference is the only way they can work correctly
(eg. think on a hook that always does 'return $titleResult = Title::newFromText("Foo");').
2010-01-27 14:39:03 +00:00
Platonides
86814a51cc Apply r61570 (Follow-up r61150: Do not pass objects as references in new hooks).
This time in the correct place.
2010-01-27 11:52:35 +00:00
Chad Horohoe
7edc832776 Threading info type needs a name 2010-01-25 13:36:58 +00:00
Aaron Schulz
244dd9b4de * EditPageNoSuchSection hook
* Added message to bad section error for reviewed pages
* A few tiny cleanups
2010-01-18 00:58:22 +00:00
Platonides
64da9d2eb0 Bug 19996 (backend hooks) Finally adding the four hooks. 2010-01-16 23:27:55 +00:00
Chad Horohoe
303d247157 Reference 0.4 XML schema. Lets <redirect /> validate. 2010-01-15 13:10:54 +00:00
Aaron Schulz
cb5166a9a6 Follow up r60759: forgot to commit hook change 2010-01-07 01:21:02 +00:00
Raimond Spekking
a94fcedffa Rename hook per Tim's CR on r58192 2009-12-30 08:51:25 +00:00
Bryan Tong Minh
e2374f6b64 Restore hooks UploadForm:initial and UploadForm:BeforeProcessing removed in r57868. 2009-12-21 19:57:43 +00:00
Max Semenik
a6cda4b42b Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case (extensions/ConfirmEdit/MathCaptcha) 2009-12-05 15:03:20 +00:00
Alexandre Emsenhuber
b2049915da * removed $this in parameters list since it's a reserved word
* consistency in parameter descriptions
2009-11-17 20:52:04 +00:00
Daniel Kinzler
ee0cbd5dca allow UploadVerification hooks to return error details 2009-11-13 16:08:17 +00:00
Bryan Tong Minh
6fec9d682b Follow-up to r58633 and r58628 (lqt): Rename Title::getProtectionTypes to Title::getRestrictionTypes and fix the hook name. 2009-11-09 12:05:30 +00:00
Bryan Tong Minh
9d64bbc404 * Add globalusage link to the file toc
* Add thumb of the file to Special:GlobalUsage
2009-11-08 11:09:20 +00:00
Alexandre Emsenhuber
27d800b4c4 Sync docs/hooks.txt:
* removed AbortNewAccountAuto since it was reverted
* added ArticleConfirmDelete and ImgAuthBeforeStream
2009-11-07 10:33:10 +00:00
Bryan Tong Minh
d3fe87c552 Add hook ImagePageAfterImageLinks for showing extra information on the image page after the imagelinks 2009-11-07 09:31:16 +00:00
Ariel Glenn
f873fbad9e document CacheHeadersAfterSet hook 2009-11-06 16:49:41 +00:00
Andrew Garrett
f6f5e90888 Enabling changes for r56828: some refactoring and code cleanup of the protection interface, including a new hook, generalisation to more restriction types than edit/move, and some other related changes. 2009-11-06 10:27:44 +00:00
Raimond Spekking
48fe5241a5 New hook getOtherBlockLogLink, called in Special:IPBlockList to show links to block logs of other blocking extensions, i.e. GlobalBlocking 2009-10-27 14:08:02 +00:00
Bryan Tong Minh
c824e30197 * Updated upload hooks documentation
* Allow users to submit a modified file description without ignoring warnings
2009-10-23 20:05:31 +00:00
Fenzik Joseph
a9357faf94 * function isValidPassword modified to return boolean(true/false)
* Added function getPasswordValidity return error message on failure for the given unvalidated password input.
* Replaced isValidPassword() fn call to getPasswordValidity() in SpecialUserlogin.php
2009-10-19 03:01:11 +00:00
Chad Horohoe
c319cc8968 (bug 13750) $wgCapitalLinks should be a per-namespace setting 2009-10-09 12:52:16 +00:00
Andrew Garrett
c4867954fd Missing docs/hooks update for r57459 2009-10-07 14:30:12 +00:00
Brion Vibber
76e4820e02 Cleanup r57359 -- removing PHP4-isms (references not needed to pass objects unless you're going to replace them with different objects as outparams) 2009-10-06 22:14:40 +00:00
Jack Phoenix
fb95ba0b14 redoing r38040: two new hooks for email confirmation/invalidation, both are in User class now so they should work even if email is confirmed through password reset (etc.) 2009-10-04 16:26:43 +00:00
Aaron Schulz
205d3bf0ca Tweak r57300: swap hook listing order :) 2009-10-02 18:47:38 +00:00
Aaron Schulz
0d833fe671 * Added $wgFlaggedRevsProtectLevels to allow for site defined review "protection" levels. Disables stabilization and a small fieldset to the protection form with the options.
* Added three ProtectionForm hooks for the above
* Removed PHP4-ism from getPageVisibilitySettings()
2009-10-02 18:46:19 +00:00
Brion Vibber
0d1d984313 Revert broken rewrite of login system; totally broken.
* Login doesn't attach to session properly, so can't stay logged in!
* Password field shown in plaintext!

If it just DOESN'T WORK please keep it on a work branch, don't put it in trunk!

Reverted:
r56682
r56683
r56684
r56686
r56688
r56696
r56699
r56702
r56703
r56704
r56782
r56896
2009-09-26 00:49:32 +00:00
Happy-melon
3e957cc137 Add new hook, AbortNewAccountAuto, to abort account creations from AuthPlugin- or ExtUser-driven requests. 2009-09-24 12:50:12 +00:00
Happy-melon
d3f901b029 Merge in Login rewrite, second time lucky. 2009-09-20 20:28:27 +00:00