HomePhabricator

Merged revisions 97087,97091-97092,97094,97096-97098,97100-97101,97103,97136…

Description

Merged revisions 97087,97091-97092,97094,97096-97098,97100-97101,97103,97136,97138,97141,97143-97146,97148-97151,97156,97159-97161,97165,97169 via svnmerge from
svn+ssh://dantman@wikimedia/svnroot/mediawiki/trunk/phase3

........

r97087 | aaron | 2011-09-14 12:05:43 -0700 (Wed, 14 Sep 2011) | 1 line

FU r84610: Renamed getImageTimeKeys() to getFileSearchOptions()

........

r97091 | aaron | 2011-09-14 12:57:41 -0700 (Wed, 14 Sep 2011) | 1 line

FU r89706: Cleaned up getParserOptions duplication problems

........

r97092 | catrope | 2011-09-14 12:59:50 -0700 (Wed, 14 Sep 2011) | 2 lines

Introduce MessageCache::getAllMessageKeys(), which returns all message keys stored in the MessageCache, and use this to power the amincludelocal parameter in meta=allmessages which adds messages that don't exist in PHP but exist as MediaWiki: pages only.

........

r97094 | ialex | 2011-09-14 13:23:36 -0700 (Wed, 14 Sep 2011) | 2 lines

Use local context instead of global variables

........

r97096 | purodha | 2011-09-14 13:32:58 -0700 (Wed, 14 Sep 2011) | 3 lines

Typo fixed in message text of MediaWiki:logentry-suppress-delete
see http://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Logentry-suppress-delete/en

........

r97097 | brion | 2011-09-14 13:34:39 -0700 (Wed, 14 Sep 2011) | 3 lines

Revert r96824: causes fatal errors when search query doesn't happen to be a valid title. Code doesn't appear to have been tested?

........

r97098 | brion | 2011-09-14 13:42:28 -0700 (Wed, 14 Sep 2011) | 7 lines

* (bug 30900) Remove confusing default value added for the default-don't-say-anything case of searchmenu-new-nocreate message

Reverts r80746's addition of a default value, removal of the message from the 'ignore' list, and the subsequent translations of this message that's supposed to be empty.
It doesn't make sense to have a default value here; as added in r65902 it was meant to default to empty. It's not very well thought out to begin with, so any message that goes it ends up being confusing. For queries that aren't meant to be page titles it's meaningless to begin with, and for users who aren't allowed to create articles at all due to read-only or edit/create restrictions it's even more confusing.

........

r97100 | raymond | 2011-09-14 13:46:49 -0700 (Wed, 14 Sep 2011) | 2 lines

Localisation updates for core and extension messages from translatewiki.net

........

r97101 | hashar | 2011-09-14 13:48:02 -0700 (Wed, 14 Sep 2011) | 2 lines

ammend design guide :p

........

r97103 | brion | 2011-09-14 14:38:26 -0700 (Wed, 14 Sep 2011) | 5 lines

* (bug 30894) Add --output option to mwdocgen.php to override output directory

Note that files go into the 'html' subdir of wherever you point.

........

r97136 | dantman | 2011-09-14 19:10:44 -0700 (Wed, 14 Sep 2011) | 2 lines

Add support for a second argument to wfDeprecated so we can start using it right away and let users limit what warnings they get if they need to, instead of delaying warnings for an entire release or more.

........

r97138 | nikerabbit | 2011-09-15 00:51:25 -0700 (Thu, 15 Sep 2011) | 4 lines

This should fix the following PHP notice and the display of some yet another kind of legacy log entries for suppression log
PHP Notice:  Undefined offset: 6 in /www/w/includes/logging/LogFormatter.php on line 379

........

r97141 | catrope | 2011-09-15 04:06:33 -0700 (Thu, 15 Sep 2011) | 2 lines

Merge r82286 (live hack that fixes Malayam redirect loop bug) to trunk. I still don't understand this hack, but we needed it on the cluster when we deployed 1.17 so we'll probably need it now for 1.18 as well.

........

r97143 | catrope | 2011-09-15 04:08:30 -0700 (Thu, 15 Sep 2011) | 2 lines

Followup 97141: merge r92469 too, was a typo fix for r82286

........

r97144 | catrope | 2011-09-15 04:12:19 -0700 (Thu, 15 Sep 2011) | 2 lines

Merge r82361 from 1.17wmf1 to trunk. This shuts up "Non-string key given" exceptions in cases where a numeric key manages to become an integer somehow. This could probably be fixed in a better way but I wouldn't know how.

........

r97145 | tstarling | 2011-09-15 05:10:53 -0700 (Thu, 15 Sep 2011) | 3 lines

Reverted r85922 and related: new doTableStuff(). I copied in the old doTableStuff() from before r85922 and reverted all parser test changes that looked vaguely related. Apologies to Platonides, since some of his parser tests appeared to be relevant to the old parser, but it's simplest to just revert all the related changes and then re-add any useful tests later. See CR r85922 for full rationale.

........

r97146 | catrope | 2011-09-15 05:17:44 -0700 (Thu, 15 Sep 2011) | 8 lines

Merge live hacks from r83992 to trunk, after cleaning some things up.

* Wait for slaves after every thousand rows rather than after processing every batch. r83992 had 1000 hard-coded, I put it in SYNC_INTERVAL
* Set $lb->waitTimeout(100000). I have no idea why, but it was in the live hack. Maybe Tim or Domas could enlighten me
* Use a STRAIGHT JOIN for the query on categorylinks and page because MySQL appears to want to join the tables the wrong way around
* Use cl_collation='previousValue' rather than cl_collation!='newValue' if possible. This was originally a dirty live hack, but I re-implemented it nicely with a --previous-collation command line option
* Print a status update both before and after the SELECT query. This allows the user to notice when the SELECT queries are getting increasingly slower, which is an indication you may want to set --previous-collation

........

r97148 | catrope | 2011-09-15 05:42:29 -0700 (Thu, 15 Sep 2011) | 2 lines

Followup r97146: drop the $lb->waitTimeout() call per Tim. Was used so Tim could sleep while a schema change was going on, but this is the kind of live hack that doesn't belong in core.

........

r97149 | catrope | 2011-09-15 06:11:59 -0700 (Thu, 15 Sep 2011) | 2 lines

Per Nikerabbit on IRC, document the $status parameter in ArticleSaveComplete. Has been undocumented since its introduction in r41244 (!)

........

r97150 | catrope | 2011-09-15 06:15:06 -0700 (Thu, 15 Sep 2011) | 2 lines

Update jquery.tablesorter for r97145: emulate <thead> if there is no <thead> in the HTML, by walking down the table starting at the first row and moving rows to the <thead> as long as all of its cells are <th>s (or the row is empty). Also fix and simplify the sortbottom code, which was incorrectly creating multiple <tfoot> elements if there were multiple sortbottom rows.

........

r97151 | bawolff | 2011-09-15 06:47:40 -0700 (Thu, 15 Sep 2011) | 2 lines

(bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A).

........

r97156 | ialex | 2011-09-15 08:04:17 -0700 (Thu, 15 Sep 2011) | 2 lines

Use local context instead of global variables

........

r97159 | dantman | 2011-09-15 08:19:49 -0700 (Thu, 15 Sep 2011) | 2 lines

Use IContextSource instead of RequestContext inside type hints and instanceof checks. All we need is something that implements IContextSource and it's possible we may want to implement types of RequestContext that don't directly extend RequestContext but are perfectly valid to be passed to classes.

........

r97160 | catrope | 2011-09-15 08:40:40 -0700 (Thu, 15 Sep 2011) | 2 lines

Followup r93247: add apiScript as a property of a ResourceLoader source.

........

r97161 | dantman | 2011-09-15 08:47:15 -0700 (Thu, 15 Sep 2011) | 2 lines

Implement DerivativeContext. Can be used to inherit context from another context while overriding only parts of the context.

........

r97165 | ialex | 2011-09-15 08:55:13 -0700 (Thu, 15 Sep 2011) | 3 lines

* Factorise calls to get the User object
* Call Linker method statically

........

r97169 | jeroendedauw | 2011-09-15 09:07:40 -0700 (Thu, 15 Sep 2011) | 1 line

Follow up to r97128;

........

Details

Provenance
DanielFriesenAuthored on
Parents
rSVN97172: Start porting HistoryPage to Special:History
Branches
Unknown
Tags
Unknown
ChangeId
None