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
Alex Z
71a97237b5
Replace the user rename log display for non-existent userpages with a hook (followup to r56251).
...
Update for Renameuser extension to follow.
Also make docs for LogEventsList::showLogExtract() actually useful
2009-09-14 18:10:13 +00:00
Tomasz Finc
7beb1c39e6
fixing spacing of comments
2009-09-09 21:24:42 +00:00
Tomasz Finc
7fd6e20278
missing an a
2009-09-09 20:54:15 +00:00
Tomasz Finc
abd034bee4
Adding new examples for 0.4 xsd
2009-09-09 19:21:58 +00:00
Brion Vibber
841014ad91
Revert broken rewrite of login forms:
...
r55990 "* Totally refactor includes/specials/SpecialUserlogin.php:"
r55991 "Followup to r55990 - Remove debugging hack :("
r55994 "Followup to r55990 - rename method to avoid PHP Strict warnings"
r55997 "Follow-up to r55990, per comments:"
Continued reports of breakage with the new version...
Non-vital changes of this magnitude should probably be worked up on a branch to ensure everything's consistent before pushing them to trunk.
2009-09-08 18:40:05 +00:00
Andrew Garrett
1ec4f9dbaa
Add "Discussions" option to search when LiquidThreads is active. Includes some fixes to SpecialSearch.php, to allow this sort of change
2009-09-08 11:50:31 +00:00
Roan Kattouw
a369bbd7d9
Update hooks.txt for r55682
2009-09-07 19:29:55 +00:00
Happy-melon
fca012212f
* Totally refactor includes/specials/SpecialUserlogin.php:
...
** Split backend stuff out into includes/Login.php
** Split account creation and login stuff up, into includes/specials/CreateAccount.php and includes/specials/Userlogin.php.
* Reimplement the special pages as subclasses of SpecialPage
* Use HTMLForm to generate the input forms
** Deprecate and delete includes/templates/Userlogin.php, which is horrible and old :D
This changes the syntax of the UserLoginForm and UserCreateForm hooks, and AuthPlugin::modifyUITemplate; they now receive the SpecialPage subclass rather than the template to work with. Update everything I could find in SVN to accommodate this.
2009-09-07 19:00:49 +00:00
Alexandre Emsenhuber
6649743e0b
* (bug 19055) maintenance/rebuildrecentchanges.php now purges Special:Recentchanges's RSS and Atom feed cache
...
Purging cache timestamps should be sufficient since it won't allow cached versions to be used.
Also fix some errors in docs/memcached.txt.
Based on a patch by Jidanni - http://bug-attachment.wikimedia.org/attachment.cgi?id=6187
2009-08-28 18:04:40 +00:00
Bryan Tong Minh
c2033042ee
* Code style & commenting on upload functions.
...
* Move isValidURI from UploadFromUrl to HttpFunctions.
* Made some functions in UploadBase static.
2009-08-26 17:05:24 +00:00
Brion Vibber
aa1740d88d
Cleaning up some old PHP 4 object-reference usage in some edit filtering hooks.
...
There was a mix of uses of the reference and non-uses of the reference. :)
Reverts r53714 and fixes it from the other end by cleaning up the uses to not expect references.
2009-08-21 21:51:29 +00:00
Alex Z
195157b2c2
Re-implement r54638 in a higher-level way. Allows extensions to modify selection criteria for Special:Random or subsititute their own result.
2009-08-17 15:23:51 +00:00
Alexandre Emsenhuber
e14387dccb
* maintenance.txt: the execute() method must be public to match Maintenance's one
...
* design.txt: whitespaces fix
2009-08-16 18:54:18 +00:00
Andrew Garrett
9a29dae0df
Customise display of thread search result titles.
...
* Show the subject, not the title.
* Link to the post in context, not by itself.
2009-08-14 16:06:11 +00:00
Siebrand Mazeland
bdcaf4f7bf
Update doc for deprecated 'MagicWordMagicWords': refer to $magicWords instead of LanguageGetMagic hook.
2009-08-14 11:48:40 +00:00