lhc/web/wiklou.git
12 years agoFix r100138 per Nikas CR: "always use explicit conversion to string with wfMessage"
Raimond Spekking [Wed, 19 Oct 2011 09:35:33 +0000 (09:35 +0000)]
Fix r100138 per Nikas CR: "always use explicit conversion to string with wfMessage"

12 years ago* Removed newFileFromKey() which had a misleading description and a bug where giving...
Aaron Schulz [Wed, 19 Oct 2011 04:06:16 +0000 (04:06 +0000)]
* Removed newFileFromKey() which had a misleading description and a bug where giving a sha1,time could fail if two current version files existed with the same sha1 but different timestamps. Merged the code into findFileFromKey().
* Fixed bug in findFileFromKey() were it would bail out if it couldn't find a matching current file without even check for matching old files.
* Fixed timestamp format of oi_timestamp condition in newFromKey().
* Some code style cleanups.

12 years agomore accurate documentation for addValue() method
Ryan Kaldari [Wed, 19 Oct 2011 00:53:39 +0000 (00:53 +0000)]
more accurate documentation for addValue() method

12 years agoMinor code style cleanups and tweaks
Aaron Schulz [Wed, 19 Oct 2011 00:14:13 +0000 (00:14 +0000)]
Minor code style cleanups and tweaks

12 years agoClarify proxyblockreason per suggestion of Amir.
Siebrand Mazeland [Tue, 18 Oct 2011 22:51:48 +0000 (22:51 +0000)]
Clarify proxyblockreason per suggestion of Amir.

12 years agoUse spaces around "×" for consistency.
Siebrand Mazeland [Tue, 18 Oct 2011 22:24:51 +0000 (22:24 +0000)]
Use spaces around "×" for consistency.

12 years agoRemove some more code after r98467
Sam Reed [Tue, 18 Oct 2011 21:47:51 +0000 (21:47 +0000)]
Remove some more code after r98467

12 years agorevert r99562 and set standard_conforming_strings “on” by default
Mark A. Hershberger [Tue, 18 Oct 2011 21:09:52 +0000 (21:09 +0000)]
revert r99562 and set standard_conforming_strings “on” by default

12 years agoAdd bug id, follows-up r99934didn't know there was a bug about that
Krinkle [Tue, 18 Oct 2011 20:00:17 +0000 (20:00 +0000)]
Add bug id, follows-up r99934didn't know there was a bug about that

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Tue, 18 Oct 2011 19:31:51 +0000 (19:31 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFix for r100114: make API and tests work again
Alexandre Emsenhuber [Tue, 18 Oct 2011 18:07:56 +0000 (18:07 +0000)]
Fix for r100114: make API and tests work again

12 years ago* (bug 18823) "move succeeded" text displays bluelinks even when redirect was suppressed
Raimond Spekking [Tue, 18 Oct 2011 17:57:32 +0000 (17:57 +0000)]
* (bug 18823) "move succeeded" text displays bluelinks even when redirect was suppressed
Ping r100017 for the subpage part.

12 years agoKill unused maintenance script (probably rotten and seriously out of date also)
Sam Reed [Tue, 18 Oct 2011 17:50:59 +0000 (17:50 +0000)]
Kill unused maintenance script (probably rotten and seriously out of date also)

12 years agoRemove some unused getting of non existent arguments
Sam Reed [Tue, 18 Oct 2011 17:32:20 +0000 (17:32 +0000)]
Remove some unused getting of non existent arguments

Documentation

12 years agoRemove some unused getting of non existent arguments
Sam Reed [Tue, 18 Oct 2011 17:31:54 +0000 (17:31 +0000)]
Remove some unused getting of non existent arguments

Documentation

12 years agoCleanup whitespace
Sam Reed [Tue, 18 Oct 2011 17:30:36 +0000 (17:30 +0000)]
Cleanup whitespace

Couple of bits of documentation

12 years agoKill dead/rotting importUseModWiki(pedia)? maintenance scripts
Sam Reed [Tue, 18 Oct 2011 17:29:06 +0000 (17:29 +0000)]
Kill dead/rotting importUseModWiki(pedia)? maintenance scripts

12 years agoDocumentation
Sam Reed [Tue, 18 Oct 2011 17:27:52 +0000 (17:27 +0000)]
Documentation

Explicit member variable definitions

Simplify some code

12 years agoAdd documentation
Sam Reed [Tue, 18 Oct 2011 17:26:09 +0000 (17:26 +0000)]
Add documentation

Fix some unused variables, commented some others out

12 years agoAdd namespace gender aliases for 'dsb' and 'hsb' per https://de.wikipedia.org/w/index...
Raimond Spekking [Tue, 18 Oct 2011 15:13:37 +0000 (15:13 +0000)]
Add namespace gender aliases for 'dsb' and 'hsb' per https://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Raymond&oldid=94929642#Geschlechtsspezifische_Namensr.C3.A4ume

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Tue, 18 Oct 2011 14:08:48 +0000 (14:08 +0000)]
* Use local context instead of global variables
* Pass the context between Special:Userlogin and Special:ChangePassword when calling the other one

12 years agoFix for r97314: add HttpError to the AutoLoader
Alexandre Emsenhuber [Tue, 18 Oct 2011 13:53:27 +0000 (13:53 +0000)]
Fix for r97314: add HttpError to the AutoLoader

12 years agoQunit coverage for mw.Title.js
Antoine Musso [Tue, 18 Oct 2011 09:01:05 +0000 (09:01 +0000)]
Qunit coverage for mw.Title.js

Follow up comment on r93702 asking to cover:
  new mw.Title( 'user:NeilK' );

Also added a case conversion test

12 years agoFix svn props, r99919
Krinkle [Mon, 17 Oct 2011 22:57:50 +0000 (22:57 +0000)]
Fix svn props, r99919

12 years agoRemove unused global $wgLoadScript
Platonides [Mon, 17 Oct 2011 21:11:28 +0000 (21:11 +0000)]
Remove unused global $wgLoadScript

12 years agoRemove global added in 2005 by vibber (r11563). There's a new one added in r99349.
Platonides [Mon, 17 Oct 2011 21:00:42 +0000 (21:00 +0000)]
Remove global added in 2005 by vibber (r11563). There's a new one added in r99349.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Mon, 17 Oct 2011 19:32:40 +0000 (19:32 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago* (bug 31692) "summary" parameter now also work when undoing revisions
Alexandre Emsenhuber [Mon, 17 Oct 2011 19:16:33 +0000 (19:16 +0000)]
* (bug 31692) "summary" parameter now also work when undoing revisions

12 years agoLocalization update for he.
Rotem Liss [Mon, 17 Oct 2011 16:31:26 +0000 (16:31 +0000)]
Localization update for he.

12 years ago(bug 31405) block reason preload. Patch by Brad Jorsch.
Happy-melon [Mon, 17 Oct 2011 16:16:26 +0000 (16:16 +0000)]
(bug 31405) block reason preload.  Patch by Brad Jorsch.

12 years agoadd useful comments about portlet ids
Antoine Musso [Mon, 17 Oct 2011 15:57:47 +0000 (15:57 +0000)]
add useful comments about portlet ids

comments comes from r95571 commit log by Krinkle

12 years agoType hinting
Happy-melon [Mon, 17 Oct 2011 15:56:25 +0000 (15:56 +0000)]
Type hinting

12 years agoAdded a User parameter to SpecialPageFactory::getUsablePages() so that it does not...
Alexandre Emsenhuber [Mon, 17 Oct 2011 14:33:04 +0000 (14:33 +0000)]
Added a User parameter to SpecialPageFactory::getUsablePages() so that it does not need to depend on $wgUser; updated the only call to it

12 years agoUse local context to get messages
Alexandre Emsenhuber [Mon, 17 Oct 2011 14:17:52 +0000 (14:17 +0000)]
Use local context to get messages

12 years agoFix native name of Ligurian: http://translatewiki.net/wiki/Thread:Support/Wrong_name_...
Raimond Spekking [Mon, 17 Oct 2011 10:29:16 +0000 (10:29 +0000)]
Fix native name of Ligurian: translatewiki.net/wiki/Thread:Support/Wrong_name_for_language!!!!
Compare with http://www.ethnologue.com/show_language.asp?code=lij and https://lij.wikipedia.org/wiki/Lengoa_ligure

12 years agoadding note to code snippet
Antoine Musso [Mon, 17 Oct 2011 09:46:05 +0000 (09:46 +0000)]
adding note to code snippet

This small comment will avoid us using pathinfo() again and reimplement
bug 30219.
follow up r94171

12 years agoOld link is not always known, it depends on $createRedirect
Raimond Spekking [Mon, 17 Oct 2011 09:11:07 +0000 (09:11 +0000)]
Old link is not always known, it depends on $createRedirect

12 years agoStoreBatchTest counts even MORE correct than before.
Russ Nelson [Sun, 16 Oct 2011 23:03:17 +0000 (23:03 +0000)]
StoreBatchTest counts even MORE correct than before.

12 years agoFollowup r99404, remove <sup> tags.
Daniel Friesen [Sun, 16 Oct 2011 22:56:14 +0000 (22:56 +0000)]
Followup r99404, remove <sup> tags.

12 years agoFix broken test by r99321
Krinkle [Sun, 16 Oct 2011 22:33:04 +0000 (22:33 +0000)]
Fix broken test by r99321

12 years agoAdding missing test for isEmpty
Krinkle [Sun, 16 Oct 2011 22:30:28 +0000 (22:30 +0000)]
Adding missing test for isEmpty

12 years agoForgot lowercase again, arrggghhhh
Chad Horohoe [Sun, 16 Oct 2011 22:25:41 +0000 (22:25 +0000)]
Forgot lowercase again, arrggghhhh

12 years agoDo a test for 1K
Chad Horohoe [Sun, 16 Oct 2011 22:25:18 +0000 (22:25 +0000)]
Do a test for 1K

12 years agoAdd another test case for shorthand to integer (lowercase too)
Chad Horohoe [Sun, 16 Oct 2011 22:24:30 +0000 (22:24 +0000)]
Add another test case for shorthand to integer (lowercase too)

12 years agoAdd another test case for shorthand to integer
Chad Horohoe [Sun, 16 Oct 2011 22:24:13 +0000 (22:24 +0000)]
Add another test case for shorthand to integer

12 years agoStoreBatchTest counts now correct, and using assertEquals
Russ Nelson [Sun, 16 Oct 2011 22:18:18 +0000 (22:18 +0000)]
StoreBatchTest counts now correct, and using assertEquals

12 years agoAfter merging r98374 into REL1_18 in r99980, move RELEASE-NOTES to 1.18
Sam Reed [Sun, 16 Oct 2011 22:14:23 +0000 (22:14 +0000)]
After merging r98374 into REL1_18 in r99980, move RELEASE-NOTES to 1.18

12 years agoFew bits of documentation
Sam Reed [Sun, 16 Oct 2011 22:01:10 +0000 (22:01 +0000)]
Few bits of documentation

12 years agoParse error (missing ';') in r99938.
Platonides [Sun, 16 Oct 2011 19:53:30 +0000 (19:53 +0000)]
Parse error (missing ';') in r99938.

12 years agoRemove duplicate setting of From
Sam Reed [Sun, 16 Oct 2011 19:52:46 +0000 (19:52 +0000)]
Remove duplicate setting of From

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sun, 16 Oct 2011 19:48:07 +0000 (19:48 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoInitial tests for wfShorthandToInteger(). Definitely needs more
Chad Horohoe [Sun, 16 Oct 2011 18:35:32 +0000 (18:35 +0000)]
Initial tests for wfShorthandToInteger(). Definitely needs more

12 years agoFixed bug in r99914, also reverted accidental tabs->spaces conversion
Max Semenik [Sun, 16 Oct 2011 15:08:38 +0000 (15:08 +0000)]
Fixed bug in r99914, also reverted accidental tabs->spaces conversion

12 years agoPer Nikerabbit, fix for r99863: removed copy/paste error in method documentation
Alexandre Emsenhuber [Sun, 16 Oct 2011 13:16:45 +0000 (13:16 +0000)]
Per Nikerabbit, fix for r99863: removed copy/paste error in method documentation

12 years ago* Send "undisclosed-recipients" in "To" header when sending the mail to more than...
Alexandre Emsenhuber [Sun, 16 Oct 2011 12:39:05 +0000 (12:39 +0000)]
* Send "undisclosed-recipients" in "To" header when sending the mail to more than one user instead of checking $wgEnotifImpersonal. This was causing Special:EmailUser to send mails with that header when $wgEnotifImpersonal is true
* Fix for r91662: Return-Path must an e-mail address and only a e-mail address, it cannot be "Name <address@...>"
* Code simplification

12 years ago* Do magic word parsing after parameter replacement in MediaWiki:Enotif_body and...
Alexandre Emsenhuber [Sun, 16 Oct 2011 09:53:41 +0000 (09:53 +0000)]
* Do magic word parsing after parameter replacement in MediaWiki:Enotif_body and MediaWiki:Enotif_subject
* Fix link to Special:EmailUser in case $wgEnotifUseRealName was true and the user defined a real name, link was pointing to Special:EmailUser/Real_Name instead of Special:EmailUser/User_Name
* Simplified the code of EmailNotification::composeCommonMailtext()

12 years agosvn:eol-style native
Sam Reed [Sun, 16 Oct 2011 03:32:39 +0000 (03:32 +0000)]
svn:eol-style native

12 years agoFixup some assignments in conditionals
Sam Reed [Sun, 16 Oct 2011 03:27:12 +0000 (03:27 +0000)]
Fixup some assignments in conditionals

Add/normalise some more return statements

12 years agoAdd 'padding: 0;' for '.catlinks ul' in commonPrint as well
Krinkle [Sat, 15 Oct 2011 23:51:24 +0000 (23:51 +0000)]
Add 'padding: 0;' for '.catlinks ul' in commonPrint as well
* Follows-up r97381 adding it to shared.css
* Reason: Several browsers have defaults like padding-left: 40px; for unordered lists. That looks rather ugly if the list is used with inline list items (as is the case for cat links)

12 years agoDrop IE5.x support
Krinkle [Sat, 15 Oct 2011 23:48:14 +0000 (23:48 +0000)]
Drop IE5.x support
-- except for fixalpha/IE5.5 (iirc this is for IE6 as well)

12 years agoCSS clean up
Krinkle [Sat, 15 Oct 2011 23:33:47 +0000 (23:33 +0000)]
CSS clean up
* Apply code conventions (mostly whitespace and missing semi-colons)
* Minor other nitpicks
-- '! important' -> '!important'
-- Ucfirst -> lc; for color names and keywords
-- Remove uses of system color keywords (they are deprecated) [1] Most had fixed fallbacks already. Using those now.
-- Remove version query string (foo.png?2), last modified in r66151. Now obsolete with ResourceLoader
-- 0px to 0 where possible
-- Remove commented out css rules and declarations without any comment (debug stuff like /*div{ border:1px solid Red !important;}*/)
-- Remove empty blocks ( .foo { } )

[1] https://developer.mozilla.org/en/CSS/color_value#System_Colors

12 years agoBug 31249 - Special:BrokenRedirects broken since 1.18
Sam Reed [Sat, 15 Oct 2011 23:24:32 +0000 (23:24 +0000)]
Bug 31249 - Special:BrokenRedirects broken since 1.18

12 years agoFollowup r99923: add missing dependency
Roan Kattouw [Sat, 15 Oct 2011 23:16:26 +0000 (23:16 +0000)]
Followup r99923: add missing dependency

12 years agoMove jquery.validate plugin from branches/salvatoreingala to core
Roan Kattouw [Sat, 15 Oct 2011 23:13:26 +0000 (23:13 +0000)]
Move jquery.validate plugin from branches/salvatoreingala to core

12 years agoFollowup r99923: spaces->tabs, add @embed
Roan Kattouw [Sat, 15 Oct 2011 23:08:01 +0000 (23:08 +0000)]
Followup r99923: spaces->tabs, add @embed

12 years agoFix whitespace, braces
Sam Reed [Sat, 15 Oct 2011 22:58:42 +0000 (22:58 +0000)]
Fix whitespace, braces

Fix return items

12 years agoRe: r86786 … add a RELEASE-NOTES entry
Mark A. Hershberger [Sat, 15 Oct 2011 22:51:59 +0000 (22:51 +0000)]
Re: r86786 … add a RELEASE-NOTES entry

12 years agoAdd jquery.farbtastic module to core, copied from branches/salvatoreingala
Roan Kattouw [Sat, 15 Oct 2011 22:41:45 +0000 (22:41 +0000)]
Add jquery.farbtastic module to core, copied from branches/salvatoreingala

12 years agoAnd 100
Sam Reed [Sat, 15 Oct 2011 22:30:23 +0000 (22:30 +0000)]
And 100

12 years agoRefactor out duplicate code
Sam Reed [Sat, 15 Oct 2011 22:23:50 +0000 (22:23 +0000)]
Refactor out duplicate code

Add 10 subscribers. Can we have 10 of the same?

12 years agoRudimentary hook benchmarks
Sam Reed [Sat, 15 Oct 2011 22:15:36 +0000 (22:15 +0000)]
Rudimentary hook benchmarks

12 years agoFix typo in r99914
Max Semenik [Sat, 15 Oct 2011 22:08:42 +0000 (22:08 +0000)]
Fix typo in r99914

12 years agoRevert unrelated changes from r99916
Bryan Tong Minh [Sat, 15 Oct 2011 21:40:30 +0000 (21:40 +0000)]
Revert unrelated changes from r99916

12 years agoFollow-up r99911: fix tests
Bryan Tong Minh [Sat, 15 Oct 2011 21:38:53 +0000 (21:38 +0000)]
Follow-up r99911: fix tests
Add NullRepo to autoloader

12 years ago(bug 31674) Can't edit watchlist if it contains special pages
Max Semenik [Sat, 15 Oct 2011 21:06:34 +0000 (21:06 +0000)]
(bug 31674) Can't edit watchlist if it contains special pages

12 years agoFollowup r79867: re-animate the spinner during Special:Upload's thumbnail init (was...
Brion Vibber [Sat, 15 Oct 2011 20:56:56 +0000 (20:56 +0000)]
Followup r79867: re-animate the spinner during Special:Upload's thumbnail init (was lost by drawing the spinner to a canvas).

Switched from an <img> on the pre-canvas code to mw-small-spinner class so the CSS can worry about the path. :)

12 years agoPer bug 28135, disable $wgMaxImageArea check when transforming using a hook, and...
Bryan Tong Minh [Sat, 15 Oct 2011 20:36:02 +0000 (20:36 +0000)]
Per bug 28135, disable $wgMaxImageArea check when transforming using a hook, and enable the check for non IM scalers.

12 years agoPer r97671, add $wgEnableAutoRotation setting that can be used to explicitly disable...
Bryan Tong Minh [Sat, 15 Oct 2011 20:30:37 +0000 (20:30 +0000)]
Per r97671, add $wgEnableAutoRotation setting that can be used to explicitly disable auto-rotation.

12 years agoFollowup r80375: let PreprocessorTest work on Preprocessor_Hash etc as well as Prepro...
Brion Vibber [Sat, 15 Oct 2011 20:21:52 +0000 (20:21 +0000)]
Followup r80375: let PreprocessorTest work on Preprocessor_Hash etc as well as Preprocessor_Dom

Using same technique as ApiExpandTemplates to serialize the object tree back to XML, rather than asking for the DOM implementation's internal XML return function.
Have to also perform normalization on the test cases, as they aren't normalized to what libxml2 serializes. :P

Note that there are 4 test failures currently with Preprocessor_Hash, as it makes a separate <equals> element around = which doesn't appear to be in Preprocessor_Dom's output.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sat, 15 Oct 2011 19:40:05 +0000 (19:40 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFix E_WARNING from r99863
Alexandre Emsenhuber [Sat, 15 Oct 2011 19:22:05 +0000 (19:22 +0000)]
Fix E_WARNING from r99863

12 years agoSelf revert r99899....I HATE YOU PHPUNIT YOU @#Q**#(#@(#@@#(!!!
Chad Horohoe [Sat, 15 Oct 2011 19:06:31 +0000 (19:06 +0000)]
Self revert r99899....I HATE YOU PHPUNIT YOU @#Q**#(#@(#@@#(!!!

12 years agoTemporarily reverting r99863 to see if I can pin down test failures
Chad Horohoe [Sat, 15 Oct 2011 19:02:07 +0000 (19:02 +0000)]
Temporarily reverting r99863 to see if I can pin down test failures

12 years ago* restored category page (some references to Title object were missing)
Markus Glaser [Sat, 15 Oct 2011 18:14:25 +0000 (18:14 +0000)]
* restored category page (some references to Title object were missing)

12 years ago(bug 31361) broken messages on Special:GlobalBlock.
Happy-melon [Sat, 15 Oct 2011 17:59:42 +0000 (17:59 +0000)]
(bug 31361) broken messages on Special:GlobalBlock.

12 years agoSeems some base class refactoring has move mTitle
Sam Reed [Sat, 15 Oct 2011 17:46:37 +0000 (17:46 +0000)]
Seems some base class refactoring has move mTitle

/www/w/includes/CategoryPage.php on line 59
-rakkaus/#mediawiki-i18n- [15-Oct-2011 17:23:57] PHP Fatal error:  Call to a member function getNamespace() on a non-object in /www/w/includes/CategoryPage.php on line 59

Also changed return, as parent::view() doesn't return anything

12 years agoMove CategoryViewer to it's own file
Sam Reed [Sat, 15 Oct 2011 17:37:05 +0000 (17:37 +0000)]
Move CategoryViewer to it's own file

12 years agoRefactored cleanupDeletedBatch() by splitting out the file usage check functions
Aaron Schulz [Sat, 15 Oct 2011 17:07:53 +0000 (17:07 +0000)]
Refactored cleanupDeletedBatch() by splitting out the file usage check functions

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Sat, 15 Oct 2011 09:43:30 +0000 (09:43 +0000)]
Use local context instead of global variables

12 years ago* Added Language::userDate(), Language::userTime() and Language::userTimeAndDate...
Alexandre Emsenhuber [Sat, 15 Oct 2011 09:32:03 +0000 (09:32 +0000)]
* Added Language::userDate(), Language::userTime() and Language::userTimeAndDate() as new versions of respectively Language::date(), Language::time() and Language::timeanddate(), which take a User object in the second parameter to get time correction and format instead of having to do this when calling the methods and not wanting to user $wgUser's parameters.
* Moved Language::userAdjust() near other related function
* Updated ENotif stuff to use that functions so that the date format is not taken from the sending user but the receiver
* Removed $PAGEEDITDATEANDTIME parameter, unsed and not present in impersonal notification
* Also fixed the debug line in UserMailer::send()

12 years ago* Timezones are now recognised in user preferences when offset is different due to DST
Alexandre Emsenhuber [Sat, 15 Oct 2011 09:11:29 +0000 (09:11 +0000)]
* Timezones are now recognised in user preferences when offset is different due to DST

12 years agoFollowup to r99653 (bug 31643) -- reenable client-side thumbnailing of SVGs on Specia...
Brion Vibber [Sat, 15 Oct 2011 02:23:22 +0000 (02:23 +0000)]
Followup to r99653 (bug 31643) -- reenable client-side thumbnailing of SVGs on Special:Upload, with workaround for Firefox 7 regression.

Upstream firefox bug for hang loading some SVGs via data URI: https://bugzilla.mozilla.org/show_bug.cgi?id=694165
A fix may land as soon as Firefox 8.

This rev works around the bug by using window.URL.createObjectURL() instead of loading a data URI via FileReader; the object URL loads more cleanly and doesn't have the same hanging bug.

Needs to be replicated to UploadWizard (or moved to a shared lib!), some other fixes coming so no rush.

12 years agofollow-up to r98020. Throw MWException on attempt to serialize database.
Markus Glaser [Sat, 15 Oct 2011 01:33:19 +0000 (01:33 +0000)]
follow-up to r98020. Throw MWException on attempt to serialize database.

12 years agoUpdate documentation, returns
Sam Reed [Fri, 14 Oct 2011 21:19:25 +0000 (21:19 +0000)]
Update documentation, returns

12 years agoUpdate some deprecated code
Sam Reed [Fri, 14 Oct 2011 21:18:38 +0000 (21:18 +0000)]
Update some deprecated code

Documentation

Fix "/*" comments to "/**"

Flesh out some missing returns, change some return types

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 14 Oct 2011 20:06:14 +0000 (20:06 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFixed spelling mistake in comments.
Jeremy Postlethwaite [Fri, 14 Oct 2011 18:04:12 +0000 (18:04 +0000)]
Fixed spelling mistake in comments.

12 years agoPer Siebrand, fix for r99678: use word-separator and parentheses messages
Alexandre Emsenhuber [Fri, 14 Oct 2011 16:01:48 +0000 (16:01 +0000)]
Per Siebrand, fix for r99678: use word-separator and parentheses messages

12 years ago* Moved wfViewPrevNext() to Language::viewPrevNext() so that it can be used in the...
Alexandre Emsenhuber [Fri, 14 Oct 2011 14:57:06 +0000 (14:57 +0000)]
* Moved wfViewPrevNext() to Language::viewPrevNext() so that it can be used in the context and not always relying on $wgLang
* modified the parameters order in Language::viewPrevNext() in comparaison of wfViewPrevNext() and changed it to require a Title object and extra parameter to be passed as array
* Use more modern methods to genrate i18n and HTML
* Removed wfNumLink(), not used anymore, only referenced in a comment in MetavidWiki extension
* Inlinised wfShowingResults(); I don't see any reason why only this message should get its own function
* Replaced all calls to wfViewPrevNext() and wfShowingResults() in core
* Simply use OutputPage::addWikiMsg() to display 'specialpage-empty' message
* Moved wfSpecialList() near wfViewPrevNext() in GlobalFunction.php

12 years agoIn WantedQueryPage:
Alexandre Emsenhuber [Fri, 14 Oct 2011 14:20:02 +0000 (14:20 +0000)]
In WantedQueryPage:
* Call Linker methods statically
* Use $this->msg() to simplify parameter formatting and escaping
* Link to Special:Whatlinkshere/Page instead of Special:Whatlinkshere?target=Page for consistency