lhc/web/wiklou.git
13 years agoFollow-up r83909, r83825: update special page aliases for all languages.
Happy-melon [Fri, 18 Mar 2011 21:42:39 +0000 (21:42 +0000)]
Follow-up r83909, r83825: update special page aliases for all languages.

13 years agoFix borked r84266.
Happy-melon [Fri, 18 Mar 2011 21:31:11 +0000 (21:31 +0000)]
Fix borked r84266.

13 years agoFollow-up r84249: reimplement isAllowedAny(), and restore isAllowed() to only-accepti...
Happy-melon [Fri, 18 Mar 2011 21:07:05 +0000 (21:07 +0000)]
Follow-up r84249: reimplement isAllowedAny(), and restore isAllowed() to only-accepting-one-parameter mode for the time being.

13 years agoFollowup r83536 to address Jack Phoenix's comments about the bogus w/s “cleanup”
Mark A. Hershberger [Fri, 18 Mar 2011 20:58:12 +0000 (20:58 +0000)]
Followup r83536 to address Jack Phoenix's comments about the bogus w/s “cleanup”

13 years agoImprove query building if's to cater for addition of columns
Sam Reed [Fri, 18 Mar 2011 20:50:40 +0000 (20:50 +0000)]
Improve query building if's to cater for addition of columns

13 years agoApply patch for Bug #27899 Special:NewPages does not handle RevisionDeletion
Mark A. Hershberger [Fri, 18 Mar 2011 20:44:29 +0000 (20:44 +0000)]
Apply patch for Bug #27899 Special:NewPages does not handle RevisionDeletion

This means the hidden comment of a new created page is shown and the hidden
user of a new created page is also shown.

Patch supplied by Jarry1250

13 years agow/s diff. mostly eol w/s and using only tabs of width 4 to indent.
Mark A. Hershberger [Fri, 18 Mar 2011 20:37:11 +0000 (20:37 +0000)]
w/s diff. mostly eol w/s and using only tabs of width 4 to indent.

13 years agoFollowup r84260, normalise API behaviour, and fixup description
Sam Reed [Fri, 18 Mar 2011 20:30:06 +0000 (20:30 +0000)]
Followup r84260, normalise API behaviour, and fixup description

13 years agoFollowup r83862, add notation that page count will be added if appropriate
Sam Reed [Fri, 18 Mar 2011 19:55:34 +0000 (19:55 +0000)]
Followup r83862, add notation that page count will be added if appropriate

13 years agoMore cleanup in Block.php. Push Block::encodeExpiry() and Block::decodeExpiry()...
Happy-melon [Fri, 18 Mar 2011 19:15:56 +0000 (19:15 +0000)]
More cleanup in Block.php.  Push Block::encodeExpiry() and Block::decodeExpiry() deeper into the callstack, to DatabaseBase for encode and Language for decode.  The vast majority of callers of these functions are not handling block expiries, but expiries generally, particularly page protections.

13 years ago* (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
Sam Reed [Fri, 18 Mar 2011 19:15:33 +0000 (19:15 +0000)]
* (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
  is missing

13 years agoBacklinkCache: explicit properties visibility
Antoine Musso [Fri, 18 Mar 2011 18:16:38 +0000 (18:16 +0000)]
BacklinkCache: explicit properties visibility

13 years agodocumentation for BacklinkCache class
Antoine Musso [Fri, 18 Mar 2011 18:12:58 +0000 (18:12 +0000)]
documentation for BacklinkCache class

- still need examples
- could use peer review
- no functional changes

13 years agoFirst forays into the swamp of the Block.php backend:
Happy-melon [Fri, 18 Mar 2011 16:35:22 +0000 (16:35 +0000)]
First forays into the swamp of the Block.php backend:
* Move Block::parseExpiryInput() to the frontend SpecialBlock::parseExpiryInput()
* consolidate the several implementations of the MediaWiki:Ipblockoptions parsing into SpecialBlock::getSuggestedDurations()

13 years agoAllow User::isAllowed() to take varargs. "is allowed X or Y" is by far the more...
Happy-melon [Fri, 18 Mar 2011 14:48:21 +0000 (14:48 +0000)]
Allow User::isAllowed() to take varargs.  "is allowed X or Y" is by far the more common multiple permission check in core, so this is now the behaviour of isAllowed( X, Y ); also add isAllowedAll(...) for testing "is allowed X and Y".  Has the nice side effect of adding visibility to a very old function.

13 years agoFollow-up r84233: fix documentation format
Happy-melon [Fri, 18 Mar 2011 13:23:05 +0000 (13:23 +0000)]
Follow-up r84233: fix documentation format

13 years ago(bug 27403) saved user preferences which are subsequently disabled with $wgHiddenPref...
Happy-melon [Fri, 18 Mar 2011 13:03:26 +0000 (13:03 +0000)]
(bug 27403) saved user preferences which are subsequently disabled with $wgHiddenPrefs are not used in output, but are retained in the database in case the preference is subsequently re-enabled.

13 years ago* Fixed wfIncrStats calls from r83617 (I assume this wants the # of jobs added)
Aaron Schulz [Fri, 18 Mar 2011 07:06:18 +0000 (07:06 +0000)]
* Fixed wfIncrStats calls from r83617 (I assume this wants the # of jobs added)
* Follow up r83494, r74737: allow for proper db rollback of a user renames (addresses code comments added in r74737)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Thu, 17 Mar 2011 20:45:32 +0000 (20:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-03-17 20:23:00 UTC)

13 years agoparseInt with base 10, update comment (number -> num)
Antoine Musso [Thu, 17 Mar 2011 20:37:32 +0000 (20:37 +0000)]
parseInt with base 10, update comment (number -> num)

follow up r83619

13 years agoFollow up r84134 document reference passing.
Mark A. Hershberger [Thu, 17 Mar 2011 19:22:10 +0000 (19:22 +0000)]
Follow up r84134 document reference passing.

13 years agoFix typo in r83786
Happy-melon [Thu, 17 Mar 2011 19:04:01 +0000 (19:04 +0000)]
Fix typo in r83786

13 years agoBe more consistent if updater script's output
Alexandre Emsenhuber [Thu, 17 Mar 2011 18:02:37 +0000 (18:02 +0000)]
Be more consistent if updater script's output

13 years agoPer Tim Starling, follow-up r83137: added schema update
Alexandre Emsenhuber [Thu, 17 Mar 2011 17:35:52 +0000 (17:35 +0000)]
Per Tim Starling, follow-up r83137: added schema update

13 years agoEnable preprocessDump.php to work without a db.
Platonides [Thu, 17 Mar 2011 16:06:12 +0000 (16:06 +0000)]
Enable preprocessDump.php to work without a db.
Using the new hook added in r84173

13 years agoAdd hook InterwikiLoadPrefix
Platonides [Thu, 17 Mar 2011 15:51:19 +0000 (15:51 +0000)]
Add hook InterwikiLoadPrefix

13 years agoAlso remove message as followup to r84133
Sam Reed [Thu, 17 Mar 2011 15:18:19 +0000 (15:18 +0000)]
Also remove message as followup to r84133

13 years ago* (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200
Sam Reed [Thu, 17 Mar 2011 15:14:09 +0000 (15:14 +0000)]
* (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200

Apply Bawolffs patch minus the var_dump()'s

13 years agoUpdate output language.
Siebrand Mazeland [Thu, 17 Mar 2011 09:05:34 +0000 (09:05 +0000)]
Update output language.

13 years agoFix r84131, Installer classes not initialised/in usage, so we can't do this.
Sam Reed [Wed, 16 Mar 2011 23:49:14 +0000 (23:49 +0000)]
Fix r84131, Installer classes not initialised/in usage, so we can't do this.

Change for hardcoded 5.2.3 as current minimum version

13 years agoFix Bug #28082, Add Hooks to User::addGroup and User::removeGroup
Mark A. Hershberger [Wed, 16 Mar 2011 23:13:38 +0000 (23:13 +0000)]
Fix Bug #28082, Add Hooks to User::addGroup and User::removeGroup

    I propose to add two new hooks, one should be called when adding a
    group to a user, one when a group is removed. This allows
    MediaWiki for example to add/remove groups from a remote
    authentication/authorization service.

Adapted provided patch.

13 years agoAnother old version checking thing
Sam Reed [Wed, 16 Mar 2011 22:48:47 +0000 (22:48 +0000)]
Another old version checking thing

13 years agoLess hardcoding...
Sam Reed [Wed, 16 Mar 2011 22:43:17 +0000 (22:43 +0000)]
Less hardcoding...

13 years agoAdd a couple of braces and spacing
Platonides [Wed, 16 Mar 2011 22:42:19 +0000 (22:42 +0000)]
Add a couple of braces and spacing

13 years agoKill off some more old version checking stuffs
Sam Reed [Wed, 16 Mar 2011 22:38:17 +0000 (22:38 +0000)]
Kill off some more old version checking stuffs

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Wed, 16 Mar 2011 21:03:45 +0000 (21:03 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-03-17 21:30:00 UTC)

13 years ago(follow-up r65035/r65013) The username parameter wasn't preserved when clicking links...
Brian Wolff [Wed, 16 Mar 2011 18:23:04 +0000 (18:23 +0000)]
(follow-up r65035/r65013) The username parameter wasn't preserved when clicking links in Special:Listfiles.

13 years agoRemoved usage of extract() in LinkHolderArray::doVariants()
Alexandre Emsenhuber [Wed, 16 Mar 2011 09:05:32 +0000 (09:05 +0000)]
Removed usage of extract() in LinkHolderArray::doVariants()

13 years agoMakes LanguageTr uc & lc match parent declaration
Antoine Musso [Wed, 16 Mar 2011 07:38:15 +0000 (07:38 +0000)]
Makes LanguageTr uc & lc match parent declaration

Methods were introduced in r84057 which, unfortunatly was tested with
PHP errors disabled :\

Additionally add tests for the full Turkish alphabet based on an article
from Wikipedia http://en.wikipedia.org/wiki/Turkish_alphabet

13 years agoRevert r83993
Sam Reed [Wed, 16 Mar 2011 00:13:10 +0000 (00:13 +0000)]
Revert r83993

13 years ago(Bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler are...
Platonides [Tue, 15 Mar 2011 22:22:57 +0000 (22:22 +0000)]
(Bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler are also set
gzipped content with header: "Content-Encoding: , gzip"

13 years agobug 28040 Turkish: properly handle dotted and dotless i
Antoine Musso [Tue, 15 Mar 2011 21:56:54 +0000 (21:56 +0000)]
bug 28040 Turkish: properly handle dotted and dotless i

As mentioned by Bawolff on code review, r83970 only handled case change
of the first character lacking full strings support.

This patch override the uc and lc methods for the Turkish language (tr)
using preg_replace() which know about unicode. Other possible choices
would have been:
 - strtr() =>  outputs garbage
 - mbstring => can not know we handle turkish and transform i to I!

I have amended the RELEASE-NOTES to reflect this patch.

Some new tests are added as well to cover the regular functions as
well as the specific Turkish overriding. Result in testdox:

LanguageTr
[x] Change case of first char being dotted and dotless i
[x] Language tr lower casing override
[x] Language tr upper casing override
[x] Upper casing of a string with dotted and dot less i
[x] Lower casing of a string with dotted and dot less i

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Tue, 15 Mar 2011 21:06:28 +0000 (21:06 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-03-15 21:30:00 UTC)

13 years agoFollow-up r83791: Remove uselss leading space
Raimond Spekking [Tue, 15 Mar 2011 19:55:47 +0000 (19:55 +0000)]
Follow-up r83791: Remove uselss leading space

13 years agoGet ride of extract() calls in RecentChange::getIRCLine()
Alexandre Emsenhuber [Tue, 15 Mar 2011 18:35:32 +0000 (18:35 +0000)]
Get ride of extract() calls in RecentChange::getIRCLine()

13 years agoUpdate doc: Image:: -> File::
Alexandre Emsenhuber [Tue, 15 Mar 2011 16:58:06 +0000 (16:58 +0000)]
Update doc: Image:: -> File::

13 years agoChanged LinkHolderArray::makeHolder() to use Linker::link() instead of Linker::makeBr...
Alexandre Emsenhuber [Tue, 15 Mar 2011 16:47:55 +0000 (16:47 +0000)]
Changed LinkHolderArray::makeHolder() to use Linker::link() instead of Linker::makeBrokenLinkObj() and Linker::makeColouredLinkObj()

13 years agoFix notice from TWN, reported in r83786 CR
Happy-melon [Tue, 15 Mar 2011 15:56:40 +0000 (15:56 +0000)]
Fix notice from TWN, reported in r83786 CR

13 years agoAccept empty square bracket pairs in external links: http://www.example.com?foo[...
Happy-melon [Tue, 15 Mar 2011 15:09:49 +0000 (15:09 +0000)]
Accept empty square bracket pairs in external links: example.com?foo[]=bar and [http://www.example.com?foo[]=bar link].  Used for MultiSelect arrays, which feature quite heavily in bugzilla search urls, etc.

13 years agoKill the oldtimeout stuff, with minimum PHP being 5.2.3
Sam Reed [Tue, 15 Mar 2011 12:24:05 +0000 (12:24 +0000)]
Kill the oldtimeout stuff, with minimum PHP being 5.2.3

13 years agoFixup some more old version comparison stuff
Sam Reed [Tue, 15 Mar 2011 12:06:40 +0000 (12:06 +0000)]
Fixup some more old version comparison stuff

13 years agoFix mention of needing 5.1.X or higher in PHP4 file
Sam Reed [Tue, 15 Mar 2011 12:03:14 +0000 (12:03 +0000)]
Fix mention of needing 5.1.X or higher in PHP4 file

13 years agoAfter r83879, we're requiring php 5.2.3
Sam Reed [Tue, 15 Mar 2011 12:00:53 +0000 (12:00 +0000)]
After r83879, we're requiring php 5.2.3

Remove < 5.1.7 check and related code

13 years agoFix exception on TWN raised in r83855 CR.
Happy-melon [Tue, 15 Mar 2011 11:20:15 +0000 (11:20 +0000)]
Fix exception on TWN raised in r83855 CR.

13 years agoFollow-up r83909: Use 'parentheses' message for consistency instead of hardcoded []
Raimond Spekking [Tue, 15 Mar 2011 08:37:23 +0000 (08:37 +0000)]
Follow-up r83909: Use 'parentheses' message for consistency instead of hardcoded []

13 years agoFollow-up r83909: The message key is named 'ipadressedorusername'
Raimond Spekking [Tue, 15 Mar 2011 08:16:00 +0000 (08:16 +0000)]
Follow-up r83909: The message key is named 'ipadressedorusername'

13 years agoFix bug 28053. Just move createacount link stuff out of the ipinheader spot to where...
Daniel Friesen [Tue, 15 Mar 2011 07:21:44 +0000 (07:21 +0000)]
Fix bug 28053. Just move createacount link stuff out of the ipinheader spot to where it should be.

13 years agoremoving another use of the vertical tab & form feed escapes, which are not available...
Neil Kandalgaonkar [Tue, 15 Mar 2011 04:41:15 +0000 (04:41 +0000)]
removing another use of the vertical tab & form feed escapes, which are not available in production php5.2.4

13 years agothe vertical tab \v and form feed \f escapes are not available in php5.2.4 which...
Neil Kandalgaonkar [Tue, 15 Mar 2011 04:37:06 +0000 (04:37 +0000)]
the vertical tab \v and form feed \f escapes are not available in php5.2.4 which is what we run in production. Using equivalent hexadecimal

13 years agor83812, r83814: Don't use cl_type at all when paging categorylinks
Marcin Cieślak [Tue, 15 Mar 2011 02:53:00 +0000 (02:53 +0000)]
r83812, r83814: Don't use cl_type at all when paging categorylinks

* Remove cl_type from paging in categorylinks - it's not
  really needed there. Although cl_type is in WHERE but not
  in ORDER BY clause the worst thing that can happen
  is to have a filesort going again through <500 entries
  selected by index. Or will FORCE INDEX work anyway?

* Revert schema change, as we don't need cl_type there
  anyway (or even if we wanted to compare, it should
  work as expected by using INT values against ENUM).

13 years agooops, don't delete char before the slash, followup to r83902
Ryan Kaldari [Tue, 15 Mar 2011 02:03:01 +0000 (02:03 +0000)]
oops, don't delete char before the slash, followup to r83902

13 years agokeep double slash filter from breaking absolute URLs, fix to r83902
Ryan Kaldari [Tue, 15 Mar 2011 01:57:37 +0000 (01:57 +0000)]
keep double slash filter from breaking absolute URLs, fix to r83902

13 years agoFix sneaky assignment in conditional
Sam Reed [Tue, 15 Mar 2011 00:34:44 +0000 (00:34 +0000)]
Fix sneaky assignment in conditional

13 years agoTrim/fix whitespace
Sam Reed [Mon, 14 Mar 2011 23:44:41 +0000 (23:44 +0000)]
Trim/fix whitespace

13 years ago* (bug 28034) uploading file to local wiki when file exists on shared repository...
Sam Reed [Mon, 14 Mar 2011 23:33:45 +0000 (23:33 +0000)]
* (bug 28034) uploading file to local wiki when file exists on shared repository (commons) gives spurious info in the warning message

Applying patch with one minor addition

13 years agoMore documentation while poking bugs
Sam Reed [Mon, 14 Mar 2011 23:07:42 +0000 (23:07 +0000)]
More documentation while poking bugs

13 years agoFollow-up r83909: fix error on TWN
Happy-melon [Mon, 14 Mar 2011 22:26:37 +0000 (22:26 +0000)]
Follow-up r83909: fix error on TWN

13 years agobug 28040 Turkish: properly lower case 'I' to 'ı' (dotless i)
Antoine Musso [Mon, 14 Mar 2011 22:14:39 +0000 (22:14 +0000)]
bug 28040 Turkish: properly lower case 'I' to 'ı' (dotless i)

Turkish has two different i, one with a dot and another without a dot. They
are totally different letters in this language, so we have to override the
ucfirst and lcfirst methods.
See http://en.wikipedia.org/wiki/Dotted_and_dotless_I

Credits to #wikipedia-tr users berm, []LuCkY[] and Emperyan

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Mon, 14 Mar 2011 21:28:18 +0000 (21:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-03-14 21:06:00 UTC)

13 years agoFollow-up r83909, fix errors seen on TWN reported in CR
Happy-melon [Mon, 14 Mar 2011 21:10:41 +0000 (21:10 +0000)]
Follow-up r83909, fix errors seen on TWN reported in CR

13 years agoFix overestimation of max-width when using perrow mode.
Derk-Jan Hartman [Mon, 14 Mar 2011 21:08:32 +0000 (21:08 +0000)]
Fix overestimation of max-width when using perrow mode.
Also use const variables to make this more readable.

Fixes bug 27577
Follow up to r77411

13 years agoFix for r83909: rename the corresponding -summary message. Forgotten to Crtl-S before...
Raimond Spekking [Mon, 14 Mar 2011 21:00:28 +0000 (21:00 +0000)]
Fix for r83909: rename the corresponding -summary message. Forgotten to Crtl-S before committing r83960

13 years agoFix for r83909: Add new messag to avoid lt;blocklist&gt; on Special:SpecialPages
Raimond Spekking [Mon, 14 Mar 2011 20:46:46 +0000 (20:46 +0000)]
Fix for r83909: Add new messag to avoid lt;blocklist&gt; on Special:SpecialPages
rename the corresponding -summary message

13 years agoFix artifact of 2 working copies from r83831
Sam Reed [Mon, 14 Mar 2011 20:26:15 +0000 (20:26 +0000)]
Fix artifact of 2 working copies from r83831

13 years agoFollow-up r82310 CR: Adding comment about document ready (since it uses jQuery and...
Krinkle [Mon, 14 Mar 2011 18:11:19 +0000 (18:11 +0000)]
Follow-up r82310 CR: Adding comment about document ready (since it uses jQuery and interacts with DOM elements)

13 years agoFollowup r83891: don't insert a newline before ++ or -- . Patch by Paul Copperman
Roan Kattouw [Mon, 14 Mar 2011 18:04:39 +0000 (18:04 +0000)]
Followup r83891: don't insert a newline before ++ or -- . Patch by Paul Copperman

13 years agoFollowup to r81507: Call to undefined method StandardTemplate::showEmailUser()
Marcin Cieślak [Mon, 14 Mar 2011 17:59:31 +0000 (17:59 +0000)]
Followup to r81507: Call to undefined method StandardTemplate::showEmailUser()

Fixes:

PHP Fatal error:  Call to undefined method StandardTemplate::showEmailUser() in skins/Standard.php on line 262

13 years agoComplete the trinity of blocking frontend interfaces by rewriting SpecialIpblocklist:
Happy-melon [Mon, 14 Mar 2011 16:09:44 +0000 (16:09 +0000)]
Complete the trinity of blocking frontend interfaces by rewriting SpecialIpblocklist:
* Move and rename to SpecialBlockList
* Use an HTMLForm in GET mode for the options form
* Use TablePager to organise the results more nicely
* Standardise the filtration for IPs and IP ranges, so looking at blocks for a range will now also show rangeblocks which contain the range
* General tidy up

13 years agoFollow-up r83907: some CSS to achieve flat lists
Happy-melon [Mon, 14 Mar 2011 15:56:51 +0000 (15:56 +0000)]
Follow-up r83907: some CSS to achieve flat lists

13 years agoSome tweaks to HTMLMultiSelect form to make it play nicely with GET forms, and also...
Happy-melon [Mon, 14 Mar 2011 15:50:26 +0000 (15:50 +0000)]
Some tweaks to HTMLMultiSelect form to make it play nicely with GET forms, and also to allow a 'flat list' of options

13 years ago(bug 27564) Timestamp of site module embedded in Squid-cached page HTML
Roan Kattouw [Mon, 14 Mar 2011 15:16:43 +0000 (15:16 +0000)]
(bug 27564) Timestamp of site module embedded in Squid-cached page HTML

13 years ago(bug 27052) CSSMin generated URLs like foo//../bar in some cases, which apparently...
Roan Kattouw [Mon, 14 Mar 2011 15:01:50 +0000 (15:01 +0000)]
(bug 27052) CSSMin generated URLs like foo//../bar in some cases, which apparently resolves to foo/bar rather than foo/../bar or bar . Fixed by eliminating duplicate slashes from the file URL when remapping

13 years ago(bug 27054) Implicit end of statement can break stuff when files are combined. Applie...
Roan Kattouw [Mon, 14 Mar 2011 14:25:23 +0000 (14:25 +0000)]
(bug 27054) Implicit end of statement can break stuff when files are combined. Applied patch by Paul Copperman: add a semicolon to the end of every module when combining; this'll terminate any unterminated final statement, and otherwise create a harmless empty statement.

13 years agoPer Nikerabbit, add some minifier tests for historic failure cases that I had lying...
Roan Kattouw [Mon, 14 Mar 2011 13:55:42 +0000 (13:55 +0000)]
Per Nikerabbit, add some minifier tests for historic failure cases that I had lying around

13 years agoFollowup r83885: implement maximum line length and statement termination (each statem...
Roan Kattouw [Mon, 14 Mar 2011 13:24:30 +0000 (13:24 +0000)]
Followup r83885: implement maximum line length and statement termination (each statement on its own line) in JavaScriptMinifier. Also add globals for these things and update minify.php for these new config vars.

13 years agoFix for r83855: Add new messages to avoid lt;block&gt; &lt;unblock&gt; on Special...
Raimond Spekking [Mon, 14 Mar 2011 12:20:34 +0000 (12:20 +0000)]
Fix for r83855: Add new messages to avoid lt;block&gt; &lt;unblock&gt; on Special:SpecialPages

13 years ago(bug 27528) Incorporate Paul Copperman's minifier
Roan Kattouw [Mon, 14 Mar 2011 11:44:33 +0000 (11:44 +0000)]
(bug 27528) Incorporate Paul Copperman's minifier

13 years agoExpand r83882.
Happy-melon [Mon, 14 Mar 2011 11:22:48 +0000 (11:22 +0000)]
Expand r83882.

13 years agoFollowup r83849, fix join to be on indexed user_name
Sam Reed [Mon, 14 Mar 2011 11:07:58 +0000 (11:07 +0000)]
Followup r83849, fix join to be on indexed user_name

13 years agoFollow-up r83855: MessagesQqq documentation
Happy-melon [Mon, 14 Mar 2011 11:07:14 +0000 (11:07 +0000)]
Follow-up r83855: MessagesQqq documentation

13 years agoFixup whitespace
Sam Reed [Mon, 14 Mar 2011 11:06:57 +0000 (11:06 +0000)]
Fixup whitespace

13 years agoPartial revert r83845, use indexed fields for join
Sam Reed [Mon, 14 Mar 2011 11:05:35 +0000 (11:05 +0000)]
Partial revert r83845, use indexed fields for join

13 years agoRequire at least PHP 5.2.3. There's not much point increasing the minimum to 5.2...
Tim Starling [Mon, 14 Mar 2011 10:42:07 +0000 (10:42 +0000)]
Require at least PHP 5.2.3. There's not much point increasing the minimum to 5.2.0, as I argued at lists.wikimedia.org/pipermail/wikitech-l/2010-November/050138.html . But requiring 5.2.3 is a significant win. Updates r83217.

13 years agoFix r83140: 'ObjectCache::newAnything' is not a valid callback, use array( 'ObjectCac...
Roan Kattouw [Mon, 14 Mar 2011 10:27:24 +0000 (10:27 +0000)]
Fix r83140: 'ObjectCache::newAnything' is not a valid callback, use array( 'ObjectCache', 'newAnything' ) . Apparently this explodes in some versions of PHP but not in others

13 years agoRevert r67661 (change Title::makeTitle(NS_SPECIAL, $foo) to SpecialPage::getTitleFor...
Roan Kattouw [Mon, 14 Mar 2011 10:03:07 +0000 (10:03 +0000)]
Revert r67661 (change Title::makeTitle(NS_SPECIAL, $foo) to SpecialPage::getTitleFor($foo)), caused bug 27671 (search suggestions no longer list canonical names for special pages). Went with makeTitleSafe() instead of makeTitle() just in case weird things make their way into the special page aliases.

13 years ago(bug 27975) Fix r83529 (slave catchup in updateCollation.php) to not try to wait...
Roan Kattouw [Mon, 14 Mar 2011 09:30:56 +0000 (09:30 +0000)]
(bug 27975) Fix r83529 (slave catchup in updateCollation.php) to not try to wait for slaves if there are none. Reporter was getting a permission error for getting the master position on a single-server setup

13 years agoRevert r79122, causes bug 27891 (old version seen immediately after edit).
Tim Starling [Mon, 14 Mar 2011 04:26:52 +0000 (04:26 +0000)]
Revert r79122, causes bug 27891 (old version seen immediately after edit).

13 years ago(bug 28020) Moving pages causes the cl_sortkey thats appropriate for one of the categ...
Brian Wolff [Mon, 14 Mar 2011 02:19:28 +0000 (02:19 +0000)]
(bug 28020) Moving pages causes the cl_sortkey thats appropriate for one of the categorylinks, to be set for all of them.
But the cl_sortkey_prefix are kept to the right value for the cl_sortkey's that are set to the wrong value, totally messing things up.

End result is: Have a page, with some categories having different sortkeys, move that page, now all the categories have the same
sortkey, but still have their original prefix, so linksupdate things the sortkey is correct. End result is null edits don't fix
the sortkey, nothing but removing and re-adding category will reset sortkey to correct value.

13 years agoCommit last of my w/c
Sam Reed [Mon, 14 Mar 2011 01:04:16 +0000 (01:04 +0000)]
Commit last of my w/c

Documentation, braces, explicit variable definitions

13 years agoBug 2557: Sidebar items missing from classic, cologne blue, simple skins
Marcin Cieślak [Sun, 13 Mar 2011 23:12:59 +0000 (23:12 +0000)]
Bug 2557: Sidebar items missing from classic, cologne blue, simple skins

* Simple skin support multiple sidebar items
* Standard (a.k.a. Classic) likes to add "my watchlist" and "my contributions"
  links at the bottom of the first sidebar box. It also has no titles for boxes.
* Cologne blue supports multiple sidebar boxes with titles.