lhc/web/wiklou.git
13 years agoNot sure how I missed --scriptpath option since it was right above the wikiroot optio...
Mark A. Hershberger [Sun, 19 Dec 2010 05:32:55 +0000 (05:32 +0000)]
Not sure how I missed --scriptpath option since it was right above the wikiroot option I added, but I did. (ok, so I *do* know how I missed it, but it was a dumb mistake).

13 years agoupdate install-phpunit.sh so people who read [[Unit_Testing#Installing_PHPUnit|about...
Mark A. Hershberger [Sun, 19 Dec 2010 05:08:21 +0000 (05:08 +0000)]
update install-phpunit.sh so people who read [[Unit_Testing#Installing_PHPUnit|about installing it]] can actually use it.

13 years ago* Add --wikiroot option to CLI installer so the user can give something besides ...
Mark A. Hershberger [Sun, 19 Dec 2010 04:55:00 +0000 (04:55 +0000)]
* Add --wikiroot option to CLI installer so the user can give something besides /wiki
* Add --upgrade option to CLI installer so we can throw an error when LocalSettings.php is present and provide an upgrade route to the user.
* Fixup CLI's showStatusMessage so allow CLI to throw an error and quit

13 years agoMisc whitespace changes, mostly EOL w/s and indention fixes so TAB = 4 spaces
Mark A. Hershberger [Sun, 19 Dec 2010 04:31:15 +0000 (04:31 +0000)]
Misc whitespace changes, mostly EOL w/s and indention fixes so TAB = 4 spaces

13 years agoAdd a Antispam group to Special:Version... we have a lot of these kind of extensions...
Daniel Friesen [Sun, 19 Dec 2010 01:20:01 +0000 (01:20 +0000)]
Add a Antispam group to Special:Version... we have a lot of these kind of extensions and they just sit in other right now.

13 years agoLol, I don't think that's part of the standard GPL header... :-D (follow-up r78585).
Happy-melon [Sat, 18 Dec 2010 23:09:19 +0000 (23:09 +0000)]
Lol, I don't think that's part of the standard GPL header... :-D (follow-up r78585).

13 years agoMerge in Token class from my branch; would like some second opinions on the concept...
Happy-melon [Sat, 18 Dec 2010 23:07:30 +0000 (23:07 +0000)]
Merge in Token class from my branch; would like some second opinions on the concept.  This seeks to replace the much-abused $wgUser->editToken() token generator, 90% of the uses of which are not for editing but rather general actions.

Implemented for rollback mainly as a proof-of-concept; obvious further targets are patrol links and HTMLForm.

13 years agoFix for r78570: correct default value
Alexandre Emsenhuber [Sat, 18 Dec 2010 22:02:35 +0000 (22:02 +0000)]
Fix for r78570: correct default value

13 years ago* re r76385 Add parser tests for $wgExternalLinkTarget on images
Mark A. Hershberger [Sat, 18 Dec 2010 21:45:44 +0000 (21:45 +0000)]
* re r76385 Add parser tests for $wgExternalLinkTarget on images

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 18 Dec 2010 21:23:20 +0000 (21:23 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-18 20:49:00 UTC)

13 years agoNicer way of doing r78566, and also one which won't incur Tim's wrath... :D
Happy-melon [Sat, 18 Dec 2010 19:08:22 +0000 (19:08 +0000)]
Nicer way of doing r78566, and also one which won't incur Tim's wrath... :D

13 years agoMoved constant values from initialiseFromUser() to class definition
Alexandre Emsenhuber [Sat, 18 Dec 2010 17:56:38 +0000 (17:56 +0000)]
Moved constant values from initialiseFromUser() to class definition

13 years agor52070 breaks the use of optgroups etc: array(...) is cast to 'Array'. Need to only...
Happy-melon [Sat, 18 Dec 2010 16:25:14 +0000 (16:25 +0000)]
r52070 breaks the use of optgroups etc: array(...) is cast to 'Array'.  Need to only cast integers to strings.

13 years agoFollow-up r75476: Windows set command treats everything until the && as part of the...
Bryan Tong Minh [Sat, 18 Dec 2010 15:00:11 +0000 (15:00 +0000)]
Follow-up r75476: Windows set command treats everything until the && as part of the environment variable, resulting in a trailing whitespace which breaks stuff.

13 years agoNew plural rules
Niklas Laxström [Sat, 18 Dec 2010 14:34:43 +0000 (14:34 +0000)]
New plural rules

13 years agoTypo
Niklas Laxström [Sat, 18 Dec 2010 14:34:29 +0000 (14:34 +0000)]
Typo

13 years agoFixing r65339: makeTitleSafe instead of newFromText
Tobias [Sat, 18 Dec 2010 13:57:09 +0000 (13:57 +0000)]
Fixing r65339: makeTitleSafe instead of newFromText

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 17 Dec 2010 20:27:54 +0000 (20:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-17 20:07:00 UTC)

13 years agoAdded anonymous function to mediaWiki.user
Trevor Parscal [Fri, 17 Dec 2010 19:18:26 +0000 (19:18 +0000)]
Added anonymous function to mediaWiki.user

13 years agoFix autonym for 'pfl' per https://bugzilla.wikimedia.org/show_bug.cgi?id=25871#c7
Raimond Spekking [Fri, 17 Dec 2010 19:17:56 +0000 (19:17 +0000)]
Fix autonym for 'pfl' per https://bugzilla.wikimedia.org/show_bug.cgi?id=25871#c7

13 years agoSplit the functionality of mediaWiki.user.sessionId into id and sessionId - the first...
Trevor Parscal [Fri, 17 Dec 2010 18:32:49 +0000 (18:32 +0000)]
Split the functionality of mediaWiki.user.sessionId into id and sessionId - the first of which is as persistent as possible, and the latter of which will change every time the browser is closed.

13 years agoRm unused javascript added in r47637 (follow up to r47569) and not reverted with...
Happy-melon [Fri, 17 Dec 2010 16:04:01 +0000 (16:04 +0000)]
Rm unused javascript added in r47637 (follow up to r47569) and not reverted with the rest of it in r48780.

13 years agoMore old installer cruft
Chad Horohoe [Fri, 17 Dec 2010 15:49:51 +0000 (15:49 +0000)]
More old installer cruft

13 years agoSame as r78533, but 5 lines down
Chad Horohoe [Fri, 17 Dec 2010 15:43:16 +0000 (15:43 +0000)]
Same as r78533, but 5 lines down

13 years agoInstaller can handle exceptions now, also suppress possible permission errors with...
Chad Horohoe [Fri, 17 Dec 2010 15:40:08 +0000 (15:40 +0000)]
Installer can handle exceptions now, also suppress possible permission errors with fopen()

13 years ago* Handle output for DatabaseUpdater in the class itself, no more wfOut() usage in...
Chad Horohoe [Fri, 17 Dec 2010 15:31:01 +0000 (15:31 +0000)]
* Handle output for DatabaseUpdater in the class itself, no more wfOut() usage in core :)
* Mark wfOut() deprecated
* CheckUser, OpenID and TitleKey still use wfOut :(

13 years ago* Get rid of wfOut() usage in UserDupes
Chad Horohoe [Fri, 17 Dec 2010 15:17:13 +0000 (15:17 +0000)]
* Get rid of wfOut() usage in UserDupes
* $fname -> __METHOD__
* Get rid of php4 =&

13 years agoFixed doc
Aaron Schulz [Fri, 17 Dec 2010 05:14:50 +0000 (05:14 +0000)]
Fixed doc

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 16 Dec 2010 22:11:46 +0000 (22:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-16 21:37:00 UTC)

13 years agoPer ^demon, follow-up r78260: introduced MediaWiki::getAction() to get the action...
Alexandre Emsenhuber [Thu, 16 Dec 2010 20:11:53 +0000 (20:11 +0000)]
Per ^demon, follow-up r78260: introduced MediaWiki::getAction() to get the action that will be executed

13 years agoMoved CSS flipping to occur inside a module - this resolves a bug which occurs when...
Trevor Parscal [Thu, 16 Dec 2010 19:31:48 +0000 (19:31 +0000)]
Moved CSS flipping to occur inside a module - this resolves a bug which occurs when flipping happens AFTER CSSMin::remap embeds a data URI of an un-flipped image.

13 years agoPart of bug 26280: added license headers to PHP files in maintenance
Alexandre Emsenhuber [Thu, 16 Dec 2010 19:15:12 +0000 (19:15 +0000)]
Part of bug 26280: added license headers to PHP files in maintenance

13 years agoFixed RTL errors for search suggestions
Trevor Parscal [Thu, 16 Dec 2010 19:03:51 +0000 (19:03 +0000)]
Fixed RTL errors for search suggestions

13 years agoFixed RTL errors for SimpleSearch
Trevor Parscal [Thu, 16 Dec 2010 19:02:43 +0000 (19:02 +0000)]
Fixed RTL errors for SimpleSearch

13 years agoFollow-up r77762 per CR, and an unrelated one-character whitespace fix which doesn...
Happy-melon [Thu, 16 Dec 2010 18:30:15 +0000 (18:30 +0000)]
Follow-up r77762 per CR, and an unrelated one-character whitespace fix which doesn't deserve its own revision id... :D

13 years agoFollow-up r78452, r78497: having got my copy of phpunit working, fix test better.
Happy-melon [Thu, 16 Dec 2010 18:06:08 +0000 (18:06 +0000)]
Follow-up r78452, r78497: having got my copy of phpunit working, fix test better.

13 years agoFollow-up r78452: if you're going to try and declare an HTMLFormField without 80...
Happy-melon [Thu, 16 Dec 2010 17:34:13 +0000 (17:34 +0000)]
Follow-up r78452: if you're going to try and declare an HTMLFormField without 80% of its parameters, it's probably not surprising that it doesn't like it... :-D

13 years agoThis path changed when moving the tests folder.
Platonides [Thu, 16 Dec 2010 15:09:50 +0000 (15:09 +0000)]
This path changed when moving the tests folder.

13 years agoRemove comment about possibly removing the extra debugging info. Only the site admin...
Chad Horohoe [Thu, 16 Dec 2010 15:01:39 +0000 (15:01 +0000)]
Remove comment about possibly removing the extra debugging info. Only the site admin should have access to the installer/updater anyway, so we're not really disclosing anything here.

13 years agoFix a few more paths from the tests move
Chad Horohoe [Thu, 16 Dec 2010 13:49:48 +0000 (13:49 +0000)]
Fix a few more paths from the tests move

13 years agoNo need to call wfDoUpdates(), already done by Article::doEdit()
Alexandre Emsenhuber [Thu, 16 Dec 2010 13:34:32 +0000 (13:34 +0000)]
No need to call wfDoUpdates(), already done by Article::doEdit()

13 years agoRemoving trailing whitespace
Sam Reed [Thu, 16 Dec 2010 11:20:39 +0000 (11:20 +0000)]
Removing trailing whitespace

13 years agoRepair phpunit.php
Mark A. Hershberger [Thu, 16 Dec 2010 01:32:28 +0000 (01:32 +0000)]
Repair phpunit.php

13 years agoSet cursor to default for tooltips to avoid text cursor appearing and sticking when...
Trevor Parscal [Thu, 16 Dec 2010 01:19:15 +0000 (01:19 +0000)]
Set cursor to default for tooltips to avoid text cursor appearing and sticking when moving the mouse of a tooltip that's either configure with a delayed exit or fade-out.

13 years agoFixed typo
Priyanka Dhanda [Wed, 15 Dec 2010 23:09:46 +0000 (23:09 +0000)]
Fixed typo

13 years agoMake these tests run again. I think this is the right fix. At least they run now.
Priyanka Dhanda [Wed, 15 Dec 2010 23:00:11 +0000 (23:00 +0000)]
Make these tests run again. I think this is the right fix. At least they run now.

13 years agoChange old php4 style constructor
Sam Reed [Wed, 15 Dec 2010 22:41:06 +0000 (22:41 +0000)]
Change old php4 style constructor

13 years agoFollow-up r78445: don't spam a useless edit token into the URL for GET requests.
Happy-melon [Wed, 15 Dec 2010 21:37:50 +0000 (21:37 +0000)]
Follow-up r78445: don't spam a useless edit token into the URL for GET requests.

13 years agoClean up the running mess that is r64866, r65040, and then r67277. Implement and...
Happy-melon [Wed, 15 Dec 2010 21:14:36 +0000 (21:14 +0000)]
Clean up the running mess that is r64866, r65040, and then r67277.  Implement and document consistent behaviour for all types of fields: if the 'name' parameter is specified, use it exactly as is, otherwise use "wp{$fieldname}".  For hidden fields added with addHiddenField(), continue to use either $attrib['name'] or $name, both unaltered.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 15 Dec 2010 21:12:17 +0000 (21:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-15 20:54:00 UTC)

13 years agoChanged doQuery() -> query()
Aaron Schulz [Wed, 15 Dec 2010 20:59:29 +0000 (20:59 +0000)]
Changed doQuery() -> query()

13 years agoFollow-up r78445: validation errors would never be shown on a GET form
Happy-melon [Wed, 15 Dec 2010 20:10:16 +0000 (20:10 +0000)]
Follow-up r78445: validation errors would never be shown on a GET form

13 years agoWhen using safe_mode, mail() cannot take the 5th parameter. Rather than (needlessly...
Chad Horohoe [Wed, 15 Dec 2010 19:55:08 +0000 (19:55 +0000)]
When using safe_mode, mail() cannot take the 5th parameter. Rather than (needlessly) disabling e-mail confirmation as a result, just disregard the parameter. Pointed out by Kunda on IRC.

13 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Wed, 15 Dec 2010 19:41:51 +0000 (19:41 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

13 years agoAllow HTMLForms to be submitted by GET requests.
Happy-melon [Wed, 15 Dec 2010 19:33:03 +0000 (19:33 +0000)]
Allow HTMLForms to be submitted by GET requests.

13 years agoFollowup r78383: deny tests from web
Chad Horohoe [Wed, 15 Dec 2010 16:26:26 +0000 (16:26 +0000)]
Followup r78383: deny tests from web

13 years agoBetter regexes for r78246.
Happy-melon [Wed, 15 Dec 2010 13:33:47 +0000 (13:33 +0000)]
Better regexes for r78246.

13 years agoFollow-up r78426: Tweak messages for consistency. Remove sentence about "API documena...
Raimond Spekking [Wed, 15 Dec 2010 13:07:21 +0000 (13:07 +0000)]
Follow-up r78426: Tweak messages for consistency. Remove sentence about "API documenation" because I think it is not helpful for normal users.
Add new messages to maintenance file

13 years agoRemove public from interface defintion, as decleration in an interface is not valid
Sam Reed [Wed, 15 Dec 2010 11:30:54 +0000 (11:30 +0000)]
Remove public from interface defintion, as decleration in an interface is not valid

13 years agoadded a page to list all stashed files, and clear them if necessary -- helpful while...
Neil Kandalgaonkar [Wed, 15 Dec 2010 01:21:11 +0000 (01:21 +0000)]
added a page to list all stashed files, and clear them if necessary -- helpful while debugging some concurrency issues, also gets us closer to keeping the UploadWizard state on the server

13 years agorefactored HTMLForm show() into three methods, in case you want to process a form...
Neil Kandalgaonkar [Wed, 15 Dec 2010 01:17:28 +0000 (01:17 +0000)]
refactored HTMLForm show() into three methods, in case you want to process a form in some way separate from showing it.

13 years agoFollow-up r77796: a couple of typos in the comment, and break more consistently at...
Happy-melon [Wed, 15 Dec 2010 01:03:44 +0000 (01:03 +0000)]
Follow-up r77796: a couple of typos in the comment, and break more consistently at 90 cols.

13 years agoAccess modifiers aren't valid on interfaces
Sam Reed [Tue, 14 Dec 2010 23:43:03 +0000 (23:43 +0000)]
Access modifiers aren't valid on interfaces

13 years agoIn the vein of r75313, get groups from the $wg(Add|Remove)Groups and $wgGroups(AddTo...
Happy-melon [Tue, 14 Dec 2010 22:45:25 +0000 (22:45 +0000)]
In the vein of r75313, get groups from the $wg(Add|Remove)Groups and $wgGroups(AddTo|RemoveFrom)Self variables as well.

13 years agoRemove the word global from the messages itselves, per r78230 CR.
Platonides [Tue, 14 Dec 2010 21:57:13 +0000 (21:57 +0000)]
Remove the word global from the messages itselves, per r78230 CR.

13 years ago* (bug 26339) Throw warning when truncating an overlarge API result
Sam Reed [Tue, 14 Dec 2010 21:40:14 +0000 (21:40 +0000)]
* (bug 26339) Throw warning when truncating an overlarge API result

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 14 Dec 2010 21:19:18 +0000 (21:19 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-14 20:54:00 UTC)

13 years agoChecking permissions for $wgUser while doing an edit with another user is not a good...
Alexandre Emsenhuber [Tue, 14 Dec 2010 19:40:27 +0000 (19:40 +0000)]
Checking permissions for $wgUser while doing an edit with another user is not a good idea

13 years agoFixup fixme on r76844
Sam Reed [Tue, 14 Dec 2010 18:17:42 +0000 (18:17 +0000)]
Fixup fixme on r76844

Only "known issue", is the bottom limit thing posts, and won't override the top one, if it's set one in the URL, which is a PITA. 2 clicks does it. Hopefully this can be fixed, and uncommented when VVV sorts out our queryparameters? :)

13 years agoDo not access to mTouched internals of Article from a different module per r70783...
Platonides [Tue, 14 Dec 2010 17:49:01 +0000 (17:49 +0000)]
Do not access to mTouched internals of Article from a different module per r70783#c12039

13 years ago* Removing wfSupportsAjax() call. We don't use legacy sajax_ anymore, jQuery takes...
Krinkle [Tue, 14 Dec 2010 17:21:40 +0000 (17:21 +0000)]
* Removing wfSupportsAjax() call. We don't use legacy sajax_ anymore, jQuery takes care of this
* Thus also removing the dependency on mediawiki.legacy.ajax in mediawiki.action.watch.ajax
* Moving the show() call further down in jsMessage. Before this commit the box shows for a split second (empty) and then it suddenly grows with content. Now moved it down so that it comes into view, filled already. Also made it possible to bring back the slideDown effect without ugly flashes.

13 years agoUse $.getJSON()'s middle parameter rather than DIY URL building in AJAX watch JS
Roan Kattouw [Tue, 14 Dec 2010 16:56:56 +0000 (16:56 +0000)]
Use $.getJSON()'s middle parameter rather than DIY URL building in AJAX watch JS

13 years agoFix a few more paths, restore a few files lost in the move
Chad Horohoe [Tue, 14 Dec 2010 16:48:44 +0000 (16:48 +0000)]
Fix a few more paths, restore a few files lost in the move

13 years agoFix path changes from move in r78383
Chad Horohoe [Tue, 14 Dec 2010 16:33:06 +0000 (16:33 +0000)]
Fix path changes from move in r78383

13 years agoMissed another comment in r78381
Chad Horohoe [Tue, 14 Dec 2010 16:31:25 +0000 (16:31 +0000)]
Missed another comment in r78381

13 years agosvn ci'd from the wrong directory, missed the deletes in r78383
Chad Horohoe [Tue, 14 Dec 2010 16:28:52 +0000 (16:28 +0000)]
svn ci'd from the wrong directory, missed the deletes in r78383

13 years agoPer wikitech-l discussion: Move tests from maintenance/tests/ to tests/. They're...
Chad Horohoe [Tue, 14 Dec 2010 16:26:35 +0000 (16:26 +0000)]
Per wikitech-l discussion: Move tests from maintenance/tests/ to tests/. They're not strictly maintenance scripts, and some people want to do a selective checkout that doesn't include the tests. There's still debate on whether we should include these in the release downloads, but we had a pretty firm consensus to move this.

13 years agoRemove big commented list of URLs (added in r61078) that this class will never be...
Chad Horohoe [Tue, 14 Dec 2010 15:49:41 +0000 (15:49 +0000)]
Remove big commented list of URLs (added in r61078) that this class will never be testing. Core tests shouldn't depend on extensions and they were confusing my grepping too.

13 years agoFix up few remaining fixme things from r69910
Sam Reed [Tue, 14 Dec 2010 15:44:16 +0000 (15:44 +0000)]
Fix up few remaining fixme things from r69910

13 years agoFollowup r77354: it's page_touched, with an underscore
Roan Kattouw [Tue, 14 Dec 2010 15:33:14 +0000 (15:33 +0000)]
Followup r77354: it's page_touched, with an underscore

13 years agoCleanup for r63578: Use Maintenance::error(), that's what its for
Chad Horohoe [Tue, 14 Dec 2010 13:37:53 +0000 (13:37 +0000)]
Cleanup for r63578: Use Maintenance::error(), that's what its for

13 years agoRevert r74978 per CR, no followup for nearly 2 months
Chad Horohoe [Tue, 14 Dec 2010 13:20:10 +0000 (13:20 +0000)]
Revert r74978 per CR, no followup for nearly 2 months

13 years agoPer r76225 CR: Get rid of Autoloader::loadAllExtensions() "Anything that needs it...
Chad Horohoe [Tue, 14 Dec 2010 12:59:17 +0000 (12:59 +0000)]
Per r76225 CR: Get rid of Autoloader::loadAllExtensions() "Anything that needs it is badly written and needs to use the AutoLoader properly."

13 years agoStyle fix for r76220
Chad Horohoe [Tue, 14 Dec 2010 12:51:59 +0000 (12:51 +0000)]
Style fix for r76220

13 years agorm double comment
Chad Horohoe [Tue, 14 Dec 2010 12:47:37 +0000 (12:47 +0000)]
rm double comment

13 years agoFix for r78322, check $result not $value
Chad Horohoe [Tue, 14 Dec 2010 12:47:07 +0000 (12:47 +0000)]
Fix for r78322, check $result not $value

13 years agoChanged $wgArticle to local variable, not needed
Alexandre Emsenhuber [Tue, 14 Dec 2010 12:25:34 +0000 (12:25 +0000)]
Changed $wgArticle to local variable, not needed

13 years agoArticle::insertNewArticle() -> Article::doEdit()
Alexandre Emsenhuber [Tue, 14 Dec 2010 12:15:55 +0000 (12:15 +0000)]
Article::insertNewArticle() -> Article::doEdit()

13 years agoImprove some of the descriptions added in r68482
Roan Kattouw [Tue, 14 Dec 2010 11:47:13 +0000 (11:47 +0000)]
Improve some of the descriptions added in r68482

13 years agoCleaned up r70342 and r70343: removed commented-out code.
Tim Starling [Tue, 14 Dec 2010 11:11:38 +0000 (11:11 +0000)]
Cleaned up r70342 and r70343: removed commented-out code.

13 years agoFollowup r78104: set the cookie unconditionally, so its expiry is renewed every time...
Roan Kattouw [Tue, 14 Dec 2010 11:09:30 +0000 (11:09 +0000)]
Followup r78104: set the cookie unconditionally, so its expiry is renewed every time sessionId() is called

13 years agoUpdate references for wfEscapeShellArg() for r69732 etc. The very useful mailing...
Tim Starling [Tue, 14 Dec 2010 10:57:41 +0000 (10:57 +0000)]
Update references for wfEscapeShellArg() for r69732 etc. The very useful mailing list post that I cited has disappeared from the web!

13 years agoFixed comments and indenting style from r68491.
Tim Starling [Tue, 14 Dec 2010 09:01:48 +0000 (09:01 +0000)]
Fixed comments and indenting style from r68491.

13 years agoLocalization update for he.
Rotem Liss [Tue, 14 Dec 2010 08:44:09 +0000 (08:44 +0000)]
Localization update for he.

13 years agoFixed typos in file names from r65967
Tim Starling [Tue, 14 Dec 2010 08:14:55 +0000 (08:14 +0000)]
Fixed typos in file names from r65967

13 years agomerging the two addModules() calls into one, (they take an array, so might as well...
Krinkle [Tue, 14 Dec 2010 00:08:54 +0000 (00:08 +0000)]
merging the two addModules() calls into one, (they take an array, so might as well me together); + using mw instead of mediaWiki in mediawiki.util.js

13 years agoAdded comment about why you should not be depending on mediaWiki.user.sessionId befor...
Trevor Parscal [Tue, 14 Dec 2010 00:08:07 +0000 (00:08 +0000)]
Added comment about why you should not be depending on mediaWiki.user.sessionId before mediaWiki.loader.go is called.

13 years agoFixes r78104 much better than r78344 did. By adding jquery.cookie to the loading...
Trevor Parscal [Tue, 14 Dec 2010 00:02:21 +0000 (00:02 +0000)]
Fixes r78104 much better than r78344 did. By adding jquery.cookie to the loading queue just after declaring mediaWiki we can ensure it's in the first batch of modules that are fetched - essentially adding it to the initial payload.

13 years agoadded compareObject function to mediaWiki core jQuery prototyping utilities
Krinkle [Mon, 13 Dec 2010 23:52:45 +0000 (23:52 +0000)]
added compareObject function to mediaWiki core jQuery prototyping utilities

13 years agoFixed issue in r78104 where jquery.cookie wouldn't load properly. Changed the mediaWi...
Trevor Parscal [Mon, 13 Dec 2010 23:51:29 +0000 (23:51 +0000)]
Fixed issue in r78104 where jquery.cookie wouldn't load properly. Changed the mediaWiki User object to load jquery.cookie on demand.