lhc/web/wiklou.git
12 years agoRemove a message for a feature introduced with r47569 and reverted with r48780.
Raimond Spekking [Sat, 27 Aug 2011 11:01:51 +0000 (11:01 +0000)]
Remove a message for a feature introduced with r47569 and reverted with r48780.

12 years agoPatch to make SpecialPasswordReset only available to groups
Thomas Gries [Sat, 27 Aug 2011 10:11:51 +0000 (10:11 +0000)]
Patch to make SpecialPasswordReset only available to groups
with a new minimum right 'resetpassword'. Default group: '*'. Description: wikitech-l http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/55055 'Reclaiming a lost account on a private wiki: impossible'

12 years agofu r95396 Fix function name
Raimond Spekking [Sat, 27 Aug 2011 08:26:08 +0000 (08:26 +0000)]
fu r95396 Fix function name

12 years agoI was trying to be witty, and I made a typo :( (FollowUp r95589)
Chad Horohoe [Sat, 27 Aug 2011 01:28:08 +0000 (01:28 +0000)]
I was trying to be witty, and I made a typo :( (FollowUp r95589)

12 years agoAdd warning to class header.
Chad Horohoe [Sat, 27 Aug 2011 01:24:31 +0000 (01:24 +0000)]
Add warning to class header.

12 years agoUploadFromStash::stashSession returned an object instead of a file key, which broke...
Ian Baker [Fri, 26 Aug 2011 23:17:43 +0000 (23:17 +0000)]
UploadFromStash::stashSession returned an object instead of a file key, which broke stashing in SpecialUpload in some cases.

Fixes bug 30505

12 years agoAPI get functions should be public
John Du Hart [Fri, 26 Aug 2011 22:56:31 +0000 (22:56 +0000)]
API get functions should be public

12 years agomediawiki.util.test: Change portlet name to not conflict with core
Krinkle [Fri, 26 Aug 2011 19:46:31 +0000 (19:46 +0000)]
mediawiki.util.test: Change portlet name to not conflict with core
* When running the tests inside a wiki page, the added portletlinks are invisible to the selector since only 1 element can have the same id.s

12 years agoFix r95446
Sam Reed [Fri, 26 Aug 2011 17:42:25 +0000 (17:42 +0000)]
Fix r95446

12 years agoUpdating jquery.qunit from upstream
Krinkle [Fri, 26 Aug 2011 17:11:31 +0000 (17:11 +0000)]
Updating jquery.qunit from upstream
* Source: https://github.com/jquery/qunit/tree/7f292170fa1109f1355f3e96f8973c32fc553946
* qunit.css unchanged
* In the mean time the pull request I sent has been merged in as well ( https://github.com/jquery/qunit/commit/d2978f4afc75da784c6145fc74c051858ef3c39b ), so we can extend the checkbox-toggles with (for example) the completenesstest.

12 years ago(bug 29246) Edit API occasionally throws "unknown error 231". Per comment #1 on the...
Roan Kattouw [Fri, 26 Aug 2011 16:26:17 +0000 (16:26 +0000)]
(bug 29246) Edit API occasionally throws "unknown error 231". Per comment #1 on the bug and a comment in ApiEditPage, I refactored internalAttemptSave() to return a status object. However, there are so many idiosyncracies wrt how EditPage handles various errors that I decided to put the AS_* error code in $status->value (thanks Chad for that tip) and use that to decide what to do (not part of Chad's tip). The resulting code is still a mess but at least Status objects from doEdit() are propagated now, and it'll be a little bit easier to migrate internalAttemptSave() to a proper Status-based architecture in the future. Or maybe we should just throw away EditPage and start with a blank screen, that sounds appealing to me :)

12 years agoFix another remnant of r95496
Sam Reed [Fri, 26 Aug 2011 11:15:07 +0000 (11:15 +0000)]
Fix another remnant of r95496

12 years agoFollowup r93417; Don't use $wgServer in a way that makes invalid Message-IDs. Instead...
Daniel Friesen [Fri, 26 Aug 2011 00:01:55 +0000 (00:01 +0000)]
Followup r93417; Don't use $wgServer in a way that makes invalid Message-IDs. Instead use IDHost if set, otherwise extract the host from $wgServer. Also instead of a static UserMailer prefix use the wiki's id.

12 years agoFux PHP Notice: Undefined property: ContribsPager::$showSizeDiff in /www/w/includes...
Sam Reed [Thu, 25 Aug 2011 21:22:14 +0000 (21:22 +0000)]
Fux PHP Notice: Undefined property: ContribsPager::$showSizeDiff in /www/w/includes/specials/SpecialContributions.php on line 681 frin r95496

12 years agoUndo r85392 ('revert' is a strong word since a lot has changed in the intervening...
Happy-melon [Thu, 25 Aug 2011 21:03:52 +0000 (21:03 +0000)]
Undo r85392 ('revert' is a strong word since a lot has changed in the intervening ten thousand revisions, but the effect is the same).

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Thu, 25 Aug 2011 20:41:28 +0000 (20:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agofu r95496: remove the messages really
Raimond Spekking [Thu, 25 Aug 2011 19:44:32 +0000 (19:44 +0000)]
fu r95496: remove the messages really

12 years agoFix fail double pasting from r95497
Sam Reed [Thu, 25 Aug 2011 17:48:55 +0000 (17:48 +0000)]
Fix fail double pasting from r95497

12 years agoFollowup r95449, fix the code to do what it was actually intended to do
Sam Reed [Thu, 25 Aug 2011 17:47:33 +0000 (17:47 +0000)]
Followup r95449, fix the code to do what it was actually intended to do

12 years agoRevert r8811
Sam Reed [Thu, 25 Aug 2011 17:35:07 +0000 (17:35 +0000)]
Revert r8811

Reverting followups r88117, 88252

12 years agoFollowup r90361, r90362
Sam Reed [Thu, 25 Aug 2011 16:40:49 +0000 (16:40 +0000)]
Followup r90361, r90362

Document $limit parameter

Pass $limit parameter through if $limit && php > 5.4.0

Else false back to the default version, which sets the same parameters

12 years agoWhitespace and formatting updates.
Siebrand Mazeland [Thu, 25 Aug 2011 14:45:38 +0000 (14:45 +0000)]
Whitespace and formatting updates.

12 years agoLocalization update for he.
Rotem Liss [Thu, 25 Aug 2011 11:59:34 +0000 (11:59 +0000)]
Localization update for he.

12 years agoFix stupid copypaste mistake in r95470
Roan Kattouw [Thu, 25 Aug 2011 10:56:46 +0000 (10:56 +0000)]
Fix stupid copypaste mistake in r95470

12 years agoActually do r95462 as intended
Sam Reed [Thu, 25 Aug 2011 10:47:13 +0000 (10:47 +0000)]
Actually do r95462 as intended

r95396

12 years ago(bug 30504) Core namespaces for Pali (pi).
Siebrand Mazeland [Thu, 25 Aug 2011 10:29:29 +0000 (10:29 +0000)]
(bug 30504) Core namespaces for Pali (pi).

12 years agoFollowup r85994: eliminate code duplication introduced by this revision, instead...
Roan Kattouw [Thu, 25 Aug 2011 10:13:30 +0000 (10:13 +0000)]
Followup r85994: eliminate code duplication introduced by this revision, instead make OutputPage::showErrorPage() accept Message objects

12 years agoPut mediawiki.special.search in a document ready wrapper
Roan Kattouw [Thu, 25 Aug 2011 09:51:32 +0000 (09:51 +0000)]
Put mediawiki.special.search in a document ready wrapper

12 years agoFollowup r92155, move preferences-specific code introduced in HTMLForm to Preferences...
Roan Kattouw [Thu, 25 Aug 2011 09:44:20 +0000 (09:44 +0000)]
Followup r92155, move preferences-specific code introduced in HTMLForm to Preferences.php. Dropping $displayTitle and replacing it with something else is OK since $displayTitle was introduced as a hack for the preferences form anyway

12 years agoHopefully fix
Sam Reed [Thu, 25 Aug 2011 08:31:01 +0000 (08:31 +0000)]
Hopefully fix
[25-Aug-2011 08:03:00] PHP Notice:  Found alias defined for Globalfileusage when searching for special page aliases for GlobalFileUsage. Case mismatch? [Called from SpecialPage::getTitleFor in /www/w/includes/SpecialPage.php at line 259] in /www/w/includes/GlobalFunctions.php on line 3396
[25-Aug-2011 08:03:00] PHP Notice:  Found alias defined for Globaltemplateusage when searching for special page aliases for GlobalTemplateUsage. Case mismatch? [Called from SpecialPage::getTitleFor in /www/w/includes/SpecialPage.php at line 259] in /www/w/includes/GlobalFunctions.php on line 3396

r95396

12 years agoFix calls to undefined Xml::hidden
Sam Reed [Thu, 25 Aug 2011 08:28:07 +0000 (08:28 +0000)]
Fix calls to undefined Xml::hidden

r95396

12 years agoUse getLinkURL instead of getLocalURL for titles from MediaWiki:Sidebar so that ...
Daniel Friesen [Thu, 25 Aug 2011 07:03:25 +0000 (07:03 +0000)]
Use getLinkURL instead of getLocalURL for titles from MediaWiki:Sidebar so that #Fragments are not discarded when the user uses them.

12 years agoNew maintenance script for refreshing image metadata (refreshImageMetadata.php)
Brian Wolff [Thu, 25 Aug 2011 05:33:32 +0000 (05:33 +0000)]
New maintenance script for refreshing image metadata (refreshImageMetadata.php)

This is very similar to rebuildImages.php, except more specific to img_metadata field,
and does the images in batches instead of all at once.

Also, while I'm here, I added a line to Maintenance.php to make sure it casted
$this->mBatchSize to an integer when gotten from command line (thought it was weird
that it didn't do that)

(I'm going to tag this revision 1.18 because I think it'd be nice to have this script
in 1.18 given new image metadata stuff added in 1.18, but not super-important
because rebuildImages.php does already work to refresh image metadata)

12 years agoMove the check for if a Maintenance script supports --batch-size away from addDefault...
Brian Wolff [Thu, 25 Aug 2011 05:15:45 +0000 (05:15 +0000)]
Move the check for if a Maintenance script supports --batch-size away from addDefaultParams()
and to setBatchSize(), since setBatchSize is usually called in a subclass constructor after
parent:__construct() which is after addDefaultParams() is called.

Upside of this is lots of scripts supporting --batch-size now list it in their help output.

12 years ago(bug 28649) use $wgContLang->truncate on log action comments to avoid half eaten...
Brian Wolff [Wed, 24 Aug 2011 23:47:54 +0000 (23:47 +0000)]
(bug 28649) use $wgContLang->truncate on log action comments to avoid half eaten unicode chars and also adds a nice '...'

Patch by Umherirrender.

12 years agoFollowup r95332 (bug 30441 fix) -- Roan pointed out that I forgot to do a global...
Brion Vibber [Wed, 24 Aug 2011 22:09:34 +0000 (22:09 +0000)]
Followup r95332 (bug 30441 fix) -- Roan pointed out that I forgot to do a global replace (d'oh!)

Now works with parameters containing multiple spaces. :)

12 years agoFollow-up r95445, fix for IE6-7 no supporting display-inline. Removes alt attribute...
John Du Hart [Wed, 24 Aug 2011 21:55:11 +0000 (21:55 +0000)]
Follow-up r95445, fix for IE6-7 no supporting display-inline. Removes alt attribute left over from using the img tag

12 years agoAllow update to be passed an empty array for the WHERE condition
Sam Reed [Wed, 24 Aug 2011 21:38:31 +0000 (21:38 +0000)]
Allow update to be passed an empty array for the WHERE condition

12 years agojquery.spinner: Fix small issues
Krinkle [Wed, 24 Aug 2011 21:37:59 +0000 (21:37 +0000)]
jquery.spinner: Fix small issues
(Follows-up r95445)
* Using the same spinner as before, preserving svn history (20px vs. 16px)
* Adding a line-break at the end of file and changing indentation per our conventions
* Adjusting doc to reflect the plugin itself instead of what it replaces.
* Using shorthand utility in jQuery (no / and using the attr-object as second argument)
* Adding @return comment to $.fn.injectSpinner
* Adding return statement to $.removerSpinner (returning a jQuery object of the element). Could be useful, but better than not having a return value at all.

JSHint:
* Adding parentheses around the class object property, otherwise it may be interpreted as a class operator which breaks the object.

12 years ago'*' for "all" apparently
Sam Reed [Wed, 24 Aug 2011 21:36:15 +0000 (21:36 +0000)]
'*' for "all" apparently

r95446

12 years agoMerge r94252 to trunk
Sam Reed [Wed, 24 Aug 2011 21:31:11 +0000 (21:31 +0000)]
Merge r94252 to trunk

Rewrite to use $dbw->update()

12 years ago(bug 30499) Create jQuery replacements for injectSpinner and removeSpinner
John Du Hart [Wed, 24 Aug 2011 21:08:39 +0000 (21:08 +0000)]
(bug 30499) Create jQuery replacements for injectSpinner and removeSpinner

12 years agoremove extraneous hyphen that crept in, grr
Ariel Glenn [Wed, 24 Aug 2011 20:43:09 +0000 (20:43 +0000)]
remove extraneous hyphen that crept in, grr

12 years agoRemove line that should have been removed in r95410
Sam Reed [Wed, 24 Aug 2011 20:32:00 +0000 (20:32 +0000)]
Remove line that should have been removed in r95410

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Wed, 24 Aug 2011 20:28:02 +0000 (20:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFix missing $ from r95439
Sam Reed [Wed, 24 Aug 2011 20:15:04 +0000 (20:15 +0000)]
Fix missing $ from r95439

12 years agoFixup the rest of r82577
Sam Reed [Wed, 24 Aug 2011 20:14:03 +0000 (20:14 +0000)]
Fixup the rest of r82577

12 years agofu r95396: register new message keys in maintenacne file
Raimond Spekking [Wed, 24 Aug 2011 20:04:55 +0000 (20:04 +0000)]
fu r95396: register new message keys in maintenacne file

12 years agoPartially revert r92245 per r92245 CR.
Krinkle [Wed, 24 Aug 2011 19:56:54 +0000 (19:56 +0000)]
Partially revert r92245 per r92245 CR.

12 years agoFix testGetTalkExceptions from r82577
Sam Reed [Wed, 24 Aug 2011 19:52:24 +0000 (19:52 +0000)]
Fix testGetTalkExceptions from r82577

12 years agoRevert r95408, breaks preferences
Sam Reed [Wed, 24 Aug 2011 19:48:59 +0000 (19:48 +0000)]
Revert r95408, breaks preferences

12 years agoAdd comments and fix whitespace for r90657, r86305
Krinkle [Wed, 24 Aug 2011 19:35:18 +0000 (19:35 +0000)]
Add comments and fix whitespace for r90657, r86305

12 years agoFollowup r82577
Sam Reed [Wed, 24 Aug 2011 19:32:40 +0000 (19:32 +0000)]
Followup r82577

Remove $this->object

Swap assertEquals parameters

12 years agoTriggered by r95414. Remove some UI diarrhea.
Siebrand Mazeland [Wed, 24 Aug 2011 19:32:28 +0000 (19:32 +0000)]
Triggered by r95414. Remove some UI diarrhea.

12 years agoUpdate Listfiles-summary per http://translatewiki.net/w/i.php?title=MediaWiki%3AListf...
Sam Reed [Wed, 24 Aug 2011 18:47:38 +0000 (18:47 +0000)]
Update Listfiles-summary per translatewiki.net/w/i.php?title=MediaWiki%3AListfiles-summary%2Fen&action=historysubmit&diff=3168956&oldid=967680

12 years agoFix fixme on r92059 per SPQRobin
Sam Reed [Wed, 24 Aug 2011 18:46:12 +0000 (18:46 +0000)]
Fix fixme on r92059 per SPQRobin

12 years agoFollowup r85876
Sam Reed [Wed, 24 Aug 2011 18:35:29 +0000 (18:35 +0000)]
Followup r85876

Fix the fixme

12 years agoRevert r91728
Sam Reed [Wed, 24 Aug 2011 18:22:53 +0000 (18:22 +0000)]
Revert r91728

Hence reverting r93382, t93383, r94236

12 years agoRevert changes to HTMLForm from r92155
Sam Reed [Wed, 24 Aug 2011 18:11:55 +0000 (18:11 +0000)]
Revert changes to HTMLForm from r92155

12 years agoRevert most of r93261
Sam Reed [Wed, 24 Aug 2011 18:09:14 +0000 (18:09 +0000)]
Revert most of r93261

Leave change from named color 'gainsboro' to hex #DCDCDC

12 years agoFollowup r95396
Sam Reed [Wed, 24 Aug 2011 15:31:00 +0000 (15:31 +0000)]
Followup r95396

Lowercase names passed as the name to the SpecialPage constructor

12 years agoFollowup r95396, add missing comma
Sam Reed [Wed, 24 Aug 2011 13:05:44 +0000 (13:05 +0000)]
Followup r95396, add missing comma

12 years agoMerge the iwtransclusion branch back into trunk
Sam Reed [Wed, 24 Aug 2011 13:03:03 +0000 (13:03 +0000)]
Merge the iwtransclusion branch back into trunk

Hexmode fixed broken unit tests in revisions after last time

12 years agoFix documentation (clearing w/c)
Sam Reed [Wed, 24 Aug 2011 12:47:42 +0000 (12:47 +0000)]
Fix documentation (clearing w/c)

12 years agofollow up for r95341 , test case 025a corrected the expected result
Thomas Gries [Tue, 23 Aug 2011 22:20:33 +0000 (22:20 +0000)]
follow up for r95341 , test case 025a corrected the expected result

12 years agotest case for jquery.highlightText.js : test case 025a => fails
Thomas Gries [Tue, 23 Aug 2011 22:03:55 +0000 (22:03 +0000)]
test case for jquery.highlightText.js : test case 025a => fails

12 years agosyncing updates from vector jquery.ui skin with default jquery.ui skin - forgot to...
Ryan Kaldari [Tue, 23 Aug 2011 21:33:23 +0000 (21:33 +0000)]
syncing updates from vector jquery.ui skin with default jquery.ui skin - forgot to change it in both places. Changes in vector jquery.ui skin are already reviewed and deployed. These changes are to make the handling of icons within buttons consistant and more in line with how jquery.ui skins normally handle this.

12 years ago* (bug 30441) getParamValue must understand "+" encoding of space
Brion Vibber [Tue, 23 Aug 2011 20:17:49 +0000 (20:17 +0000)]
* (bug 30441) getParamValue must understand "+" encoding of space

$.param() produces query string form encoding using the traditional '+' encoding for space; mediawiki.util.getParamValue() was using only decodeURIComponent() to do unescaping, which is not required by spec to handle '+'. Explicitly replacing '+' with '%20' before the decode nicely resolves this.

Added a test case to qunit tests for mediawiki.util module.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Tue, 23 Aug 2011 20:11:33 +0000 (20:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoPer Raymond, follow-up r95321: LinkSearch is in core too
Alexandre Emsenhuber [Tue, 23 Aug 2011 20:02:15 +0000 (20:02 +0000)]
Per Raymond, follow-up r95321: LinkSearch is in core too

12 years ago(bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs are used
John Du Hart [Tue, 23 Aug 2011 19:56:15 +0000 (19:56 +0000)]
(bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs are used

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Tue, 23 Aug 2011 19:48:18 +0000 (19:48 +0000)]
Use local context instead of global variables

12 years agoUpdating release-notes for r95320
John Du Hart [Tue, 23 Aug 2011 19:42:55 +0000 (19:42 +0000)]
Updating release-notes for r95320

12 years agoadded jquery.highlightText.js test cases for Russian Georgian Armenian Thai Arabic...
Thomas Gries [Tue, 23 Aug 2011 19:40:51 +0000 (19:40 +0000)]
added jquery.highlightText.js test cases for Russian Georgian Armenian Thai Arabic ru ka hy th ar

12 years ago* Removed no longer existing special pages (Special:Makebot and Special:MakeSysop)
Alexandre Emsenhuber [Tue, 23 Aug 2011 19:38:07 +0000 (19:38 +0000)]
* Removed no longer existing special pages (Special:Makebot and Special:MakeSysop)
* Removed mention of Filepath extension since this is now in core

12 years ago(bug 30344) Add configuration variable for setting custom priorities when generating...
John Du Hart [Tue, 23 Aug 2011 19:27:38 +0000 (19:27 +0000)]
(bug 30344) Add configuration variable for setting custom priorities when generating sitemaps

12 years ago(bug 30352) Add option to BlockList to filter out IP range blocks
John Du Hart [Tue, 23 Aug 2011 18:40:04 +0000 (18:40 +0000)]
(bug 30352) Add option to BlockList to filter out IP range blocks

12 years ago* (bug 30497) Add client-nojs and client-js classes on document element to let styles...
Brion Vibber [Tue, 23 Aug 2011 18:33:28 +0000 (18:33 +0000)]
* (bug 30497) Add client-nojs and client-js classes on document element to let styles easily hide or show things based on general JS availability

Patch by John Du Hart - https://bugzilla.wikimedia.org/attachment.cgi?id=8956

12 years agoFollowup r95262 - remove bogus test cases that seemed to be trying to test the browse...
Brion Vibber [Tue, 23 Aug 2011 17:58:18 +0000 (17:58 +0000)]
Followup r95262 - remove bogus test cases that seemed to be trying to test the browser's HTML fragment parser. :)

These test cases attempted, I think, to be bogus forced-fail cases, but the fail-forcing doesn't work because HTML 5 parsing in modern browsers parses the text into... the same as the actual expected text! :)
Resolves bug 30520.

12 years agojquery.highlightText.js : test cases for French added
Thomas Gries [Tue, 23 Aug 2011 07:28:57 +0000 (07:28 +0000)]
jquery.highlightText.js : test cases for French added

12 years agofix timestamp stuff, more fallout from bad merge attempt
Ariel Glenn [Tue, 23 Aug 2011 00:36:15 +0000 (00:36 +0000)]
fix timestamp stuff, more fallout from bad merge attempt

12 years agofix a couple bad lines in previous commit from bad merge attempt
Ariel Glenn [Tue, 23 Aug 2011 00:04:45 +0000 (00:04 +0000)]
fix a couple bad lines in previous commit from bad merge attempt

12 years agoadd support for writing out checkpoint files of xml dump at regular intervals (close...
Ariel Glenn [Mon, 22 Aug 2011 22:45:22 +0000 (22:45 +0000)]
add support for writing out checkpoint files of xml dump at regular intervals (close and rename file based on filename pattern which includes first and last page id written)

12 years agofollow up to r94807 : more test cases incl. hebrew RTL and Japanese, the test cases...
Thomas Gries [Mon, 22 Aug 2011 22:15:43 +0000 (22:15 +0000)]
follow up to r94807 : more test cases incl. hebrew RTL and Japanese, the test cases 100 and 101 have been intentionally added with wrong expected result. It shows that the current qunit software may have problems with wrong  double closing span tags. test cases 100 and 101 fail *correctly* on internet explorer 8.0, but with Firefox 6.0 and Chrome no errors are detected --- false negative with Firefox and Chrome and maybe other browsers

12 years agoadd functions that support close and rename of output files as they are being written...
Ariel Glenn [Mon, 22 Aug 2011 22:01:32 +0000 (22:01 +0000)]
add functions that support close and rename of output files as they are being written, used to write out checkpoint files at regular intervals during XML dump production

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Mon, 22 Aug 2011 19:04:31 +0000 (19:04 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Mon, 22 Aug 2011 18:32:48 +0000 (18:32 +0000)]
Use local context instead of global variables

12 years agoMake the language recaching non-recursive and load the data directly.
Niklas Laxström [Mon, 22 Aug 2011 08:12:10 +0000 (08:12 +0000)]
Make the language recaching non-recursive and load the data directly.
This might be a bit slower, but avoids problems with cyclic language fallbacks.
Followup r94907

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sun, 21 Aug 2011 19:37:43 +0000 (19:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agofollow-up r95171 - add unit test for tracking categories.
Brian Wolff [Sun, 21 Aug 2011 19:28:35 +0000 (19:28 +0000)]
follow-up r95171 - add unit test for tracking categories.

12 years agoFollow-up r86534 - Do not add tracking categories if we're looking at a special page.
Brian Wolff [Sun, 21 Aug 2011 18:46:01 +0000 (18:46 +0000)]
Follow-up r86534 - Do not add tracking categories if we're looking at a special page.

Thank you Nikerabbit for suggesting how to fix.

12 years agoRemove the * {{msg}} syntax introduced to MediaWiki:Sidebar in r66974. This syntax...
Daniel Friesen [Sun, 21 Aug 2011 18:23:59 +0000 (18:23 +0000)]
Remove the * {{msg}} syntax introduced to MediaWiki:Sidebar in r66974. This syntax is in the way of projects attempting to use a more flexible sidebar-like message parser, or fixing the dependence on MediaWiki:Sidebar for sidebar config. Eliminating it before people end up using it in production (from my tests it never actually worked in 1.17).

12 years agofu r95152: remove debug line.
Raimond Spekking [Sun, 21 Aug 2011 18:15:37 +0000 (18:15 +0000)]
fu r95152: remove debug line.

12 years ago(follow-up r86169) Moar unit-tests!! (sorry for uttetly huge commit)
Brian Wolff [Sun, 21 Aug 2011 18:05:34 +0000 (18:05 +0000)]
(follow-up r86169) Moar unit-tests!! (sorry for uttetly huge commit)

This should be my last commit of unit tests for the media metadata stuff (hopefully).

12 years agofollow-up r86169 - 2 minor issues found while writing unit tests
Brian Wolff [Sun, 21 Aug 2011 17:16:57 +0000 (17:16 +0000)]
follow-up r86169 - 2 minor issues found while writing unit tests

# Some really obscure Exif properties did not have the Exif byte order taken into account
  and were being extracted with the bytes reversed (for example user comment when encoded as utf-16).
  Not a major issue as these properties are very rare in practise, but certainly not a good thing.
  ( One would think php's exif support would take care of that, but no it does not...)
# Change the fallback encoding for Gif comments to be windows-1252 instead of iso 8859-1. More
  to be consitent with jpg and iptc then anything else.

12 years agoNew hook point to exempt an IP address from the account creation throttle. Redo of...
Raimond Spekking [Sun, 21 Aug 2011 16:38:02 +0000 (16:38 +0000)]
New hook point to exempt an IP address from the account creation throttle. Redo of r95041 per Niklas CR
Needed for a new extension to make (mass) account creation easier for schools/colleges etc

12 years agoAdd in \n from/to r95055 to LoadBalancer.php
Sam Reed [Sun, 21 Aug 2011 15:24:44 +0000 (15:24 +0000)]
Add in \n from/to r95055 to LoadBalancer.php

Differentiate error messages from r95050 per Hashar

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sat, 20 Aug 2011 20:54:50 +0000 (20:54 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Sat, 20 Aug 2011 20:12:46 +0000 (20:12 +0000)]
Use local context instead of global variables

12 years agoSelf revert r95041 per CR. I will commit a cleaner patch.
Raimond Spekking [Sat, 20 Aug 2011 18:07:48 +0000 (18:07 +0000)]
Self revert r95041 per CR. I will commit a cleaner patch.