lhc/web/wiklou.git
8 years agoMerge "Start using the Assert helper class for checking parameters."
jenkins-bot [Mon, 11 May 2015 18:15:44 +0000 (18:15 +0000)]
Merge "Start using the Assert helper class for checking parameters."

8 years agoMerge "Update OOjs UI to v0.11.2"
jenkins-bot [Mon, 11 May 2015 18:11:41 +0000 (18:11 +0000)]
Merge "Update OOjs UI to v0.11.2"

8 years agoStart using the Assert helper class for checking parameters.
daniel [Wed, 22 Apr 2015 16:46:29 +0000 (18:46 +0200)]
Start using the Assert helper class for checking parameters.

This introduces https://github.com/wmde/Assert as a dependency,
as discussed in the RFC T91071.

This change uses assertions to check some parameters in some places,
to showcase the main intended use case for assertions in MediaWiki.

Bug: T91071
Change-Id: I93ac39b7c146f10532e37b51d973b59b9c424b2f

8 years agoUpdate OOjs UI to v0.11.2
James D. Forrester [Mon, 11 May 2015 17:30:52 +0000 (18:30 +0100)]
Update OOjs UI to v0.11.2

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

Change-Id: I0188c5b80958d9a6a3d063292df724f507b7287f

8 years agoFixed variable collision in LocalFile::saveToCache()
Aaron Schulz [Mon, 11 May 2015 17:20:20 +0000 (10:20 -0700)]
Fixed variable collision in LocalFile::saveToCache()

Bug: T98754
Change-Id: I656b0c415e1b7ec64ee6c15d9a91ebc427663009

8 years agoMerge "Remove PHP4 "support" from using constant in update.php"
jenkins-bot [Mon, 11 May 2015 16:55:50 +0000 (16:55 +0000)]
Merge "Remove PHP4 "support" from using constant in update.php"

8 years agoMerge "Converted User touched key to using the WAN cache"
jenkins-bot [Mon, 11 May 2015 16:52:48 +0000 (16:52 +0000)]
Merge "Converted User touched key to using the WAN cache"

8 years agoMerge "Include transaction details log entry for trx write time violations"
jenkins-bot [Mon, 11 May 2015 16:42:16 +0000 (16:42 +0000)]
Merge "Include transaction details log entry for trx write time violations"

8 years agoMerge "Avoid cache stampedes in ChangeTag class"
jenkins-bot [Mon, 11 May 2015 16:41:55 +0000 (16:41 +0000)]
Merge "Avoid cache stampedes in ChangeTag class"

8 years agoMerge "Converted LocalFile to using the WAN cache"
jenkins-bot [Mon, 11 May 2015 16:21:20 +0000 (16:21 +0000)]
Merge "Converted LocalFile to using the WAN cache"

8 years agoRemove PHP4 "support" from using constant in update.php
Reedy [Mon, 11 May 2015 14:34:02 +0000 (15:34 +0100)]
Remove PHP4 "support" from using constant in update.php

Change-Id: I4743d10a3084a7dc4806d73662b19aa6751b0c18

8 years agoMerge "Unbreak --profile=text for CLI scrips"
jenkins-bot [Mon, 11 May 2015 06:19:22 +0000 (06:19 +0000)]
Merge "Unbreak --profile=text for CLI scrips"

8 years agoMerge "WebRequest::getHeader: add optional flag to get back list"
jenkins-bot [Mon, 11 May 2015 02:11:57 +0000 (02:11 +0000)]
Merge "WebRequest::getHeader: add optional flag to get back list"

8 years agoLivePreview: Process jsconfigvars
Derk-Jan Hartman [Sun, 10 May 2015 14:30:14 +0000 (16:30 +0200)]
LivePreview: Process jsconfigvars

Any jsconfigvars added by the new previewed content needs to added to
the context, so that it can be used by the modules.

Bug: T92944
Change-Id: Ib990f00ebe974008cea4dccbaa212ec20c846674

8 years agoAPI: Add output of JS config vars to action=parse
Brad Jorsch [Fri, 23 Jan 2015 23:27:11 +0000 (15:27 -0800)]
API: Add output of JS config vars to action=parse

Modules will sometimes depend on these.

Bug: T67015
Change-Id: Ida3fd5f8808202892001f66c4a534c1725e769a6

8 years agoSet isExpensiveToThumbnail for the djvu handler
Aaron Schulz [Sun, 10 May 2015 19:49:43 +0000 (12:49 -0700)]
Set isExpensiveToThumbnail for the djvu handler

* This makes FileRenderExpensive pool logic apply for large files
  to cut down on DB load from getMetaTree()

Bug: T96360
Change-Id: If892d77077607ffcaba0510355175a1e4d780ae9

8 years agoAvoid cache stampedes in ChangeTag class
Aaron Schulz [Sun, 10 May 2015 18:15:25 +0000 (11:15 -0700)]
Avoid cache stampedes in ChangeTag class

Change-Id: Ieec931c4211323ae7b838c783e45e1a83a7bb6a1

8 years agoBump ReplicatedBagOStuff @since
Aaron Schulz [Sat, 9 May 2015 18:44:29 +0000 (11:44 -0700)]
Bump ReplicatedBagOStuff @since

Removed from 1.25 with I961d642e056f3c8087e1c2155e884a5ca5fcbe51

Change-Id: I1b84a03e35c9fe7ea58ef1b80514af062e3d635a

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 9 May 2015 18:53:00 +0000 (20:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If24737f37cbf0682d7e90f300b16ee30a6316b19

8 years agoresourceloader: Use absolute file path in SpecialCharactersDataModule
Timo Tijhof [Sat, 9 May 2015 04:28:10 +0000 (05:28 +0100)]
resourceloader: Use absolute file path in SpecialCharactersDataModule

Follows-up ec2330f.

When called, it fails fails:
> file_get_contents(resources/src/mediawiki.language/specialcharacters.json):
> failed to open stream: No such file or directory

Needs to be expanded relative to $IP, just like ResourceLoaderFileModule
and others do already.

Not previously caught by unit tests because this method was never
called from any tests.

Change-Id: Id87b3de29a61039d87b630202f1f71f112cbd752

8 years agoUnbreak --profile=text for CLI scrips
Aaron Schulz [Sat, 9 May 2015 01:59:42 +0000 (18:59 -0700)]
Unbreak --profile=text for CLI scrips

* Fixes "Undefined index: threshold" and
  "Invalid argument supplied for foreach()" errors
  so that output actually can show

Change-Id: Ibf8090f265d988c58d1752319336a5146a28f4d0

8 years agoWebRequest::getHeader: add optional flag to get back list
Ori Livneh [Sat, 9 May 2015 00:42:15 +0000 (17:42 -0700)]
WebRequest::getHeader: add optional flag to get back list

* Add a stub FauxRequest::initHeaders method. This allows FauxRequest to
  use WebRequest's getHeader implemention, leading to less code duplication.
* Add an optional $flags parameter to WebRequest::getHeader. When the flag
  WebRequest::GETHEADER_LIST is set, treat the header as a comma-separated
  list of values (per RFC 2616 § 4.2) and return an array.
  (Initial use-case: Ibb292d241's treatment of If-None-Match header.)
* Add test.

See <http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html>.

Change-Id: I2760f57adfa7b886c84044a6e9348a47ac307229

8 years agoInclude transaction details log entry for trx write time violations
Aaron Schulz [Fri, 8 May 2015 19:08:15 +0000 (12:08 -0700)]
Include transaction details log entry for trx write time violations

* This makes it possible to see what is being done by matching
  the trx IDs of the (normally) adjacent log entries

Change-Id: I515de99acfe159856930d8e259c00eb744f43213

8 years agoConverted LocalFile to using the WAN cache
Aaron Schulz [Tue, 28 Apr 2015 00:26:58 +0000 (17:26 -0700)]
Converted LocalFile to using the WAN cache

Bug: T93141
Change-Id: Iecb182428ae0d8e7511bc28340b57f6e7042b723

8 years agoMerge "Converted Interwiki using WAN cache"
jenkins-bot [Fri, 8 May 2015 08:29:34 +0000 (08:29 +0000)]
Merge "Converted Interwiki using WAN cache"

8 years agoMerge "Log transaction that spend too much time in write queries"
jenkins-bot [Fri, 8 May 2015 08:15:57 +0000 (08:15 +0000)]
Merge "Log transaction that spend too much time in write queries"

8 years agoLog transaction that spend too much time in write queries
Aaron Schulz [Fri, 8 May 2015 00:12:09 +0000 (17:12 -0700)]
Log transaction that spend too much time in write queries

Change-Id: I9ba184601cfb1667291f7a29677cc5205344d5ad

8 years agoConverted sidebar cache to the WAN cache
Aaron Schulz [Mon, 27 Apr 2015 21:56:52 +0000 (14:56 -0700)]
Converted sidebar cache to the WAN cache

Bug: T93141
Change-Id: Id99f886c48501bbfef85cb0e7c5d2e2810a68581

8 years agoMark mw-tag-marker as bidi-embed
Amir E. Aharoni [Thu, 7 May 2015 21:35:14 +0000 (00:35 +0300)]
Mark mw-tag-marker as bidi-embed

This prevents LTR tag names from being shown in an incorrect order
in RTL wikis.

Change-Id: Id0e351105119a48e3eda62fe642d8ccc3d6ab598

8 years agoMerge "Only configure the transaction profiler if profiling is enabled"
jenkins-bot [Thu, 7 May 2015 20:05:53 +0000 (20:05 +0000)]
Merge "Only configure the transaction profiler if profiling is enabled"

8 years agoMerge "Tweaked TempFSFile::bind() param type docs"
jenkins-bot [Thu, 7 May 2015 19:55:13 +0000 (19:55 +0000)]
Merge "Tweaked TempFSFile::bind() param type docs"

8 years agoMerge "Reduce chunk size in doBatchPush for redis"
jenkins-bot [Thu, 7 May 2015 19:43:02 +0000 (19:43 +0000)]
Merge "Reduce chunk size in doBatchPush for redis"

8 years agoMerge "Added more lockTSE comments to getWithSetCallback()"
jenkins-bot [Thu, 7 May 2015 19:42:40 +0000 (19:42 +0000)]
Merge "Added more lockTSE comments to getWithSetCallback()"

8 years agoMerge "Converted LocalRepo to using the WAN cache"
jenkins-bot [Thu, 7 May 2015 19:39:43 +0000 (19:39 +0000)]
Merge "Converted LocalRepo to using the WAN cache"

8 years agoMerge "Converted ChangeTags to using the WAN cache"
jenkins-bot [Thu, 7 May 2015 19:30:24 +0000 (19:30 +0000)]
Merge "Converted ChangeTags to using the WAN cache"

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 7 May 2015 18:39:24 +0000 (18:39 +0000)]
Merge "Localisation updates from https://translatewiki.net."

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 7 May 2015 18:29:26 +0000 (20:29 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia3e8886d116683e83261c5ddd373787654239b73

8 years agoRemoved unused variable in doFlushCaches()
Aaron Schulz [Thu, 7 May 2015 03:29:51 +0000 (20:29 -0700)]
Removed unused variable in doFlushCaches()

Change-Id: I599fc2e8575cf5e8242bcc15be93e54b74ede435

8 years agoApiHelp: Fix undefined array index reference
Brad Jorsch [Thu, 7 May 2015 16:21:27 +0000 (12:21 -0400)]
ApiHelp: Fix undefined array index reference

Follows up I0219689.

Change-Id: I833d8eab49a7093872a66c3bb0d314f6c7adb98c

8 years agoMerge "ApiQueryAllUsers: Set 'array' type on result arrays"
jenkins-bot [Thu, 7 May 2015 16:07:10 +0000 (16:07 +0000)]
Merge "ApiQueryAllUsers: Set 'array' type on result arrays"

8 years agoMerge "ApiHelp: Make 'toc' parameter work"
jenkins-bot [Thu, 7 May 2015 16:07:06 +0000 (16:07 +0000)]
Merge "ApiHelp: Make 'toc' parameter work"

8 years agoMerge "Resources: Remove pointless 'position' => 'top' for ResourceLoaderImageModule...
jenkins-bot [Thu, 7 May 2015 15:34:32 +0000 (15:34 +0000)]
Merge "Resources: Remove pointless 'position' => 'top' for ResourceLoaderImageModule modules"

8 years agomediawiki.notification: Allow skins to style notification area
jdlrobson [Tue, 21 Apr 2015 22:05:03 +0000 (15:05 -0700)]
mediawiki.notification: Allow skins to style notification area

Minerva skin styles notifications at the bottom of the screen. This change
allows Minerva to style notifications consistently. It is a breaking change
for skins that use skinStyles for mediawiki.notification module as these will
now need to be adjusted to add to styles rather than replace.

See: I1645cbb81a3c76a07695d4c3d9a26a1d698f6ff4
Bug: T66565
Change-Id: Iba35692d38a8248096153146bc296b1079352f01

8 years agoresourceloader: Fix fatal when using $wgResourceModuleSkinStyles with "+"
Bartosz Dziewoński [Thu, 7 May 2015 13:51:09 +0000 (15:51 +0200)]
resourceloader: Fix fatal when using $wgResourceModuleSkinStyles with "+"

Fatal error: [] operator not supported for strings in
includes/resourceloader/ResourceLoader.php on line 354

This would occur when a skin customized ResourceModuleSkinStyles using
the '+' syntax, which preserves default skinStyles, and the default
skinStyles was defined as a string rather than array.

Change-Id: I6cd12a638d562c75bc4704e098de84f3882248b6

8 years agoMerge "MalformedTitleException should call parent::__construct"
jenkins-bot [Thu, 7 May 2015 13:07:25 +0000 (13:07 +0000)]
Merge "MalformedTitleException should call parent::__construct"

8 years agoMerge "Blacklist MeeGo's browser"
jenkins-bot [Thu, 7 May 2015 10:26:49 +0000 (10:26 +0000)]
Merge "Blacklist MeeGo's browser"

8 years agoAdded more lockTSE comments to getWithSetCallback()
Aaron Schulz [Thu, 7 May 2015 03:38:53 +0000 (20:38 -0700)]
Added more lockTSE comments to getWithSetCallback()

Change-Id: I6ac56784bc231d7dec7869c6d2b901341bde6e9b

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"