lhc/web/wiklou.git
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 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 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"

9 years agoMade showJobs.php show claimed jobs too
Aaron Schulz [Fri, 17 Apr 2015 18:08:26 +0000 (11:08 -0700)]
Made showJobs.php show claimed jobs too

Change-Id: Ifc5eeff10fdcdbbe4ade7b32e5388fee4eb94bcf

9 years agoMerge "Always set duration/flags of type block for new api logparam style"
jenkins-bot [Fri, 17 Apr 2015 18:45:06 +0000 (18:45 +0000)]
Merge "Always set duration/flags of type block for new api logparam style"

9 years agoMerge "Fix old log params of log type rights for new api logparam style"
jenkins-bot [Fri, 17 Apr 2015 18:33:15 +0000 (18:33 +0000)]
Merge "Fix old log params of log type rights for new api logparam style"

9 years agoFix old log params of log type rights for new api logparam style
umherirrender [Fri, 17 Apr 2015 16:24:50 +0000 (18:24 +0200)]
Fix old log params of log type rights for new api logparam style

The log param of right changes can also just be a string. The new api
logparam style does not recognize this and shows an error:
Argument 1 passed to ApiResult::setIndexedTagName() must be an instance of array, string given

Centralize the code in a new helper function and use it also for the gui
part.

Follow-Up: I6846ce09322eb404c506b5a51780a44ce9279fe2
Change-Id: I4762743b3f43e6ebd806d3ae516507ae66478e96

9 years agoMerge "Always set suppressredirect of type move for new api logparam style"
jenkins-bot [Fri, 17 Apr 2015 17:58:01 +0000 (17:58 +0000)]
Merge "Always set suppressredirect of type move for new api logparam style"

9 years agoAlways set duration/flags of type block for new api logparam style
umherirrender [Fri, 17 Apr 2015 16:49:50 +0000 (18:49 +0200)]
Always set duration/flags of type block for new api logparam style

Old and very old log params may omit a duration or flags. Always adds
these parameters to the output.
Also simplify the infinity check (see also
I5eb68c1fb6029da8289276ecf7c81330575029ef) and check the return of
strtotime.

Bug: T92902
Follow-Up: I6846ce09322eb404c506b5a51780a44ce9279fe2
Change-Id: I9109a27f416b002e5c562a1454d8c373dcf98fb4

9 years agoFixed stat calls in checkImages
Aaron Schulz [Fri, 17 Apr 2015 17:19:37 +0000 (10:19 -0700)]
Fixed stat calls in checkImages

Bug: T64148
Change-Id: Ibfafb7dd76248855b75edee6c7ecaa87108d17ba

9 years agoAlways set suppressredirect of type move for new api logparam style
umherirrender [Fri, 17 Apr 2015 16:30:10 +0000 (18:30 +0200)]
Always set suppressredirect of type move for new api logparam style

Old log params for moves may omit the suppressredirect indicator, just
add it as false when missing.

This has no visible change for the old json or xml format, but it will
be useful, when using the new json format, which also output bool=false

Follow-Up: I6846ce09322eb404c506b5a51780a44ce9279fe2
Change-Id: I74981bf064a0b94707b5cc7ff7e5bb8fcdfe2123

9 years agoAdd supportsDirectEditing methods to ContentHandler
aude [Wed, 15 Apr 2015 08:26:22 +0000 (10:26 +0200)]
Add supportsDirectEditing methods to ContentHandler

This adds supportsDirectApiEditing and
supportsDirectEditing methods to ContentHandler. Both
return false by default for the ContentHandler base
class, and true for TextContentHandler and it's
derivatives. (everything in core)

Extension content types that directly extend
AbstractContent / ContentHandler, often / generally don't
support direct editing. EntityContent in Wikibase
and Flow boards are the two such content types currently
in gerrit-hosted extensions.

The use and direct settings of the allowNonTextContent
member variable is replaced by enableApiEditOverride and
a setter for that. The only place allowNonTextContent is
used in all of Wikimedia-hosted git repos is core itself
(EditPage and ApiEditPage), so should be safe to make
this change.

With this change, Wikibase can remove its ApiCheckCanExecute
hook handler that disallows editing there, and MobileFrontend
could check if direct editing is allowed before enabling it's
editing features, instead of Wikibase having to add
MobileFrontend hook handlers to disable the features.

Bug: T96382
Change-Id: I276cd6ecedf38108f1f2be16b38e699e8c5d2d0c

9 years agoMerge "Made wfWaitForSlaves check all master connections for writes"
jenkins-bot [Fri, 17 Apr 2015 05:36:10 +0000 (05:36 +0000)]
Merge "Made wfWaitForSlaves check all master connections for writes"

9 years agoMade wfWaitForSlaves check all master connections for writes
Aaron Schulz [Fri, 17 Apr 2015 05:15:46 +0000 (22:15 -0700)]
Made wfWaitForSlaves check all master connections for writes

* Previously it just checked the main connection

Change-Id: If63498e4fa2800f8ffbde4c570c556f21b554473

9 years agoAPI: Move parameter formatting into LogFormatter
Brad Jorsch [Sun, 10 Aug 2014 10:25:29 +0000 (11:25 +0100)]
API: Move parameter formatting into LogFormatter

This allows for extensions to format their log entry parameters, and
keeps the code for formatting API log entry parameters in the same place
as for other formatting.

This also takes the opportunity to rearrange the output format slightly
to avoid conflicts like what's happening in T73020.

Bug: T35235
Bug: T73020
Bug: T91466
Change-Id: I6846ce09322eb404c506b5a51780a44ce9279fe2

9 years agoMerge "Avoid (s) for unknown plural in a message"
jenkins-bot [Fri, 17 Apr 2015 01:26:47 +0000 (01:26 +0000)]
Merge "Avoid (s) for unknown plural in a message"

9 years agoMerge "Show correct counts in category-info on action=info"
jenkins-bot [Fri, 17 Apr 2015 01:24:05 +0000 (01:24 +0000)]
Merge "Show correct counts in category-info on action=info"

9 years agoMerge "API: Update ApiTag, fix error handling"
jenkins-bot [Thu, 16 Apr 2015 23:54:59 +0000 (23:54 +0000)]
Merge "API: Update ApiTag, fix error handling"

9 years agoAPI: Document parameter types
Brad Jorsch [Thu, 26 Mar 2015 19:34:55 +0000 (15:34 -0400)]
API: Document parameter types

Two things here:
* Identify the parameter types when they're not simple strings (or
  already identified).
* Add a section to the 'main' module documentation that describes
  booleans and timestamp formats.

Bug: T93982
Bug: T47652
Change-Id: I67da4f4c026616eed5669256b208b03350e756c0

9 years agoMerge "Remove $wgRUstart, unused"
jenkins-bot [Thu, 16 Apr 2015 23:24:20 +0000 (23:24 +0000)]
Merge "Remove $wgRUstart, unused"

9 years agoMerge "Introduce PageHistoryPager::doBatchLookups hook."
jenkins-bot [Thu, 16 Apr 2015 22:45:05 +0000 (22:45 +0000)]
Merge "Introduce PageHistoryPager::doBatchLookups hook."

9 years agoRemove $wgRUstart, unused
Chad Horohoe [Thu, 16 Apr 2015 22:28:37 +0000 (15:28 -0700)]
Remove $wgRUstart, unused

Change-Id: Ia57f8fb2da4eed6b185ea0592d521e3119411f0e

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

Change-Id: I367d10127998ae26a5627f849d1711065330b5f5

9 years agoShow correct counts in category-info on action=info
umherirrender [Thu, 16 Apr 2015 18:26:27 +0000 (20:26 +0200)]
Show correct counts in category-info on action=info

The number of pages was always the total count of all members of that
category, not just pages. Correct that and also show the total count.

Change-Id: I246d92b35d508e10fd93f9c7209db11a6e0eeb7a

9 years agoMerge "Made saveSettings() CAS check handle caught DB exceptions better"
jenkins-bot [Thu, 16 Apr 2015 18:07:34 +0000 (18:07 +0000)]
Merge "Made saveSettings() CAS check handle caught DB exceptions better"

9 years agoMade saveSettings() CAS check handle caught DB exceptions better
Aaron Schulz [Thu, 16 Apr 2015 17:54:26 +0000 (10:54 -0700)]
Made saveSettings() CAS check handle caught DB exceptions better

Change-Id: I8e9e75af437e00a76e4184908c579a6702c9023a

9 years agoMoved ChangeTags to /changetags
Aaron Schulz [Thu, 16 Apr 2015 17:40:04 +0000 (10:40 -0700)]
Moved ChangeTags to /changetags

Change-Id: I55a8f00d3aa2717d0bf6480ab1a694f29b429de0

9 years agoMerge "Try to reduce stale cache updates in User::saveSettings()"
jenkins-bot [Thu, 16 Apr 2015 16:40:02 +0000 (16:40 +0000)]
Merge "Try to reduce stale cache updates in User::saveSettings()"

9 years agoMerge "Moved MessageBlobStore to /cache"
jenkins-bot [Thu, 16 Apr 2015 16:39:58 +0000 (16:39 +0000)]
Merge "Moved MessageBlobStore to /cache"

9 years agoMerge "Fix variable name and use isset() to shut up a stupid notice"
jenkins-bot [Thu, 16 Apr 2015 16:17:52 +0000 (16:17 +0000)]
Merge "Fix variable name and use isset() to shut up a stupid notice"

9 years agoIntroduce PageHistoryPager::doBatchLookups hook.
daniel [Thu, 16 Apr 2015 15:10:43 +0000 (17:10 +0200)]
Introduce PageHistoryPager::doBatchLookups hook.

The intention of the new hook is to allow extensions to prefetch
any information that may be needed for displaying history rows.

In particular, this is needed by Wikibase to allow us to inject
localized entity labels into the edit summaries.

Bug: T95672
Change-Id: Ie10ef99154da35713a4f583e2de2162fba28eef2

9 years agoAPI: Update ApiTag, fix error handling
Brad Jorsch [Thu, 16 Apr 2015 14:37:13 +0000 (10:37 -0400)]
API: Update ApiTag, fix error handling

Change I7b37295e didn't get rebased to take into account the new ApiTag
module added the same day. So update it now.

Also fix some errors in error handling noticed while testing this
update.

Bug: T96251
Bug: T96252
Change-Id: If8b63af91547e117b9d7d88e2ec9739131ee09b7

9 years agoAvoid (s) for unknown plural in a message
Amir E. Aharoni [Thu, 16 Apr 2015 12:27:18 +0000 (15:27 +0300)]
Avoid (s) for unknown plural in a message

Similar to I365d6279310cb2455e078de5677bf7fffa54d60d

Change-Id: If251f1dd46340d7f3b22621f41f890d28e8aae91

9 years agoMerge "Avoid (s) for unknown plural in a message"
jenkins-bot [Thu, 16 Apr 2015 12:21:29 +0000 (12:21 +0000)]
Merge "Avoid (s) for unknown plural in a message"

9 years agoMerge "Fix warning, add new special page to MessagesEn.php"
jenkins-bot [Thu, 16 Apr 2015 10:25:24 +0000 (10:25 +0000)]
Merge "Fix warning, add new special page to MessagesEn.php"

9 years agoMerge "Add $linkTrail for Western Baluchi (bgn)"
jenkins-bot [Thu, 16 Apr 2015 09:04:26 +0000 (09:04 +0000)]
Merge "Add $linkTrail for Western Baluchi (bgn)"

9 years agoFix warning, add new special page to MessagesEn.php
raymond [Thu, 16 Apr 2015 07:29:15 +0000 (09:29 +0200)]
Fix warning, add new special page to MessagesEn.php

Followup I7d3ef927b5686f6211bc5817776286ead19d916b

Change-Id: I50fa932f2868c38216745b4f9a403b820cc372a5

9 years agoMerge "mediawiki.jqueryMsg: Abort test if a language request fails"
jenkins-bot [Thu, 16 Apr 2015 04:12:42 +0000 (04:12 +0000)]
Merge "mediawiki.jqueryMsg: Abort test if a language request fails"

9 years agoMerge "Use vslow in tagUsageStatistics"
Aaron Schulz [Thu, 16 Apr 2015 03:47:02 +0000 (03:47 +0000)]
Merge "Use vslow in tagUsageStatistics"

9 years agoMoved MessageBlobStore to /cache
Aaron Schulz [Thu, 16 Apr 2015 03:36:03 +0000 (20:36 -0700)]
Moved MessageBlobStore to /cache

Change-Id: Ib628cc2f5d9079f4538561d585725fd79876d6f2

9 years agoTry to reduce stale cache updates in User::saveSettings()
Aaron Schulz [Thu, 16 Apr 2015 03:34:51 +0000 (20:34 -0700)]
Try to reduce stale cache updates in User::saveSettings()

Bug: T95839
Change-Id: I4dc87697448b833ea575cbb3e05c92c7160d03f9

9 years agoMerge "backupTextPassTest: Disable testCheckpointGzip test"
jenkins-bot [Thu, 16 Apr 2015 03:30:44 +0000 (03:30 +0000)]
Merge "backupTextPassTest: Disable testCheckpointGzip test"

9 years agobackupTextPassTest: Disable testCheckpointGzip test
Timo Tijhof [Thu, 16 Apr 2015 03:04:07 +0000 (04:04 +0100)]
backupTextPassTest: Disable testCheckpointGzip test

Follows-up 3d4c0e9373c6f525.

Bug: T70653
Change-Id: I2fbb3e8a2ba14751dfc8942d6d1a379faa9c48bf

9 years agoUse vslow in tagUsageStatistics
Aaron Schulz [Thu, 16 Apr 2015 03:01:21 +0000 (20:01 -0700)]
Use vslow in tagUsageStatistics

Change-Id: If3e76b1ba560eac6e4073f12c9dfa5becb75b6e0

9 years agoThe 'spambot_username' message is a reserved username
Kunal Mehta [Thu, 16 Apr 2015 02:56:36 +0000 (19:56 -0700)]
The 'spambot_username' message is a reserved username

It is used by cleanupSpam.php

Change-Id: I34d9bba7bf33d363bdce410c24a21dacd84771b5

9 years agomediawiki.jqueryMsg: Abort test if a language request fails
Timo Tijhof [Thu, 16 Apr 2015 00:28:28 +0000 (01:28 +0100)]
mediawiki.jqueryMsg: Abort test if a language request fails

Follows-up 365b6f3.

If one of the requests fails, stop the test. This avoids one test
from leaking into the next test if it times out. And also makes
the error in question easier to handle. Most subsequent errors
tend to be cascading failures from earlier ones in this case.

It will still run other qunit tests within this module and other modules,
it only aborts the subtest for "Match PHP parser" in mediawiki.jqueryMsg.

To test:
* Change getMwLanguage() and append a bogus string to the request url,
  e.g. 'load.fail.php'.
* It will fail as expected with 'Language "en" failed to load.' and QUnit
  reports that it expected 49 more assertions, and moves on to the next test.

Change-Id: Id77bf43ef0b7a031db2fdb1d6c1bb8b2c64e689c

9 years agoMerge "ChangeTags: Hide tags whose description messages are disabled"
jenkins-bot [Thu, 16 Apr 2015 01:37:10 +0000 (01:37 +0000)]
Merge "ChangeTags: Hide tags whose description messages are disabled"

9 years agoMerge "Tweaked CAS log message for User::saveSettings"
jenkins-bot [Thu, 16 Apr 2015 01:36:24 +0000 (01:36 +0000)]
Merge "Tweaked CAS log message for User::saveSettings"

9 years agoChangeTags: Hide tags whose description messages are disabled
Ori Livneh [Sun, 9 Nov 2014 03:13:05 +0000 (19:13 -0800)]
ChangeTags: Hide tags whose description messages are disabled

If an interface message describing the given tag exists, check if it has been
disabled. If so, take that as an indication that the tag should not be
displayed.

This amounts to an adequate (if somewhat low-level) interface for managing
which edit tags are shown in change list views like Special:RecentChanges and
Special:Contributions.

This patch is based on a suggestion made by jackmcbarn in a review comment on
commit 494989772cf. I did it in a separate change because I'd be interested in
hiding the HHVM tag even if we end up deciding against a generic mechanism for
hiding tags.

Change-Id: I515cf2118ab929da985d6b40481325640e800dcd

9 years agoMerge "API: Overhaul ApiResult, make format=xml not throw, and add json formatversion"
jenkins-bot [Thu, 16 Apr 2015 01:05:51 +0000 (01:05 +0000)]
Merge "API: Overhaul ApiResult, make format=xml not throw, and add json formatversion"

9 years agoTweaked CAS log message for User::saveSettings
Aaron Schulz [Thu, 16 Apr 2015 00:58:48 +0000 (17:58 -0700)]
Tweaked CAS log message for User::saveSettings

Change-Id: I82376561b3c7c15da6fe6374db0245caa5d79ce8

9 years agoqunit: Abort unfinished AJAX requests in test teardown
Timo Tijhof [Thu, 16 Apr 2015 00:19:09 +0000 (01:19 +0100)]
qunit: Abort unfinished AJAX requests in test teardown

Similar to what we do with animations already, ensure we give
the next test a clean start by aborting any requests that were
made during the test that are still pending.

Also log the details of the request (ajax options, e.g. url) to
the console.

To test:
* Add "sleep( 1 );" to LocalSettings.php.
* add "$.ajax( mw.util.wikiScript() )" to a test in mediawiki.util.test.js.
* Run Special:JavaScriptTest/qunit/plain?module=mediawiki.util

Change-Id: Iefef89effc092d296baa9df68a86d95497730708

9 years agoMerge "ChangeTags was backported to 1.25"
jenkins-bot [Wed, 15 Apr 2015 22:17:26 +0000 (22:17 +0000)]
Merge "ChangeTags was backported to 1.25"

9 years agoMerge "ResourceLoaderImageModule: Implement cache invalidation"
jenkins-bot [Wed, 15 Apr 2015 21:53:58 +0000 (21:53 +0000)]
Merge "ResourceLoaderImageModule: Implement cache invalidation"

9 years agoAvoid (s) for unknown plural in a message
Amir E. Aharoni [Wed, 15 Apr 2015 21:37:04 +0000 (00:37 +0300)]
Avoid (s) for unknown plural in a message

Change-Id: I365d6279310cb2455e078de5677bf7fffa54d60d

9 years agoChangeTags was backported to 1.25
Brad Jorsch [Wed, 15 Apr 2015 21:30:19 +0000 (17:30 -0400)]
ChangeTags was backported to 1.25

So change the relevant references to 1.26.

Change-Id: I351de6a77747e3152052a448b8b6d2f25699e1d0

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 15 Apr 2015 21:14:20 +0000 (21:14 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 15 Apr 2015 21:07:52 +0000 (23:07 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I655e14be267853043341809918d583003366bd7b