Alexandre Emsenhuber [Thu, 13 Feb 2014 17:50:50 +0000 (18:50 +0100)]
Explicitely return null from WikiPage::newFromID()
Follow-up I8943b4dec5 (
d7f465f).
To match the documentation.
Change-Id: I7b960704d6b3a83e389ece182bf94142341ea88c
jenkins-bot [Thu, 13 Feb 2014 16:24:26 +0000 (16:24 +0000)]
Merge "Vector: Consistently use lowercase in #rrggbb colors"
jenkins-bot [Thu, 13 Feb 2014 16:24:25 +0000 (16:24 +0000)]
Merge "Vector: Remove misleading comment"
jenkins-bot [Thu, 13 Feb 2014 00:47:16 +0000 (00:47 +0000)]
Merge "Actually make Parser::pstPass2() private"
jenkins-bot [Thu, 13 Feb 2014 00:33:31 +0000 (00:33 +0000)]
Merge "Return early when page id is less than 1"
jenkins-bot [Thu, 13 Feb 2014 00:33:30 +0000 (00:33 +0000)]
Merge "Remove undocumented and unused searchx parameter"
jenkins-bot [Thu, 13 Feb 2014 00:32:32 +0000 (00:32 +0000)]
Merge "Added some lock()/unlock() support for SQLite using lock file emulation"
Aaron Schulz [Tue, 14 Jan 2014 19:36:26 +0000 (11:36 -0800)]
Limit attempts to render the same thumbnail after failures
bug: 49118
Change-Id: I9379ec445bf2e77bd3b085c00182c5e406ed300d
James D. Forrester [Wed, 12 Feb 2014 21:53:25 +0000 (13:53 -0800)]
Update OOjs UI to
c0f5658
e5ecea2 Refactor labels and titles to be consistent
53ec329 Fix indicator vs icon typo in IconedElement
dc93c91 Fix positioning in TextInputMenuWidget
c0f5658 Localisation updates from https://translatewiki.net.
Change-Id: Idb2f1b4929f4afc417054221a243134fee6ae017
Translation updater bot [Wed, 12 Feb 2014 21:38:51 +0000 (21:38 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 12 Feb 2014 21:29:59 +0000 (21:29 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib0b47d701a358e314f802fa6163966f3618c6863
Mark Holmquist [Wed, 12 Feb 2014 21:21:01 +0000 (13:21 -0800)]
Add external things to the JSDuck config
oojs-ui relies on these, so the MW doc publish will be broken until we
merge this change.
Change-Id: Ib724b6e937e09749928317b8d56c286bb2d1f7f9
James D. Forrester [Thu, 16 Jan 2014 23:43:24 +0000 (15:43 -0800)]
Add OOjs UI v0.1.0-pre (
3b61a8d77c) to MW core
Just adding code for now, not actually used for anything in core yet.
Note that OOjs and OOjs UI do not work in older browsers, and will
actually cause JS errors when loaded in browsers that don't support
ES5. We'll resolve this by adding an ES5 shim later.
Bug: 56572
Change-Id: I0736601e04a15c84d2ac1994febbf1a17bc1399a
jenkins-bot [Wed, 12 Feb 2014 15:23:59 +0000 (15:23 +0000)]
Merge "New hook MessageCache::get"
umherirrender [Tue, 11 Feb 2014 19:04:32 +0000 (20:04 +0100)]
Add llprop=langname and llprop=autonym for action=query&prop=langlinks
This can helps the client to build a language html.
Change-Id: I54c66c8935b0dbbf3bf8e292236119597f1cbe41
Aaron Schulz [Wed, 18 Dec 2013 00:55:09 +0000 (16:55 -0800)]
Added simpler handleError() method in RedisConnectionPool
* Callers should not need to give $server since it is stored in RedisConnRef
Change-Id: I902d984d6a7f19dd0d8c71ee374cbed359de378e
Aaron Schulz [Wed, 12 Feb 2014 06:38:06 +0000 (22:38 -0800)]
Reduce the amount of Swift auth cache keys used on wiki farms
Change-Id: Ic0a2f744d5d94bfb22286a19be3de0c37ecdf519
Aaron Schulz [Wed, 12 Feb 2014 06:13:17 +0000 (22:13 -0800)]
Fixed broken auth caching for Swift
* A set() call was missing since
2af7ad8
Change-Id: I62b277e886c7ce6142a4d20f705b8337c3e4be58
Kunal Mehta [Wed, 12 Feb 2014 05:44:34 +0000 (21:44 -0800)]
Only call ->clearInstanceCache() if $targetUser instanceof User
Bug: 61252
Change-Id: Ibb79ca9a27e50b58fdd5dd541e243054fb095753
Aaron Schulz [Wed, 29 Jan 2014 22:44:54 +0000 (14:44 -0800)]
MultiHttpClient tweaks
* Reference handling cleanup for loops in MultiHttpClient
* Support a slightly more convenient request array format for MultiHttpClient
* Added missing license header to MultiHttpClient
Change-Id: I0a2eef02c06d9c900c4a1ae1b0eeb292755d6cd9
Aaron Schulz [Fri, 17 Jan 2014 21:38:49 +0000 (13:38 -0800)]
Simplified Swift backend to use maxConns flag in MultiHttpClient
Change-Id: Iee3756a490243511be86676c01d0a47940529e0b
jenkins-bot [Tue, 11 Feb 2014 21:53:38 +0000 (21:53 +0000)]
Merge "Cleanups to LoadMonitor"
jenkins-bot [Tue, 11 Feb 2014 20:57:09 +0000 (20:57 +0000)]
Merge "Added pipelining and max connection support to MultiHttpClient"
Translation updater bot [Tue, 11 Feb 2014 19:51:19 +0000 (19:51 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie1af90b203186077bf9675749c1a4f8ac979861b
jenkins-bot [Tue, 11 Feb 2014 18:47:52 +0000 (18:47 +0000)]
Merge "Deprecate llurl= in favour of llprop=url for action=query&prop=langlinks"
umherirrender [Tue, 11 Feb 2014 18:29:10 +0000 (19:29 +0100)]
Deprecate llurl= in favour of llprop=url for action=query&prop=langlinks
New props will be added with I54c66c8935b0dbbf3bf8e292236119597f1cbe41
Change-Id: I1340b18b51bccdfaaddec6a16df320d5f6e5acfa
Chad Horohoe [Tue, 11 Feb 2014 02:19:29 +0000 (18:19 -0800)]
Remove undocumented and unused searchx parameter
It dates from early implementations of Special:Search but is
no longer used by anything anymore.
Change-Id: Ib6ed378242558aa332e453357510932310546f8b
jenkins-bot [Tue, 11 Feb 2014 18:05:05 +0000 (18:05 +0000)]
Merge "Revert "Limit searches at 500 per page""
Brad Jorsch [Tue, 11 Feb 2014 15:34:27 +0000 (10:34 -0500)]
API: Fix PHP warning in action=parse help output
Change I0f41c837 removed a variable while it was still in use.
Bug: 61210
Change-Id: I91ad2e374a85e149303c6e8da7c3d94c1285a72a
Bartosz Dziewoński [Tue, 11 Feb 2014 15:07:06 +0000 (16:07 +0100)]
Vector: Consistently use lowercase in #rrggbb colors
Change-Id: I174781b199260790d18aac2a6c270282396f2812
Bartosz Dziewoński [Tue, 11 Feb 2014 15:06:17 +0000 (16:06 +0100)]
Vector: Remove misleading comment
What it says it's true, but it's now abstracted away in the mixin.
Change-Id: If4761b5b9c2153553cc293d7ecf4fdd5a28c47da
jenkins-bot [Tue, 11 Feb 2014 14:52:08 +0000 (14:52 +0000)]
Merge "Indicator for menuForceShow in skin vector"
jenkins-bot [Tue, 11 Feb 2014 14:44:26 +0000 (14:44 +0000)]
Merge "Use current preference overriding for live preview"
Timo Tijhof [Wed, 5 Feb 2014 20:52:56 +0000 (12:52 -0800)]
mediawiki.api.test: Use sinon sandbox for unit tests
Make the unit tests faster and more standalone:
* Don't make a request to the actual API, instead provide the
response via the fake server and purely test the mw.Api interface.
* No need for promise aggregration since the process is now
synchronous.
* No arbitrary delays for async or animations etc. as sinon
artificially fast-forwards setTimeout, Date and others for us.
Also:
* Move assertion for API error handling to separate test.
Change-Id: I20b17f256bc5114c6c2c3185653973076c15bc02
Timo Tijhof [Wed, 5 Feb 2014 05:18:28 +0000 (21:18 -0800)]
qunit: Add SinonJS utility
To be used in mediawiki.api tests and elsewhere.
For now they are opt-in and disabled by default,
individual tests can enable fake timers, servers and/or
xhrs by calling this.sandbox to access the dedicated
sinon sandbox for that test.
Clock example:
QUnit.test( 'example', function ( assert ) {
var clock = this.sandbox.useFakeTimers();
setTimeout( function () {
assert.ok( true, 'test' );
} );
clock.tick(1);
} );
Server example:
QUnit.test( 'example', function ( assert ) {
this.server = this.sandbox.useFakeServer();
new mw.Api().getToken( 'foo' ).done( function ( token ) {
assert.equal( token, '
0123abc', 'Token' );
} );
// assert.equal( this.server.requests.length, 1, 'Requests' );
this.server.respond( function ( request ) {
request.respond( 200, { 'Content-Type': 'application/json' },
'{ "tokens": { "testactiontoken": "
0123abc" } }'
);
} );
} );
Change-Id: I789fb71903f26dbbfe781f010dc5cd3756759943
Aaron Schulz [Tue, 11 Feb 2014 03:03:05 +0000 (19:03 -0800)]
Cleanups to LoadMonitor
* Use ProfileSection
* Removed redundant doc blocks
* Added method visibility
Change-Id: I76cd666c28b8bea7d5997a9f2b7d1c39539f7c5e
Chad Horohoe [Tue, 11 Feb 2014 05:52:01 +0000 (21:52 -0800)]
Return early when page id is less than 1
Wasteful DB query when we know the page won't exist.
Bug: 61166
Change-Id: I8943b4dec5088dadffefbd74f54653cb09043b7c
jenkins-bot [Tue, 11 Feb 2014 03:54:20 +0000 (03:54 +0000)]
Merge "Do not use OutputPage to output exceptions in Installer"
Chad Horohoe [Tue, 11 Feb 2014 01:59:47 +0000 (17:59 -0800)]
Remove $wgMaintenanceScripts and friends
Nothing ever used it--and rightly so--as it's completely useless.
Change-Id: I2746500c8156cc4e7834f2b811581144a35cb6e0
Aaron Schulz [Fri, 17 Jan 2014 21:32:46 +0000 (13:32 -0800)]
Added pipelining and max connection support to MultiHttpClient
* Also added timeout options to the run()/runMulti() methods
Change-Id: I2b080567e17fa29804c36e3b259b1ce214e6f465
Chad [Tue, 11 Feb 2014 01:03:45 +0000 (01:03 +0000)]
Revert "Limit searches at 500 per page"
People seem to like large slow search pages.
This reverts commit
42d4f35696852b2d72089dce86034792fdf4de8e.
Change-Id: I52ee602a81c1b6ec4e124008806271b0c74c581c
jenkins-bot [Mon, 10 Feb 2014 22:59:07 +0000 (22:59 +0000)]
Merge "Move clearing of $i down a bit in LoadBalancer"
jenkins-bot [Mon, 10 Feb 2014 22:53:15 +0000 (22:53 +0000)]
Merge "Show the pool counter key and use English for the debug logging"
Aaron Schulz [Mon, 10 Feb 2014 22:50:08 +0000 (14:50 -0800)]
Move clearing of $i down a bit in LoadBalancer
* Fixes
56b22fbea8cdd6fcd31c94e6b4bb01be49fa9683
Change-Id: I6b99d93562743270dbb65c60facdd503f470ab14
Aaron Schulz [Mon, 10 Feb 2014 22:37:42 +0000 (14:37 -0800)]
Avoid fatal error in LoadBalancer when all servers are busy
* Fixes bug from
b3c9653
Change-Id: Ida22f0ee3e97f98e4a1de6f7260a9a9f8aa08a39
Translation updater bot [Mon, 10 Feb 2014 20:42:35 +0000 (20:42 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I97bdb2a6d7351a1f60ad83d71e3ea18f38c40e54
jenkins-bot [Mon, 10 Feb 2014 20:09:07 +0000 (20:09 +0000)]
Merge "Revert "Only pass strings to mysqli::real_escape_string""
Chad [Mon, 10 Feb 2014 19:58:22 +0000 (19:58 +0000)]
Revert "Only pass strings to mysqli::real_escape_string"
hhvm already has a patch in master for fixing this, making the workaround unnecessary
This reverts commit
de808f57a90c9c6f7bc4dbc4e4b544a07e0daa0f.
Change-Id: I504e5bd5025ec12430ce670e05da0158b06822c9
jenkins-bot [Mon, 10 Feb 2014 19:17:47 +0000 (19:17 +0000)]
Merge "Only pass strings to mysqli::real_escape_string"
Erik Bernhardson [Mon, 10 Feb 2014 19:03:10 +0000 (11:03 -0800)]
Only pass strings to mysqli::real_escape_string
HHVM will throw a fatal error when passing integer and other non-string
values to mysqli::real_escape_string. A bug has been filed against
hhvm as https://github.com/facebook/hhvm/issues/1782.
Change-Id: I80eccbe8d872e74b8efc9b8c8f37ebce756bdcee
Niklas Laxström [Thu, 28 Nov 2013 09:43:00 +0000 (09:43 +0000)]
New hook MessageCache::get
Example usage:
$wgHooks['MessageCache::get'][] = function( &$key ) {
static $keys = null;
if ( $keys === null ) {
global $wgExtensionMessagesFiles;
require( $wgExtensionMessagesFiles['OverrideMessages'] );
$keys = array_flip( array_keys( $messages['en'] ) );
}
if ( isset( $keys["myprefix-$key"] ) ) {
$key = "myprefix-$key";
}
return true;
}
Pros:
* Easy way to override standard core and extension messages without
any changes to them
* Messages can be stored in a standard i18n file
* Messages can be translated easily with Translate
* Messages can be shared accross multiple wikis easily
* Takes advantage of the normal message cache behavior unlike the
MessagePreLoad hook
* Missing translations fallback to the override, not to the
uncustomized standard translation
* Do not need to handle conflicting message keys at translatewiki.net
if adopted by WMF
Cons:
* This method is called often, so there will be small performance
impact if no hooks are registered. Impact can be big if the
implementation of hook subscriber is inefficient.
This can help with bugs like 36149. It doesn't remove the manual work
needed to detect those messages and adding them to the i18n file.
I have been using this patch in a wiki farm for months.
Change-Id: Ib39937a440e71ae7292cf992ab37a569189741e4
umherirrender [Sun, 9 Feb 2014 12:31:15 +0000 (13:31 +0100)]
Provide language names on action=parse&prop=langlinks
This can helps the client to build a language html.
Bug: 58627
Change-Id: Iaa475cbe7b0268ee86e40ec0fa42bbe51bba02c9
raymond [Mon, 10 Feb 2014 15:41:27 +0000 (16:41 +0100)]
Message has no translatable content -> ignore it
Spotted by सिद्धार्थ घई
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Createaccount-hook-aborted/en
Change-Id: Ie80ff03902adce9f8db01908c1d6c7b71b4def52
jenkins-bot [Sun, 9 Feb 2014 21:12:59 +0000 (21:12 +0000)]
Merge "Put line breaks after each element in OutputPage::headElement()"
Translation updater bot [Sun, 9 Feb 2014 20:24:39 +0000 (20:24 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I219a9aac7442331fb06eae25f56d22b8a4a41cd2
jenkins-bot [Sun, 9 Feb 2014 01:07:20 +0000 (01:07 +0000)]
Merge "Use wfShellWikiCmd() for the shell command in cleanupSpam.php"
jenkins-bot [Sat, 8 Feb 2014 22:03:53 +0000 (22:03 +0000)]
Merge "Vector: Restore page-fade.png as fallback background-image for IE 6-9"
Alexandre Emsenhuber [Sat, 8 Feb 2014 21:53:50 +0000 (22:53 +0100)]
Use wfShellWikiCmd() for the shell command in cleanupSpam.php
Change-Id: Id2c1dc9b313e1d833154a68a8eafa1e675d3b65c
Translation updater bot [Sat, 8 Feb 2014 21:18:51 +0000 (21:18 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I4ae3c68a9769c46b93136ad63dcf0fe884bb93bc
jenkins-bot [Sat, 8 Feb 2014 19:40:57 +0000 (19:40 +0000)]
Merge "Document parser cache key control."
Brian Wolff [Sat, 8 Feb 2014 19:03:50 +0000 (15:03 -0400)]
Do not use OutputPage to output exceptions in Installer
Things don't seem entirely set up correctly with $wgOut's
title object, causing fatals. Seems easier just to output
the exceptions raw.
Bug: 61092
Change-Id: Ifbbe18accdd6abd93365ac041a7f708067d0cf02
jenkins-bot [Sat, 8 Feb 2014 13:04:14 +0000 (13:04 +0000)]
Merge "Drop dead code from all SVG source files"
Thiemo Mättig [Fri, 7 Feb 2014 09:01:48 +0000 (10:01 +0100)]
Drop dead code from all SVG source files
This matters because these files are actually used as data URI encoded
background images in the CSS.
I did two pretty simple steps:
1. Open each file in Inkscape and save as "normal" SVG. This gets rid
of most optional stuff but keeps the license information.
2. Open each file in an text/XML editor and delete all unused
gradients, def sections (if empty) and the Inkscape comment.
I know there are a million ways to do much more agressive compression.
Take this as a first step that - for sure - doesn't break anything.
Bug: 59744
Change-Id: I1bcb2875fe35ca20ee3ad3c648961d4b1c58c0d2
jenkins-bot [Sat, 8 Feb 2014 03:25:09 +0000 (03:25 +0000)]
Merge "Fix HTML output arround HTMLForm's submit buttons when in vform"
jenkins-bot [Fri, 7 Feb 2014 22:07:08 +0000 (22:07 +0000)]
Merge "jquery.client: Recognise Amazon Silk browser"
Aaron Schulz [Fri, 7 Feb 2014 22:03:59 +0000 (14:03 -0800)]
Show the pool counter key and use English for the debug logging
Change-Id: I69c3ece80dd59ad8dbd4fc4e1cf2d6491d135fb7
Translation updater bot [Fri, 7 Feb 2014 21:46:02 +0000 (21:46 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 7 Feb 2014 21:45:36 +0000 (21:45 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I1e1c0a4e200f61d003e2fcb221d9e51f47a75afd
umherirrender [Fri, 7 Feb 2014 21:24:46 +0000 (22:24 +0100)]
Remove outdated todo from Title::userCanRead
Was already done with r102187
Change-Id: Iceaceca7cfbd272f7d218c3ad2b9860b746dcac0
Jdlrobson [Fri, 7 Feb 2014 20:11:38 +0000 (20:11 +0000)]
Merge "Document SkinVectorStyleModules hook"
umherirrender [Tue, 4 Feb 2014 19:16:59 +0000 (20:16 +0100)]
Add prop 'limitreportdata' and 'limitreporthtml' to action=parse
This allows the get the limit report in provided uselang and not only
the english version out of the parsed html.
Change-Id: I2efc606623190756f5c993f48ef29bb0d384a95b
jenkins-bot [Fri, 7 Feb 2014 16:44:55 +0000 (16:44 +0000)]
Merge "Changed the password $valid check condition"
Sorawee Porncharoenwase [Sun, 19 Jan 2014 05:58:45 +0000 (12:58 +0700)]
API: update documentation and suppress warning when parsing summary
The documentation states that if contentmodel and title are not given,
but text exists, "wikitext" will be the default model. However, the
actual code will show a warning if do so. This patch fixes the inconsistence
by removing some parts of the documentation which encourages giving
only text as the parameter and corrects the example. The patch
also suppresses the warning that contentmodel must be given when
summary parameter is given.
bug: 60192
Change-Id: I0f41c83763fbb5551aa3ceaff59c1f8fe38310be
Erwin Dokter [Fri, 7 Feb 2014 14:18:27 +0000 (14:18 +0000)]
Vector: Restore page-fade.png as fallback background-image for IE 6-9
Also corrects linear-gradient stop for main background from 40% to 50%
to match page-fade.png previously used.
Bug: 60991
Bug: 60943
Change-Id: I5cab42ee67bc1bb7dff01a7e51a2f609c96e0b18
jenkins-bot [Fri, 7 Feb 2014 12:39:39 +0000 (12:39 +0000)]
Merge "GitInfo: Suppress some wrong warnings"
Aaron Schulz [Fri, 31 Jan 2014 22:39:29 +0000 (14:39 -0800)]
Added --wiki parameter to runJobs.php call
Change-Id: I8f729263397bedf1c293b14704798e7a4ec60581
Alex Monk [Mon, 3 Feb 2014 19:53:36 +0000 (19:53 +0000)]
jquery.client: Recognise Amazon Silk browser
Bug: 50777
Change-Id: I853e886188d5b87de429bff176a8967f45268e98
Kunal Mehta [Fri, 7 Feb 2014 02:38:25 +0000 (18:38 -0800)]
GitInfo: Suppress some wrong warnings
It's possible to have a ')' in a .git/config file, but
parse_ini_file will claim that's invalid and display a warning.
Also prevent another warning from occurring if the parse_ini_file
failed and $configArray is null.
Change-Id: Iba54220be266cb885e83cddfa6c8e9782aa77d01
tonythomas01 [Thu, 6 Feb 2014 12:18:55 +0000 (17:48 +0530)]
Used DIRECTORY_SEPARATOR instead of '/' in GitInfo.php
Bug: 46482
Change-Id: If473bf60971b4c1a8c6a657d4cd7dd5a0bad659f
jenkins-bot [Fri, 7 Feb 2014 00:19:30 +0000 (00:19 +0000)]
Merge "mediawiki.jqueryMsg: Add jsduck docs"
Mark Holmquist [Thu, 6 Feb 2014 00:48:06 +0000 (16:48 -0800)]
mediawiki.jqueryMsg: Add jsduck docs
Change-Id: I33847781aab21b5a5bf622029cbd3bfb075ab0db
Chad Horohoe [Fri, 31 Jan 2014 16:34:21 +0000 (08:34 -0800)]
Remove stubiness from AuthPlugin
The point of stubs is to delay loading tons of code as late as
possible. AuthPlugin is about the same size as StubObject, so
we're not really saving anything.
Change-Id: Icb36e47a8e9ff9f0f60ac1a8f1698102a1aa2366
Translation updater bot [Thu, 6 Feb 2014 20:45:45 +0000 (20:45 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I57623a929ef7cce482f476d6e2aa557d4a6f5c89
jenkins-bot [Thu, 6 Feb 2014 16:51:49 +0000 (16:51 +0000)]
Merge "Remove unused $entryPoint from Preferences::tryFormSubmit"
jenkins-bot [Thu, 6 Feb 2014 16:26:51 +0000 (16:26 +0000)]
Merge "ApiQuerySiteinfo: Add prop=restrictions for protection information"
Bartosz Dziewoński [Thu, 6 Feb 2014 15:30:00 +0000 (16:30 +0100)]
ApiQuerySiteinfo: Add prop=restrictions for protection information
As pointed out on VPT, we previously had no way to find out about these.
This just dumps the raw config variables for now. They are documented
in DefaultSettings as having some magic applied to them when used,
maybe we should apply this magic here too, or in Setup.php?
https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=
594218538#API_query_to_list_available_protection_levels_for_a_wiki.3F
Change-Id: I4c1303f2a6fe6b60b44e960cc1253c555fc658dc
jenkins-bot [Thu, 6 Feb 2014 15:46:15 +0000 (15:46 +0000)]
Merge "API: Fix a bug to make list=allfileusages functional again"
Sorawee Porncharoenwase [Thu, 6 Feb 2014 06:36:21 +0000 (13:36 +0700)]
API: Fix a bug to make list=allfileusages functional again
Querying list=allfileusages with affrom, afto, or afunique
will always get afinvalidtitle because the code passes the namespace
wrongly due to gerrit Iaa5a71ec. This patch fixes the problem.
Change-Id: I010dc3a03be74f49902fd446e7dbc306c16b869c
jenkins-bot [Thu, 6 Feb 2014 15:26:56 +0000 (15:26 +0000)]
Merge "Add SkinTemplateGetLanguageLink hook"
Alexandre Emsenhuber [Thu, 6 Feb 2014 14:15:42 +0000 (15:15 +0100)]
Put line breaks after each element in OutputPage::headElement()
Change-Id: I4e7715a354e9d599fb2c77c09ac72a55462aaa5d
jenkins-bot [Thu, 6 Feb 2014 13:44:12 +0000 (13:44 +0000)]
Merge "mediawiki.util: Don't hardcode selectors in updateTooltipAccessKeys if possible"
Kartik Mistry [Thu, 6 Feb 2014 11:41:48 +0000 (17:11 +0530)]
Do not use jargon in comment.
* luser -> user
Change-Id: Iab8033dea8f0cbf628563ca5434f3d939fe6b3df
jenkins-bot [Thu, 6 Feb 2014 11:24:50 +0000 (11:24 +0000)]
Merge "Add the ability to know if fullscreen is available"
Gilles Dubuc [Fri, 31 Jan 2014 09:48:57 +0000 (10:48 +0100)]
Add the ability to know if fullscreen is available
Not all browsers support fullscreen and for mmv
we need to display/hide the fullscreen button accordingly
Change-Id: I693477dfcadd168ae5930691750b709444eda644
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/152
Github: https://github.com/theopolisme/jquery-fullscreen/pull/6
jenkins-bot [Thu, 6 Feb 2014 09:10:39 +0000 (09:10 +0000)]
Merge "Revert "Added some constants to speed up Setup.php""
Hashar [Thu, 6 Feb 2014 09:04:46 +0000 (09:04 +0000)]
Revert "Added some constants to speed up Setup.php"
This patch causes php maintenance/getConfiguration.php to die with a fatal
error:
Fatal error: Call to a member function isItemLoaded() on a non-object
in includes/GlobalFunctions.php on line 1268
Call Stack:
1. {main}() maintenance/getConfiguration.php:0
2. require_once('maintenance/doMaintenance.php')
maintenance/getConfiguration.php:196
3. wfLogProfilingData() maintenance/doMaintenance.php:116
When calling wfLogProfilingData() the $wgUser is undefined which causes the
fatal at:
if ( $wgUser->isItemLoaded( 'id' ) && $wgUser->isAnon() ) {
$forward .= ' anon';
}
This reverts commit
2c9de255f71501b749c2b700d0da6fc911358b62.
Change-Id: I093d8fbe2c08875808868d449a90b620cc6c94a6
jenkins-bot [Thu, 6 Feb 2014 08:33:51 +0000 (08:33 +0000)]
Merge "Update formatting"
Siebrand Mazeland [Wed, 5 Feb 2014 11:02:29 +0000 (12:02 +0100)]
Update formatting
Change-Id: I18aff576262479c9bb1c56eb8e1d1aaae200e4b1
jenkins-bot [Thu, 6 Feb 2014 07:24:30 +0000 (07:24 +0000)]
Merge "Remove <em> from autoblocker message"
This, that and the other [Thu, 6 Feb 2014 02:02:45 +0000 (13:02 +1100)]
Remove <em> from autoblocker message
It doesn't work (the limited parser used for edit/block summaries doesn't
understand <em>) and it is not necessary (things shouldn't be both in
quotes and italics, one of these choices is enough).
Follow-up to If84e78e413fd042ef9451c68df2321fd52a35c79.
Change-Id: I505a486624f1891fb8b708862692637d4ec42db8