lhc/web/wiklou.git
13 years agoSimilar to r76267 but for JS. Should finish bug 24293.
Aaron Schulz [Sun, 7 Nov 2010 22:46:22 +0000 (22:46 +0000)]
Similar to r76267 but for JS. Should finish bug 24293.

13 years agoMade sanitizeIP() handle CIDR IPs in IPv6 (fixes server-side stuff for bug 24293)
Aaron Schulz [Sun, 7 Nov 2010 21:53:26 +0000 (21:53 +0000)]
Made sanitizeIP() handle CIDR IPs in IPv6 (fixes server-side stuff for bug 24293)

13 years agoFollow-up r65654:
Alexandre Emsenhuber [Sun, 7 Nov 2010 21:05:01 +0000 (21:05 +0000)]
Follow-up r65654:
* Per Hashar: added test cases
* Added some more round() to be really correct

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 7 Nov 2010 21:00:22 +0000 (21:00 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-07 20:44:00 UTC)

13 years ago* Fixed RE_IPV6_ADD for IP networks ending in "::", like "abcd::/y" or "a::/y"
Aaron Schulz [Sun, 7 Nov 2010 20:31:48 +0000 (20:31 +0000)]
* Fixed RE_IPV6_ADD for IP networks ending in "::", like "abcd::/y" or "a::/y"
* Fixed formatHex() for IPv6 by handling prefix properly
* hextoOctet -> hexToOctet
* Assorted code cleanups (mostly with $bits/$network)
* Improved various code comments/docs

13 years agoLocalisation updates from translatewiki.net
Siebrand Mazeland [Sun, 7 Nov 2010 20:18:41 +0000 (20:18 +0000)]
Localisation updates from translatewiki.net
* updates for namespaces

13 years agoLocalisation updates from translatewiki.net
Siebrand Mazeland [Sun, 7 Nov 2010 19:47:38 +0000 (19:47 +0000)]
Localisation updates from translatewiki.net
* updates for core magic words

13 years agoLocalisation updates from translatewiki.net
Siebrand Mazeland [Sun, 7 Nov 2010 19:31:13 +0000 (19:31 +0000)]
Localisation updates from translatewiki.net
* updates for core special page aliases

13 years ago* (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores
Alexandre Emsenhuber [Sun, 7 Nov 2010 18:59:39 +0000 (18:59 +0000)]
* (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores

13 years agoFix r44442: don't rest restriction fields
Aaron Schulz [Sun, 7 Nov 2010 18:50:35 +0000 (18:50 +0000)]
Fix r44442: don't rest restriction fields

13 years agoSet $ok at the beginning of the function; this variable is missing is case of failure...
Alexandre Emsenhuber [Sun, 7 Nov 2010 18:38:34 +0000 (18:38 +0000)]
Set $ok at the beginning of the function; this variable is missing is case of failure in setupDatabase()

13 years ago* (bug 24833) Files name in includes/diff/ are now less confusing
Alexandre Emsenhuber [Sun, 7 Nov 2010 16:28:11 +0000 (16:28 +0000)]
* (bug 24833) Files name in includes/diff/ are now less confusing

Diff.php                -> WikiDiff3.php, more descriptive
DifferenceEngine.php    -> WikiDiff.php, for consistency with the above and to make way for the file below
DifferenceInterface.php -> DifferenceEngine.php, since it contains the DifferenceEngine class

13 years agoMark wfParseCIDR(), was moved to IP::parseCIDR() in r16625; also tag for removal...
Alexandre Emsenhuber [Sun, 7 Nov 2010 15:51:56 +0000 (15:51 +0000)]
Mark wfParseCIDR(), was moved to IP::parseCIDR() in r16625; also tag for removal, no use in core or extensions.

13 years agoFollow up r76207. It's called $skin here.
Platonides [Sun, 7 Nov 2010 15:12:49 +0000 (15:12 +0000)]
Follow up r76207. It's called $skin here.
This paramter is completely unused, though. Any reason to keep it?

13 years agoTests bad URL handling by ExternalStore::fetchFromURL()
Antoine Musso [Sun, 7 Nov 2010 13:07:19 +0000 (13:07 +0000)]
Tests bad URL handling by ExternalStore::fetchFromURL()
Follow up r68900

13 years agoFollow up r65500 : invalidate Title protection cache.
Antoine Musso [Sun, 7 Nov 2010 11:54:48 +0000 (11:54 +0000)]
Follow up r65500 : invalidate Title protection cache.

13 years agoTest for Language::convertDoubleWidth (followup r64088 and r63776)
Antoine Musso [Sun, 7 Nov 2010 11:30:16 +0000 (11:30 +0000)]
Test for Language::convertDoubleWidth (followup r64088 and r63776)

13 years ago* (bug 25488) Disallowing anonymous users to read pages no longer throws error on...
Alexandre Emsenhuber [Sun, 7 Nov 2010 11:11:32 +0000 (11:11 +0000)]
* (bug 25488) Disallowing anonymous users to read pages no longer throws error on discussion pages with vector as default skin

13 years agoXml::label() tests. Follow up r63675.
Antoine Musso [Sun, 7 Nov 2010 10:06:22 +0000 (10:06 +0000)]
Xml::label() tests. Follow up r63675.

13 years agoKill E_STRICTs from Mail package
Alexandre Emsenhuber [Sun, 7 Nov 2010 09:40:34 +0000 (09:40 +0000)]
Kill E_STRICTs from Mail package

13 years agoRemoved debugging code left in r76234
Alexandre Emsenhuber [Sun, 7 Nov 2010 09:32:36 +0000 (09:32 +0000)]
Removed debugging code left in r76234

13 years ago* (bug 25728) Added $wgPasswordSenderName to allow customise the name associed with...
Alexandre Emsenhuber [Sun, 7 Nov 2010 09:30:42 +0000 (09:30 +0000)]
* (bug 25728) Added $wgPasswordSenderName to allow customise the name associed with $wgPasswordSender

13 years agoRm back-compat (was moved to the class in r36353) wfLoadAllExtensions(). Not used...
Chad Horohoe [Sun, 7 Nov 2010 00:32:35 +0000 (00:32 +0000)]
Rm back-compat (was moved to the class in r36353) wfLoadAllExtensions(). Not used anywhere in core since message cache rewrite in 1.16. Can't find any uses in extensions in recent history.

13 years agoFollow up r75392.
Platonides [Sat, 6 Nov 2010 23:49:06 +0000 (23:49 +0000)]
Follow up r75392.
DefaultSettings.php were not included by LocalSettings, since it was already required in global scope.
Force an inclusion before LocalSettings. It is safe to do so, since it only contains variables, shame to
anyone adding functions or classes there!

13 years agoFix for r76221: Installer::locateExecutableInDefaultPaths() takes an array as paramet...
Alexandre Emsenhuber [Sat, 6 Nov 2010 22:46:37 +0000 (22:46 +0000)]
Fix for r76221: Installer::locateExecutableInDefaultPaths() takes an array as parameter; problem was line 1101

13 years agoTest for r67549 (bug 23797)
Antoine Musso [Sat, 6 Nov 2010 22:43:55 +0000 (22:43 +0000)]
Test for r67549 (bug 23797)

13 years agoFix two errors from r76220:
Alexandre Emsenhuber [Sat, 6 Nov 2010 22:34:57 +0000 (22:34 +0000)]
Fix two errors from r76220:
* Fatal error: Call to undefined function readlineEmulation() in maintenance/Maintenance.php on line 1075
* sh: Array: command not found

13 years agoTrying to kill install-utils.inc/old install crap:
Chad Horohoe [Sat, 6 Nov 2010 22:16:19 +0000 (22:16 +0000)]
Trying to kill install-utils.inc/old install crap:
* Cripple the old installer (entry point is gone, supporting code immediately exits). Keeping the latter for reference still :)
* Move posix_isatty() wrapper to Maintenance.php, all CLI scripts include this
* Clarify docs on archive() deprecation and removal - hasn't been used going back thru 1.15
* Clarify docs on dbsource() deprecation and removal - was in wide use thru 1.15. 1.16 removed all extension usages
* Move the two PHP bug tests to a file with the other installer files, moved them to more logical places in new install/update sequence
* Remove mw_have_dl/mw_get_session_save_path, zero callers
* Move readconsole() and helpers to be a static method on Maintenance, no extensions have used it since 1.15 either

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 6 Nov 2010 20:53:34 +0000 (20:53 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-06 20:26:00 UTC)

13 years agoadded wfDeprecated() to wfRFC822Phrase() and userMailer(); tag for removal in 1.19...
Alexandre Emsenhuber [Sat, 6 Nov 2010 20:10:55 +0000 (20:10 +0000)]
added wfDeprecated() to wfRFC822Phrase() and userMailer(); tag for removal in 1.19 (last calls were removed in r76212)

13 years agoLocalization update for he.
Rotem Liss [Sat, 6 Nov 2010 19:22:16 +0000 (19:22 +0000)]
Localization update for he.

13 years agoRemove checks for debug mode and module count on every makeResourceLoaderLink() invoc...
Platonides [Sat, 6 Nov 2010 18:52:32 +0000 (18:52 +0000)]
Remove checks for debug mode and module count on every makeResourceLoaderLink() invocation.
Moved inside makeResourceLoaderLink()
The only difference would be having now 'user' and 'user.options' modules split on debug mode.

13 years agoRm some long-commented code, including quite possibly the lamest use of $wgTitle...
Chad Horohoe [Sat, 6 Nov 2010 18:18:31 +0000 (18:18 +0000)]
Rm some long-commented code, including quite possibly the lamest use of $wgTitle ever

13 years agoRevert r76174 and call directly UserMailer::send()
Alexandre Emsenhuber [Sat, 6 Nov 2010 16:22:18 +0000 (16:22 +0000)]
Revert r76174 and call directly UserMailer::send()

13 years agoFixup fail from r76191. Thanks Nikerabbit
Sam Reed [Sat, 6 Nov 2010 16:11:19 +0000 (16:11 +0000)]
Fixup fail from r76191. Thanks Nikerabbit

13 years agoFollow up r75621: Use setContent and setIndexedTagName methods
Bryan Tong Minh [Sat, 6 Nov 2010 15:57:15 +0000 (15:57 +0000)]
Follow up r75621: Use setContent and setIndexedTagName methods

13 years agoClarify doc, per r63675 CR.
Happy-melon [Sat, 6 Nov 2010 15:14:04 +0000 (15:14 +0000)]
Clarify doc, per r63675 CR.

13 years agoAdd missing credits from r75975
Sam Reed [Sat, 6 Nov 2010 15:10:18 +0000 (15:10 +0000)]
Add missing credits from r75975

Remove a few unused array keys in API foreach loops

Remove part of Html::Hidden comment

13 years agoFix copy-paste mistake in @author attribution for cleanupRemovedModules.php
Roan Kattouw [Sat, 6 Nov 2010 12:03:39 +0000 (12:03 +0000)]
Fix copy-paste mistake in @author attribution for cleanupRemovedModules.php

13 years agoRevert r76177 and use AutoLoader
Roan Kattouw [Sat, 6 Nov 2010 11:52:14 +0000 (11:52 +0000)]
Revert r76177 and use AutoLoader

13 years agoreinsert some statements removed by r74745
Antoine Musso [Sat, 6 Nov 2010 11:30:21 +0000 (11:30 +0000)]
reinsert some statements removed by r74745

You removed a free() statement in filerepo/LocalRepo.php
In Wiki.php the explicit $ret = null was welcomed

13 years agoUse wfDeprecated() in the deprecated function getThumbnail() and getLinksTo() of...
Derk-Jan Hartman [Sat, 6 Nov 2010 01:34:47 +0000 (01:34 +0000)]
Use wfDeprecated() in the deprecated function getThumbnail() and getLinksTo() of File.php

13 years agoUploadStashFileNotFoundException and UploadStashBadPathException are defined in uploa...
Platonides [Sat, 6 Nov 2010 00:23:57 +0000 (00:23 +0000)]
UploadStashFileNotFoundException and UploadStashBadPathException are defined in upload/UploadStash.php

13 years agoDo not assign the variable in the condition.
Platonides [Sat, 6 Nov 2010 00:18:30 +0000 (00:18 +0000)]
Do not assign the variable in the condition.
Use transform() instead of the deprecated getThumbnail()

13 years agoAdd require for UserMailer.php, which defines the backwards compatibility userMailer...
Platonides [Sat, 6 Nov 2010 00:14:45 +0000 (00:14 +0000)]
Add require for UserMailer.php, which defines the backwards compatibility userMailer() function.

13 years agodieout() function already takes into account if a </ul> is needed.
Platonides [Fri, 5 Nov 2010 23:36:30 +0000 (23:36 +0000)]
dieout() function already takes into account if a </ul> is needed.

13 years agoRemoved debugging code accidentally left in.
Tim Starling [Fri, 5 Nov 2010 23:07:28 +0000 (23:07 +0000)]
Removed debugging code accidentally left in.

13 years agofollow up r76111. I had picked the wrong timedifference for the filecache.
Derk-Jan Hartman [Fri, 5 Nov 2010 23:00:43 +0000 (23:00 +0000)]
follow up r76111. I had picked the wrong timedifference for the filecache.

13 years agoKill off a few en-gb translated messages that don't need to be kept (original is...
Sam Reed [Fri, 5 Nov 2010 22:40:53 +0000 (22:40 +0000)]
Kill off a few en-gb translated messages that don't need to be kept (original is fine)

13 years agoFollow up r76138. Globals that are now unneeded.
Platonides [Fri, 5 Nov 2010 22:29:08 +0000 (22:29 +0000)]
Follow up r76138. Globals that are now unneeded.

13 years agoFollowup r75999, use the correct variable. Zak confused me with having one thing...
Sam Reed [Fri, 5 Nov 2010 22:24:07 +0000 (22:24 +0000)]
Followup r75999, use the correct variable. Zak confused me with having one thing in the bug title, and another in the bug content! :P

13 years agounused global
Platonides [Fri, 5 Nov 2010 22:19:39 +0000 (22:19 +0000)]
unused global

13 years agoPer bug 25503 comment #11, use varbinary instead of varchar for ResourceLoader-relate...
Roan Kattouw [Fri, 5 Nov 2010 22:15:58 +0000 (22:15 +0000)]
Per bug 25503 comment #11, use varbinary instead of varchar for ResourceLoader-related tables to avoid errors about indexes being too long. Only really needed for msg_resource_links, changed the rest for consistency. No updater needed: anyone who's already gotten this set up without these errors doesn't need this change.

13 years agoRename TestFileIterator $parser member. It is unrelated with the Parser object.
Platonides [Fri, 5 Nov 2010 22:14:45 +0000 (22:14 +0000)]
Rename TestFileIterator $parser member. It is unrelated with the Parser object.
Too much similar names here. What do you drink with your articles? A ParserTest
or a MediaWikiParserTest?

Removed the redundant setParser() method.

13 years agoUnneeded globals. Require for EDIT_TOKEN_SUFFIX.
Platonides [Fri, 5 Nov 2010 22:10:15 +0000 (22:10 +0000)]
Unneeded globals. Require for EDIT_TOKEN_SUFFIX.

13 years agoFollowup r75825: per bug 25610 comment #3, check for debug mode in all other places...
Roan Kattouw [Fri, 5 Nov 2010 20:36:13 +0000 (20:36 +0000)]
Followup r75825: per bug 25610 comment #3, check for debug mode in all other places too.

13 years agoFollow up r75810. The code for the parser tests modified the main database even when...
Platonides [Fri, 5 Nov 2010 20:03:18 +0000 (20:03 +0000)]
Follow up r75810. The code for the parser tests modified the main database even when they were not run.
They are now lazy loaded on the first parserTest. This should also make running the other parserTests faster.
It shouldn't take that memory or even parse ParserTests.txt if they are not going to be run, though.

PHPUnit ParserTests are still broken at this point due to r74646

13 years agoWe have debug_print_backtrace() in PHP 5. Do not try to recreate it.
Platonides [Fri, 5 Nov 2010 19:40:01 +0000 (19:40 +0000)]
We have debug_print_backtrace() in PHP 5. Do not try to recreate it.

13 years agofollowup r76127 - update parser tests.
Mark A. Hershberger [Fri, 5 Nov 2010 19:39:55 +0000 (19:39 +0000)]
followup r76127 - update parser tests.

13 years agofollowup #76127 - fix a space inserted where it shouldn'tve been.
Mark A. Hershberger [Fri, 5 Nov 2010 19:36:51 +0000 (19:36 +0000)]
followup #76127 - fix a space inserted where it shouldn'tve been.

13 years agoResolves Bug#542 by removing the link title from in-wiki links where
Mark A. Hershberger [Fri, 5 Nov 2010 19:06:12 +0000 (19:06 +0000)]
Resolves Bug#542 by removing the link title from in-wiki links where
the title just duplicates the link text.

13 years agoUpdated the Powered By MediaWiki button.
Trevor Parscal [Fri, 5 Nov 2010 18:38:59 +0000 (18:38 +0000)]
Updated the Powered By MediaWiki button.

13 years agoFixed Doxygen incompatible JSDoc style comments (bad Trevor!) as per some comments...
Trevor Parscal [Fri, 5 Nov 2010 18:33:50 +0000 (18:33 +0000)]
Fixed Doxygen incompatible JSDoc style comments (bad Trevor!) as per some comments on r75036.

13 years agoFollow-up r76113, r76114: undeclared global, unnecessary global + some whitespace...
Niklas Laxström [Fri, 5 Nov 2010 18:01:16 +0000 (18:01 +0000)]
Follow-up r76113, r76114: undeclared global, unnecessary global + some whitespace fixes

13 years agoInstantCommons
Derk-Jan Hartman [Fri, 5 Nov 2010 16:36:50 +0000 (16:36 +0000)]
InstantCommons
* Use dbkey form of title, not textual form.
* Use getZonePath() from the repo.

13 years agoInstantCommons path and url cleanup
Derk-Jan Hartman [Fri, 5 Nov 2010 16:31:15 +0000 (16:31 +0000)]
InstantCommons path and url cleanup
* Add getZonePath
* Return uri encoded URLs for cached thumbnails
* Check validity of deduced filename
* url and path cleanup.

13 years agoInstantCommons: API caching expires after a day. Now check for existing presence...
Derk-Jan Hartman [Fri, 5 Nov 2010 16:26:56 +0000 (16:26 +0000)]
InstantCommons: API caching expires after a day. Now check for existing presence of thumbnail.

* Should save many downloads from uploads.wikimedia.org
* Checks with API if current upload is newer than stored local thumb
* File cache expires after a month and when purging the file page.
Closes bug 25970

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 5 Nov 2010 15:34:04 +0000 (15:34 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-05 15:10:00 UTC)

13 years agoNikerabbit wanted "
Chad Horohoe [Fri, 5 Nov 2010 14:16:51 +0000 (14:16 +0000)]
Nikerabbit wanted "

13 years agoFollowup r76088: in the case where we can't read screen.css, output a comment in...
Chad Horohoe [Fri, 5 Nov 2010 13:37:27 +0000 (13:37 +0000)]
Followup r76088: in the case where we can't read screen.css, output a comment in the CSS rather than serving nothing. Cleanup path so it outputs nicer without ..'s

13 years agoDynamically generate CSS (using vector now). Handles RTL/LTR flip properly \o/ UI...
Chad Horohoe [Fri, 5 Nov 2010 13:14:24 +0000 (13:14 +0000)]
Dynamically generate CSS (using vector now). Handles RTL/LTR flip properly \o/ UI's busted though ;-)

13 years agoDrop silly $_ prefix from 4.x days
Chad Horohoe [Fri, 5 Nov 2010 12:59:37 +0000 (12:59 +0000)]
Drop silly $_ prefix from 4.x days

13 years agoDocument return type. Autosuggestion and the like :)
Chad Horohoe [Fri, 5 Nov 2010 12:54:58 +0000 (12:54 +0000)]
Document return type. Autosuggestion and the like :)

13 years agoRm unused warning system from WebInstallerOutput (mostly handled by Status objects...
Chad Horohoe [Fri, 5 Nov 2010 12:48:13 +0000 (12:48 +0000)]
Rm unused warning system from WebInstallerOutput (mostly handled by Status objects elsewhere), document a few things too

13 years agoRevert r76077, r76079, they were an overreaction to a security bug that wasn't really...
Roan Kattouw [Fri, 5 Nov 2010 11:54:35 +0000 (11:54 +0000)]
Revert r76077, r76079, they were an overreaction to a security bug that wasn't really a security issue at all. The API will currently echo your session cookie back at you, but an attacker can only read that output using same-domain AJAX, and if they can do that they can do worse things (and steal the user's session in easier ways).

13 years agoRELEASE-NOTES for r76077
Roan Kattouw [Fri, 5 Nov 2010 11:48:11 +0000 (11:48 +0000)]
RELEASE-NOTES for r76077

13 years ago(bug 25793) Don't output the session ID over HTTP, allows session hijacking because...
Roan Kattouw [Fri, 5 Nov 2010 11:42:41 +0000 (11:42 +0000)]
(bug 25793) Don't output the session ID over HTTP, allows session hijacking because logins that failed because no token was specified would output the session ID

13 years agoGrammar: it's --> its
Max Semenik [Fri, 5 Nov 2010 07:39:48 +0000 (07:39 +0000)]
Grammar: it's --> its

13 years ago* Break long lines
Tim Starling [Fri, 5 Nov 2010 06:53:14 +0000 (06:53 +0000)]
* Break long lines
* For readability, rewrote ResourceLoaderFileModule::readScriptFiles() to use a loop instead of an excessively cute nested array_map() construction.
* In ResourceLoaderFileModule, check file_get_contents() result for errors. Golden rule of error checking: always check fopen(). Every call to fopen will fail some day for some user.
* In mediaWiki.loader.filter(): broke up a complex multi-line conditional into multiple commented if statements, for readability.
* Possessive "its" has no apostrophe.

13 years agoFixes for r75275:
Tim Starling [Fri, 5 Nov 2010 06:36:25 +0000 (06:36 +0000)]
Fixes for r75275:
* Replaced htmlEscape() with an implementation that's 10 times faster for typical input on Firefox 3.6. Removed insecure "quotes" option, now effectively defaults to true.
* Removed htmlUnescape(), which was doing scary things unrelated to HTML unescaping when passed a string with HTML tags in it. If anything actually needs it, we can figure out an implementation that works.
* Break long lines
* Fix comment style
* Fixed a few comment grammar and spelling issues

13 years agoFixed Macintosh mojibake from r75486
Tim Starling [Fri, 5 Nov 2010 04:34:45 +0000 (04:34 +0000)]
Fixed Macintosh mojibake from r75486

13 years agoAdd width to the cache key for thumburls in InstantCommons. No point in not caching...
Derk-Jan Hartman [Fri, 5 Nov 2010 01:42:28 +0000 (01:42 +0000)]
Add width to the cache key for thumburls in InstantCommons. No point in not caching multiple sizes if we can, must have been an oversight.

13 years agoFollowup r76055, missed a few more
Chad Horohoe [Thu, 4 Nov 2010 23:23:34 +0000 (23:23 +0000)]
Followup r76055, missed a few more

13 years agoReplace XML->HTML methods throughout most of the installer
Chad Horohoe [Thu, 4 Nov 2010 23:21:24 +0000 (23:21 +0000)]
Replace XML->HTML methods throughout most of the installer

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 4 Nov 2010 21:19:12 +0000 (21:19 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-04 21:05:00 UTC)

13 years agoDisabled SearchUpdateTest, the way it messes with LoadBalancer is completely FUBAR
Max Semenik [Thu, 4 Nov 2010 18:24:45 +0000 (18:24 +0000)]
Disabled SearchUpdateTest, the way it messes with LoadBalancer is completely FUBAR

13 years agoApplied patch provided by "The Evil IP address" in bug #25145. This adjusts the color...
Trevor Parscal [Thu, 4 Nov 2010 17:37:36 +0000 (17:37 +0000)]
Applied patch provided by "The Evil IP address" in bug #25145. This adjusts the colors of the .usermessage CSS rule to use blue instead of brown. Thanks for the patch!

13 years agoAdded @since tags for stuff introduced in r75994
Niklas Laxström [Thu, 4 Nov 2010 14:14:01 +0000 (14:14 +0000)]
Added @since tags for stuff introduced in r75994

13 years ago(bug 25783) Remove leftover HTMLDiff CSS, followup to incomplete r58267
Chad Horohoe [Thu, 4 Nov 2010 13:53:39 +0000 (13:53 +0000)]
(bug 25783) Remove leftover HTMLDiff CSS, followup to incomplete r58267

13 years agoSkip comments and stuff before the <svg> element.
Derk-Jan Hartman [Thu, 4 Nov 2010 13:42:42 +0000 (13:42 +0000)]
Skip comments and stuff before the <svg> element.

13 years agoFixup r75999, add missing ./PhpStorm-98.240/bin/webide.sh Wheee r76000
Sam Reed [Thu, 4 Nov 2010 13:20:58 +0000 (13:20 +0000)]
Fixup r75999, add missing ./PhpStorm-98.240/bin/webide.sh  Wheee r76000

13 years ago* (bug 25760) counter property still reported by the API when wgDisableCounters enabl...
Sam Reed [Thu, 4 Nov 2010 13:10:38 +0000 (13:10 +0000)]
* (bug 25760) counter property still reported by the API when wgDisableCounters enabled. If it's enabled, don't request counter information, and just display , to avoid breaking any backwards compatability

13 years agoCapitalise first letters
Sam Reed [Thu, 4 Nov 2010 13:07:57 +0000 (13:07 +0000)]
Capitalise first letters

13 years agoFollow-up r75996: Forgotten to remove an old line
Raimond Spekking [Thu, 4 Nov 2010 11:08:00 +0000 (11:08 +0000)]
Follow-up  r75996: Forgotten to remove an old line

13 years ago* Special:Search: Add CSS classes to 'none found' and 'create link' messages
Raimond Spekking [Thu, 4 Nov 2010 11:06:51 +0000 (11:06 +0000)]
* Special:Search: Add CSS classes to 'none found' and 'create link' messages

13 years agoFollow-up r75906: Add new special page to $specialPageAliases too
Raimond Spekking [Thu, 4 Nov 2010 09:23:38 +0000 (09:23 +0000)]
Follow-up r75906: Add new special page to $specialPageAliases too
Fixes PHP Notice: Did not find alias for special page 'UploadStash'. Perhaps no aliases are defined for it?

13 years ago* Introduced Xml::encodeJsCall(), to replace the awkward repetitive code that was...
Tim Starling [Thu, 4 Nov 2010 07:53:37 +0000 (07:53 +0000)]
* Introduced Xml::encodeJsCall(), to replace the awkward repetitive code that was doing the same thing throughout the resource loader with varying degrees of security and correctness.
* Modified Xml::encodeJsVar() to allow it to pass through JS expressions without encoding, using a special object.
* In ResourceLoader::makeModuleResponse(), renamed $messages to $messagesBlob to make it clear that it's JSON-encoded, not an array.
* Fixed MessageBlobStore to store {} for an empty message array instead of [].
* In ResourceLoader::makeMessageSetScript(), fixed call to non-existent function mediaWiki.msg.set.
* For security, changed the calling convention of makeMessageSetScript() and makeLoaderImplementScript() to require explicit object construction of XmlJsCode() before interpreting their input as JS code.
* Documented several ResourceLoader static functions.
* In ResourceLoaderWikiModule, for readability, reduced the indenting level by flipping some if blocks and adding continue statements.
* In makeCustomLoaderScript(), allow non-numeric $version. The only caller I can find is already sending a non-numeric $version, presumably it was broken. Luckily there aren't any loader scripts in existence, I had to make one to test it.
* wfGetDb -> wfGetDB
* Added an extra line break in the startup module output, for readability.
* In ResourceLoaderStartUpModule::getModuleRegistrations(), fixed another assignment expression

13 years agobug 24132, apply documentation updates to dumpBackup.php
Sam Reed [Thu, 4 Nov 2010 02:04:47 +0000 (02:04 +0000)]
bug 24132, apply documentation updates to dumpBackup.php

Slightly modified patch by Jonathan Wiltshire

13 years agoMinor expansion of document. Per patch by Jonathan Wiltshire on bug 24132
Sam Reed [Thu, 4 Nov 2010 01:59:26 +0000 (01:59 +0000)]
Minor expansion of document. Per patch by Jonathan Wiltshire on bug 24132

13 years agoFollowup r28029, we should probably at least pay attention to the parameter...
Sam Reed [Thu, 4 Nov 2010 00:55:30 +0000 (00:55 +0000)]
Followup r28029, we should probably at least pay attention to the parameter...