lhc/web/wiklou.git
13 years agorevert r71054. Although unused, the variable might be used later.
Antoine Musso [Sat, 13 Nov 2010 13:13:12 +0000 (13:13 +0000)]
revert r71054. Although unused, the variable might be used later.

13 years agoFollowup r76612, nfi what a stromg is
Sam Reed [Sat, 13 Nov 2010 12:50:50 +0000 (12:50 +0000)]
Followup r76612, nfi what a stromg is

13 years agoWith PHPUnit 3.5.0, use its autoloader (like r74831).
Antoine Musso [Sat, 13 Nov 2010 12:45:10 +0000 (12:45 +0000)]
With PHPUnit 3.5.0, use its autoloader (like r74831).
Fix 'make test' for me.

13 years agoMinor variable typo
Antoine Musso [Sat, 13 Nov 2010 10:41:38 +0000 (10:41 +0000)]
Minor variable typo

13 years agojustify help memcached console help
Antoine Musso [Sat, 13 Nov 2010 10:33:30 +0000 (10:33 +0000)]
justify help memcached console help

13 years agoTests: removed assignments of null to globals that are usually not null in tearDown...
Max Semenik [Sat, 13 Nov 2010 08:32:40 +0000 (08:32 +0000)]
Tests: removed assignments of null to globals that are usually not null in tearDown() methods. This practice leads to other tests having to play whack-a-mole by initializing random variables they don't need directly just to avoid crashing.

13 years agoFollowup to r76111. Making the result parameter on getThumbUrl optional
Rob Lanphier [Sat, 13 Nov 2010 06:25:12 +0000 (06:25 +0000)]
Followup to r76111.  Making the result parameter on getThumbUrl optional

13 years agoFixup some more documentation
Sam Reed [Sat, 13 Nov 2010 00:47:51 +0000 (00:47 +0000)]
Fixup some more documentation

13 years agoFixed up some doxygen warnings
Sam Reed [Sat, 13 Nov 2010 00:32:54 +0000 (00:32 +0000)]
Fixed up some doxygen warnings

13 years agoclean-up trailing spaces and tabs in js/css resources
Krinkle [Fri, 12 Nov 2010 23:10:58 +0000 (23:10 +0000)]
clean-up trailing spaces and tabs in js/css resources

13 years ago* parseCIDR() should use parseCIDR6() for IPv6 (plus the later is private since r7656...
Aaron Schulz [Fri, 12 Nov 2010 20:08:27 +0000 (20:08 +0000)]
* parseCIDR() should use parseCIDR6() for IPv6 (plus the later is private since r76560...)
* Made parseRange() work for IPv6 "x - y" style ranges
* Added MWException to IPv4toIPv6()

13 years ago* Removed redundant check in toUnsigned6().
Aaron Schulz [Fri, 12 Nov 2010 19:37:37 +0000 (19:37 +0000)]
* Removed redundant check in toUnsigned6().
* MW requires PHP 5.1+, so the -1/false ip2long annoyance is gone. Also, ip2long("255.255.255.255") is -1 so no special case code is needed anymore.
* Removed toSigned() (not used outside IP.php). Due to the above points, ip2long() is totally equilivant.
* Moved some functions and consts around.
* Comment tweaks.

13 years agoFix for r74950: use wfEscapeShellArg()
Max Semenik [Fri, 12 Nov 2010 18:47:33 +0000 (18:47 +0000)]
Fix for r74950: use wfEscapeShellArg()

13 years agoDoxygen fix: @defgroup require group name *and* a title
Alexandre Emsenhuber [Fri, 12 Nov 2010 17:41:40 +0000 (17:41 +0000)]
Doxygen fix: @defgroup require group name *and* a title

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Fri, 12 Nov 2010 16:42:46 +0000 (16:42 +0000)]
Fixed some doxygen warnings

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 12 Nov 2010 16:07:55 +0000 (16:07 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-12 15:48:00 UTC)

13 years agoFollowup r76566
Sam Reed [Fri, 12 Nov 2010 14:20:10 +0000 (14:20 +0000)]
Followup r76566

HttpFunctions.old.php had the same definition twice

13 years agoFollow-up r76434: Run hook for Modern skin too per suggestion of Jack Phoenix
Raimond Spekking [Fri, 12 Nov 2010 12:16:48 +0000 (12:16 +0000)]
Follow-up r76434: Run hook for Modern skin too per suggestion of Jack Phoenix

13 years agoFix ranges formatting issue when testing for (g,z) in IPv6 address
Antoine Musso [Fri, 12 Nov 2010 12:08:45 +0000 (12:08 +0000)]
Fix ranges formatting issue when testing for (g,z) in IPv6 address
Add / change assertions comments
65535 -> 0xFFFF

Follow up r76560

13 years ago(Bug 25872) Rename HttpRequest class to MWHttpRequest to avoid conflict with php...
Brian Wolff [Fri, 12 Nov 2010 07:32:09 +0000 (07:32 +0000)]
(Bug 25872) Rename HttpRequest class to MWHttpRequest to avoid conflict with php extension.

This also keeps the old HttpRequest class name around, so it should not break backwards compatability.

13 years ago* Changes in IP.php:
Aaron Schulz [Fri, 12 Nov 2010 01:33:46 +0000 (01:33 +0000)]
* Changes in IP.php:
** Fixed hexToOctet()/toOctet() padding (pad left not right)
** Made hexToQuad() left-pad input (e.g. C -> 0000000C)
** Added isPublic6() function (checked as needed by isPublic())
** Rewrote isValidBlock() to not do flaky and roundabout isArray() check. Works for v6 now.
** Removed toArray(), unused outside IP.php and broken for v6
** Removed toOctet() duplication
** Added new private IPv6ToRawHex() function. Used to make toHex() faster.
** Made some functions private
** Reverted r20435, pointless
** Updated credits
* Changes in IPTests:
** Added a bunch of tests (mostly v6)
** Removed weird array test (especially with toArray() gone) after r76514
** Padding *no* longer needed for hexToX functions - assertion flipped
* CheckUser: removed parseRange6() reference (now private)

13 years agoDocummentation minor fixes.
Platonides [Thu, 11 Nov 2010 23:04:55 +0000 (23:04 +0000)]
Docummentation minor fixes.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 11 Nov 2010 20:52:15 +0000 (20:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-11 20:17:00 UTC)

13 years agoFix fail from r57867: tooltip param was never used in HTMLForm
Bryan Tong Minh [Thu, 11 Nov 2010 20:06:22 +0000 (20:06 +0000)]
Fix fail from r57867: tooltip param was never used in HTMLForm

13 years agoPartial 'reverts' of of r70608, r76539, that doesn't do what you want, you're specify...
OverlordQ [Thu, 11 Nov 2010 20:03:46 +0000 (20:03 +0000)]
Partial 'reverts' of of r70608, r76539, that doesn't do what you want, you're specifying the same rc_id for every row which is wrong

13 years agosequence was renamed a while back but this was missed
OverlordQ [Thu, 11 Nov 2010 19:53:49 +0000 (19:53 +0000)]
sequence was renamed a while back but this was missed

13 years agofollowup r76526
Mark A. Hershberger [Thu, 11 Nov 2010 19:47:12 +0000 (19:47 +0000)]
followup r76526
As I said on IRC: : On my local wiki I saw that error once, but I thought what I committed fixed it because I'm not seeing it now.

13 years ago* Revert r76503
Mark A. Hershberger [Thu, 11 Nov 2010 17:52:46 +0000 (17:52 +0000)]
* Revert r76503
* Catch exception thrown when user is not logged in SpecialUploadStash.php
* Address RK's fixme comment by making constructor's mimic UnlistedSpecialPage's

13 years agoFollowup r76522. Typo in orphans.
Derk-Jan Hartman [Thu, 11 Nov 2010 16:05:36 +0000 (16:05 +0000)]
Followup r76522. Typo in orphans.

13 years agoUse CSS pagination options when printing.
Derk-Jan Hartman [Thu, 11 Nov 2010 16:03:21 +0000 (16:03 +0000)]
Use CSS pagination options when printing.
- Avoid pagebreaks after headers
- Avoid pagebreaks inside images and wikitables
- Avoid less than 3 lines at the end of beginning of paragraphs.

Works on Opera, and partly on Firefox.

13 years ago* Return type cleanup (int -> bool)
Aaron Schulz [Thu, 11 Nov 2010 13:45:24 +0000 (13:45 +0000)]
* Return type cleanup (int -> bool)
* Improved doc comments

13 years agoFix for r54225: parameter delimiter is ",", not "."
Alexandre Emsenhuber [Thu, 11 Nov 2010 12:37:22 +0000 (12:37 +0000)]
Fix for r54225: parameter delimiter is ",", not "."

13 years ago* Followed-up r76267:
Aaron Schulz [Thu, 11 Nov 2010 12:18:28 +0000 (12:18 +0000)]
* Followed-up r76267:
** Made RE_IPV6_ADD and sanitizeIP() hande '::'.
** RE_IPV6_ADD is no longer over-inclusive (# of octets and '::' must be valid)
* Removed weird debugging code
* Broke long line

13 years ago(bug 25877) Don't focus search box when clicking SimpleSearch's magnifying class...
Roan Kattouw [Thu, 11 Nov 2010 10:15:49 +0000 (10:15 +0000)]
(bug 25877) Don't focus search box when clicking SimpleSearch's magnifying class button

13 years agofixes Bug 25812
Mark A. Hershberger [Thu, 11 Nov 2010 04:50:24 +0000 (04:50 +0000)]
fixes Bug 25812

13 years agoCombine config.css with vector.css so it gets flipped too, plus one less request :)
Chad Horohoe [Wed, 10 Nov 2010 22:11:18 +0000 (22:11 +0000)]
Combine config.css with vector.css so it gets flipped too, plus one less request :)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 10 Nov 2010 21:42:18 +0000 (21:42 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-10 21:28:00 UTC)

13 years agoAdded dirs per recent modifications
Alexandre Emsenhuber [Wed, 10 Nov 2010 20:21:49 +0000 (20:21 +0000)]
Added dirs per recent modifications

13 years agoVarious unused variables, add some braces
Sam Reed [Wed, 10 Nov 2010 19:49:04 +0000 (19:49 +0000)]
Various unused variables, add some braces

Explicitally define some variables used in hook type calls

13 years agoforeach loop is pointless if you're then just going to keep a counter manually
Sam Reed [Wed, 10 Nov 2010 19:19:46 +0000 (19:19 +0000)]
foreach loop is pointless if you're then just going to keep a counter manually

Hence switch foreach to for loop

13 years agoAdded a check for PCRE_UTF8 per report at Support desk
Max Semenik [Wed, 10 Nov 2010 16:45:28 +0000 (16:45 +0000)]
Added a check for PCRE_UTF8 per report at Support desk

13 years agoDrop setup_database() here too. Only caller is the old installer
Chad Horohoe [Wed, 10 Nov 2010 16:06:42 +0000 (16:06 +0000)]
Drop setup_database() here too. Only caller is the old installer

13 years agoPostgres updater stuff, needs review
Chad Horohoe [Wed, 10 Nov 2010 16:06:16 +0000 (16:06 +0000)]
Postgres updater stuff, needs review
* Move setup_database() from DatabasePostgres to PostgresInstaller
** Add install step after interwiki for the COMMIT
** Put the table creation test (should we abstract this?) in setupDatabase()
** The leftover stuff in initial_setup() also belongs in setupDatabase(), I think?

13 years ago(bug 25856) fix exaggerated indentation of checkbox text
Chad Horohoe [Wed, 10 Nov 2010 15:37:55 +0000 (15:37 +0000)]
(bug 25856) fix exaggerated indentation of checkbox text

13 years agoRemove bullets from radio lists
Chad Horohoe [Wed, 10 Nov 2010 15:29:51 +0000 (15:29 +0000)]
Remove bullets from radio lists

13 years agoFixed some doxygen warnings (and some whitespaces removal I forgot to commit in r76386)
Alexandre Emsenhuber [Wed, 10 Nov 2010 14:48:40 +0000 (14:48 +0000)]
Fixed some doxygen warnings (and some whitespaces removal I forgot to commit in r76386)

13 years agoQuick fix: @fixme doesn't exist on doxygen ;)
Alexandre Emsenhuber [Wed, 10 Nov 2010 14:41:46 +0000 (14:41 +0000)]
Quick fix: @fixme doesn't exist on doxygen ;)

13 years agoFollowup r76439, next button is conditional on whether we allow $wgUpgradeKey
Chad Horohoe [Wed, 10 Nov 2010 13:03:06 +0000 (13:03 +0000)]
Followup r76439, next button is conditional on whether we allow $wgUpgradeKey

13 years agoDisable forward/back when installer is disabled
Chad Horohoe [Wed, 10 Nov 2010 12:58:22 +0000 (12:58 +0000)]
Disable forward/back when installer is disabled

13 years agoMade file description header consistent with other ones
Alexandre Emsenhuber [Wed, 10 Nov 2010 12:20:22 +0000 (12:20 +0000)]
Made file description header consistent with other ones

13 years ago* (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in some...
Alexandre Emsenhuber [Wed, 10 Nov 2010 09:16:28 +0000 (09:16 +0000)]
* (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in some cases
* (bug 25670) wfFindFile() now checks the namespace of the given title, only "File" and "Media" are allowed now

The problem with bug 19944 was that the cache in RepoGroup was holding a file with a Title that has its namespace set to NS_MEDIA; the cache is now only used for title with namespace set to NS_FILE.
Also modified ImageGallery to not call wfFindFile() on non-NS_FILE title; was obviously breaking the above fix.

13 years agoFix for r70871: need explicit check against null since current check also catches...
Alexandre Emsenhuber [Wed, 10 Nov 2010 08:28:26 +0000 (08:28 +0000)]
Fix for r70871: need explicit check against null since current check also catches "0", thus making an infinite redirect loop for that article

13 years ago* (bug 17996) HTTP redirects are now combined when requesting a special page
Alexandre Emsenhuber [Wed, 10 Nov 2010 08:22:00 +0000 (08:22 +0000)]
* (bug 17996) HTTP redirects are now combined when requesting a special page

13 years ago* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon customizable
Raimond Spekking [Wed, 10 Nov 2010 08:18:21 +0000 (08:18 +0000)]
* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon customizable
Patch by Yaron

13 years agoResolve bug 25580: pass $pageInfo along to finishImportPage when overriding the impor...
Andrew Garrett [Wed, 10 Nov 2010 00:54:19 +0000 (00:54 +0000)]
Resolve bug 25580: pass $pageInfo along to finishImportPage when overriding the import code

13 years agoLocalization update for he.
Rotem Liss [Tue, 9 Nov 2010 22:05:09 +0000 (22:05 +0000)]
Localization update for he.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 9 Nov 2010 21:12:00 +0000 (21:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-09 21:07:00 UTC)

13 years agoFix syntax error from r76392
Alexandre Emsenhuber [Tue, 9 Nov 2010 19:52:06 +0000 (19:52 +0000)]
Fix syntax error from r76392

13 years agoMoved testRunner[|.ora|.postgres].sql to [|oracle/|postgres/]archives/ so that they...
Alexandre Emsenhuber [Tue, 9 Nov 2010 17:41:00 +0000 (17:41 +0000)]
Moved testRunner[|.ora|.postgres].sql to [|oracle/|postgres/]archives/ so that they can be called through DatabaseBase::patchPath(), much simplier

13 years agoFollowup r76391, r76393, rm unused msg
Chad Horohoe [Tue, 9 Nov 2010 17:02:03 +0000 (17:02 +0000)]
Followup r76391, r76393, rm unused msg

13 years agoFollowup r76391 per CR: just do $wgUpgradeKey in generateSecretKey()
Chad Horohoe [Tue, 9 Nov 2010 17:01:09 +0000 (17:01 +0000)]
Followup r76391 per CR: just do $wgUpgradeKey in generateSecretKey()

13 years ago* (bug 17789) Added a note to the total views on Special:Statistics saying that is...
Alexandre Emsenhuber [Tue, 9 Nov 2010 17:00:35 +0000 (17:00 +0000)]
* (bug 17789) Added a note to the total views on Special:Statistics saying that is doesn't count non-existing pages and special pages

13 years agoFollowup r75392. Per IRC, we should generate a default $wgUpgradeKey (took a semi...
Chad Horohoe [Tue, 9 Nov 2010 16:51:08 +0000 (16:51 +0000)]
Followup r75392. Per IRC, we should generate a default $wgUpgradeKey (took a semi-random part of an md5()'d $wgSecretKey) to hopefully encourage people from setting it to things like "abc." Leave it commented, so default behavior is still to keep the installer disabled

13 years agoRewrite install step callbacks to use the array model Ævar said I should use like...
Chad Horohoe [Tue, 9 Nov 2010 15:58:18 +0000 (15:58 +0000)]
Rewrite install step callbacks to use the array model Ævar said I should use like 6 months ago. Still no way for extensions to hook into this, but it's a lot cleaner now for them to maybe do it. Also rids of the useless one-line wrappers around install steps in other objects.

13 years agorm stray character
Chad Horohoe [Tue, 9 Nov 2010 14:43:11 +0000 (14:43 +0000)]
rm stray character

13 years agolocalsettings step no longer exists, and path doesn't go here
Chad Horohoe [Tue, 9 Nov 2010 14:33:03 +0000 (14:33 +0000)]
localsettings step no longer exists, and path doesn't go here

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.