lhc/web/wiklou.git
13 years ago* Marked Special:UploadStash unlisted since accessing it only subpage param only...
Alexandre Emsenhuber [Tue, 9 Nov 2010 12:56:05 +0000 (12:56 +0000)]
* Marked Special:UploadStash unlisted since accessing it only subpage param only returns a 403 (and also resolves bug 25813)
* Use OutputPage::getStatusMessage() instead of duplicating the list
* Removed trailing whitespaces

13 years ago* (bug 21364) External links using link= attribute on images now respect $wgExternalL...
Alexandre Emsenhuber [Tue, 9 Nov 2010 12:25:57 +0000 (12:25 +0000)]
* (bug 21364) External links using link= attribute on images now respect $wgExternalLinkTarget

13 years ago* (bug 25843) Links to special pages using link= attribute on images are now normalis...
Alexandre Emsenhuber [Tue, 9 Nov 2010 12:00:53 +0000 (12:00 +0000)]
* (bug 25843) Links to special pages using link= attribute on images are now normalised like normal links to special pages

13 years ago* BLOB temporary handling
Jure Kajzer [Tue, 9 Nov 2010 08:56:15 +0000 (08:56 +0000)]
* BLOB temporary handling
* en/decodeBlob

13 years agoFix per Brion's CR r76342: Avoid spaces get normalized between the 2 different classes
Raimond Spekking [Tue, 9 Nov 2010 08:07:43 +0000 (08:07 +0000)]
Fix per Brion's CR r76342: Avoid spaces get normalized between the 2 different classes

13 years agoReverting unintended change of r76326
Krinkle [Tue, 9 Nov 2010 05:16:17 +0000 (05:16 +0000)]
Reverting unintended change of r76326

13 years agoused accessor as recommended in comments to r73555
Neil Kandalgaonkar [Mon, 8 Nov 2010 23:35:24 +0000 (23:35 +0000)]
used accessor as recommended in comments to r73555

13 years agoAdd CSS classes (including namespace and pagename) to the enhanced recent changes...
Raimond Spekking [Mon, 8 Nov 2010 21:21:32 +0000 (21:21 +0000)]
Add CSS classes (including namespace and pagename) to the enhanced recent changes/watchlist entries
The old RC/WL have such classes since ages.

13 years agoUndeprecate UploadForm:BeforeProcessing. Instead only deprecate the code path that...
Bryan Tong Minh [Mon, 8 Nov 2010 21:07:10 +0000 (21:07 +0000)]
Undeprecate UploadForm:BeforeProcessing. Instead only deprecate the code path that would return the user a blank form with no error message.

13 years agoRevert r72959
Platonides [Mon, 8 Nov 2010 20:51:15 +0000 (20:51 +0000)]
Revert r72959

13 years agoMove config-admin-help back to correct box
Chad Horohoe [Mon, 8 Nov 2010 20:40:55 +0000 (20:40 +0000)]
Move config-admin-help back to correct box

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 8 Nov 2010 20:25:23 +0000 (20:25 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-08 20:05:00 UTC)

13 years agoFix fatal from recent refactoring
Chad Horohoe [Mon, 8 Nov 2010 20:17:13 +0000 (20:17 +0000)]
Fix fatal from recent refactoring

13 years agoAllow downloading LocalSettings after upgrades
Max Semenik [Mon, 8 Nov 2010 19:54:53 +0000 (19:54 +0000)]
Allow downloading LocalSettings after upgrades

13 years agoAdd $namespaceNames for NS_TEMPLATE. extwiki has a lot of template "pages" in NS_MAIN
Raimond Spekking [Mon, 8 Nov 2010 19:47:52 +0000 (19:47 +0000)]
Add $namespaceNames for NS_TEMPLATE. extwiki has a lot of template "pages" in NS_MAIN
See discussion http://ext.wikipedia.org/w/index.php?title=User_talk:Merlissimo&oldid=50865

13 years ago* Following id-naming, underscore to dash
Krinkle [Mon, 8 Nov 2010 19:30:53 +0000 (19:30 +0000)]
* Following id-naming, underscore to dash
* Wrapping mw.log in jQuery/mediaWiki
* Making mw-log-console fixed position instead of absolute (to no longer have it floating on top of the page after scrolling down)
* Added timestamp
* Changed inline styling to stylesheet

13 years agocreated addCSS function in mw.util based on legacy.wikibits
Krinkle [Mon, 8 Nov 2010 18:37:04 +0000 (18:37 +0000)]
created addCSS function in mw.util based on legacy.wikibits

13 years agoResolves bug #20706 by including kbd and samp elements in the rule which fixes monosp...
Trevor Parscal [Mon, 8 Nov 2010 18:20:26 +0000 (18:20 +0000)]
Resolves bug #20706 by including kbd and samp elements in the rule which fixes monospace text sizing already being applied to pre, code and tt.

13 years agoAs per r 75486 CR comments, no prototyping in mw core.
Krinkle [Mon, 8 Nov 2010 18:13:40 +0000 (18:13 +0000)]
As per r 75486 CR comments, no prototyping in mw core.
* Removing those already in jQuery
* Moved othere to jQuery (including Array.compare which was deleted earlier)
* Added tests to the Test Suite
(Follow-up on r75294, r75552, r75486, r75294)

13 years agoMaking comments added in r76283 more clear + added mw.html to test suite
Krinkle [Mon, 8 Nov 2010 17:01:12 +0000 (17:01 +0000)]
Making comments added in r76283 more clear + added mw.html to test suite

13 years agoMore followup r76314, r75832: more unused CSS, unused help image
Chad Horohoe [Mon, 8 Nov 2010 16:30:53 +0000 (16:30 +0000)]
More followup r76314, r75832: more unused CSS, unused help image

13 years agoFollowup r75832: rm unused inline CSS and unused show/hide message
Chad Horohoe [Mon, 8 Nov 2010 16:25:57 +0000 (16:25 +0000)]
Followup r75832: rm unused inline CSS and unused show/hide message

13 years agoFollowup r76088: rewrite relative CSS urls
Chad Horohoe [Mon, 8 Nov 2010 16:19:08 +0000 (16:19 +0000)]
Followup r76088: rewrite relative CSS urls

13 years ago(bug 25839) Set class="blockExpiry" and dir="ltr" (bug suggested direction: ltr;...
Roan Kattouw [Mon, 8 Nov 2010 15:23:42 +0000 (15:23 +0000)]
(bug 25839) Set class="blockExpiry" and dir="ltr" (bug suggested direction: ltr; in CSS, but that doesn't work in this case) on the <span> containing the block expiry in Special:Log. It seems strange to unconditionally set dir="ltr" on something that may contain text in an RTL language, but it seems to leave the latter alone while fixing the display of ISO 8601 timestamps. It's definitely possible there's another issue with dir="ltr" that I overlooked here, so if this does break display of other expiries in RTL, please revert.

13 years agoFollowup r76303. Use a less verbose const VERSION.
Derk-Jan Hartman [Mon, 8 Nov 2010 15:14:20 +0000 (15:14 +0000)]
Followup r76303. Use a less verbose const VERSION.

13 years agoReverts r76070, which was breaking purging. Now caching the thumburls with key filena...
Derk-Jan Hartman [Mon, 8 Nov 2010 15:05:06 +0000 (15:05 +0000)]
Reverts r76070, which was breaking purging. Now caching the thumburls with key filename and value an associative array (based on width x height), with the urls

13 years agoFilerepo inconsistency. Use rawurlencode instead of urlencode.
Derk-Jan Hartman [Mon, 8 Nov 2010 14:46:26 +0000 (14:46 +0000)]
Filerepo inconsistency. Use rawurlencode instead of urlencode.

13 years agoAdd a version number and user-agent string to ForeignAPIRepo.
Derk-Jan Hartman [Mon, 8 Nov 2010 14:39:08 +0000 (14:39 +0000)]
Add a version number and user-agent string to ForeignAPIRepo.

Will identify as "MediaWiki/version ForeignAPIRepo/version"
Current version is 2.0
We could consider adding the known cache times in a UA comment section. Might help isolating abusive usage?

13 years ago(bug 13353) Diff3 version checks are too strict. Just check for the phrase "GNU diffu...
Chad Horohoe [Mon, 8 Nov 2010 14:16:22 +0000 (14:16 +0000)]
(bug 13353) Diff3 version checks are too strict. Just check for the phrase "GNU diffutils" which is what we really want.

13 years agorm unused $configPath
Chad Horohoe [Mon, 8 Nov 2010 13:59:10 +0000 (13:59 +0000)]
rm unused $configPath

13 years agoMinor followup r75809, don't use nested if's unnecesserily
Sam Reed [Mon, 8 Nov 2010 12:23:24 +0000 (12:23 +0000)]
Minor followup r75809, don't use nested if's unnecesserily

13 years ago* (bug 25175) HTML file cache now honor $wgCacheDirectory if $wgFileCacheDirectory...
Alexandre Emsenhuber [Mon, 8 Nov 2010 11:32:40 +0000 (11:32 +0000)]
* (bug 25175) HTML file cache now honor $wgCacheDirectory if $wgFileCacheDirectory is not set

This reverts part of r74797

13 years agoPer r76250, actually use the $skin parameter in makeResourceLoaderLink()
Roan Kattouw [Mon, 8 Nov 2010 11:07:05 +0000 (11:07 +0000)]
Per r76250, actually use the $skin parameter in makeResourceLoaderLink()

13 years agoAdd newlines.
Siebrand Mazeland [Mon, 8 Nov 2010 10:44:35 +0000 (10:44 +0000)]
Add newlines.

13 years agoRemoved some error suppression operators
Alexandre Emsenhuber [Mon, 8 Nov 2010 10:22:54 +0000 (10:22 +0000)]
Removed some error suppression operators

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Mon, 8 Nov 2010 10:19:28 +0000 (10:19 +0000)]
Fixed some doxygen warnings

13 years ago* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir param...
Alexandre Emsenhuber [Mon, 8 Nov 2010 10:15:07 +0000 (10:15 +0000)]
* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir parameters

13 years ago$wgUpgradeKey, not $wgUpgradeKey.php ;)
Alexandre Emsenhuber [Mon, 8 Nov 2010 10:13:20 +0000 (10:13 +0000)]
$wgUpgradeKey, not $wgUpgradeKey.php ;)

13 years ago* Moved htmlEscape from mediawiki.util.js to mediawiki.js so that it can be used...
Tim Starling [Sun, 7 Nov 2010 23:46:57 +0000 (23:46 +0000)]
* Moved htmlEscape from mediawiki.util.js to mediawiki.js so that it can be used in the loader.
* Added mediaWiki.html.element(), which provides a safe HTML construction function similar to Xml::element().
* Used element() in various places in mediawiki.js. Fixes escaping issue noted on CR r75170.
* Profiled the new mediaWiki.html.escape() at 1.4 MB/s for special characters and 154 MB/s for non-special characters on my humble laptop. Hopefully that's fast enough to convince Trevor that escaping is unlikely to be a significant component of page render time.
* Profiled mediaWiki.html.element() generating style elements with Cdata at ~17us per iteration. For comparison, $('body').append('<div/>') takes 200us.

13 years agoMinor whitespace change.
Platonides [Sun, 7 Nov 2010 23:17:04 +0000 (23:17 +0000)]
Minor whitespace change.

13 years agoTweak messages 'config-brokenlibxml' and 'config-using531' for consistency.
Siebrand Mazeland [Sun, 7 Nov 2010 22:48:14 +0000 (22:48 +0000)]
Tweak messages 'config-brokenlibxml' and 'config-using531' for consistency.

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.