lhc/web/wiklou.git
14 years agoMerge r56715 from wmf-deployment (Moved unbuffered-ness to below count query to fix...
Andrew Garrett [Mon, 21 Sep 2009 16:41:09 +0000 (16:41 +0000)]
Merge r56715 from wmf-deployment (Moved unbuffered-ness to below count query to fix brokenness)

14 years ago* (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
Brion Vibber [Mon, 21 Sep 2009 16:33:42 +0000 (16:33 +0000)]
* (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
Reverts r49997; link is now using the checkout revision which makes pathrev work properly again for branches, so we don't need to use the (apparently non-functional) revision parameter instead.

14 years agoUse unbuffered queries in cleanupTable maintenance scripts. Prevents OOM issues.
Andrew Garrett [Mon, 21 Sep 2009 16:15:07 +0000 (16:15 +0000)]
Use unbuffered queries in cleanupTable maintenance scripts. Prevents OOM issues.

14 years agoLocalization update.
Rotem Liss [Mon, 21 Sep 2009 14:50:24 +0000 (14:50 +0000)]
Localization update.

14 years agoFollow-up to r56684 - fix message parameters for Login::ILLEGAL
Happy-melon [Mon, 21 Sep 2009 14:19:24 +0000 (14:19 +0000)]
Follow-up to r56684 - fix message parameters for Login::ILLEGAL

14 years agoFollow-up to r56683 - unnecessary abstraction
Happy-melon [Mon, 21 Sep 2009 14:18:26 +0000 (14:18 +0000)]
Follow-up to r56683 - unnecessary abstraction

14 years agoFollow-up to r56684 - set message keys in Login.php, and readd the ExternalUser check...
Happy-melon [Mon, 21 Sep 2009 13:53:58 +0000 (13:53 +0000)]
Follow-up to r56684 - set message keys in Login.php, and readd the ExternalUser check that got lost somewhere in the branch merge.

14 years agoFollow-up to r56684 - stop people registering invalid usernames.
Happy-melon [Mon, 21 Sep 2009 11:58:29 +0000 (11:58 +0000)]
Follow-up to r56684 - stop people registering invalid usernames.

14 years agoFollowup r56684: Add new message 'createaccounterror' for errors on account creation...
Chad Horohoe [Mon, 21 Sep 2009 11:37:19 +0000 (11:37 +0000)]
Followup r56684: Add new message 'createaccounterror' for errors on account creation page. Doesn't make much sense to say "Login error" here :)

14 years agoFollow-up to r56684; fix newuser log.
Happy-melon [Mon, 21 Sep 2009 10:57:06 +0000 (10:57 +0000)]
Follow-up to r56684; fix newuser log.

14 years ago(bug 20751) ForeignApiRepo does not urldecode filenames. Based on patch by Marcin...
Chad Horohoe [Mon, 21 Sep 2009 01:33:06 +0000 (01:33 +0000)]
(bug 20751) ForeignApiRepo does not urldecode filenames. Based on patch by Marcin Cieślak.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-20 23:06 UTC)
Siebrand Mazeland [Sun, 20 Sep 2009 23:35:04 +0000 (23:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-20 23:06 UTC)

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-20 23:06 UTC)
Siebrand Mazeland [Sun, 20 Sep 2009 23:17:35 +0000 (23:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-20 23:06 UTC)

14 years agoAdd 'noemailcreate'
Siebrand Mazeland [Sun, 20 Sep 2009 23:05:52 +0000 (23:05 +0000)]
Add 'noemailcreate'

14 years agoConsistency fix
Siebrand Mazeland [Sun, 20 Sep 2009 22:33:52 +0000 (22:33 +0000)]
Consistency fix

14 years ago(bug16979) Add tracking categories for __INDEX__ and __NOINDEX__.
Happy-melon [Sun, 20 Sep 2009 22:14:09 +0000 (22:14 +0000)]
(bug16979) Add tracking categories for __INDEX__ and __NOINDEX__.

14 years agoFollow-up on r55909: showLogExtract can now tell Pager to ignore wgRequest offset...
Tobias [Sun, 20 Sep 2009 22:07:44 +0000 (22:07 +0000)]
Follow-up on r55909: showLogExtract can now tell Pager to ignore wgRequest offset. Needed for block notice on SpecialContributions. Also small fix for SpecialBlockip (after r56420)

14 years agoFollow-ups to r56684: add a member function for extensions to add header text cleanly...
Happy-melon [Sun, 20 Sep 2009 21:24:48 +0000 (21:24 +0000)]
Follow-ups to r56684: add a member function for extensions to add header text cleanly, and tweak variable names in api/ApiLogin.php.

14 years ago* (bug 20726) Title::getLatestRevID's documentation now says that the function return...
Alexandre Emsenhuber [Sun, 20 Sep 2009 20:39:48 +0000 (20:39 +0000)]
* (bug 20726) Title::getLatestRevID's documentation now says that the function returns false if the page doesn't exist

14 years agoMerge in Login rewrite, second time lucky.
Happy-melon [Sun, 20 Sep 2009 20:28:27 +0000 (20:28 +0000)]
Merge in Login rewrite, second time lucky.

14 years agoNew function for ExternalUser to get the local User corresponding to the external...
Happy-melon [Sun, 20 Sep 2009 18:53:17 +0000 (18:53 +0000)]
New function for ExternalUser to get the local User corresponding to the external one.

14 years agoDocument and tidy HTMLForm.php. :P
Happy-melon [Sun, 20 Sep 2009 18:50:38 +0000 (18:50 +0000)]
Document and tidy HTMLForm.php.  :P

14 years agobug 20745 Query error in Special:ListUsers
Aaron Schulz [Sun, 20 Sep 2009 14:10:50 +0000 (14:10 +0000)]
bug 20745 Query error in Special:ListUsers

14 years agoLocalisation updates for core magic words from translatewiki.net
Siebrand Mazeland [Sun, 20 Sep 2009 10:36:02 +0000 (10:36 +0000)]
Localisation updates for core magic words from translatewiki.net

14 years agoLocalisation updates for special page aliases from translatewiki.net
Siebrand Mazeland [Sun, 20 Sep 2009 10:31:53 +0000 (10:31 +0000)]
Localisation updates for special page aliases from translatewiki.net

14 years agoLocalisation updates for core namespaces from translatewiki.net
Siebrand Mazeland [Sun, 20 Sep 2009 10:28:42 +0000 (10:28 +0000)]
Localisation updates for core namespaces from translatewiki.net

14 years agoInstaller spewing warnings due to disable_functions
Chad Horohoe [Sun, 20 Sep 2009 08:47:12 +0000 (08:47 +0000)]
Installer spewing warnings due to disable_functions

14 years agoFollow up to r56323: fix the broken grant syntax (which I should have tested before...
Benjamin Lees [Sun, 20 Sep 2009 07:15:19 +0000 (07:15 +0000)]
Follow up to r56323: fix the broken grant syntax (which I should have tested before committing).

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-19 20:29 UTC)
Siebrand Mazeland [Sat, 19 Sep 2009 20:48:17 +0000 (20:48 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-19 20:29 UTC)

14 years agoAdd some newlines in messages
Siebrand Mazeland [Sat, 19 Sep 2009 20:10:10 +0000 (20:10 +0000)]
Add some newlines in messages

14 years agoLocalization update for he.
Rotem Liss [Sat, 19 Sep 2009 16:47:50 +0000 (16:47 +0000)]
Localization update for he.

14 years agowfMsgExt, instead of wfMsg
Bryan Tong Minh [Sat, 19 Sep 2009 16:39:51 +0000 (16:39 +0000)]
wfMsgExt, instead of wfMsg

14 years agobug 20739: fix call to missing function
Aaron Schulz [Sat, 19 Sep 2009 16:28:25 +0000 (16:28 +0000)]
bug 20739: fix call to missing function

14 years agoFollow up to r56639: Remove some existence check duplication and fix ApiUpload for...
Bryan Tong Minh [Sat, 19 Sep 2009 15:49:54 +0000 (15:49 +0000)]
Follow up to r56639: Remove some existence check duplication and fix ApiUpload for changed return format of getExistsWarning.

14 years agoFix several messages generated by SpecialUpload::getExistsWarning which were malforma...
Bryan Tong Minh [Sat, 19 Sep 2009 15:42:06 +0000 (15:42 +0000)]
Fix several messages generated by SpecialUpload::getExistsWarning which were malformatted. Also removed all HTML generation from that function.

14 years agoUpdate formatting
Siebrand Mazeland [Sat, 19 Sep 2009 13:08:10 +0000 (13:08 +0000)]
Update formatting

14 years agoFollow-up to r56635 - remove messages associated with Login rewrite that crept into...
Happy-melon [Sat, 19 Sep 2009 12:54:23 +0000 (12:54 +0000)]
Follow-up to r56635 - remove messages associated with Login rewrite that crept into other commit... they'll be back :D

14 years agoImplement a 'root' permission, which grants all other permissions. Useful for debugg...
Happy-melon [Sat, 19 Sep 2009 12:50:00 +0000 (12:50 +0000)]
Implement a 'root' permission, which grants all other permissions.  Useful for debugging and administration.

14 years agoFix User::idFromName to actually return null on failure, as the doc suggests.
Happy-melon [Sat, 19 Sep 2009 12:46:51 +0000 (12:46 +0000)]
Fix User::idFromName to actually return null on failure, as the doc suggests.

14 years agoLocalization update.
Rotem Liss [Sat, 19 Sep 2009 12:39:54 +0000 (12:39 +0000)]
Localization update.

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 19 Sep 2009 10:57:09 +0000 (10:57 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoFix overwrite permission checking for users without reupload-shared right.
Bryan Tong Minh [Sat, 19 Sep 2009 09:01:37 +0000 (09:01 +0000)]
Fix overwrite permission checking for users without reupload-shared right.

14 years agofixes bug #20708, where tables containing colspans greater than 1 are still sortable...
Nimish Gautam [Fri, 18 Sep 2009 23:48:15 +0000 (23:48 +0000)]
fixes bug #20708, where tables containing colspans greater than 1 are still sortable by the last column

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-18 22:12 UTC)
Siebrand Mazeland [Fri, 18 Sep 2009 23:01:41 +0000 (23:01 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-18 22:12 UTC)

14 years agoFixes bug #20698, unnecessary space in divs and JS messages
Nimish Gautam [Fri, 18 Sep 2009 22:02:14 +0000 (22:02 +0000)]
Fixes bug #20698, unnecessary space in divs and JS messages

14 years agoAdd $wgRCMaxAge to the message 'activeusers-count' because people are asking "how...
Raimond Spekking [Fri, 18 Sep 2009 21:50:10 +0000 (21:50 +0000)]
Add $wgRCMaxAge to the message 'activeusers-count' because people are asking "how long is 'recent'?"
FormatNum/CommaList for some expressions
Simplify getPageHeader(), use more Xml/Html::functions.

14 years agoSet wpSourceType to file by default for backwards compatibility with user scripts.
Bryan Tong Minh [Fri, 18 Sep 2009 20:43:12 +0000 (20:43 +0000)]
Set wpSourceType to file by default for backwards compatibility with user scripts.

14 years agoUse Html:: functions
Niklas Laxström [Fri, 18 Sep 2009 20:10:25 +0000 (20:10 +0000)]
Use Html:: functions

14 years agobumping version number as new xsd r54472 was approved. fixing spacing
Tomasz Finc [Fri, 18 Sep 2009 17:34:56 +0000 (17:34 +0000)]
bumping version number as new xsd r54472 was approved. fixing spacing

14 years agoTighten up unquoted attribute output
Aryeh Gregor [Fri, 18 Sep 2009 15:28:46 +0000 (15:28 +0000)]
Tighten up unquoted attribute output

Only affects wikis with $wgWellFormedXml = false.  In principle, the old
behavior might have permitted XSS in IE if that setting is false (which
is not the default), but I haven't checked.  See
<http://code.google.com/p/html5lib/issues/detail?id=92>.

14 years ago* API: (bug 20700) Add amprop=default to list default messages in list=allmessages...
Roan Kattouw [Fri, 18 Sep 2009 15:24:00 +0000 (15:24 +0000)]
* API: (bug 20700) Add amprop=default to list default messages in list=allmessages. This adds default="defaultmessagecontent" or defaultmissing="" to customized messages; non-customized messages get no extra attribute.
* Don't parse magic words in messages returned by meta=allmessages , but output the message contents verbatim

14 years agotypecast $attribs to an array to avoid on-site notices
Aaron Schulz [Fri, 18 Sep 2009 14:55:42 +0000 (14:55 +0000)]
typecast $attribs to an array to avoid on-site notices

14 years agoPartial revert of r56602: remove what is probably accidentally committed debugging...
Roan Kattouw [Fri, 18 Sep 2009 14:38:59 +0000 (14:38 +0000)]
Partial revert of r56602: remove what is probably accidentally committed debugging code.

14 years agoForce changedfilter parameter to integer on Special:AbuseFilter.
Andrew Garrett [Fri, 18 Sep 2009 14:30:05 +0000 (14:30 +0000)]
Force changedfilter parameter to integer on Special:AbuseFilter.
Resolves bug 20496

14 years agoDon't drop default attrib values in non-HTML5
Aryeh Gregor [Fri, 18 Sep 2009 14:19:34 +0000 (14:19 +0000)]
Don't drop default attrib values in non-HTML5

Some attributes that have defaults in HTML5 don't have defaults in
XHTML1, particularly type="" on scripts and styles (bug 20713).  There's
not much point in trying to maintain two separate sets of defaults,
so I've just kept the HTML5 ones and haven't tried to strip any defaults
in XHTML1 mode.

14 years agoRemove double catlinks on edit page.
Andrew Garrett [Fri, 18 Sep 2009 14:05:07 +0000 (14:05 +0000)]
Remove double catlinks on edit page.
Resolves bug 20718.

14 years agoShut up warnings from r56420 that have annoyed us few days :o
Niklas Laxström [Fri, 18 Sep 2009 13:57:13 +0000 (13:57 +0000)]
Shut up warnings from r56420 that have annoyed us few days :o

14 years agoRevert functional change from r56594. That broke more than it tried to fix somehow.
Siebrand Mazeland [Fri, 18 Sep 2009 12:49:27 +0000 (12:49 +0000)]
Revert functional change from r56594. That broke more than it tried to fix somehow.

14 years ago* use wfMsgExt with escapenoentities instead of wfMsgHtml (line 679)
Siebrand Mazeland [Fri, 18 Sep 2009 12:43:55 +0000 (12:43 +0000)]
* use wfMsgExt with escapenoentities instead of wfMsgHtml (line 679)
* break long lists of parameters
* remove trailing whitespace

14 years ago* process messages with escapenoentities instead of escape to allow use of for exampl...
Siebrand Mazeland [Fri, 18 Sep 2009 11:51:00 +0000 (11:51 +0000)]
* process messages with escapenoentities instead of escape to allow use of for example &bull; (line 55)
* change string explode to array (lines 53-54)
* break long lists of parameters
* remove trailing whitespace

14 years agoAssorted tweaks.
Tim Starling [Fri, 18 Sep 2009 05:23:10 +0000 (05:23 +0000)]
Assorted tweaks.

14 years agoWas too slow. Trying different approach.
Tim Starling [Fri, 18 Sep 2009 04:27:28 +0000 (04:27 +0000)]
Was too slow. Trying different approach.

14 years agoUse STDERR instead of fopen('php://stderr') when possible
Tim Starling [Fri, 18 Sep 2009 04:26:30 +0000 (04:26 +0000)]
Use STDERR instead of fopen('php://stderr') when possible

14 years agoScript to produce a merged $wgExtensionMessagesFiles for the case where a wiki farm...
Tim Starling [Fri, 18 Sep 2009 03:34:34 +0000 (03:34 +0000)]
Script to produce a merged $wgExtensionMessagesFiles for the case where a wiki farm uses different messages for different wikis.

14 years agoFollow up r56486: revert RELEASE-NOTES (which was incomplete anyway)
Aaron Schulz [Fri, 18 Sep 2009 01:06:00 +0000 (01:06 +0000)]
Follow up r56486: revert RELEASE-NOTES (which was incomplete anyway)

14 years agoFix for r55393, put the padding:0 on the td's rather than the tables
Alex Z [Thu, 17 Sep 2009 23:04:54 +0000 (23:04 +0000)]
Fix for r55393, put the padding:0 on the td's rather than the tables

14 years agoincreased size of side bar and personal links, fixes bug #20686
Nimish Gautam [Thu, 17 Sep 2009 22:54:05 +0000 (22:54 +0000)]
increased size of side bar and personal links, fixes bug #20686

14 years agoOnly set "unserialize_callback_func" if we use it, otherwise it can throw warning...
Alexandre Emsenhuber [Thu, 17 Sep 2009 21:52:40 +0000 (21:52 +0000)]
Only set "unserialize_callback_func" if we use it, otherwise it can throw warning saying that __autoload() is not defined

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-17 21:11 UTC)
Siebrand Mazeland [Thu, 17 Sep 2009 21:28:07 +0000 (21:28 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-17 21:11 UTC)

14 years agobug 20701: fixed strange breakage from r53173
Aaron Schulz [Thu, 17 Sep 2009 20:20:45 +0000 (20:20 +0000)]
bug 20701: fixed strange breakage from r53173

14 years agoFollow up on r56560. Typo.
Philip Tzou [Thu, 17 Sep 2009 19:53:49 +0000 (19:53 +0000)]
Follow up on r56560. Typo.

14 years agoFollow up on r55415 and r56458. Use another way to disable variants. Server admins...
Philip Tzou [Thu, 17 Sep 2009 19:51:33 +0000 (19:51 +0000)]
Follow up on r55415 and r56458. Use another way to disable variants. Server admins could disable some variants using a global variable.

14 years agoAPI: Per CR comments on r56091, make the timeout for the API help cache configurable
Roan Kattouw [Thu, 17 Sep 2009 19:39:34 +0000 (19:39 +0000)]
API: Per CR comments on r56091, make the timeout for the API help cache configurable

14 years ago* minor fix to uploadFromChunks in case its initialized with a real path instead...
Michael Dale [Thu, 17 Sep 2009 19:33:31 +0000 (19:33 +0000)]
* minor fix to uploadFromChunks in case its initialized with a real path instead of a virtual path

14 years agoResolving virtual url of temp path for stashed files, unbreaking stashed uploads.
Bryan Tong Minh [Thu, 17 Sep 2009 19:27:19 +0000 (19:27 +0000)]
Resolving virtual url of temp path for stashed files, unbreaking stashed uploads.

14 years ago* some clean up and defined append function in other repo types
Michael Dale [Thu, 17 Sep 2009 19:13:23 +0000 (19:13 +0000)]
* some clean up and defined append function in other repo types

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Thu, 17 Sep 2009 19:01:49 +0000 (19:01 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years ago* indent debug output produced when both $wgShowDebug and $wgDebugFunctionEntry are...
Alexandre Emsenhuber [Thu, 17 Sep 2009 18:55:29 +0000 (18:55 +0000)]
* indent debug output produced when both $wgShowDebug and $wgDebugFunctionEntry are enabled for better readability. In this case, unindented comment will be displayed "inline" with a yellow background
* added an id to the debug data list
* allow to use $wgShowDebug with $wgDebugComments set to false
* update HTMLFileCache to use full method name in debug output

14 years ago* process messages with escapenoentities instead of escape to allow for example ...
Siebrand Mazeland [Thu, 17 Sep 2009 17:55:41 +0000 (17:55 +0000)]
* process messages with escapenoentities instead of escape to allow for example &bull; as pipe-separator
* change string explode to array
* remove hard coded parentheses
* break long lists of parameters

14 years agoLocalization update.
Rotem Liss [Thu, 17 Sep 2009 17:54:59 +0000 (17:54 +0000)]
Localization update.

14 years agoFix for r55592: show the direct-page link/create link on search *above* actual result...
Brion Vibber [Thu, 17 Sep 2009 17:23:26 +0000 (17:23 +0000)]
Fix for r55592: show the direct-page link/create link on search *above* actual results but *below* "no results" notice.

14 years agomerge most of r56515 back to trunk (changing UserrightsPage::fetchUser to non-static)
Alex Z [Thu, 17 Sep 2009 16:21:27 +0000 (16:21 +0000)]
merge most of r56515 back to trunk (changing UserrightsPage::fetchUser to non-static)
Fixing ApiQueryUsers so it should work properly for interwiki users

14 years ago* removed "== true"
Michael Dale [Thu, 17 Sep 2009 15:50:07 +0000 (15:50 +0000)]
* removed "== true"

14 years agoFix r56091: cache URLs with and without ?version separately
Roan Kattouw [Thu, 17 Sep 2009 15:47:44 +0000 (15:47 +0000)]
Fix r56091: cache URLs with and without ?version separately

14 years ago* adds $wgEnableJS2system check for $wgUseAJAXCategories (since it uses some js2...
Michael Dale [Thu, 17 Sep 2009 15:35:15 +0000 (15:35 +0000)]
* adds $wgEnableJS2system check for $wgUseAJAXCategories (since it uses some js2 calls loadGM)

14 years ago* ( bug 18264 ) upload-by-url form was still disabled in non-js2 form output
Michael Dale [Thu, 17 Sep 2009 15:25:55 +0000 (15:25 +0000)]
* ( bug 18264 ) upload-by-url form was still disabled in non-js2 form output

14 years agoFix bug 20688 (Hidden categories still hidden if there are no non-hidden categories...
Andrew Garrett [Thu, 17 Sep 2009 15:24:04 +0000 (15:24 +0000)]
Fix bug 20688 (Hidden categories still hidden if there are no non-hidden categories and the showhiddencats option is on). Regression in r55573.

14 years agoFollowup to r56174: tooltipAndAccesskey also returns a string
Roan Kattouw [Thu, 17 Sep 2009 14:22:31 +0000 (14:22 +0000)]
Followup to r56174: tooltipAndAccesskey also returns a string

14 years agoAdd colon for consistency with other labels
Raimond Spekking [Thu, 17 Sep 2009 14:17:21 +0000 (14:17 +0000)]
Add colon for consistency with other labels

14 years agoConsistency tweak: Use pipe-separator for diff / hist like on RC and WL
Raimond Spekking [Thu, 17 Sep 2009 14:13:12 +0000 (14:13 +0000)]
Consistency tweak: Use pipe-separator for diff / hist like on RC and WL
BTW: RC and WL shows (diff | hist) but this page (hist | diff). Another consistency candidate?

14 years agoFollow up r56505: Make it consistent with other pipe usages. Thanks to Siebrand :)
Raimond Spekking [Thu, 17 Sep 2009 13:13:18 +0000 (13:13 +0000)]
Follow up r56505: Make it consistent with other pipe usages. Thanks to Siebrand :)

14 years agoDo not lower case the message text. This is wrong for some languages, at least for...
Raimond Spekking [Thu, 17 Sep 2009 12:44:55 +0000 (12:44 +0000)]
Do not lower case the message text. This is wrong for some languages, at least for German.

14 years agoTweak message a bit: Make it more consistent with a | between prev/next
Raimond Spekking [Thu, 17 Sep 2009 12:27:22 +0000 (12:27 +0000)]
Tweak message a bit: Make it more consistent with a | between prev/next

14 years agoAdd $wgUseAJAXCategories and $wgAJAXCategoriesNamespaces to RELEASE-NOTES. Related...
Siebrand Mazeland [Thu, 17 Sep 2009 10:05:48 +0000 (10:05 +0000)]
Add $wgUseAJAXCategories and $wgAJAXCategoriesNamespaces to RELEASE-NOTES. Related to features added in r56032 and r56495

14 years agoLocalisation updates for namespace names from translatewiki.net. Also fixes bug 20639.
Siebrand Mazeland [Thu, 17 Sep 2009 09:53:37 +0000 (09:53 +0000)]
Localisation updates for namespace names from translatewiki.net. Also fixes bug 20639.

14 years agoIn Xml::encodeJsVar, keep backwards compatibility by encoding empty arrays as empty...
Andrew Garrett [Thu, 17 Sep 2009 09:31:16 +0000 (09:31 +0000)]
In Xml::encodeJsVar, keep backwards compatibility by encoding empty arrays as empty arrays rather than empty objects. Regression in r56032, reported as bug 20671

14 years agoAdd setting $wgAJAXCategoriesNamespaces to allow configuring namespaces for where...
Siebrand Mazeland [Thu, 17 Sep 2009 08:33:07 +0000 (08:33 +0000)]
Add setting $wgAJAXCategoriesNamespaces to allow configuring namespaces for where the category add/remove widget is used when $wgUseAJAXCategories is set to true. Default behaviour has been left unchanged.

14 years agoFix logic error from r54153. By negating each individual isAllowed check, the OR...
Alex Z [Thu, 17 Sep 2009 04:27:02 +0000 (04:27 +0000)]
Fix logic error from r54153. By negating each individual isAllowed check, the OR statement would return true
(and not allow the action) if the user didn't have both rights rather than checking if he has either one.

14 years agoFollow up on r53041. Fix a __NOCC__ failure caused by myself and I'm stupid to report...
Philip Tzou [Thu, 17 Sep 2009 04:16:17 +0000 (04:16 +0000)]
Follow up on r53041. Fix a __NOCC__ failure caused by myself and I'm stupid to report it on #Wikimedia-tech!

14 years agoActually declare $wgOut ;)
Aaron Schulz [Thu, 17 Sep 2009 02:24:38 +0000 (02:24 +0000)]
Actually declare $wgOut ;)