lhc/web/wiklou.git
9 years agoMerge "Improve Makefile.py for zhtable"
Nikerabbit [Fri, 24 Apr 2015 06:49:46 +0000 (06:49 +0000)]
Merge "Improve Makefile.py for zhtable"

9 years agoAdded WANObjectCache class
Aaron Schulz [Tue, 27 Jan 2015 19:56:44 +0000 (11:56 -0800)]
Added WANObjectCache class

This class handles caching across distance sites where purges
must reach both. It also aims to make purging more reliable in
the face of network glitches and node consistent hash ejection.

bug: T88492
Change-Id: I686811b3075bf22e2f4de45127e8461e54648ead

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 23 Apr 2015 21:09:49 +0000 (23:09 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I6bcecb1d8d1d57b20c583ec65267a72f6b4b6a1d

9 years agoDon't profile setting up the temp directory
Chad Horohoe [Thu, 23 Apr 2015 17:30:23 +0000 (10:30 -0700)]
Don't profile setting up the temp directory

It's boring and profiling of wfTempDir() will already catch it

Change-Id: If4b489eb665af329fa9e3cb9b3e9913832b83862

9 years agoMerge "wikibits: Un-deprecate importScript and importStylesheet"
jenkins-bot [Thu, 23 Apr 2015 16:13:30 +0000 (16:13 +0000)]
Merge "wikibits: Un-deprecate importScript and importStylesheet"

9 years agoMerge "Update OOjs UI to v0.10.0"
jenkins-bot [Thu, 23 Apr 2015 15:38:48 +0000 (15:38 +0000)]
Merge "Update OOjs UI to v0.10.0"

9 years agoMerge "Split Tunisian spoken Arabic in Arabic and Latin script variants"
jenkins-bot [Thu, 23 Apr 2015 13:26:08 +0000 (13:26 +0000)]
Merge "Split Tunisian spoken Arabic in Arabic and Latin script variants"

9 years agoSplit Tunisian spoken Arabic in Arabic and Latin script variants
mjbmr [Thu, 16 Apr 2015 13:19:06 +0000 (13:19 +0000)]
Split Tunisian spoken Arabic in Arabic and Latin script variants

More info:

https://github.com/wikimedia/mediawiki/commit/5f8be9cfb3264e9970f3480a5c9d21be2d0916cb#diff-8dd7cc40f378675c9fb14678c43da79e
https://translatewiki.net/w/i.php?title=Portal:Aeb&oldid=5651188
https://incubator.wikimedia.org/w/index.php?title=Incubator:Community_Portal&oldid=2898013#Proposal_about_Wiktionary_Tunisian

Change-Id: I00f71148fd61dbbc03a6c818af9a1c47cb332996

9 years agoAPI message text clarification.
Purodha [Thu, 23 Apr 2015 11:52:11 +0000 (11:52 +0000)]
API message text clarification.

Change-Id: I5d3e287f034bdd20f7f2d3893705af2d989e7d59

9 years agowikibits: Un-deprecate importScript and importStylesheet
Bartosz Dziewoński [Thu, 23 Apr 2015 06:55:25 +0000 (08:55 +0200)]
wikibits: Un-deprecate importScript and importStylesheet

Per discussion on T95964. No suitable replacement exists yet.
importScriptURI and importStylesheetURI stay deprecated, having been
superseded by mw.loader.load.

Follow-up to 5c5e09016d6b9b2d3d4799a9a34344a8cc96726f.

Bug: T95964
Change-Id: I2d734ca57e991be88472ae76a66f9547f6da82c8

9 years agomediawiki.log: Introduce mw.log.error
Timo Tijhof [Wed, 22 Apr 2015 21:58:06 +0000 (22:58 +0100)]
mediawiki.log: Introduce mw.log.error

In addition to mw.log.warn, but for the console.error channel.

Change-Id: I7b09a75da6c985a9e0cc73591f49b21972efd393

9 years agoImprove Makefile.py for zhtable
Liangent [Thu, 19 Mar 2015 06:56:22 +0000 (06:56 +0000)]
Improve Makefile.py for zhtable

* Fix incorrect parsing of phrases with spaces in them by using tabs as
  separators only in *.manual
* Make the order of items in PHP array output more stable, so contribs
  from different people don't conflict with each other
* Include version number in file name of Unihan database, so existing
  old file doesn't prevent downloading of a newer version of Unihan

Change-Id: Ifb6b33b937a7b82218172e3fdd937bda4ea4cc6c

9 years agoAdded a simple pendingWriteQueryDuration() DB method
Aaron Schulz [Wed, 22 Apr 2015 22:15:36 +0000 (15:15 -0700)]
Added a simple pendingWriteQueryDuration() DB method

Change-Id: I924cf78d8bb96d526a7ba7444f0532d7eb223bf2

9 years agoUpdate OOjs UI to v0.10.0
James D. Forrester [Thu, 23 Apr 2015 01:08:07 +0000 (18:08 -0700)]
Update OOjs UI to v0.10.0

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

Change-Id: If8cd89dd0035fb570f69c56855c048612971ee91

9 years agorequire_once instead of depending on the return value of include_once
Mukunda Modell [Wed, 22 Apr 2015 22:34:25 +0000 (17:34 -0500)]
require_once instead of depending on the return value of include_once

return value from include_once is unreliable, it could be the value
of a 'return;' statement in the included file, or it could be false
when the file wasn't readable. This was breaking deployments because
one of the extensions had "return;" which caused include_once to
return a falsy value.

Change-Id: I48b9a55d5f9e85efe515d87b56b60ee71f939842

9 years agoMerge "Change error/warning messages to be parsed instead of escaped"
jenkins-bot [Wed, 22 Apr 2015 22:12:58 +0000 (22:12 +0000)]
Merge "Change error/warning messages to be parsed instead of escaped"

9 years agoChange error/warning messages to be parsed instead of escaped
kaldari [Wed, 22 Apr 2015 21:51:26 +0000 (14:51 -0700)]
Change error/warning messages to be parsed instead of escaped

On Special:UserLogin, the Gather extension wants to be able to
show more detailed information in the warningbox. This will allow
the message to be multiline and/or include formatting (e.g. bold).

Change-Id: I5af873b4807a286fd3c37acdc1b34099cd23e68f

9 years agoMerge "mediawiki.language: Update bangla characters per request"
jenkins-bot [Wed, 22 Apr 2015 21:16:11 +0000 (21:16 +0000)]
Merge "mediawiki.language: Update bangla characters per request"

9 years agoAdded LoadBalancer::waitForOne method
Aaron Schulz [Wed, 22 Apr 2015 06:12:59 +0000 (23:12 -0700)]
Added LoadBalancer::waitForOne method

* This waits on the generic reader (or a random slave)

Change-Id: I4d4a96806d55b119fa535556e11abd55736e9077

9 years agoMerge "Use PHP_OS rather than php_uname, which may be disabled"
jenkins-bot [Wed, 22 Apr 2015 20:19:52 +0000 (20:19 +0000)]
Merge "Use PHP_OS rather than php_uname, which may be disabled"

9 years agoMerge "Moved ActiveUsers updates to recent changes jobs"
jenkins-bot [Wed, 22 Apr 2015 20:19:25 +0000 (20:19 +0000)]
Merge "Moved ActiveUsers updates to recent changes jobs"

9 years agomediawiki.language: Update bangla characters per request
James D. Forrester [Wed, 22 Apr 2015 16:26:51 +0000 (09:26 -0700)]
mediawiki.language: Update bangla characters per request

Bug: T96494
Change-Id: I6d6971769551707085f6ea764c4f0a5d65691d8a

9 years agoMerge "Deprecate .php5 file extension"
jenkins-bot [Wed, 22 Apr 2015 20:03:58 +0000 (20:03 +0000)]
Merge "Deprecate .php5 file extension"

9 years agoMerge "Make import destination UI more intuitive and clearer"
jenkins-bot [Wed, 22 Apr 2015 20:01:14 +0000 (20:01 +0000)]
Merge "Make import destination UI more intuitive and clearer"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 22 Apr 2015 19:25:38 +0000 (21:25 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I5643c2c93bc5c0546a543dca06c393ddc50944c9

9 years agoMoved ActiveUsers updates to recent changes jobs
Aaron Schulz [Wed, 8 Apr 2015 20:41:10 +0000 (13:41 -0700)]
Moved ActiveUsers updates to recent changes jobs

* This avoids writes on view and is more reliable
* Also made the wfWaitForSlaves() there actually work

Bug: T95501
Bug: T92357
Bug: T89027
Change-Id: I0a006fc92a9268feb185c9d88aa04002ea51ecd3

9 years agoDeprecate .php5 file extension
Timo Tijhof [Fri, 10 Apr 2015 20:12:53 +0000 (21:12 +0100)]
Deprecate .php5 file extension

Hello, 2015.

Change-Id: I68b1ae842840be5aba62ca670f6af4e8de380869

9 years agoMake import destination UI more intuitive and clearer
This, that and the other [Tue, 27 Jan 2015 09:01:04 +0000 (20:01 +1100)]
Make import destination UI more intuitive and clearer

Previously there were two fields: Destination namespace, and Destination
root page. They were both optional, and the "root page" one in particular
was a bit mysterious until you tried it out. In addition, there was a
strange interaction when you set both fields (I still don't quite
understand what used to happen in this case).

Now, there is a set of three clearly described radio buttons, allowing the
user to select whether to import pages into their automatically chosen
locations, into a single namespace, or as subpages of a given page. These
correspond to the three ImportTitleFactory classes available in MediaWiki.

See https://phabricator.wikimedia.org/M28 for a screenshot.

The logic of WikiImporter#setTargetNamespace is tweaked slightly to remove
the interaction between target namespace and target root page, since only
one of these options can now be set. Similarly, the API's import module
is modified in the same way.

Bug: T17908
Change-Id: I11521260a88a7f4a95fbdb71ac50bcf7b4fe5cd1

9 years agomediawiki.language: Add some formatting to the specialcharacters.json file
Ed Sanders [Wed, 22 Apr 2015 18:00:19 +0000 (19:00 +0100)]
mediawiki.language: Add some formatting to the specialcharacters.json file

Makes the code, and future diffs, readable.

Change-Id: Id6638339712e5ddb626951e880720fb5b03c25b1

9 years agoMerge "Added max lag comment to JobRunner"
jenkins-bot [Wed, 22 Apr 2015 15:26:31 +0000 (15:26 +0000)]
Merge "Added max lag comment to JobRunner"

9 years agoMerge "Use CSS columns instead of tables in Special:SpecialPages"
jenkins-bot [Wed, 22 Apr 2015 15:04:36 +0000 (15:04 +0000)]
Merge "Use CSS columns instead of tables in Special:SpecialPages"

9 years agoAdded max lag comment to JobRunner
Aaron Schulz [Tue, 21 Apr 2015 21:02:45 +0000 (14:02 -0700)]
Added max lag comment to JobRunner

Change-Id: I9bb9948190d349d563f65d3e15bf1c6fa0d8adec

9 years agoMerge "Lowered $maxAllowedLag to 3 in JobRunner"
jenkins-bot [Wed, 22 Apr 2015 14:40:00 +0000 (14:40 +0000)]
Merge "Lowered $maxAllowedLag to 3 in JobRunner"

9 years agoLowered $maxAllowedLag to 3 in JobRunner
Aaron Schulz [Wed, 22 Apr 2015 13:11:25 +0000 (06:11 -0700)]
Lowered $maxAllowedLag to 3 in JobRunner

Change-Id: I7cb771c667bac21e9b67069e31c6243d9314dac5

9 years agoMerge "Update namespaces for Western Baluchi (bgn) from translatewiki"
jenkins-bot [Wed, 22 Apr 2015 12:49:03 +0000 (12:49 +0000)]
Merge "Update namespaces for Western Baluchi (bgn) from translatewiki"

9 years agoMerge "Add namespace aliases for Western Baluchi (bgn)"
jenkins-bot [Wed, 22 Apr 2015 12:47:36 +0000 (12:47 +0000)]
Merge "Add namespace aliases for Western Baluchi (bgn)"

9 years agoMerge "Update namespaces for South Azerbaijani (azb) from translatewiki"
jenkins-bot [Wed, 22 Apr 2015 12:45:45 +0000 (12:45 +0000)]
Merge "Update namespaces for South Azerbaijani (azb) from translatewiki"

9 years agoEnable DBO_TRX for runJobs.php, just like HTTP job runner
Aaron Schulz [Tue, 21 Apr 2015 23:28:49 +0000 (16:28 -0700)]
Enable DBO_TRX for runJobs.php, just like HTTP job runner

Change-Id: Ic6fa2f9f0d18aeeb15f482e2faab2ebc56650570

9 years agoRemoved redundant wfReadOnly check in runJobs.php
Aaron Schulz [Tue, 21 Apr 2015 23:20:31 +0000 (16:20 -0700)]
Removed redundant wfReadOnly check in runJobs.php

* JobRunner handles this and doing it pre-fork is less safe

Change-Id: I9e53e6b2d04f3f370723af8140e796ba337cfd3b

9 years agoMerge "API: Add wfDeprecated() to deprecated ApiResult methods"
jenkins-bot [Tue, 21 Apr 2015 20:39:15 +0000 (20:39 +0000)]
Merge "API: Add wfDeprecated() to deprecated ApiResult methods"

9 years agoMerge "API: Better handle UsageException from the printer itself"
jenkins-bot [Tue, 21 Apr 2015 20:28:13 +0000 (20:28 +0000)]
Merge "API: Better handle UsageException from the printer itself"

9 years agoMerge "Lowered JobRunner lag check interval from 3 => 1 second"
jenkins-bot [Tue, 21 Apr 2015 20:26:29 +0000 (20:26 +0000)]
Merge "Lowered JobRunner lag check interval from 3 => 1 second"

9 years agoLowered JobRunner lag check interval from 3 => 1 second
Aaron Schulz [Tue, 21 Apr 2015 19:47:35 +0000 (12:47 -0700)]
Lowered JobRunner lag check interval from 3 => 1 second

Change-Id: I4a2147316a6c43199587bb7b28aeaec2fc252c84

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 21 Apr 2015 19:42:52 +0000 (21:42 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I0bf5ec58a5a631ad19b07543a68d0c6b91c4012f

9 years agoMerge "mediawiki.feedback: Update documentation for custom content models"
jenkins-bot [Tue, 21 Apr 2015 19:24:49 +0000 (19:24 +0000)]
Merge "mediawiki.feedback: Update documentation for custom content models"

9 years agoMerge "Use successbox/errorbox instead of bolded text on revision delete form"
jenkins-bot [Tue, 21 Apr 2015 18:41:13 +0000 (18:41 +0000)]
Merge "Use successbox/errorbox instead of bolded text on revision delete form"

9 years agomediawiki.feedback: Update documentation for custom content models
Kunal Mehta [Tue, 21 Apr 2015 18:32:05 +0000 (11:32 -0700)]
mediawiki.feedback: Update documentation for custom content models

Change-Id: Ieefb89a5ec073dd151614f8ffb7dc9a36226cf7c

9 years agoMerge "checkUsernames: send output to stdout, don't include wikiid"
jenkins-bot [Tue, 21 Apr 2015 17:05:13 +0000 (17:05 +0000)]
Merge "checkUsernames: send output to stdout, don't include wikiid"

9 years agoMerge "Added CAS logic to User::addAutopromoteOnceGroups"
jenkins-bot [Tue, 21 Apr 2015 15:43:54 +0000 (15:43 +0000)]
Merge "Added CAS logic to User::addAutopromoteOnceGroups"

9 years agoAPI: Better handle UsageException from the printer itself
Brad Jorsch [Mon, 20 Apr 2015 16:09:24 +0000 (12:09 -0400)]
API: Better handle UsageException from the printer itself

Try falling back to use the printer without any of its parameters in
case one of them is what's failing.

Change-Id: I2611550109de4219bf1cc43333d038753e9eb87c

9 years agoUse CSS columns instead of tables in Special:SpecialPages
glaisher [Tue, 21 Apr 2015 12:33:00 +0000 (17:33 +0500)]
Use CSS columns instead of tables in Special:SpecialPages

On small screens, it will show only one column rather
than two columns.

Bug: T88910
Change-Id: Iabe572e964347902280c8634feee27385c01c877

9 years agoUse successbox/errorbox instead of bolded text on revision delete form
This, that and the other [Tue, 21 Apr 2015 07:17:23 +0000 (17:17 +1000)]
Use successbox/errorbox instead of bolded text on revision delete form

Same idea as I596cbdc2.

* Avoid style markup in i18n messages. Use successbox instead of
  <strong> inside a message in a span.
* Consistency with rest of MediaWiki (e.g. Special:Preferences).
* Make error look like an error. It was previously output in a plain
  paragraph with no styling or other indication.

Change-Id: Ia2f8d56edbd72632d02c6738841340b28cc6d773

9 years agotags: Use successbox/errorbox instead of bolded text on SpecialEditTags
Timo Tijhof [Thu, 16 Apr 2015 01:02:10 +0000 (02:02 +0100)]
tags: Use successbox/errorbox instead of bolded text on SpecialEditTags

Follows-up 5c46810.

* Avoid style markup in i18n messages. Use successbox instead of
  <strong> inside a message in a span.
* Consistency with rest of MediaWiki (e.g. Special:Preferences).
* Make error look like an error. It was previously output in a plain
  paragraph with no styling or other indication.

Change-Id: I596cbdc2cf9c9968350c9e63621c0e3fb5bd8c6c

9 years agoMerge "Chinese Conversion Table Update 2015-2"
jenkins-bot [Tue, 21 Apr 2015 06:45:29 +0000 (06:45 +0000)]
Merge "Chinese Conversion Table Update 2015-2"

9 years agoMerge "i18n: Apply lang on UI messages on diff table"
jenkins-bot [Tue, 21 Apr 2015 06:45:26 +0000 (06:45 +0000)]
Merge "i18n: Apply lang on UI messages on diff table"

9 years agocheckUsernames: send output to stdout, don't include wikiid
Kunal Mehta [Tue, 21 Apr 2015 06:26:49 +0000 (23:26 -0700)]
checkUsernames: send output to stdout, don't include wikiid

In this case, we're actively looking for invalid usernames, so they're
not errors that should be sent to stderr, they're the expected output.

And wrappers like foreachwiki already include the wikiid so it's
redundant.

Change-Id: I61ea080647b6c327909fff1ba839177d3bc484d8

9 years agoMerge "Change API result data structure to be cleaner in new formats"
jenkins-bot [Tue, 21 Apr 2015 06:15:03 +0000 (06:15 +0000)]
Merge "Change API result data structure to be cleaner in new formats"

9 years agoMerge "Document units in MultiHttpClient"
jenkins-bot [Tue, 21 Apr 2015 06:06:46 +0000 (06:06 +0000)]
Merge "Document units in MultiHttpClient"

9 years agoMerge "Fix undefined variable in SpecialMergeHistory"
jenkins-bot [Tue, 21 Apr 2015 05:32:12 +0000 (05:32 +0000)]
Merge "Fix undefined variable in SpecialMergeHistory"

9 years agoFix undefined variable in SpecialMergeHistory
glaisher [Tue, 21 Apr 2015 05:20:16 +0000 (10:20 +0500)]
Fix undefined variable in SpecialMergeHistory

Bug: T96026
Change-Id: I7fa9fbd279dd6ec71f18614376386c1e2cad9728

9 years agoDocument units in MultiHttpClient
Aaron Schulz [Tue, 21 Apr 2015 04:22:55 +0000 (21:22 -0700)]
Document units in MultiHttpClient

Change-Id: I0350e4e558f881e3accd01818a56e11465d92d00

9 years agoChange API result data structure to be cleaner in new formats
Brad Jorsch [Fri, 16 Jan 2015 19:00:07 +0000 (14:00 -0500)]
Change API result data structure to be cleaner in new formats

Nothing in this patch should result in changed output for format=json or
format=php except as noted in RELEASE-NOTES-1.25, and changed output for
format=xml should be similar or cosmetic. However, other code accessing
the result data directly may need to be updated.

Bug: T87053
Bug: T12887
Change-Id: I3500708965cb8869b5aed1543381aad208dadd13

9 years agoMerge "Polyfill node types in browsers without DOM level 2"
jenkins-bot [Mon, 20 Apr 2015 20:20:40 +0000 (20:20 +0000)]
Merge "Polyfill node types in browsers without DOM level 2"

9 years agoAPI: Add wfDeprecated() to deprecated ApiResult methods
Brad Jorsch [Mon, 20 Apr 2015 18:49:36 +0000 (14:49 -0400)]
API: Add wfDeprecated() to deprecated ApiResult methods

Bug: T96596
Change-Id: Ib0068b4cd3cc9c1765d82a8ade7b3d435c57f1d5

9 years agoMerge "resourceloader: Add ResourceLoader::makeInlineScript utility and use it"
jenkins-bot [Mon, 20 Apr 2015 19:55:31 +0000 (19:55 +0000)]
Merge "resourceloader: Add ResourceLoader::makeInlineScript utility and use it"

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 20 Apr 2015 19:53:52 +0000 (19:53 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoresourceloader: Add ResourceLoader::makeInlineScript utility and use it
Timo Tijhof [Wed, 25 Mar 2015 04:48:02 +0000 (04:48 +0000)]
resourceloader: Add ResourceLoader::makeInlineScript utility and use it

Plucked from the e86e5f846 which got reverted.

Change-Id: I4bba3f3c31c5181867378ae174537429b49a50df

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 20 Apr 2015 19:42:17 +0000 (21:42 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia6de439d0d02dd9ed3c8426472d6d7abbdb61c76

9 years agoRevert "Added per-wiki queue stats information"
Ori.livneh [Mon, 20 Apr 2015 19:22:30 +0000 (19:22 +0000)]
Revert "Added per-wiki queue stats information"

Creates too many metrics.
This reverts commit 340220080eb8a21744686b6397d0a6a2115c9742.

Task: T95913
Change-Id: Ifa478996febcdd6b3687c4cb64b215495514a899

9 years agoPolyfill node types in browsers without DOM level 2
Stephane Bisson [Thu, 16 Apr 2015 14:06:30 +0000 (10:06 -0400)]
Polyfill node types in browsers without DOM level 2

mediawiki.jqueryMsg.js:1144 was blowing up on Node.TEXT_NODE
because window.Node is undefined in IE8. The exception was ignored
and this was causing a message containing {{PLURAL...}} or
{{GENDER...}} to be rendered as is.

Bug: T87118
Change-Id: I8c5c2ae74b68eeabd93bb5b81a3061bcb31f6549

9 years agoMerge "BagOStuff doc tweaks"
jenkins-bot [Mon, 20 Apr 2015 17:38:22 +0000 (17:38 +0000)]
Merge "BagOStuff doc tweaks"

9 years agoBagOStuff doc tweaks
Aaron Schulz [Mon, 20 Apr 2015 17:23:07 +0000 (10:23 -0700)]
BagOStuff doc tweaks

Change-Id: I0eea84bbbc4c742c07a35a2b157517ad9dd40bb8

9 years agoMerge "Fix very old log params of log type rights for new api logparam style"
jenkins-bot [Mon, 20 Apr 2015 16:40:20 +0000 (16:40 +0000)]
Merge "Fix very old log params of log type rights for new api logparam style"

9 years agoMerge "Add supportsDirectEditing methods to ContentHandler"
jenkins-bot [Mon, 20 Apr 2015 16:29:01 +0000 (16:29 +0000)]
Merge "Add supportsDirectEditing methods to ContentHandler"

9 years agoMerge "Revert "Release notes for aacdb664a10""
jenkins-bot [Mon, 20 Apr 2015 16:28:00 +0000 (16:28 +0000)]
Merge "Revert "Release notes for aacdb664a10""

9 years agoMerge "ApiFormatPhp: Fix dieUsage call on unknown formatversion value"
jenkins-bot [Mon, 20 Apr 2015 15:14:07 +0000 (15:14 +0000)]
Merge "ApiFormatPhp: Fix dieUsage call on unknown formatversion value"

9 years agoApiFormatPhp: Fix dieUsage call on unknown formatversion value
Kunal Mehta [Mon, 20 Apr 2015 15:04:01 +0000 (08:04 -0700)]
ApiFormatPhp: Fix dieUsage call on unknown formatversion value

Same as Ib6cee829b589

Change-Id: Ib695520b620e57dba342d984856e58adeaeb4ca8

9 years agoApiFormatJson: Fix dieUsage call on unknown formatversion value
Kunal Mehta [Fri, 17 Apr 2015 23:37:09 +0000 (16:37 -0700)]
ApiFormatJson: Fix dieUsage call on unknown formatversion value

* Add missing error code
* Don't call staticly, it's not a static function

Change-Id: Ib6cee829b589f6fe0d092ebe7cca2a1d16c357fd

9 years agoRevert "Release notes for aacdb664a10"
Ricordisamoa [Sun, 19 Apr 2015 20:49:11 +0000 (20:49 +0000)]
Revert "Release notes for aacdb664a10"

I429b609b626af35ae0abcdf6f1c13e8afb6503b9 was reverted by
I2e7e761281dae6a22fc520c9153734b55403b120 and didn't make
it into the final release. Revert also the release notes change.

This reverts commit 101db1a12e6b08b30583fff203b1310433c5f130.

Change-Id: Ic6cd3530c08bbd0c486bbce77224a922686fa475

9 years agoAPI: Avoid warnings for parameters that don't exist in format=rawfm
Brad Jorsch [Mon, 20 Apr 2015 14:12:39 +0000 (10:12 -0400)]
API: Avoid warnings for parameters that don't exist in format=rawfm

As format=rawfm is intended for debugging, a recent change removed
definition of unnecessary parameters inherited from format=json. But the
inherited code was still assuming they were defined, causing PHP
warnings.

Bug: T96479
Change-Id: Id13ae541f13b6930c535d156dc5aac0a257d31e8

9 years agoMerge "Do not wrap the "License" field on Special:Version"
jenkins-bot [Sun, 19 Apr 2015 21:53:28 +0000 (21:53 +0000)]
Merge "Do not wrap the "License" field on Special:Version"

9 years agoDo not wrap the "License" field on Special:Version
Ricordisamoa [Sun, 8 Feb 2015 02:03:36 +0000 (03:03 +0100)]
Do not wrap the "License" field on Special:Version

"GPL-2.0+" and similar codes might otherwise get wrapped after "-".

Change-Id: I613b0f61e6bf2951000a0674438e0ed3f1523fab

9 years agoSpecial:ChangeEmail: Set autofocus on new email field rather than password field
Alex Monk [Sun, 19 Apr 2015 14:29:48 +0000 (15:29 +0100)]
Special:ChangeEmail: Set autofocus on new email field rather than password field

Bug: T96509
Change-Id: I657638509b9600a15bb8b6e7bb99f29340b3799e

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 19 Apr 2015 18:57:54 +0000 (20:57 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id0523c7c8ced2bd9ce455c04d3bcd1515e76797b

9 years agoMerge "Remove quotation marks from linktrail for Udmurt"
jenkins-bot [Sun, 19 Apr 2015 18:19:08 +0000 (18:19 +0000)]
Merge "Remove quotation marks from linktrail for Udmurt"

9 years agoMerge "CREDITS for This, That, and the other"
jenkins-bot [Sat, 18 Apr 2015 23:38:07 +0000 (23:38 +0000)]
Merge "CREDITS for This, That, and the other"

9 years agoCREDITS for This, That, and the other
Brad Jorsch [Wed, 15 Apr 2015 18:38:32 +0000 (14:38 -0400)]
CREDITS for This, That, and the other

After I77f476c, I37275e0f, and I7d3ef92, you deserve it.

Change-Id: Ie14c97587ada080f4e935e4d2e971ea36111d029

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 18 Apr 2015 21:55:54 +0000 (23:55 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic5f208a41d986cf2ccd75af1eb2f4f90dcbeedd1

9 years agoRemove quotation marks from linktrail for Udmurt
Amir E. Aharoni [Thu, 16 Apr 2015 18:14:42 +0000 (21:14 +0300)]
Remove quotation marks from linktrail for Udmurt

Bug: T93678
Change-Id: I2992e652bf31221d9e1db226f8f19dd270ce7a99

9 years agoAdd target mobile to jquery.textSelection
Florian [Sat, 18 Apr 2015 16:54:36 +0000 (18:54 +0200)]
Add target mobile to jquery.textSelection

Bug: T91752
Change-Id: Idd2275788f11303bd965994c9fb2e6c2d59daa33

9 years agoFix very old log params of log type rights for new api logparam style
umherirrender [Sat, 18 Apr 2015 09:25:54 +0000 (11:25 +0200)]
Fix very old log params of log type rights for new api logparam style

After I9109a27f416b002e5c562a1454d8c373dcf98fb4 list=logevents also
called the log formatter for empty params, which than result in a
undefined index warning, because log entry without log params can exists
for the rights log type.

Follow-Up: I4762743b3f43e6ebd806d3ae516507ae66478e96
Change-Id: I169a00f0e39fe88d23111b62f18a9f5cf60866dc

9 years agoi18n: Apply lang on UI messages on diff table
Ebrahim Byagowi [Fri, 17 Apr 2015 21:49:52 +0000 (21:49 +0000)]
i18n: Apply lang on UI messages on diff table

Change-Id: Ib37e4f9115e935fa60b461c2fcc36047fe4c9dc6

9 years agoChinese Conversion Table Update 2015-2
Chiefwei [Sun, 15 Mar 2015 14:14:31 +0000 (22:14 +0800)]
Chinese Conversion Table Update 2015-2

Update the Chinese conversion table to fix bugs reported.

It is only data changes and only works for Chinese WikiProjects.

Bug: T92758
Change-Id: I89a425517b2ba48645e57c48103a48ac5b1718c2

9 years agoMerge "Follow-up 1c57794e371: change 'nobools' to 'nobool' in docs"
jenkins-bot [Fri, 17 Apr 2015 23:38:59 +0000 (23:38 +0000)]
Merge "Follow-up 1c57794e371: change 'nobools' to 'nobool' in docs"

9 years agoFollow-up 1c57794e371: change 'nobools' to 'nobool' in docs
Roan Kattouw [Fri, 17 Apr 2015 23:29:43 +0000 (16:29 -0700)]
Follow-up 1c57794e371: change 'nobools' to 'nobool' in docs

Because 'nobool' is what's actually used in the code.

Change-Id: Ia846e6abbf973d3b060a509e0216023a8278d7f6

9 years agoAdd missing 'return'
Brad Jorsch [Fri, 17 Apr 2015 20:36:34 +0000 (16:36 -0400)]
Add missing 'return'

Bug: T96422
Change-Id: Ib797af8d86cf33c56b023e53240dc1cd0bad2fb0

9 years agoMerge "Reduce change for deadlocks in Block::insert()"
jenkins-bot [Fri, 17 Apr 2015 20:21:18 +0000 (20:21 +0000)]
Merge "Reduce change for deadlocks in Block::insert()"

9 years agoReduce change for deadlocks in Block::insert()
Aaron Schulz [Fri, 17 Apr 2015 20:04:35 +0000 (13:04 -0700)]
Reduce change for deadlocks in Block::insert()

Bug: T96428
Change-Id: Idb266c8de7b5d7d85339ecc58044c28005527c89

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 17 Apr 2015 19:57:26 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I7412d9b48894ae6a599adc4494efd83bf1d1b019

9 years agoMerge "Made showJobs.php show claimed jobs too"
jenkins-bot [Fri, 17 Apr 2015 19:49:44 +0000 (19:49 +0000)]
Merge "Made showJobs.php show claimed jobs too"