lhc/web/wiklou.git
12 years ago(bug 30903) Show diff size in contribution list. Works via batched query using rev_pa...
Aaron Schulz [Thu, 15 Sep 2011 19:36:12 +0000 (19:36 +0000)]
(bug 30903) Show diff size in contribution list. Works via batched query using rev_parent_id. This is the original change diff and won't the current "diff to previous rev according to rev_page,rev_timestamp" size for edge cases of selective undeletion (revdelete should be used instead anyway) or history merges.

12 years agoRemove unused messages 'globalfileusage-of-file', 'globaltemplateusage-of-file' intro...
Siebrand Mazeland [Thu, 15 Sep 2011 19:34:29 +0000 (19:34 +0000)]
Remove unused messages 'globalfileusage-of-file', 'globaltemplateusage-of-file' introduced in r95396.

12 years agoUse wfSpecialList() so it displays properly when user direction != content direction...
Robin Pepermans [Thu, 15 Sep 2011 19:07:24 +0000 (19:07 +0000)]
Use wfSpecialList() so it displays properly when user direction != content direction, and call Linker function statically.

12 years agoFollow-up r96979: one more message that needs to be worded consistenly.
Siebrand Mazeland [Thu, 15 Sep 2011 18:14:14 +0000 (18:14 +0000)]
Follow-up r96979: one more message that needs to be worded consistenly.

12 years agoFollow up r97179; Err... ;) you didn't see AutoLoader lines for half-finished code...
Daniel Friesen [Thu, 15 Sep 2011 17:47:02 +0000 (17:47 +0000)]
Follow up r97179; Err... ;) you didn't see AutoLoader lines for half-finished code leak into my commit.

12 years agoSeparate RequestContext.php into separate files inside of context/
Daniel Friesen [Thu, 15 Sep 2011 17:42:17 +0000 (17:42 +0000)]
Separate RequestContext.php into separate files inside of context/
Update the AutoLoader too. This is also a follow up to r97161 since I forgot to add the AutoLoader line.

12 years agothrow exception if rename of output file fails
Ariel Glenn [Thu, 15 Sep 2011 17:18:13 +0000 (17:18 +0000)]
throw exception if rename of output file fails

12 years ago* (bug 30817) Restored linktrail for kk (Kazakh)
Niklas Laxström [Thu, 15 Sep 2011 16:42:22 +0000 (16:42 +0000)]
* (bug 30817) Restored linktrail for kk (Kazakh)

12 years agoRe-do reverted r96824, but in SpecialSearch first return if the title object is invalid.
Robin Pepermans [Thu, 15 Sep 2011 16:26:35 +0000 (16:26 +0000)]
Re-do reverted r96824, but in SpecialSearch first return if the title object is invalid.

12 years agoFollow up to r97128;
Jeroen De Dauw [Thu, 15 Sep 2011 16:07:40 +0000 (16:07 +0000)]
Follow up to r97128;

12 years ago* Factorise calls to get the User object
Alexandre Emsenhuber [Thu, 15 Sep 2011 15:55:13 +0000 (15:55 +0000)]
* Factorise calls to get the User object
* Call Linker method statically

12 years agoImplement DerivativeContext. Can be used to inherit context from another context...
Daniel Friesen [Thu, 15 Sep 2011 15:47:15 +0000 (15:47 +0000)]
Implement DerivativeContext. Can be used to inherit context from another context while overriding only parts of the context.

12 years agoFollowup r93247: add apiScript as a property of a ResourceLoader source.
Roan Kattouw [Thu, 15 Sep 2011 15:40:40 +0000 (15:40 +0000)]
Followup r93247: add apiScript as a property of a ResourceLoader source.

12 years agoUse IContextSource instead of RequestContext inside type hints and instanceof checks...
Daniel Friesen [Thu, 15 Sep 2011 15:19:49 +0000 (15:19 +0000)]
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.

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Thu, 15 Sep 2011 15:04:17 +0000 (15:04 +0000)]
Use local context instead of global variables

12 years ago(bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A).
Brian Wolff [Thu, 15 Sep 2011 13:47:40 +0000 (13:47 +0000)]
(bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A).

12 years agoUpdate jquery.tablesorter for r97145: emulate <thead> if there is no <thead> in the...
Roan Kattouw [Thu, 15 Sep 2011 13:15:06 +0000 (13:15 +0000)]
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.

12 years agoPer Nikerabbit on IRC, document the $status parameter in ArticleSaveComplete. Has...
Roan Kattouw [Thu, 15 Sep 2011 13:11:59 +0000 (13:11 +0000)]
Per Nikerabbit on IRC, document the $status parameter in ArticleSaveComplete. Has been undocumented since its introduction in r41244 (!)

12 years agoFollowup r97146: drop the $lb->waitTimeout() call per Tim. Was used so Tim could...
Roan Kattouw [Thu, 15 Sep 2011 12:42:29 +0000 (12:42 +0000)]
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.

12 years agoMerge live hacks from r83992 to trunk, after cleaning some things up.
Roan Kattouw [Thu, 15 Sep 2011 12:17:44 +0000 (12:17 +0000)]
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

12 years agoReverted r85922 and related: new doTableStuff(). I copied in the old doTableStuff...
Tim Starling [Thu, 15 Sep 2011 12:10:53 +0000 (12:10 +0000)]
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.

12 years agoMerge r82361 from 1.17wmf1 to trunk. This shuts up "Non-string key given" exceptions...
Roan Kattouw [Thu, 15 Sep 2011 11:12:19 +0000 (11:12 +0000)]
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.

12 years agoFollowup 97141: merge r92469 too, was a typo fix for r82286
Roan Kattouw [Thu, 15 Sep 2011 11:08:30 +0000 (11:08 +0000)]
Followup 97141: merge r92469 too, was a typo fix for r82286

12 years agoMerge r82286 (live hack that fixes Malayam redirect loop bug) to trunk. I still don...
Roan Kattouw [Thu, 15 Sep 2011 11:06:33 +0000 (11:06 +0000)]
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.

12 years agoThis should fix the following PHP notice and the display of some yet another kind...
Niklas Laxström [Thu, 15 Sep 2011 07:51:25 +0000 (07:51 +0000)]
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

12 years agoAdd support for a second argument to wfDeprecated so we can start using it right...
Daniel Friesen [Thu, 15 Sep 2011 02:10:44 +0000 (02:10 +0000)]
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.

12 years ago* (bug 30894) Add --output option to mwdocgen.php to override output directory
Brion Vibber [Wed, 14 Sep 2011 21:38:26 +0000 (21:38 +0000)]
* (bug 30894) Add --output option to mwdocgen.php to override output directory

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

12 years agoammend design guide :p
Antoine Musso [Wed, 14 Sep 2011 20:48:02 +0000 (20:48 +0000)]
ammend design guide :p

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Wed, 14 Sep 2011 20:46:49 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago* (bug 30900) Remove confusing default value added for the default-don't-say-anything...
Brion Vibber [Wed, 14 Sep 2011 20:42:28 +0000 (20:42 +0000)]
* (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.

12 years agoRevert r96824: causes fatal errors when search query doesn't happen to be a valid...
Brion Vibber [Wed, 14 Sep 2011 20:34:39 +0000 (20:34 +0000)]
Revert r96824: causes fatal errors when search query doesn't happen to be a valid title. Code doesn't appear to have been tested?

12 years agoTypo fixed in message text of MediaWiki:logentry-suppress-delete
Purodha B Blissenbach [Wed, 14 Sep 2011 20:32:58 +0000 (20:32 +0000)]
Typo fixed in message text of MediaWiki:logentry-suppress-delete
see http://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Logentry-suppress-delete/en

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Wed, 14 Sep 2011 20:23:36 +0000 (20:23 +0000)]
Use local context instead of global variables

12 years agoIntroduce MessageCache::getAllMessageKeys(), which returns all message keys stored...
Roan Kattouw [Wed, 14 Sep 2011 19:59:50 +0000 (19:59 +0000)]
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.

12 years agoFU r89706: Cleaned up getParserOptions duplication problems
Aaron Schulz [Wed, 14 Sep 2011 19:57:41 +0000 (19:57 +0000)]
FU r89706: Cleaned up getParserOptions duplication problems

12 years agoFU r84610: Renamed getImageTimeKeys() to getFileSearchOptions()
Aaron Schulz [Wed, 14 Sep 2011 19:05:43 +0000 (19:05 +0000)]
FU r84610: Renamed getImageTimeKeys() to getFileSearchOptions()

12 years agoFix typo in r97044 reported in twn
Niklas Laxström [Wed, 14 Sep 2011 18:02:04 +0000 (18:02 +0000)]
Fix typo in r97044 reported in twn

12 years agoFixed WikiPage::newFromId to use the factory() function
Aaron Schulz [Wed, 14 Sep 2011 17:51:37 +0000 (17:51 +0000)]
Fixed WikiPage::newFromId to use the factory() function

12 years agoSwitched from prepending http for protocol-relative $wgUploadStashScalerBaseUrl to...
Ian Baker [Wed, 14 Sep 2011 17:48:10 +0000 (17:48 +0000)]
Switched from prepending http for protocol-relative $wgUploadStashScalerBaseUrl to wfExpandUrl()
Followup to r96934

12 years agoFU r97022: Fallback to empty array for getExtraSortFields() result in __construct...
Aaron Schulz [Wed, 14 Sep 2011 17:42:28 +0000 (17:42 +0000)]
FU r97022: Fallback to empty array for getExtraSortFields() result in __construct() if no value is set for the sort order/type.

12 years agoFixed incorrect userId reference
Ian Baker [Wed, 14 Sep 2011 17:23:09 +0000 (17:23 +0000)]
Fixed incorrect userId reference

12 years agoAdded @todo items
Aaron Schulz [Wed, 14 Sep 2011 17:15:07 +0000 (17:15 +0000)]
Added @todo items

12 years agoIntroduce Language::getMessageKeysFor() and use it in ApiQueryAllmessages
Roan Kattouw [Wed, 14 Sep 2011 16:48:29 +0000 (16:48 +0000)]
Introduce Language::getMessageKeysFor() and use it in ApiQueryAllmessages

12 years agoWhitespace/documentation
Sam Reed [Wed, 14 Sep 2011 15:07:20 +0000 (15:07 +0000)]
Whitespace/documentation

12 years agoRevert r96715 per committer's (Chad's) CR comment
Roan Kattouw [Wed, 14 Sep 2011 13:43:06 +0000 (13:43 +0000)]
Revert r96715 per committer's (Chad's) CR comment

12 years agoFollowup r86304, guard against $title AND $wgTitle being null
Sam Reed [Wed, 14 Sep 2011 12:32:22 +0000 (12:32 +0000)]
Followup r86304, guard against $title AND $wgTitle being null

Add profiling too

12 years agoRevert part of r97046 which was not intented to be committed.
Niklas Laxström [Wed, 14 Sep 2011 11:28:03 +0000 (11:28 +0000)]
Revert part of r97046 which was not intented to be committed.
As side note, would be nice to have this configurable someway.

12 years agoRevert r96798 - makes parser go infinite loop somewhere
Niklas Laxström [Wed, 14 Sep 2011 11:23:58 +0000 (11:23 +0000)]
Revert r96798 - makes parser go infinite loop somewhere

12 years agoRemoved some more unused message made obsolete by r96847 (one was still referenced...
Niklas Laxström [Wed, 14 Sep 2011 10:43:50 +0000 (10:43 +0000)]
Removed some more unused message made obsolete by r96847 (one was still referenced in r97044, but was already unused)

12 years agoAdded a bit defensive programming, as suggested by Aaron in r97040
Niklas Laxström [Wed, 14 Sep 2011 10:39:58 +0000 (10:39 +0000)]
Added a bit defensive programming, as suggested by Aaron in r97040

12 years agoRevisionDeleter:
Niklas Laxström [Wed, 14 Sep 2011 10:36:24 +0000 (10:36 +0000)]
RevisionDeleter:
* Fixed comment of getChanges and made it public
* Removed getLogMessage and expandMessageArray, now unused
LogFormatter:
* Cache parsed parameters locally, since this function is going to be called few times for every log entry
DefaultSettings:
* Could not find any use of suppress/file log
LogPage:
* Removed old formatting code, now unused
WikiPage:
* Converted (suppress|delete)/delete logs to new format

Added DeleteLogFormatter, handles part of suppression log as well.
Updated messages.
This also addresses bug 18578.

12 years agoFix variable name typo in r96847
Niklas Laxström [Wed, 14 Sep 2011 10:00:30 +0000 (10:00 +0000)]
Fix variable name typo in r96847

12 years agoChrome seems to already support dir=auto, and I see no downsides using it for user...
Niklas Laxström [Wed, 14 Sep 2011 08:32:52 +0000 (08:32 +0000)]
Chrome seems to already support dir=auto, and I see no downsides using it for user comments.
Amir said that it is good.

12 years agoThere was a double space between log action text and user comment. Remove the space...
Niklas Laxström [Wed, 14 Sep 2011 08:30:11 +0000 (08:30 +0000)]
There was a double space between log action text and user comment. Remove the space produced by linker.

12 years agoInstead of throwing fatals, accept null titles in old log entries.
Niklas Laxström [Wed, 14 Sep 2011 07:49:39 +0000 (07:49 +0000)]
Instead of throwing fatals, accept null titles in old log entries.
New log entries will still die with fatal few lines below, but that's good since that should never happen.

12 years agoDrop JSON support. It was never used and causes problems like bug 30854 since PHP...
Niklas Laxström [Wed, 14 Sep 2011 07:47:32 +0000 (07:47 +0000)]
Drop JSON support. It was never used and causes problems like bug 30854 since PHP managed to screw up json_decode too.
It was not a good idea to autodetection of the format anyway, but it isn't such a problem with unserialize.

12 years agoPartial revert r97035, followup r96930: make recentchanges tests pass again
Chad Horohoe [Wed, 14 Sep 2011 03:31:53 +0000 (03:31 +0000)]
Partial revert r97035, followup r96930: make recentchanges tests pass again

12 years agoRenaming SpecialRecentchangesTest file to match conventions
Krinkle [Wed, 14 Sep 2011 01:37:13 +0000 (01:37 +0000)]
Renaming SpecialRecentchangesTest file to match conventions
* There should be no two files with the same name
* Test suite files should be named after the main file containing the code being tested followed by "Test"

12 years agoMerged wgWhatlinkshereLimit from Wikia. It defaults to the same value it was hardcode...
Sean Colombo [Wed, 14 Sep 2011 00:42:36 +0000 (00:42 +0000)]
Merged wgWhatlinkshereLimit from Wikia. It defaults to the same value it was hardcoded to before.

12 years agoMerged Wikia change.
Sean Colombo [Wed, 14 Sep 2011 00:27:48 +0000 (00:27 +0000)]
Merged Wikia change.

12 years agoMerged in mime-type from Wikia (for Sawfish Window Manager).
Sean Colombo [Wed, 14 Sep 2011 00:19:32 +0000 (00:19 +0000)]
Merged in mime-type from Wikia (for Sawfish Window Manager).

12 years agoPossible fix for issue reported in r83762. I had a hard time confirming the problem...
Aaron Schulz [Tue, 13 Sep 2011 23:24:34 +0000 (23:24 +0000)]
Possible fix for issue reported in r83762. I had a hard time confirming the problem/fix with profiling. Committing this now to get more attention.

12 years agoFollowup r96978, clean up code duplication by factoring out the code building load...
Roan Kattouw [Tue, 13 Sep 2011 20:36:24 +0000 (20:36 +0000)]
Followup r96978, clean up code duplication by factoring out the code building load.php requests into ResourceLoader::makeLoaderURL() and makeLoaderQuery()

12 years agoRemoved parser hacks from r88740, r88741, r88780
Aaron Schulz [Tue, 13 Sep 2011 20:26:41 +0000 (20:26 +0000)]
Removed parser hacks from r88740, r88741, r88780

12 years agoDocument the fact that some ResourceLoaderContext methods may return null
Roan Kattouw [Tue, 13 Sep 2011 20:15:00 +0000 (20:15 +0000)]
Document the fact that some ResourceLoaderContext methods may return null

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Tue, 13 Sep 2011 19:32:43 +0000 (19:32 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoConsistency in wording of tool tips. Spotted by Gustrónico.
Siebrand Mazeland [Tue, 13 Sep 2011 17:44:25 +0000 (17:44 +0000)]
Consistency in wording of tool tips. Spotted by Gustrónico.

12 years agoFix the fixme on r88053: dependency handling was broken in debug mode in certain...
Roan Kattouw [Tue, 13 Sep 2011 17:13:53 +0000 (17:13 +0000)]
Fix the fixme on r88053: dependency handling was broken in debug mode in certain cases. More specifically, if A is a file module that depends on B, B is a wiki module that depends on C and C is a file module, the loading order is CBA (correct) in production mode but was BCA (wrong) in debug mode. Fixed this by URL-ifying scripts and styles for those modules in debug mode, as I said to on CR. What this means is that the initial debug=true request for a module will now always return arrays of URLs, never the JS or CSS itself. This was already the case for file modules (which returned arrays of URLs to the raw files), but not for other modules (which returned the JS and CSS itself). So for non-file modules, load.php?modules=foo&debug=true now returns some JS that instructs the loader to fetch the module's JS from load.php?modules=foo&debug=true&only=scripts and the CSS from ...&only=styles .

* Removed the magic behavior where ResourceLoaderModule::getScripts() and getStyles() could return an array of URLs where the documentation said they should return a JS/CSS string. Because I didn't restructure the calling code too much, the old magical behavior should still work.
* Instead, move this behavior to getScriptURLsForDebug() and getStyleURLsForDebug(). The default implementation constructs a single URL for a load.php request for the module with debug=true&only=scripts (or styles). The URL building code duplicates some things from OutputPage::makeResourceLoaderLink(), I'll clean that up later. ResourceLoaderFileModule overrides this method to return URLs to the raw files, using code that I removed from getScripts()/getStyles()
* Add ResourceLoaderModule::supportsURLLoading(), which returns true by default but may return false to indicate that a module does not support loading via a URL. This is needed to respect $this->debugRaw in ResourceLoaderFileModule (set to true for jquery and mediawiki), and obviously for the startup module as well, because we get bootstrapping problems otherwise (can't call mw.loader.implement() when the code for mw.loader isn't loaded yet)

12 years agoFix typo in error message
Roan Kattouw [Tue, 13 Sep 2011 14:36:15 +0000 (14:36 +0000)]
Fix typo in error message

12 years agoAddress one of the fixmes on r88053: because addScript() is asynchronous, calling...
Roan Kattouw [Tue, 13 Sep 2011 13:55:43 +0000 (13:55 +0000)]
Address one of the fixmes on r88053: because addScript() is asynchronous, calling it repeatedly can lead to scripts loading out of order. The specific bug was that if you had a module with two script files, A and B (in that order; scripts are always loaded in the order in which they are specified for multi-file modules) and A is 40M while B is 1K, then B would be executed before A if the module is loaded after document ready (through e.g. mw.loader.using) and the files are not in the browser cache.

So instead of calling addScript() repeatedly in a loop, this commit calls addScript() recursively from its own callback, using a helper function called nestedAddScript(). This also means the if block that checks if the scripts array is empty can be removed, because nestedAddScript() handles empty arrays correctly.

12 years agoFix documentation, document return type
Sam Reed [Tue, 13 Sep 2011 12:37:05 +0000 (12:37 +0000)]
Fix documentation, document return type

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Tue, 13 Sep 2011 12:15:23 +0000 (12:15 +0000)]
* Use local context instead of global variables
* Pass the context to the HTMLForm object

12 years agoMove MessagesEnRTL.php to MessagesEn_rtl.php so that it can be accessed with the...
Tim Starling [Tue, 13 Sep 2011 11:35:04 +0000 (11:35 +0000)]
Move MessagesEnRTL.php to MessagesEn_rtl.php so that it can be accessed with the more sensible language code "en-rtl". This code is not in $wgLanguageNames and so cannot be selected in the UI. This change is to support a debugging extension which I will commit shortly.

12 years agoCall Linker methods statically
Alexandre Emsenhuber [Tue, 13 Sep 2011 11:10:05 +0000 (11:10 +0000)]
Call Linker methods statically

12 years agoFix revert artefact of r96930
Sam Reed [Tue, 13 Sep 2011 10:59:40 +0000 (10:59 +0000)]
Fix revert artefact of r96930

12 years agoIf the scaler URL is protocol-relative, things just break here. Sets a sane default.
Ian Baker [Tue, 13 Sep 2011 00:53:30 +0000 (00:53 +0000)]
If the scaler URL is protocol-relative, things just break here.  Sets a sane default.

12 years agoRevert r87992 and followups r87998, r89028 (Support abstraction for 'NOT IN' SQL...
Chad Horohoe [Tue, 13 Sep 2011 00:19:04 +0000 (00:19 +0000)]
Revert r87992 and followups r87998, r89028 (Support abstraction for 'NOT IN' SQL structure). Per discussion on CR and elsewhere...we're not 100% sold on the new format yet.

Changing the database api like this should be carefully thought out before we get stuck with it for 6 more years and end up hating it.

12 years agoUse a username different from the main BlockTest.php, otherwise concurrency errors...
Krinkle [Mon, 12 Sep 2011 22:18:33 +0000 (22:18 +0000)]
Use a username different from the main BlockTest.php, otherwise concurrency errors occur (as seen on Jenkins builds)

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Mon, 12 Sep 2011 21:47:32 +0000 (21:47 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago* Some documentation
Robin Pepermans [Mon, 12 Sep 2011 21:26:08 +0000 (21:26 +0000)]
* Some documentation
* Use Title->isMainPage() in Article->view()

12 years agoUpdated r86144 code due to reverts in r96889 (specifically of Parser.php change in...
Aaron Schulz [Mon, 12 Sep 2011 21:15:09 +0000 (21:15 +0000)]
Updated r86144 code due to reverts in r96889 (specifically of Parser.php change in r86072)

12 years agoRemove unused variable and update code comment per r96888.
Robin Pepermans [Mon, 12 Sep 2011 20:08:23 +0000 (20:08 +0000)]
Remove unused variable and update code comment per r96888.

12 years agoReverted r86072, r86419 per CR. Lots of conflicts resolved here. Removes lineStart...
Aaron Schulz [Mon, 12 Sep 2011 19:16:22 +0000 (19:16 +0000)]
Reverted r86072, r86419 per CR. Lots of conflicts resolved here. Removes lineStart from r87346 code as well for preprocess parser tests.

12 years ago* (bug 30865) Fix regression breaking category pages when there's no local page content
Brion Vibber [Mon, 12 Sep 2011 19:09:51 +0000 (19:09 +0000)]
* (bug 30865) Fix regression breaking category pages when there's no local page content

Output in CategoryViewer::getHtml() was trying to close an outside div, then re-open another one (with different dir/lang settings). Switched it to instead open a child div with the desired properties, so there's no danger of surprise inconsistency.

12 years agoTurn ParserOptions::setSkin() into a no-op since mSkin is no more used
Alexandre Emsenhuber [Mon, 12 Sep 2011 16:29:21 +0000 (16:29 +0000)]
Turn ParserOptions::setSkin() into a no-op since mSkin is no more used

12 years agoAdd some documentation
Sam Reed [Mon, 12 Sep 2011 15:17:16 +0000 (15:17 +0000)]
Add some documentation

Swap $this->file->name for $this->file->getName()

12 years agoStart producing new style move log entries
Niklas Laxström [Mon, 12 Sep 2011 14:58:41 +0000 (14:58 +0000)]
Start producing new style move log entries

12 years agoMove RELEASE-NOTES from r96373 from RELEASE-NOTES-1.18 to RELEASE-NOTES-1.19 after...
Sam Reed [Mon, 12 Sep 2011 14:49:03 +0000 (14:49 +0000)]
Move RELEASE-NOTES from r96373 from RELEASE-NOTES-1.18 to RELEASE-NOTES-1.19 after it was merged in r96845

12 years agoAlready removed this support for very old move log entries from plain changes list...
Niklas Laxström [Mon, 12 Sep 2011 14:46:17 +0000 (14:46 +0000)]
Already removed this support for very old move log entries from plain changes list, now also from enhanced.

12 years ago* Move <small> styling from message to shared.css
Raimond Spekking [Mon, 12 Sep 2011 12:46:20 +0000 (12:46 +0000)]
* Move <small> styling from message to shared.css
* Wrap complete section into a div
* Wrap "Other resolutions:" into a span and remove it from printing. Useless on paper.
* Add plural to 'show-big-image-other'

12 years agoFollowup r94435: don't barf on jobs inserted before this revision that don't have...
Roan Kattouw [Mon, 12 Sep 2011 10:18:26 +0000 (10:18 +0000)]
Followup r94435: don't barf on jobs inserted before this revision that don't have a table param

12 years agoAdded visibility markers to some Linker methods
Alexandre Emsenhuber [Mon, 12 Sep 2011 09:25:00 +0000 (09:25 +0000)]
Added visibility markers to some Linker methods

12 years ago* (bug 30864) Use bengali numerals for <ol> for Assamese
Niklas Laxström [Mon, 12 Sep 2011 09:11:54 +0000 (09:11 +0000)]
* (bug 30864) Use bengali numerals for <ol> for Assamese

12 years ago* Use local context instead of global variables (where possible)
Alexandre Emsenhuber [Mon, 12 Sep 2011 08:49:14 +0000 (08:49 +0000)]
* Use local context instead of global variables (where possible)
* Made getFormFields() non-static since the only call to it is in that file

12 years ago(bug 28545) When using the uca-default collation, sortkey's starting with a
Brian Wolff [Mon, 12 Sep 2011 02:10:11 +0000 (02:10 +0000)]
(bug 28545) When using the uca-default collation, sortkey's starting with a
space (U+20) will now sort under an invisible header like in 1.16 rather than a U+6DE (ARABIC START OF RUB EL HIZB)

12 years agoSpecialSearch: add two hooks, one to modify the power search box, one to change the...
Robin Pepermans [Mon, 12 Sep 2011 01:39:11 +0000 (01:39 +0000)]
SpecialSearch: add two hooks, one to modify the power search box, one to change the message pointing to the page title searched for

WikimediaIncubator:
* use these hooks and SpecialSearchSetupEngine to improve search usability
* use a different message for the language code in preferences, per suggestion of Amir

12 years ago* r96737: set OutputPage->addWikiText() as an interface message by default
Robin Pepermans [Sun, 11 Sep 2011 21:07:17 +0000 (21:07 +0000)]
* r96737: set OutputPage->addWikiText() as an interface message by default
* r96760: use 'noflip' for $flip in OutputPage->addInlineStyle() so it's always a string
* Add some parameter documentation

12 years agoPass the context to the HTMLForm object
Alexandre Emsenhuber [Sun, 11 Sep 2011 20:44:08 +0000 (20:44 +0000)]
Pass the context to the HTMLForm object

12 years ago(follow-up r96765). Appearently my release notes for that revision were horrible ;)
Brian Wolff [Sun, 11 Sep 2011 20:37:22 +0000 (20:37 +0000)]
(follow-up r96765). Appearently my release notes for that revision were horrible ;)

12 years ago(follow-up r96767) Make {{DEFAULTSORT:..|noerror}} and noreplace i18n-izable.
Brian Wolff [Sun, 11 Sep 2011 20:32:58 +0000 (20:32 +0000)]
(follow-up r96767) Make {{DEFAULTSORT:..|noerror}} and noreplace i18n-izable.

Hopefully i did this right. I've never added a magic word before...