lhc/web/wiklou.git
8 years agoMerge "Use HTMLForm for Special:LinkSerach"
jenkins-bot [Thu, 7 May 2015 01:25:01 +0000 (01:25 +0000)]
Merge "Use HTMLForm for Special:LinkSerach"

8 years agoReduce chunk size in doBatchPush for redis
Aaron Schulz [Thu, 7 May 2015 01:24:34 +0000 (18:24 -0700)]
Reduce chunk size in doBatchPush for redis

Change-Id: I2c66b6b69535ce2089c1fab2df962f4ebca9f62f

8 years agoRemoved useless doGetPeriodicTasks() override
Aaron Schulz [Thu, 7 May 2015 00:49:40 +0000 (17:49 -0700)]
Removed useless doGetPeriodicTasks() override

Change-Id: I70b33ad746c5f31bba5b83e249f8c22faf316cf4

8 years agoOnly configure the transaction profiler if profiling is enabled
Ori Livneh [Thu, 7 May 2015 00:45:48 +0000 (17:45 -0700)]
Only configure the transaction profiler if profiling is enabled

Follows I0fe14bcda.

Change-Id: I4eb77d3b5ead587da6f01dec00fa6c5852225fcc

8 years agoBlacklist MeeGo's browser
Baha Man [Wed, 6 May 2015 17:30:18 +0000 (13:30 -0400)]
Blacklist MeeGo's browser

Bug: T97546
Change-Id: I5347a3598840d55daf32f49fb547c4d89c5d94b5

8 years agoResources: Remove pointless 'position' => 'top' for ResourceLoaderImageModule modules
Bartosz Dziewoński [Wed, 6 May 2015 22:15:19 +0000 (00:15 +0200)]
Resources: Remove pointless 'position' => 'top' for ResourceLoaderImageModule modules

ResourceLoaderImageModule ignores this option and always uses
'bottom'. And these modules should indeed all use bottom, the images
they provide are not critical and need not be loaded in the head.
(Alas, we load them with addModuleStyles, which in turn ignores the
position and always loads in the head. This is a separate problem.)

Change-Id: I3da808f894f7a9058ea4a44a7ce814e216b59e5e

8 years agoMerge "Remove --max-slave-lag options and remnants from maintenance scripts"
jenkins-bot [Wed, 6 May 2015 20:37:41 +0000 (20:37 +0000)]
Merge "Remove --max-slave-lag options and remnants from maintenance scripts"

8 years agoMerge "update.php: Remove max seconds of lag from wfWaitForSlaves() call"
jenkins-bot [Wed, 6 May 2015 20:37:26 +0000 (20:37 +0000)]
Merge "update.php: Remove max seconds of lag from wfWaitForSlaves() call"

8 years agoMove some global statements to top of function
Kevin Israel [Thu, 30 Apr 2015 17:48:52 +0000 (13:48 -0400)]
Move some global statements to top of function

These were flagged by mediawiki/tools/code-utils/check-vars.php
because they were located inside a switch statement, or inside an
if statement and used outside the statement. All other warnings
from that script are bogus, mostly because the script has no
support for PHP 5.3 namespaces.

Change-Id: If93bae4434b5c28845125095f6a22d6788a76efc

8 years agoMalformedTitleException should call parent::__construct
Brad Jorsch [Wed, 6 May 2015 18:42:38 +0000 (14:42 -0400)]
MalformedTitleException should call parent::__construct

There's no reason for $ex->getMessage() to return nothing. Do like
ErrorPageError does and get the default English message for the parent.

Also move the appending of $titleText to $errorMessageParameters into
MalformedTitleException itself and document it, so every catcher of the
exception doesn't need to know about this, and fix the check so it
doesn't screw up for title "0".

Change-Id: I43d988602b847b67a3cf0aa84e271a0b5bd9adae

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 6 May 2015 19:30:56 +0000 (21:30 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4f075b698a5a63dc3d64c872f4329f2e1560fcf3

8 years agoMerge "Allow override of extension directory"
jenkins-bot [Wed, 6 May 2015 18:52:27 +0000 (18:52 +0000)]
Merge "Allow override of extension directory"

8 years agoAllow override of extension directory
Ed Sanders [Wed, 6 May 2015 12:48:07 +0000 (13:48 +0100)]
Allow override of extension directory

Also sets default paths immediately (not in Setup.php) so
they are available before extensions register.

Bug: T98319
Change-Id: I41a8aec7a3e9c576ec7344abf51f8106248ade4b

8 years agoMerge "installer: Read styles from Vector's skin.json"
jenkins-bot [Wed, 6 May 2015 18:03:13 +0000 (18:03 +0000)]
Merge "installer: Read styles from Vector's skin.json"

8 years agoApiHelp: Make 'toc' parameter work
Brad Jorsch [Wed, 6 May 2015 17:37:41 +0000 (13:37 -0400)]
ApiHelp: Make 'toc' parameter work

Bug: T98378
Change-Id: I0219689f621e325fc22f0eab6e4c000e1b2fa06f

8 years agoMerge "Made JobQueueAggregatorRedis make sure the wiki set key is up-to-date"
jenkins-bot [Wed, 6 May 2015 17:33:53 +0000 (17:33 +0000)]
Merge "Made JobQueueAggregatorRedis make sure the wiki set key is up-to-date"

8 years agoMerge "Cast various things that are supposed to be ints"
jenkins-bot [Wed, 6 May 2015 16:35:22 +0000 (16:35 +0000)]
Merge "Cast various things that are supposed to be ints"

8 years agoCorrect name of Northern Luri language
mjbmr [Sat, 25 Apr 2015 07:37:05 +0000 (07:37 +0000)]
Correct name of Northern Luri language

Change-Id: I8221f73c2d56414497a838e013b07c959cd27378

8 years agoApiQueryAllUsers: Set 'array' type on result arrays
Brad Jorsch [Wed, 6 May 2015 15:41:41 +0000 (11:41 -0400)]
ApiQueryAllUsers: Set 'array' type on result arrays

Did this for ApiQueryUsers and ApiQueryUserInfo in I35007089, but missed
the corresponding code here.

Change-Id: I3786ab4a10b96600037816dd88580870d155a2fe

8 years agoCast various things that are supposed to be ints
Brad Jorsch [Wed, 6 May 2015 15:33:08 +0000 (11:33 -0400)]
Cast various things that are supposed to be ints

Mysqli is returning SELECTed ints as strings rather than as ints, I'm
guessing to avoid problems with 64-bit int types on 32-bit systems. PHP
mostly doesn't care, but it causes API JSON output to have strings
instead of ints all over the place.

This also fixes ForeignAPIFile::getUser( 'id' ) returning the user
*name*.

Bug: T98276
Change-Id: Ie6591d72b3ac40172f8176a8ca8b6fad8e9275a5

8 years agoRemoved duplicated jobs in triggerOpportunisticLinksUpdate()
Aaron Schulz [Wed, 6 May 2015 03:54:44 +0000 (20:54 -0700)]
Removed duplicated jobs in triggerOpportunisticLinksUpdate()

* They get deduplicated on final insertion, but de-duplication them
  on initial insertion (EnqueueJob) to avoid any build-up there.

Change-Id: Ia06f2bdf59a7e57fddb22890aa0b39420c0bfa7d

8 years agoMerge "Make api nearmatch search work same as 'go' feature"
jenkins-bot [Tue, 5 May 2015 20:41:32 +0000 (20:41 +0000)]
Merge "Make api nearmatch search work same as 'go' feature"

8 years agoMake api nearmatch search work same as 'go' feature
Erik Bernhardson [Thu, 30 Apr 2015 23:59:49 +0000 (16:59 -0700)]
Make api nearmatch search work same as 'go' feature

The 'nearmatch' feature of the api is the same as the 'go' feature of on-wiki
search. This makes the nearmatch api feature return the same results as the user
would have gotten in 'go', bringing more parity between api and browser based
searching. Without this change asking for a nearmatch within a namespace fails.

Bug: T37719
Change-Id: I715326242b63c558572ce9bf69b70bd650c2bc95

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 5 May 2015 20:06:14 +0000 (22:06 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I553143b9f65c36d83acd42ea32ad4221dddfa240

8 years agoMerge "mediawiki.api: Add #badToken for invalidating bad cached tokens"
jenkins-bot [Tue, 5 May 2015 19:01:13 +0000 (19:01 +0000)]
Merge "mediawiki.api: Add #badToken for invalidating bad cached tokens"

8 years agoMerge "Document namespaces member as nullable"
jenkins-bot [Tue, 5 May 2015 18:22:01 +0000 (18:22 +0000)]
Merge "Document namespaces member as nullable"

8 years agoDocument namespaces member as nullable
Erik Bernhardson [Mon, 4 May 2015 22:03:15 +0000 (15:03 -0700)]
Document namespaces member as nullable

This variable is set to null in the replacePrefixes method, document
it as such to prevent errors in consuming code.

Bug: T98082
Change-Id: I78880ffe590ed7193b8482c0ae41c8c69e495878

8 years agoMerge "ApiParse: Restore 'redirects' property in output"
jenkins-bot [Tue, 5 May 2015 16:40:48 +0000 (16:40 +0000)]
Merge "ApiParse: Restore 'redirects' property in output"

8 years agomediawiki.api: Add #badToken for invalidating bad cached tokens
Bartosz Dziewoński [Thu, 30 Apr 2015 23:54:13 +0000 (01:54 +0200)]
mediawiki.api: Add #badToken for invalidating bad cached tokens

Bug: T71691
Change-Id: I9a270e5ed030513f62dc75ba4e6edc78f4da63a1

8 years agoMerge "Fixed EnqueueJob::newFromLocalJobs docs"
jenkins-bot [Tue, 5 May 2015 13:08:48 +0000 (13:08 +0000)]
Merge "Fixed EnqueueJob::newFromLocalJobs docs"

8 years agoMerge "Converted InfoAction to using the WAN cache"
jenkins-bot [Tue, 5 May 2015 11:41:42 +0000 (11:41 +0000)]
Merge "Converted InfoAction to using the WAN cache"

8 years agoMerge "Refactored ReplicatedBagOStuff to use generic factory methods"
jenkins-bot [Tue, 5 May 2015 07:49:32 +0000 (07:49 +0000)]
Merge "Refactored ReplicatedBagOStuff to use generic factory methods"

8 years agoMerge "Updated ParserCache doc types"
jenkins-bot [Tue, 5 May 2015 07:46:22 +0000 (07:46 +0000)]
Merge "Updated ParserCache doc types"

8 years agoMerge "Fix double quote to apostrophe in a message"
jenkins-bot [Tue, 5 May 2015 07:45:20 +0000 (07:45 +0000)]
Merge "Fix double quote to apostrophe in a message"

8 years agoMerge "Pass __METHOD__ to ping query in JobRunner::commitMasterChanges()"
jenkins-bot [Tue, 5 May 2015 07:40:52 +0000 (07:40 +0000)]
Merge "Pass __METHOD__ to ping query in JobRunner::commitMasterChanges()"

8 years agoSupport Title::GAID_FOR_UPDATE for Title->exists
Matthew Flaschen [Thu, 30 Apr 2015 18:55:23 +0000 (14:55 -0400)]
Support Title::GAID_FOR_UPDATE for Title->exists

Without this, you have to call:

getArticleID( Title::GAID_FOR_UPDATE )

then either use that directly (bypassing the TitleExists hook) or
call exists afterwards.

Change-Id: Ieec5579e4de2a289795364e7001028932535e435

8 years agoUpdate OOjs UI to v0.11.1
James D. Forrester [Tue, 5 May 2015 00:48:51 +0000 (17:48 -0700)]
Update OOjs UI to v0.11.1

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.11.1/History.md

Change-Id: I8774390ed8393801212f2270a786984687794aeb

8 years agoFix double quote to apostrophe in a message
Amir E. Aharoni [Mon, 4 May 2015 21:28:20 +0000 (00:28 +0300)]
Fix double quote to apostrophe in a message

Follow up to
I4da8ecb457a77473e32d745ba48ab8505b35e45f

Change-Id: I19ddb51b95f0dfc5ea64f3b2f81f9b5d95bdf7eb

8 years agoMerge "Allow QueryPage subclasses to use a different "no results" message than "speci...
jenkins-bot [Mon, 4 May 2015 21:43:41 +0000 (21:43 +0000)]
Merge "Allow QueryPage subclasses to use a different "no results" message than "specialpage-empty""

8 years agoMerge "Underscores etc. aren't valid in HTML IDs, so escape them properly"
jenkins-bot [Mon, 4 May 2015 20:12:48 +0000 (20:12 +0000)]
Merge "Underscores etc. aren't valid in HTML IDs, so escape them properly"

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 4 May 2015 19:59:35 +0000 (19:59 +0000)]
Merge "Localisation updates from https://translatewiki.net."

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 4 May 2015 19:56:27 +0000 (21:56 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id3883777c5d3b015269e56d56f634f8f281ff65a

8 years agoMerge "Make $wgDBerrorLogTZ actually default to $wgLocaltimezone"
jenkins-bot [Mon, 4 May 2015 19:54:11 +0000 (19:54 +0000)]
Merge "Make $wgDBerrorLogTZ actually default to $wgLocaltimezone"

8 years agoUnderscores etc. aren't valid in HTML IDs, so escape them properly
Jack Phoenix [Mon, 4 May 2015 00:10:06 +0000 (03:10 +0300)]
Underscores etc. aren't valid in HTML IDs, so escape them properly

This was an issue where a skin's/extension's name would contain spaces,
i.e. "Cologne Blue", "Renameuser for CentralAuth". Such a name would be
passed as-is to the HTML ID, but spaces aren't valid in IDs, and this
would in turn lead to HTML validation issues. Currently the English
Wikipedia's Special:Version page has 26 validation issues and this patch
fixes the supermajority of them.

Change-Id: Ia197b0208fa2abfebbea1cb23f08822db2938162

8 years agoMerge "registration: Add support for $wgParserTestFiles"
jenkins-bot [Mon, 4 May 2015 19:33:55 +0000 (19:33 +0000)]
Merge "registration: Add support for $wgParserTestFiles"

8 years agoMerge "registration: Support $wgMediaHandlers in ExtensionProcessor"
jenkins-bot [Mon, 4 May 2015 19:20:26 +0000 (19:20 +0000)]
Merge "registration: Support $wgMediaHandlers in ExtensionProcessor"

8 years agoinstaller: Read styles from Vector's skin.json
Kunal Mehta [Mon, 4 May 2015 18:41:13 +0000 (11:41 -0700)]
installer: Read styles from Vector's skin.json

Vector now has a skin.json and the PHP entry point is just a stub, so
including it doesn't do anything. We can read from the skin.json file
and register the module properly instead of depending upon implicit
globals.

Also make ExtensionRegistry::__construct() not fail if $wgObjectCaches
is not set up properly, which is the case sometimes in the installer.

Bug: T98043
Change-Id: I5a653b095665092f8a27416b8a7f28ebf7d4d8c1

8 years agoMerge "mw.track: Implement trackUnsubscribe"
jenkins-bot [Mon, 4 May 2015 18:38:59 +0000 (18:38 +0000)]
Merge "mw.track: Implement trackUnsubscribe"

8 years agoMerge "Made wl_notificationtimestamp updates able to use queues"
jenkins-bot [Mon, 4 May 2015 18:35:45 +0000 (18:35 +0000)]
Merge "Made wl_notificationtimestamp updates able to use queues"

8 years agoMerge "registration: Throw more obvious error when a file doesn't exist"
jenkins-bot [Mon, 4 May 2015 18:01:13 +0000 (18:01 +0000)]
Merge "registration: Throw more obvious error when a file doesn't exist"

8 years agoMerge "Provide detailed information about invalid titles"
jenkins-bot [Mon, 4 May 2015 17:26:03 +0000 (17:26 +0000)]
Merge "Provide detailed information about invalid titles"

8 years agoregistration: Throw more obvious error when a file doesn't exist
Kunal Mehta [Mon, 4 May 2015 17:13:18 +0000 (10:13 -0700)]
registration: Throw more obvious error when a file doesn't exist

Previously it was saying the file that didn't exist wasn't valid JSON,
which was confusing.

Change-Id: I8381295ffcaba4e0dbfe9b93bdad80f86c119129

8 years agoMerge "Update getHelpUrls() for reworked mw.org API pages"
jenkins-bot [Mon, 4 May 2015 13:56:21 +0000 (13:56 +0000)]
Merge "Update getHelpUrls() for reworked mw.org API pages"

8 years agoMerge "Add new languages to 1.25 release notes and Names.php"
jenkins-bot [Mon, 4 May 2015 10:17:45 +0000 (10:17 +0000)]
Merge "Add new languages to 1.25 release notes and Names.php"

8 years agoAdd new languages to 1.25 release notes and Names.php
Federico Leva [Mon, 4 May 2015 09:54:48 +0000 (11:54 +0200)]
Add new languages to 1.25 release notes and Names.php

Change-Id: I37412c27c8fbc3354e78a544ac106230583b9e2e

8 years agoRemove invalid language code "bh" (alias of "bho")
Federico Leva [Mon, 2 Mar 2015 10:00:28 +0000 (11:00 +0100)]
Remove invalid language code "bh" (alias of "bho")

Depends on c19cf0e2d53aa4ad6e401202960501a0df876d8e

Bug: T91240
Change-Id: Ic43aa17d180213df2115f771e433fb9e0eb1e8ca

8 years agoUpdate getHelpUrls() for reworked mw.org API pages
RobinHood70 [Tue, 7 Apr 2015 09:55:31 +0000 (02:55 -0700)]
Update getHelpUrls() for reworked mw.org API pages

Community members restructured the mediawiki.org API pages, e.g.
the meta allmessages query submodule is no longer in the catch-all
https://www.mediawiki.org/wiki/API:Meta?oldid=1408361#allmessages_.2F_am
but its own https://www.mediawiki.org/wiki/API:Allmessages

The links in the generated API help, e.g.
https://www.mediawiki.org/wiki/Special:ApiHelp/query+allmessages,  are no
correct. They're not 404s but they don't take you directly to the
relevant page.

This patch set fixes the getHelpUrls() URLs (and does nothing else).
I tested them all.

Thanks RobinHood70!

Change-Id: Icea94abdd22d1ad468172642a21641e7c5ce2046

8 years agoMerge "Fix name of Tunisian Arabic language in Latin script"
jenkins-bot [Mon, 4 May 2015 06:02:15 +0000 (06:02 +0000)]
Merge "Fix name of Tunisian Arabic language in Latin script"

8 years agoMerge "Add unit tests for all LogFormatters"
jenkins-bot [Sun, 3 May 2015 22:12:55 +0000 (22:12 +0000)]
Merge "Add unit tests for all LogFormatters"

8 years agoDon't ignore content model for default message texts
Alex Monk [Wed, 8 Apr 2015 16:19:55 +0000 (17:19 +0100)]
Don't ignore content model for default message texts

When an extension decides to change the content model of one of its messages
using ContentHandlerDefaultModelFor, respect that despite the page not
existing.

Bug: T92899
Change-Id: I302d7915bb7b0c768e7130fac195ee0bac5a5101

8 years agoAdd unit tests for all LogFormatters
umherirrender [Thu, 9 Apr 2015 09:09:36 +0000 (11:09 +0200)]
Add unit tests for all LogFormatters

Test the LogFormatter by passing old and new database rows to it.
The text shown on Special:Log and the api result returned by
list=logevents is tested.

Change-Id: Icfcba506f4fa3010cdaf973aa2df23b6e92c25e4

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 3 May 2015 19:15:48 +0000 (21:15 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie5b88f7a118de5f7811df486635111531b199b77

8 years agoMerge "Fixed some IDE warnings in ChangeTags"
jenkins-bot [Sun, 3 May 2015 12:12:27 +0000 (12:12 +0000)]
Merge "Fixed some IDE warnings in ChangeTags"

8 years agoregistration: Add support for $wgParserTestFiles
Kunal Mehta [Sun, 3 May 2015 06:02:22 +0000 (23:02 -0700)]
registration: Add support for $wgParserTestFiles

Bug: T97921
Change-Id: I9a736a4c0ff739c4acf742b8f17792544851b28e

8 years agoregistration: Support $wgMediaHandlers in ExtensionProcessor
Kunal Mehta [Sun, 3 May 2015 02:38:29 +0000 (19:38 -0700)]
registration: Support $wgMediaHandlers in ExtensionProcessor

Bug: T97908
Change-Id: I3bea9273f956d93aebc5176b83d375c574715382

8 years agoFixed some IDE warnings in ChangeTags
This, that and the other [Sun, 3 May 2015 03:28:55 +0000 (13:28 +1000)]
Fixed some IDE warnings in ChangeTags

Change-Id: Ie7af687e543756988618be21a464f43ad03052d5

8 years agoAllow QueryPage subclasses to use a different "no results" message than "specialpage...
Jack Phoenix [Wed, 29 Apr 2015 00:16:38 +0000 (03:16 +0300)]
Allow QueryPage subclasses to use a different "no results" message than "specialpage-empty"

Child classes wishing to show a different message, such as wikiHow's
NewArticleBoost extension, need to override showEmptyText() to display
their custom message via the appropriate OutputPage method(s).

Change-Id: If488e2c81b225eb651e52bcca0fea08b8e685286

8 years agoMade JobQueueAggregatorRedis make sure the wiki set key is up-to-date
Aaron Schulz [Sat, 2 May 2015 20:07:55 +0000 (13:07 -0700)]
Made JobQueueAggregatorRedis make sure the wiki set key is up-to-date

Change-Id: I84ccfd990fada80ee3005b746d33ed4473abb6d8

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 2 May 2015 19:39:41 +0000 (21:39 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I6d47a79e8418d6ddbfdb501a1cd82ff680ebd851

8 years agoMerge "Add test for IRC line for legacy type block/block"
jenkins-bot [Sat, 2 May 2015 15:57:08 +0000 (15:57 +0000)]
Merge "Add test for IRC line for legacy type block/block"

8 years agoUpdated ParserCache doc types
Aaron Schulz [Sat, 2 May 2015 06:07:18 +0000 (23:07 -0700)]
Updated ParserCache doc types

Change-Id: I71fead62a4a498e40b2aa57e6d2701409bf7c7c0

8 years agoFixed EnqueueJob::newFromLocalJobs docs
Aaron Schulz [Sat, 2 May 2015 05:13:05 +0000 (22:13 -0700)]
Fixed EnqueueJob::newFromLocalJobs docs

Change-Id: I02e6490fe801e02d7e8c50b2ddbec5cd4d36600f

8 years agoMerge "convertExtensionToRegistration.php: Ignore i18n shims"
jenkins-bot [Sat, 2 May 2015 05:00:42 +0000 (05:00 +0000)]
Merge "convertExtensionToRegistration.php: Ignore i18n shims"

8 years agoMerge "generateJsonI18n.php: Remove features that should no longer be needed"
jenkins-bot [Sat, 2 May 2015 04:53:11 +0000 (04:53 +0000)]
Merge "generateJsonI18n.php: Remove features that should no longer be needed"

8 years agoMerge "Follow-up ee320648fd1: output mw-content-{ltr,rtl} unconditionally"
jenkins-bot [Sat, 2 May 2015 01:55:34 +0000 (01:55 +0000)]
Merge "Follow-up ee320648fd1: output mw-content-{ltr,rtl} unconditionally"

8 years agoMerge "HTMLForm: Add wfDeprecated to isVForm"
jenkins-bot [Sat, 2 May 2015 00:57:14 +0000 (00:57 +0000)]
Merge "HTMLForm: Add wfDeprecated to isVForm"

8 years agoTweaked TempFSFile::bind() param type docs
Aaron Schulz [Fri, 1 May 2015 23:31:43 +0000 (16:31 -0700)]
Tweaked TempFSFile::bind() param type docs

Change-Id: I53de37b3da756ca42447edd60c14cd6d43b56ee2

8 years agoRemoved DjVu pageCount() check and let it surface in the shell command
Aaron Schulz [Fri, 1 May 2015 23:38:04 +0000 (16:38 -0700)]
Removed DjVu pageCount() check and let it surface in the shell command

* This avoids loading the bloated metadata field

Bug: T96360
Change-Id: I2f1b59e81829d5752857816536688cd596b65edf

8 years agobuild: Bump various devDependencies
James D. Forrester [Fri, 1 May 2015 22:37:14 +0000 (15:37 -0700)]
build: Bump various devDependencies

grunt-contrib-jshint:  0.11.0 -> 0.11.2
grunt-jscs:            1.5.0  -> 1.8.0
karma-chrome-launcher: 0.1.7  -> 0.1.8
qunitjs:               1.17.1 -> 1.18.0

Some trivial indentation and line-spacing changes to make this pass jscs.

Change-Id: Ieeb6dbcd3e6d9f6f0fb9865d356da462b9b0499b

8 years agoHTMLForm: Add wfDeprecated to isVForm
Bartosz Dziewoński [Fri, 1 May 2015 19:52:17 +0000 (21:52 +0200)]
HTMLForm: Add wfDeprecated to isVForm

Change-Id: Idd8eb9cf63794c5a71439c130ad28564e6d3e750

8 years agoFollow-up ee320648fd1: output mw-content-{ltr,rtl} unconditionally
Roan Kattouw [Fri, 1 May 2015 21:59:17 +0000 (14:59 -0700)]
Follow-up ee320648fd1: output mw-content-{ltr,rtl} unconditionally

So much CSS relies on .mw-content-{ltr,rtl} now for directionality
things that we should just have it everywhere.

Bug: T97744
Change-Id: I0c0466023bc3b88d58f7067c3226f2dbdd1488ed

8 years agoPass __METHOD__ to ping query in JobRunner::commitMasterChanges()
Aaron Schulz [Fri, 1 May 2015 21:53:41 +0000 (14:53 -0700)]
Pass __METHOD__ to ping query in JobRunner::commitMasterChanges()

Change-Id: I7f79acca0f89a2e07ed2f9eb427e0788c5440ee7

8 years agoApiParse: Restore 'redirects' property in output
Brad Jorsch [Fri, 1 May 2015 19:50:25 +0000 (15:50 -0400)]
ApiParse: Restore 'redirects' property in output

Bug: T97848
Change-Id: Iab258348231deb5ed43481cd479a2edd217b54ab

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 1 May 2015 19:38:11 +0000 (19:38 +0000)]
Merge "Localisation updates from https://translatewiki.net."

8 years agoMerge "Revert "Use CSS columns instead of tables in Special:SpecialPages""
jenkins-bot [Fri, 1 May 2015 19:37:34 +0000 (19:37 +0000)]
Merge "Revert "Use CSS columns instead of tables in Special:SpecialPages""

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 1 May 2015 19:28:31 +0000 (21:28 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3a92cfdcbf771a4aa30389ee11b69b9a4f6f8f73

8 years agoAdd test for IRC line for legacy type block/block
umherirrender [Thu, 9 Apr 2015 09:32:56 +0000 (11:32 +0200)]
Add test for IRC line for legacy type block/block

Follow-Up: I08aea8399ce766e98c1a76e237169f220c6cc751
Change-Id: I8626e8ce28104d20a6145d47e647ef0ad86b3523

8 years agoRevert "Use CSS columns instead of tables in Special:SpecialPages"
Glaisher [Fri, 1 May 2015 17:59:33 +0000 (17:59 +0000)]
Revert "Use CSS columns instead of tables in Special:SpecialPages"

This reverts commit dc40debaea2effd46a43c88d0fc925b3550c829b.

Bug: T97026
Change-Id: I1475a61037e6ece536b2b4e26f4d606d5d3828f7

8 years agoUse more specific and less ambiguous ids for line numbers in diffs
Ricordisamoa [Thu, 19 Mar 2015 08:56:19 +0000 (09:56 +0100)]
Use more specific and less ambiguous ids for line numbers in diffs

Per Krinkle's comment on I068c7f6167e20f42cb675335554b98ff1fb83e16

Bug: T63486
Change-Id: I6b334e838b5beaf14ae066c61ddc50d7a4958b97

8 years agoMerge "Add missing newline in apihelp-upload-description list"
jenkins-bot [Fri, 1 May 2015 15:58:09 +0000 (15:58 +0000)]
Merge "Add missing newline in apihelp-upload-description list"

8 years agoMerge "ChangeTags: Don't show UI when no editable tags exist"
jenkins-bot [Fri, 1 May 2015 15:30:22 +0000 (15:30 +0000)]
Merge "ChangeTags: Don't show UI when no editable tags exist"

8 years agoChangeTags: Don't show UI when no editable tags exist
Brad Jorsch [Fri, 1 May 2015 15:05:32 +0000 (11:05 -0400)]
ChangeTags: Don't show UI when no editable tags exist

Bug: T97773
Change-Id: I001f15ca6f58bc9318eed84aa8ace2bddcb1b315

8 years agoAdd missing newline in apihelp-upload-description list
Federico Leva [Fri, 1 May 2015 11:49:07 +0000 (13:49 +0200)]
Add missing newline in apihelp-upload-description list

Spotted by XZise.

Change-Id: Id317c4e849d937153abc5dabd168fc45847994eb

8 years agoconvertExtensionToRegistration.php: Ignore i18n shims
Kevin Israel [Fri, 1 May 2015 03:32:44 +0000 (23:32 -0400)]
convertExtensionToRegistration.php: Ignore i18n shims

Bug: T91350
Change-Id: I18b35db14a13f58909bce83fec11bf9e8f10672d

8 years agoProvide detailed information about invalid titles
Bartosz Dziewoński [Sat, 25 Apr 2015 22:43:37 +0000 (00:43 +0200)]
Provide detailed information about invalid titles

includes/Title.php
* The private method Title::secureAndSplit() now throws a
  MalformedTitleException instead of returning false on invalid
  titles.
* Added Title::newFromTextThrow(), which behaves exactly like
  Title::newFromText() but throws MalformedTitleException instead of
  returning null on invalid titles.

includes/title/MediaWikiTitleCodec.php
* Provide more information with the thrown MalformedTitleExceptions.

includes/MediaWiki.php
* Use the new Title::newFromTextThrow() to get detailed error
  information, display it.

Change-Id: I4da8ecb457a77473e32d745ba48ab8505b35e45f

8 years agoMerge "Also add mw-content-{ltr,rtl} on page views for missing pages"
jenkins-bot [Thu, 30 Apr 2015 21:10:30 +0000 (21:10 +0000)]
Merge "Also add mw-content-{ltr,rtl} on page views for missing pages"

8 years agoAlso add mw-content-{ltr,rtl} on page views for missing pages
Roan Kattouw [Thu, 30 Apr 2015 20:33:29 +0000 (13:33 -0700)]
Also add mw-content-{ltr,rtl} on page views for missing pages

So that noarticletext or whatever might render there has
this class applied.

For some reason, this was explicitly bypassed for missing pages,
but there was no explanation why.

Bug: T97624
Change-Id: Ib790498ff102f9d9b01aac3b8551c4829f964b7d

8 years agogenerateJsonI18n.php: Remove features that should no longer be needed
Kevin Israel [Thu, 30 Apr 2015 19:45:17 +0000 (15:45 -0400)]
generateJsonI18n.php: Remove features that should no longer be needed

* Removed --langcode, which was for converting core messages files.
* Do not generate backward compatibility shims. MediaWiki 1.19 will
  enter end-of-life status in May 2015.
* Print a special error message for shims, which is different from
  the one that used to refer to --langcode.
* Removed extra newlines from error messages.

Change-Id: Ic8498fbdd7c2bd6e30ddbd96da85b2b8b23d706b

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 30 Apr 2015 19:43:24 +0000 (21:43 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I39cb3b69ddb8e81059eedaaeced4f4f2bc44ed66

8 years agoMerge "SearchHighlighter: Stop checking for existence of "wfCite" function"
jenkins-bot [Thu, 30 Apr 2015 18:36:29 +0000 (18:36 +0000)]
Merge "SearchHighlighter: Stop checking for existence of "wfCite" function"