lhc/web/wiklou.git
10 years agoMerge "Revert "Limit searches at 500 per page""
jenkins-bot [Tue, 11 Feb 2014 18:05:05 +0000 (18:05 +0000)]
Merge "Revert "Limit searches at 500 per page""

10 years agoAPI: Fix PHP warning in action=parse help output
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

10 years agoMerge "Indicator for menuForceShow in skin vector"
jenkins-bot [Tue, 11 Feb 2014 14:52:08 +0000 (14:52 +0000)]
Merge "Indicator for menuForceShow in skin vector"

10 years agoMerge "Use current preference overriding for live preview"
jenkins-bot [Tue, 11 Feb 2014 14:44:26 +0000 (14:44 +0000)]
Merge "Use current preference overriding for live preview"

10 years agomediawiki.api.test: Use sinon sandbox for unit tests
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

10 years agoqunit: Add SinonJS utility
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

10 years agoMerge "Do not use OutputPage to output exceptions in Installer"
jenkins-bot [Tue, 11 Feb 2014 03:54:20 +0000 (03:54 +0000)]
Merge "Do not use OutputPage to output exceptions in Installer"

10 years agoRemove $wgMaintenanceScripts and friends
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

10 years agoRevert "Limit searches at 500 per page"
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

10 years agoMerge "Move clearing of $i down a bit in LoadBalancer"
jenkins-bot [Mon, 10 Feb 2014 22:59:07 +0000 (22:59 +0000)]
Merge "Move clearing of $i down a bit in LoadBalancer"

10 years agoMerge "Show the pool counter key and use English for the debug logging"
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"

10 years agoMove clearing of $i down a bit in LoadBalancer
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

10 years agoAvoid fatal error in LoadBalancer when all servers are busy
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

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 10 Feb 2014 20:42:35 +0000 (20:42 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I97bdb2a6d7351a1f60ad83d71e3ea18f38c40e54

10 years agoMerge "Revert "Only pass strings to mysqli::real_escape_string""
jenkins-bot [Mon, 10 Feb 2014 20:09:07 +0000 (20:09 +0000)]
Merge "Revert "Only pass strings to mysqli::real_escape_string""

10 years agoRevert "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

10 years agoMerge "Only pass strings to mysqli::real_escape_string"
jenkins-bot [Mon, 10 Feb 2014 19:17:47 +0000 (19:17 +0000)]
Merge "Only pass strings to mysqli::real_escape_string"

10 years agoOnly 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

10 years agoProvide language names on action=parse&prop=langlinks
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

10 years agoMessage has no translatable content -> ignore it
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

10 years agoMerge "Put line breaks after each element in OutputPage::headElement()"
jenkins-bot [Sun, 9 Feb 2014 21:12:59 +0000 (21:12 +0000)]
Merge "Put line breaks after each element in OutputPage::headElement()"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 9 Feb 2014 20:24:39 +0000 (20:24 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I219a9aac7442331fb06eae25f56d22b8a4a41cd2

10 years agoMerge "Use wfShellWikiCmd() for the shell command in cleanupSpam.php"
jenkins-bot [Sun, 9 Feb 2014 01:07:20 +0000 (01:07 +0000)]
Merge "Use wfShellWikiCmd() for the shell command in cleanupSpam.php"

10 years agoMerge "Vector: Restore page-fade.png as fallback background-image for IE 6-9"
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"

10 years agoUse wfShellWikiCmd() for the shell command in cleanupSpam.php
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

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 8 Feb 2014 21:18:51 +0000 (21:18 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I4ae3c68a9769c46b93136ad63dcf0fe884bb93bc

10 years agoMerge "Document parser cache key control."
jenkins-bot [Sat, 8 Feb 2014 19:40:57 +0000 (19:40 +0000)]
Merge "Document parser cache key control."

10 years agoDo not use OutputPage to output exceptions in Installer
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

10 years agoMerge "Drop dead code from all SVG source files"
jenkins-bot [Sat, 8 Feb 2014 13:04:14 +0000 (13:04 +0000)]
Merge "Drop dead code from all SVG source files"

10 years agoDrop 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

10 years agoMerge "Fix HTML output arround HTMLForm's submit buttons when in vform"
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"

10 years agoMerge "jquery.client: Recognise Amazon Silk browser"
jenkins-bot [Fri, 7 Feb 2014 22:07:08 +0000 (22:07 +0000)]
Merge "jquery.client: Recognise Amazon Silk browser"

10 years agoShow the pool counter key and use English for the debug logging
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

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 7 Feb 2014 21:46:02 +0000 (21:46 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation 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

10 years agoRemove outdated todo from Title::userCanRead
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

10 years agoMerge "Document SkinVectorStyleModules hook"
Jdlrobson [Fri, 7 Feb 2014 20:11:38 +0000 (20:11 +0000)]
Merge "Document SkinVectorStyleModules hook"

10 years agoAdd prop 'limitreportdata' and 'limitreporthtml' to action=parse
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

10 years agoMerge "Changed the password $valid check condition"
jenkins-bot [Fri, 7 Feb 2014 16:44:55 +0000 (16:44 +0000)]
Merge "Changed the password $valid check condition"

10 years agoAPI: update documentation and suppress warning when parsing summary
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

10 years agoVector: Restore page-fade.png as fallback background-image for IE 6-9
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

10 years agoMerge "GitInfo: Suppress some wrong warnings"
jenkins-bot [Fri, 7 Feb 2014 12:39:39 +0000 (12:39 +0000)]
Merge "GitInfo: Suppress some wrong warnings"

10 years agoAdded --wiki parameter to runJobs.php call
Aaron Schulz [Fri, 31 Jan 2014 22:39:29 +0000 (14:39 -0800)]
Added --wiki parameter to runJobs.php call

Change-Id: I8f729263397bedf1c293b14704798e7a4ec60581

10 years agojquery.client: Recognise Amazon Silk browser
Alex Monk [Mon, 3 Feb 2014 19:53:36 +0000 (19:53 +0000)]
jquery.client: Recognise Amazon Silk browser

Bug: 50777
Change-Id: I853e886188d5b87de429bff176a8967f45268e98

10 years agoGitInfo: Suppress some wrong warnings
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

10 years agoUsed DIRECTORY_SEPARATOR instead of '/' in GitInfo.php
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

10 years agoMerge "mediawiki.jqueryMsg: Add jsduck docs"
jenkins-bot [Fri, 7 Feb 2014 00:19:30 +0000 (00:19 +0000)]
Merge "mediawiki.jqueryMsg: Add jsduck docs"

10 years agomediawiki.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

10 years agoRemove stubiness from AuthPlugin
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

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 6 Feb 2014 20:45:45 +0000 (20:45 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I57623a929ef7cce482f476d6e2aa557d4a6f5c89

10 years agoMerge "Remove unused $entryPoint from Preferences::tryFormSubmit"
jenkins-bot [Thu, 6 Feb 2014 16:51:49 +0000 (16:51 +0000)]
Merge "Remove unused $entryPoint from Preferences::tryFormSubmit"

10 years agoMerge "ApiQuerySiteinfo: Add prop=restrictions for protection information"
jenkins-bot [Thu, 6 Feb 2014 16:26:51 +0000 (16:26 +0000)]
Merge "ApiQuerySiteinfo: Add prop=restrictions for protection information"

10 years agoApiQuerySiteinfo: 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

10 years agoMerge "API: Fix a bug to make list=allfileusages functional again"
jenkins-bot [Thu, 6 Feb 2014 15:46:15 +0000 (15:46 +0000)]
Merge "API: Fix a bug to make list=allfileusages functional again"

10 years agoAPI: 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

10 years agoMerge "Add SkinTemplateGetLanguageLink hook"
jenkins-bot [Thu, 6 Feb 2014 15:26:56 +0000 (15:26 +0000)]
Merge "Add SkinTemplateGetLanguageLink hook"

10 years agoPut line breaks after each element in OutputPage::headElement()
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

10 years agoMerge "mediawiki.util: Don't hardcode selectors in updateTooltipAccessKeys if possible"
jenkins-bot [Thu, 6 Feb 2014 13:44:12 +0000 (13:44 +0000)]
Merge "mediawiki.util: Don't hardcode selectors in updateTooltipAccessKeys if possible"

10 years agoDo not use jargon in comment.
Kartik Mistry [Thu, 6 Feb 2014 11:41:48 +0000 (17:11 +0530)]
Do not use jargon in comment.

 * luser -> user

Change-Id: Iab8033dea8f0cbf628563ca5434f3d939fe6b3df

10 years agoMerge "Add the ability to know if fullscreen is available"
jenkins-bot [Thu, 6 Feb 2014 11:24:50 +0000 (11:24 +0000)]
Merge "Add the ability to know if fullscreen is available"

10 years agoAdd 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

10 years agoMerge "Revert "Added some constants to speed up Setup.php""
jenkins-bot [Thu, 6 Feb 2014 09:10:39 +0000 (09:10 +0000)]
Merge "Revert "Added some constants to speed up Setup.php""

10 years agoRevert "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

10 years agoMerge "Update formatting"
jenkins-bot [Thu, 6 Feb 2014 08:33:51 +0000 (08:33 +0000)]
Merge "Update formatting"

10 years agoUpdate formatting
Siebrand Mazeland [Wed, 5 Feb 2014 11:02:29 +0000 (12:02 +0100)]
Update formatting

Change-Id: I18aff576262479c9bb1c56eb8e1d1aaae200e4b1

10 years agoMerge "Remove <em> from autoblocker message"
jenkins-bot [Thu, 6 Feb 2014 07:24:30 +0000 (07:24 +0000)]
Merge "Remove <em> from autoblocker message"

10 years agoRemove <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

10 years agojquery.client: Clean up cache key repetition and early return
Timo Tijhof [Thu, 6 Feb 2014 00:52:35 +0000 (16:52 -0800)]
jquery.client: Clean up cache key repetition and early return

* Avoid rebuilding the cache key 200 lines apart.
* Do an early return to outdent some of this.

Change-Id: Iaf0def912c3871f2fea29b8af16f4327b3537ed2

10 years agojquery.client: Include platform in the profile cache key
Timo Tijhof [Thu, 6 Feb 2014 00:45:07 +0000 (16:45 -0800)]
jquery.client: Include platform in the profile cache key

When different tests run a similar userAgent string but with
a different platform, it returns an inappropiate cache object

e.g.
 userAgent: Firefox
 platform: Linux x86_64
 -> { platform: 'linux' }
 userAgent: Firefox
 platform: MacIntel
 -> { platform: 'linux' }
 (instead of platform: 'mac' )

Change-Id: Iaf2a5711ace82cbd2b68486e9680c7a6bcb7f9da

10 years agoMerge "mediawiki.htmlform: Add jsduck docs"
jenkins-bot [Thu, 6 Feb 2014 00:08:29 +0000 (00:08 +0000)]
Merge "mediawiki.htmlform: Add jsduck docs"

10 years agomediawiki.htmlform: Add jsduck docs
Mark Holmquist [Wed, 5 Feb 2014 23:00:58 +0000 (15:00 -0800)]
mediawiki.htmlform: Add jsduck docs

Change-Id: Ic82e8d2e0309c7c05017d89bf8b03f2498adc1ab

10 years agoMerge "mediawiki.page.watch.ajax: Add jsduck documentation"
jenkins-bot [Wed, 5 Feb 2014 23:31:34 +0000 (23:31 +0000)]
Merge "mediawiki.page.watch.ajax: Add jsduck documentation"

10 years agoMerge "qunit: Preserve context in QUnit module environment override"
jenkins-bot [Wed, 5 Feb 2014 23:24:13 +0000 (23:24 +0000)]
Merge "qunit: Preserve context in QUnit module environment override"

10 years agoMerge "qunit: Move modules exclusively for $wgEnableJavaScriptTest to test registry"
jenkins-bot [Wed, 5 Feb 2014 23:22:18 +0000 (23:22 +0000)]
Merge "qunit: Move modules exclusively for $wgEnableJavaScriptTest to test registry"

10 years agomediawiki.page.watch.ajax: Add jsduck documentation
Timo Tijhof [Wed, 5 Feb 2014 23:21:28 +0000 (15:21 -0800)]
mediawiki.page.watch.ajax: Add jsduck documentation

Change-Id: I8658cb2b9c00410d260622f89730d47d1eb2cc28

10 years agoMerge "tipsy: using user class borks positioning of tip"
Trevor Parscal [Wed, 5 Feb 2014 22:47:11 +0000 (22:47 +0000)]
Merge "tipsy: using user class borks positioning of tip"

10 years agoShow range start and end in special page pagination
apexkid [Tue, 4 Feb 2014 21:27:16 +0000 (21:27 +0000)]
Show range start and end in special page pagination

Changes pagination message from "starting with #X" to
"in range #X to #Y" for special pages such as
Special:MostLinkedCategories

Bug: 11269
Change-Id: Ibf9191f3a694014ad02eba9a58c600833e8361ec

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 5 Feb 2014 21:36:48 +0000 (21:36 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie265f224e4d0e521670d892447842c60d7f57e61

10 years agoqunit: Preserve context in QUnit module environment override
Timo Tijhof [Wed, 5 Feb 2014 20:32:01 +0000 (12:32 -0800)]
qunit: Preserve context in QUnit module environment override

They were being called as properties of localEnv, which is a
shallow copy of the real one. When other callbacks add
properties to the object, they weren't visible in the local
"this" of the module teardown/setup.

Change-Id: I01e2031e1e2bfcedc7aa3480ce7d9915c8fff7f1

10 years agoqunit: Move modules exclusively for $wgEnableJavaScriptTest to test registry
Timo Tijhof [Wed, 5 Feb 2014 05:17:48 +0000 (21:17 -0800)]
qunit: Move modules exclusively for $wgEnableJavaScriptTest to test registry

These modules should only be loaded when $wgEnableJavaScriptTest
is true. Move these modules to the registry that is only activated
in that context and rename the modules to be namespaced under 'test.'
so that there is no mistake when referencing these that they are
not regularly available.

Change-Id: I21e69f50b006904b12fe9f79c196c903ebff4661

10 years agoAdd SkinTemplateGetLanguageLink hook
Bene [Mon, 3 Feb 2014 20:58:53 +0000 (21:58 +0100)]
Add SkinTemplateGetLanguageLink hook

Added SkinTemplateGetLanguageLink hook to allow changing the html of
language links. This is needed by the Wikibase extension to display badges
of sitelinks.

Bug: 60717
Change-Id: I223bf7a7bb0d13942a81b1766acbee62e080348d

10 years agoMerge "Merged redis queue periodic tasks into recyclePruneAndUndelayJobs()"
jenkins-bot [Wed, 5 Feb 2014 19:26:53 +0000 (19:26 +0000)]
Merge "Merged redis queue periodic tasks into recyclePruneAndUndelayJobs()"

10 years agoMerge "Vector: text-indent workaround for Firefox 27 bug"
jenkins-bot [Wed, 5 Feb 2014 19:02:26 +0000 (19:02 +0000)]
Merge "Vector: text-indent workaround for Firefox 27 bug"

10 years agoMerge "http://www.mediawiki.org --> https://www.mediawiki.org"
jenkins-bot [Wed, 5 Feb 2014 18:06:41 +0000 (18:06 +0000)]
Merge "mediawiki.org --> https://www.mediawiki.org"

10 years agoVector: text-indent workaround for Firefox 27 bug
Bartosz Dziewoński [Wed, 5 Feb 2014 18:00:29 +0000 (19:00 +0100)]
Vector: text-indent workaround for Firefox 27 bug

Bug: 60900
Change-Id: I751a603d5886f72b8fbd8211564cedc424ea8d82

10 years agoMerge "Don't offer create link for searches with syntax"
jenkins-bot [Wed, 5 Feb 2014 17:59:14 +0000 (17:59 +0000)]
Merge "Don't offer create link for searches with syntax"

10 years agoMerge "Correct proportions in SVG search icon"
jenkins-bot [Wed, 5 Feb 2014 17:44:37 +0000 (17:44 +0000)]
Merge "Correct proportions in SVG search icon"

10 years agoMerge "Fix CodeSniffer errors and warnings"
jenkins-bot [Wed, 5 Feb 2014 17:43:48 +0000 (17:43 +0000)]
Merge "Fix CodeSniffer errors and warnings"

10 years agoMerge "Vector: Fix padding values of div#content"
jenkins-bot [Wed, 5 Feb 2014 17:19:27 +0000 (17:19 +0000)]
Merge "Vector: Fix padding values of div#content"

10 years agoVector: Fix padding values of div#content
Liangent [Wed, 5 Feb 2014 15:21:54 +0000 (15:21 +0000)]
Vector: Fix padding values of div#content

New values were taken from tree as of 73cb0b10.

Bug: 57401
Change-Id: I9633a6f5f8b77fe7ac98eba2afd3488219946bdd

10 years agoMerged redis queue periodic tasks into recyclePruneAndUndelayJobs()
Aaron Schulz [Sun, 29 Dec 2013 21:17:35 +0000 (13:17 -0800)]
Merged redis queue periodic tasks into recyclePruneAndUndelayJobs()

* This avoids a few extra round trips for queues with delayed jobs

Change-Id: I457512360a445c234cfeba7a716eedeb37273467

10 years agoFix CodeSniffer errors and warnings
Siebrand Mazeland [Wed, 5 Feb 2014 10:20:17 +0000 (11:20 +0100)]
Fix CodeSniffer errors and warnings

Change-Id: Idc74e34634d88625773fb8f73315f61edfa67e28

10 years agoMade UpdateSpecialPages support --list/--only with the callback updates
Aaron Schulz [Thu, 30 Jan 2014 17:47:21 +0000 (09:47 -0800)]
Made UpdateSpecialPages support --list/--only with the callback updates

* Fixed some timing output calls

Change-Id: I7bbb9123def51c703c1b77bbd946316c6a264d0f

10 years agoCorrect proportions in SVG search icon
Kevin Israel [Wed, 5 Feb 2014 00:09:23 +0000 (19:09 -0500)]
Correct proportions in SVG search icon

Compared to that from the PNG icon, the lens of the magnifying glass
was a bit too big.

Follows-up db6764e56c5f.

Change-Id: I4c5037c3726f0a131cbb545c3c493125a691232a

10 years agoCode, style, and doc fixes for benchmarkParse.php
Tyler Anthony Romeo [Wed, 5 Feb 2014 02:35:48 +0000 (21:35 -0500)]
Code, style, and doc fixes for benchmarkParse.php

Fixes database query semantics, various documentation
issues, and unused variables.

Change-Id: Ic2c2d4d3912a9cd6703f7690f9d08df8ea08cd5c
Follows-up: I3bf3366a5ff58942 (dfd481e113f2cf5aaa)

10 years agoMaintenance script for benchmarking parse operations
Tim Starling [Wed, 18 Dec 2013 23:44:54 +0000 (10:44 +1100)]
Maintenance script for benchmarking parse operations

Including a feature allowing templates from some other time to be used,
which allows comparative benchmarking before and after the migration of
a template to Lua.

Change-Id: I3bf3366a5ff589421f6c52e9186e0cea05e6cff3

10 years agoFixed use of qcc_value by Special:ActiveUsers
Aaron Schulz [Tue, 4 Feb 2014 21:50:51 +0000 (13:50 -0800)]
Fixed use of qcc_value by Special:ActiveUsers

* This should just be a UNIX timestamp.

Change-Id: I5197986a448dba957358a4575273794b8ac6361d

10 years agoRemove trailing line breaks from wfDebugLog() messages
Alexandre Emsenhuber [Tue, 4 Feb 2014 21:16:13 +0000 (22:16 +0100)]
Remove trailing line breaks from wfDebugLog() messages

This is useless since the message is passed through trim() and a
line break is added afterwards.

Change-Id: I1a26b30a07f7c9c749fce5bb6b2b4b3d79901b7c

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 4 Feb 2014 21:12:54 +0000 (21:12 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 4 Feb 2014 21:10:10 +0000 (21:10 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I7495920a69bfa9f42b9021543ba7d98a03dd5911