lhc/web/wiklou.git
8 years agoSwap exif-pixelydimension and exif-pixelxdimension messages
Bartosz Dziewoński [Tue, 5 Apr 2016 22:19:17 +0000 (00:19 +0200)]
Swap exif-pixelydimension and exif-pixelxdimension messages

Somehow we had width and height confused.

Bug: T107717
Change-Id: I06acb28d665302e77e6b2584910b4df001156e91

8 years agoMerge "Update monolog to 1.18.2"
jenkins-bot [Tue, 5 Apr 2016 20:22:52 +0000 (20:22 +0000)]
Merge "Update monolog to 1.18.2"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 5 Apr 2016 20:10:22 +0000 (22:10 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I17458dc07e3b940238dc2395e2fcc08833e303ab

8 years agoUpdate monolog to 1.18.2
Reedy [Sat, 2 Apr 2016 20:52:02 +0000 (21:52 +0100)]
Update monolog to 1.18.2

https://github.com/Seldaek/monolog/compare/1.17.2...1.18.2

Update KafkaHandlerTest.php

Depends-On: I32e9ebe0a10d97a1ccb0f4d605bd0ee9ba4e97f6
Change-Id: I35eedb6d95b68ebf90c00bb54469c9ff5731cdab

8 years agoImageListPager: Fix improper use of Title::newFromText().
Kunal Mehta [Tue, 5 Apr 2016 19:49:55 +0000 (12:49 -0700)]
ImageListPager: Fix improper use of Title::newFromText().

The $defaultNamespace parameter to Title::newFromText() only applies if
a namespace prefix isn't included in the text. So if a username was
"Help:FooBar", the NS_USER prefix would not be applied.

Instead use Title::makeTitleSafe( NS_USER, ... ); which was designed for
this specific purpose.

Change-Id: Iafce73d352887947e61ae7c906ddf965e04fbf6f

8 years agoPreprocessor: Don't allow unclosed extension tags (matching until end of input)
Bartosz Dziewoński [Thu, 4 Feb 2016 01:13:24 +0000 (01:13 +0000)]
Preprocessor: Don't allow unclosed extension tags (matching until end of input)

(Previously done in f51d0d9a819f8f1c181350ced2f015ce97985fcc and
reverted in 543f46e9c08e0ff8c5e8b4e917fcc045730ef1bc.)

I think it's saner to treat this as invalid syntax, and output the
mismatched tag code verbatim. The current behavior is particularly
annoying for <ref> tags, which often swallow everything afterwards.

This does not affect HTML tags, though. Assuming Tidy is enabled, they
are still auto-closed at the end of the page content. (For tags that
"shadow" a HTML tag name, this results in the tag being treated as a
HTML tag. This currently only affects <pre> tags: if unclosed, they
are still displayed as preformatted text, but without suppressing
wikitext formatting.)

It also does not affect <includeonly>, <noinclude> and <onlyinclude>
tags. Changing this behavior now would be too disruptive to existing
content, and is the reason why previous attempt was reverted. (They
are already special-cased enough that this isn't too weird, for example
mismatched closing tags are hidden.)

Related to T17712 and T58306. I think this brings the PHP parser closer
to Parsoid's interpretation.

It reduces performance somewhat in the worst case, though. Testing with
https://phabricator.wikimedia.org/F3245989 (a 1 MB page starting with
3000 opening tags of 15 different types), parsing time rises from
~0.2 seconds to ~1.1 seconds on my setup. We go from O(N) to O(kN),
where N is bytes of input and k is the number of types of tags present
on the page. Maximum k shouldn't exceed 30 or so in reasonable setups
(depends on installed extensions, it's 20 on English Wikipedia).

Change-Id: Ide8b034e464eefb1b7c9e2a48ed06e21a7f8d434

8 years agoImprove comment to localizers in MessagesEn.php
C. Scott Ananian [Tue, 5 Apr 2016 17:55:26 +0000 (13:55 -0400)]
Improve comment to localizers in MessagesEn.php

Follow up to Ia670512e0cb375335873e7f9a08b638bbe039e45.

Bug: T116020
Change-Id: I8634585e52ce5339dbfcd5b19c5d1b6c9ef5687e

8 years agoMerge "Simplify by using mw.util.getUrl() instead of mw.util.wikiScript()"
jenkins-bot [Tue, 5 Apr 2016 17:21:28 +0000 (17:21 +0000)]
Merge "Simplify by using mw.util.getUrl() instead of mw.util.wikiScript()"

8 years agoDo not require login on Special:Confirmemail to confirm the email
Rohan [Fri, 11 Jul 2014 05:50:32 +0000 (11:20 +0530)]
Do not require login on Special:Confirmemail to confirm the email

The user doesn't need to be logged in to confirm his/her email.

Particle revert of I43ceaddb370d09784021b3fc2d5d1ff6616fef1f

Bug: T62434
Change-Id: Idf3f9827daaac87f5c57617f4e5d42ca9569839d

8 years agoSimplify by using mw.util.getUrl() instead of mw.util.wikiScript()
Fomafix [Tue, 5 Apr 2016 13:37:55 +0000 (13:37 +0000)]
Simplify by using mw.util.getUrl() instead of mw.util.wikiScript()

Change-Id: Ie10a5ee79846a4f1465fea7ce1b47da13b0787b7

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 4 Apr 2016 19:53:49 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If37db4144db777658d3d2f3aa6bd140469a2547e

8 years agoMerge "Remove skin mode of Special:JavaScriptTest"
jenkins-bot [Mon, 4 Apr 2016 15:24:12 +0000 (15:24 +0000)]
Merge "Remove skin mode of Special:JavaScriptTest"

8 years agoMerge "mediawiki.util: Use wgScript in getUrl() when setting query string"
jenkins-bot [Mon, 4 Apr 2016 15:00:22 +0000 (15:00 +0000)]
Merge "mediawiki.util: Use wgScript in getUrl() when setting query string"

8 years agoConvert Special:Redirect to OOUI
utkarsh95 [Mon, 14 Mar 2016 11:52:00 +0000 (12:52 +0100)]
Convert Special:Redirect to OOUI

Removed unused message.

Bug: T117751
Change-Id: I70e04c8b5860e2b32081bdb510aca99fd5ee07f3

8 years agomediawiki.util: Use wgScript in getUrl() when setting query string
Timo Tijhof [Sun, 3 Apr 2016 23:43:30 +0000 (00:43 +0100)]
mediawiki.util: Use wgScript in getUrl() when setting query string

This makes the behaviour more in line with Title::getLocalURL() in PHP.

* Only use wgArticlePath if there was a non-empty query string.
* Remove needless call to isEmptyObject. This is already done by $.params().
* Add test case "title with empty query string".

Change-Id: I414350a527eea3822ff2843c1c06a925f41a2c03

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 3 Apr 2016 20:48:49 +0000 (22:48 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I439795a989a00d5b9490514169ee46de7601067e

8 years agoMention introduction of service locator in release notes.
daniel [Sun, 3 Apr 2016 11:59:51 +0000 (14:59 +0300)]
Mention introduction of service locator in release notes.

Change-Id: I8b10133894bb93cf5e4dfab14478071477002773

8 years agoMerge "Remove Title::newFromRedirectRecurse()"
jenkins-bot [Sun, 3 Apr 2016 12:42:24 +0000 (12:42 +0000)]
Merge "Remove Title::newFromRedirectRecurse()"

8 years agoRemove Title::newFromRedirectRecurse()
Florian [Sat, 2 Apr 2016 08:34:18 +0000 (10:34 +0200)]
Remove Title::newFromRedirectRecurse()

Bug: T122754
Change-Id: I8b957eff7f355493ef6850f7a83dcb619ab6be78

8 years agoFix double $search in other place too
Stanislav Malyshev [Sun, 3 Apr 2016 11:45:55 +0000 (14:45 +0300)]
Fix double $search in other place too

Change-Id: If0013988a7af06f0d19162fbf574aa15f1685c35

8 years agoDon't allow createAndPromote.php to add users to invalid groups
Reedy [Sun, 3 Apr 2016 11:28:48 +0000 (12:28 +0100)]
Don't allow createAndPromote.php to add users to invalid groups

Bug: T131704
Change-Id: Ibe8839e62af8db002adea68ffa87b3adf2b505ea

8 years agoMerge "Split ClassCollector class into own file"
jenkins-bot [Sun, 3 Apr 2016 10:52:49 +0000 (10:52 +0000)]
Merge "Split ClassCollector class into own file"

8 years agoMerge "Move CookieJar class to own file"
jenkins-bot [Sun, 3 Apr 2016 10:52:45 +0000 (10:52 +0000)]
Merge "Move CookieJar class to own file"

8 years agoMerge "Remove use of deprecated User::EDIT_TOKEN_SUFFIX"
jenkins-bot [Sun, 3 Apr 2016 10:45:16 +0000 (10:45 +0000)]
Merge "Remove use of deprecated User::EDIT_TOKEN_SUFFIX"

8 years agoMerge "Remove use of deprecated wfSuppress/RestoreWarnings"
jenkins-bot [Sun, 3 Apr 2016 10:42:22 +0000 (10:42 +0000)]
Merge "Remove use of deprecated wfSuppress/RestoreWarnings"

8 years agoMerge "Remove usages of CdbCompat class alises"
jenkins-bot [Sun, 3 Apr 2016 10:23:28 +0000 (10:23 +0000)]
Merge "Remove usages of CdbCompat class alises"

8 years agoMerge "Remove used of deprecated MemCachedClientforWiki"
jenkins-bot [Sun, 3 Apr 2016 10:01:14 +0000 (10:01 +0000)]
Merge "Remove used of deprecated MemCachedClientforWiki"

8 years agoMerge "Move EventRelayerNull class to own file"
jenkins-bot [Sun, 3 Apr 2016 09:59:48 +0000 (09:59 +0000)]
Merge "Move EventRelayerNull class to own file"

8 years agoRemove use of deprecated User::EDIT_TOKEN_SUFFIX
addshore [Sun, 3 Apr 2016 09:04:42 +0000 (12:04 +0300)]
Remove use of deprecated User::EDIT_TOKEN_SUFFIX

Change-Id: Ib36f4aac202019548131f956bffe1c73e46030d2

8 years agoRemove use of deprecated wfSuppress/RestoreWarnings
addshore [Sun, 3 Apr 2016 09:24:00 +0000 (12:24 +0300)]
Remove use of deprecated wfSuppress/RestoreWarnings

Change-Id: I8f7a77a66f027d853c3532021a24425339571f7c

8 years agoRemove usages of CdbCompat class alises
addshore [Sun, 3 Apr 2016 09:19:48 +0000 (12:19 +0300)]
Remove usages of CdbCompat class alises

Change-Id: Id7223689f135c3ce3e4193f8c724b52d3f39dfd5

8 years agoMerge "Remove unused $fname in StubObject::_unstub"
jenkins-bot [Sun, 3 Apr 2016 09:03:25 +0000 (09:03 +0000)]
Merge "Remove unused $fname in StubObject::_unstub"

8 years agoMerge "Add @since tags to Collation stuff"
jenkins-bot [Sun, 3 Apr 2016 09:03:21 +0000 (09:03 +0000)]
Merge "Add @since tags to Collation stuff"

8 years agoMerge "Split Collation.php"
jenkins-bot [Sun, 3 Apr 2016 09:02:42 +0000 (09:02 +0000)]
Merge "Split Collation.php"

8 years agoMove EventRelayerNull class to own file
addshore [Sun, 3 Apr 2016 08:47:52 +0000 (11:47 +0300)]
Move EventRelayerNull class to own file

Change-Id: I5450bda32482b5183e6d2c35e2df5c419155e2de

8 years agoMerge "Fix obvious typo - $search used for two variables"
jenkins-bot [Sun, 3 Apr 2016 08:54:23 +0000 (08:54 +0000)]
Merge "Fix obvious typo - $search used for two variables"

8 years agoMerge "Remove unused private SiteStats::$groupMemberCounts"
jenkins-bot [Sun, 3 Apr 2016 08:54:19 +0000 (08:54 +0000)]
Merge "Remove unused private SiteStats::$groupMemberCounts"

8 years agoMerge "Remove unused $miserMode in SpecialStatistics"
jenkins-bot [Sun, 3 Apr 2016 08:54:15 +0000 (08:54 +0000)]
Merge "Remove unused $miserMode in SpecialStatistics"

8 years agoRemove used of deprecated MemCachedClientforWiki
addshore [Sun, 3 Apr 2016 08:52:50 +0000 (11:52 +0300)]
Remove used of deprecated MemCachedClientforWiki

Change-Id: Ib947c0cc1cfc3b365617d12f7564c199d6189c31

8 years agoMove CookieJar class to own file
addshore [Sun, 3 Apr 2016 08:46:36 +0000 (11:46 +0300)]
Move CookieJar class to own file

Change-Id: Ie98eadb2a8015f1290447b79cc095799abaeba4f

8 years agoMerge "Remove unused fields from SpecialBotPasswords"
jenkins-bot [Sun, 3 Apr 2016 08:44:53 +0000 (08:44 +0000)]
Merge "Remove unused fields from SpecialBotPasswords"

8 years agoFix obvious typo - $search used for two variables
Stanislav Malyshev [Sun, 3 Apr 2016 08:37:57 +0000 (11:37 +0300)]
Fix obvious typo - $search used for two variables

Change-Id: Ic4530f9c6ad036355ce981a42add54f85214afe4

8 years agoRemove unused private SiteStats::$groupMemberCounts
addshore [Sun, 3 Apr 2016 08:07:58 +0000 (11:07 +0300)]
Remove unused private SiteStats::$groupMemberCounts

Change-Id: I7839a644bca2829098e5ce5d844db667b6d16b26

8 years agoAdd @since tags to Collation stuff
addshore [Sun, 3 Apr 2016 08:36:49 +0000 (11:36 +0300)]
Add @since tags to Collation stuff

Change-Id: Iec56ac4d1418737d171f8faa9c8f498fba5383ee

8 years agoRemove unused $miserMode in SpecialStatistics
addshore [Sun, 3 Apr 2016 08:02:55 +0000 (11:02 +0300)]
Remove unused $miserMode in SpecialStatistics

Change-Id: Id76e9782b5abd40421d4edd7528d0ff41d234ac3

8 years agoSplit Collation.php
addshore [Sun, 3 Apr 2016 08:23:20 +0000 (11:23 +0300)]
Split Collation.php

Change-Id: I6abfecf91cdce83dd34b1e8aa8e0b35315f62742

8 years agoSplit ClassCollector class into own file
addshore [Sun, 3 Apr 2016 08:16:42 +0000 (11:16 +0300)]
Split ClassCollector class into own file

Change-Id: I61210d1e963e0cd1278debff8f6826c5c79a88e9

8 years agoRemove unused $fname in StubObject::_unstub
addshore [Sun, 3 Apr 2016 08:06:27 +0000 (11:06 +0300)]
Remove unused $fname in StubObject::_unstub

Change-Id: I1a90d888b1b17e21b54b90f3665c63edd1f21195

8 years agoRemove unused global $wgMaxInterlacingAreas in Bitmap.php
addshore [Sun, 3 Apr 2016 08:05:03 +0000 (11:05 +0300)]
Remove unused global $wgMaxInterlacingAreas in Bitmap.php

Change-Id: I3b1a0d65be4327a5e0a47934a470c2573e315fea

8 years agoRemove unused fields from SpecialBotPasswords
addshore [Sun, 3 Apr 2016 08:03:36 +0000 (11:03 +0300)]
Remove unused fields from SpecialBotPasswords

Change-Id: I64518fd34f8c040c53d66669d69e84b89f318ae8

8 years agoMerge "Introduce top level service locator."
jenkins-bot [Sun, 3 Apr 2016 07:26:31 +0000 (07:26 +0000)]
Merge "Introduce top level service locator."

8 years agoMerge "Update IP address related message text"
jenkins-bot [Sun, 3 Apr 2016 06:26:52 +0000 (06:26 +0000)]
Merge "Update IP address related message text"

8 years agoMerge "resourceloader: Make action=purge affect ResourceLoaderWikiModule"
jenkins-bot [Sun, 3 Apr 2016 02:50:29 +0000 (02:50 +0000)]
Merge "resourceloader: Make action=purge affect ResourceLoaderWikiModule"

8 years agoresourceloader: Make action=purge affect ResourceLoaderWikiModule
Timo Tijhof [Sat, 2 Apr 2016 20:50:48 +0000 (21:50 +0100)]
resourceloader: Make action=purge affect ResourceLoaderWikiModule

Purging a wiki page included in a WikiModule should bump its version hash.
This is not needed by design, but it's a workaround until our caching layers
are more resilient against cache poisoning.

This gives users the power to resolve issues themselves.

Change-Id: I37d3379e76a6b652268c5a007e0ad741470fe6e1

8 years agoMerge "mediawiki.user: Use wgUserGroups for getGroups() rather than AJAX"
jenkins-bot [Sat, 2 Apr 2016 21:22:25 +0000 (21:22 +0000)]
Merge "mediawiki.user: Use wgUserGroups for getGroups() rather than AJAX"

8 years agomediawiki.user: Use wgUserGroups for getGroups() rather than AJAX
Matthew Flaschen [Thu, 31 Mar 2016 20:50:28 +0000 (16:50 -0400)]
mediawiki.user: Use wgUserGroups for getGroups() rather than AJAX

Use wgUserGroups to implement getGroups, rather than an API request.

wgUserGroups and ApiQueryUserInfo both use $user->getEffectiveGroups()
unprocessed.

mw.Api.plugin.user is still useful because rights are not available
client-side, and it can be used for groups with ForeignApi.

Change-Id: Id9c7805de1d02e267dbd2bba833e90a6df117dee

8 years agoReword and clarify API messages
IoannisKydonis [Wed, 20 Jan 2016 21:22:31 +0000 (23:22 +0200)]
Reword and clarify API messages

Threads:
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Apihelp-upload-param-leavemessage/uk
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Apihelp-main-param-maxlag/ksh
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Apihelp-import-param-summary/en

Change-Id: I71404b96fe48fed62b50ff2f544da97bd925e9d7

8 years agoUpdate IP address related message text
Siebrand Mazeland [Sat, 2 Apr 2016 19:14:29 +0000 (21:14 +0200)]
Update IP address related message text

Follow-up to Change-Id: I02fecf0b9e6a5b90f7a24209c7a1cdce64060b23

Change-Id: I36a99f21b4269af0799ce73faee7e19865c5f22f

8 years agoBump composer/semver to 1.4.0
Reedy [Sat, 2 Apr 2016 18:19:44 +0000 (19:19 +0100)]
Bump composer/semver to 1.4.0

Depends-On: I4463dd4abe1972f4e3a4bcc6389dc861ecc8201a
Change-Id: I263b1ad4b45410d0704c195f485d27cbbe068e26

8 years agoRemove deprecated calling style of UserMailer::send()
Reedy [Thu, 21 Jan 2016 01:12:41 +0000 (01:12 +0000)]
Remove deprecated calling style of UserMailer::send()

Depends-On: I513639f706ce16334180908f55638eebf8a4de80
Depends-On: I3fce6c666e2c878a221e2e4c6acacfd0254d173a
Change-Id: I475932f37a579dd86bfd98e6b14509d6ba86f128

8 years agoMerge "Don't construct SpecialPages twice"
jenkins-bot [Sat, 2 Apr 2016 17:51:43 +0000 (17:51 +0000)]
Merge "Don't construct SpecialPages twice"

8 years agoMerge "Use IP address range instead of IP range"
jenkins-bot [Sat, 2 Apr 2016 17:47:31 +0000 (17:47 +0000)]
Merge "Use IP address range instead of IP range"

8 years agoMerge "Better punctuation in uploadstash-badtoken"
jenkins-bot [Sat, 2 Apr 2016 17:43:01 +0000 (17:43 +0000)]
Merge "Better punctuation in uploadstash-badtoken"

8 years agoUse IP address range instead of IP range
Siebrand Mazeland [Sat, 2 Apr 2016 15:55:34 +0000 (17:55 +0200)]
Use IP address range instead of IP range

We use "IP address" consistently instead of "IP", but this was never
applied to the "range" addition.

Change-Id: I02fecf0b9e6a5b90f7a24209c7a1cdce64060b23

8 years agoMerge "Fix Undefined index: 0 in SearchExactMatchRescorer.php on line 44"
jenkins-bot [Sat, 2 Apr 2016 17:21:13 +0000 (17:21 +0000)]
Merge "Fix Undefined index: 0 in SearchExactMatchRescorer.php on line 44"

8 years agoMerge "Generalize recentChangesFlags rollup"
jenkins-bot [Sat, 2 Apr 2016 16:21:12 +0000 (16:21 +0000)]
Merge "Generalize recentChangesFlags rollup"

8 years agoMerge "Improve blocked-mailpassword phrasing"
jenkins-bot [Sat, 2 Apr 2016 16:20:17 +0000 (16:20 +0000)]
Merge "Improve blocked-mailpassword phrasing"

8 years agoMerge "Rename Special:ListGroupRights in Czech"
jenkins-bot [Sat, 2 Apr 2016 16:05:32 +0000 (16:05 +0000)]
Merge "Rename Special:ListGroupRights in Czech"

8 years agoMerge "resourceloader: Remove wfExpandUrl() from ResourceLoaderImage"
jenkins-bot [Sat, 2 Apr 2016 15:54:18 +0000 (15:54 +0000)]
Merge "resourceloader: Remove wfExpandUrl() from ResourceLoaderImage"

8 years agoImprove blocked-mailpassword phrasing
Amire80 [Sat, 2 Apr 2016 15:46:36 +0000 (18:46 +0300)]
Improve blocked-mailpassword phrasing

Change-Id: I2fa9d0050908fa40c3a5808aa0ed9cd53dc0e345

8 years agoDon't construct SpecialPages twice
Florian [Sat, 2 Apr 2016 14:39:50 +0000 (16:39 +0200)]
Don't construct SpecialPages twice

If the special page object was already created for the request, there's
no need to create the object again. Save the created result (object, null)
in a global static array and return the value if the realName was already
created.

Bug: T123995
Change-Id: I70bf0e93e45f4b0597deaef717f5eb87c66f0a71

8 years agoIntroduce top level service locator.
daniel [Mon, 12 Oct 2015 08:05:45 +0000 (10:05 +0200)]
Introduce top level service locator.

The service locator, MediaWikiServices, is intended to facilitate
"manual" dependency injection in static entry points.

See also the Dependency Injection RFC T384 and Service Locator
RFC T124792 for details.
The following key points were implemented according the
discussion surrounding these RFCs:

* a configurable DI container that allows extensions to add and replace services.
* no auto-wiring, since it's prone to add confusion in large and complex applications.
* no 3rd party framework, since they typically do too much.

The following services in MediaWiki core are made accessible via the service locator
mechanism to showcase the bootstrapping mechanism:

* ConfigFactory and MainConfig
* SiteLookup and SiteStore

However, the implementation of these services was not yet converted to using proper DI
throughout the code.

Bug: T124792
Change-Id: I3c25c0ac17300d3dd13e1cf5100558a605eee15f

8 years agoMerge "Split Page interface into own file"
jenkins-bot [Sat, 2 Apr 2016 13:52:04 +0000 (13:52 +0000)]
Merge "Split Page interface into own file"

8 years agoMerge "Introduce StatsdAwareInterface"
jenkins-bot [Sat, 2 Apr 2016 13:43:23 +0000 (13:43 +0000)]
Merge "Introduce StatsdAwareInterface"

8 years agoSplit Page interface into own file
addshore [Sat, 2 Apr 2016 13:35:20 +0000 (16:35 +0300)]
Split Page interface into own file

Change-Id: Ib2e23f63e47a3da19e30f4a8d61372ee0f26851d

8 years agoGeneralize recentChangesFlags rollup
amir [Wed, 23 Mar 2016 15:25:44 +0000 (19:55 +0430)]
Generalize recentChangesFlags rollup

Flags can be either 'any' or 'all' type, and both core and extension flags will be
rolled up into the top-level line of grouped changes.

See Ic49a355a2

Bug: T120921
Bug: T112856
Change-Id: If9fd6af3ac7ac2fbee9aa5536fe94d7574699966

8 years agoIntroduce StatsdAwareInterface
addshore [Sat, 2 Apr 2016 09:24:59 +0000 (12:24 +0300)]
Introduce StatsdAwareInterface

Change-Id: Iac343e4b448d9af852b4c479c35a9ff60359b6d5

8 years agoRemove Title::newFromRedirectArray
Florian [Sat, 2 Apr 2016 08:18:20 +0000 (10:18 +0200)]
Remove Title::newFromRedirectArray

Bug: T122754
Change-Id: I2cdeb98c81d4b98ea986bd2f7b23cd93c62c5930

8 years agoMove statsd files in libs to own directory
addshore [Sat, 2 Apr 2016 09:22:00 +0000 (12:22 +0300)]
Move statsd files in libs to own directory

Change-Id: Ia3ac9441d7548fedb672e3f2567be7c4eafae208

8 years agoIntroduce NullStatsdDataFactory
addshore [Sat, 2 Apr 2016 09:18:54 +0000 (12:18 +0300)]
Introduce NullStatsdDataFactory

I have left the phpdocs in NullStatsdDataFactory
to clearly show the return types of the interface
implemented.

Change-Id: I96cb64b4af16fc087028269a53d539f8c132f81c

8 years agoMerge "Show time left until block expiry in BlockListPager"
jenkins-bot [Sat, 2 Apr 2016 12:08:56 +0000 (12:08 +0000)]
Merge "Show time left until block expiry in BlockListPager"

8 years agoShow time left until block expiry in BlockListPager
Florian [Thu, 24 Mar 2016 17:52:25 +0000 (18:52 +0100)]
Show time left until block expiry in BlockListPager

Bug: T130441
Change-Id: I1729b49ebb631a597bb88655b37dd45746e4d646

8 years agoMerge "jquery.ui.datepicker: Add translations in de-AT and de-CH"
jenkins-bot [Sat, 2 Apr 2016 11:54:58 +0000 (11:54 +0000)]
Merge "jquery.ui.datepicker: Add translations in de-AT and de-CH"

8 years agoMerge "Allow SiteStatsInit to run on vslow hosts"
jenkins-bot [Sat, 2 Apr 2016 11:30:00 +0000 (11:30 +0000)]
Merge "Allow SiteStatsInit to run on vslow hosts"

8 years agoMerge "Fix typo in HtmlForm::setName phpdoc"
jenkins-bot [Sat, 2 Apr 2016 09:48:20 +0000 (09:48 +0000)]
Merge "Fix typo in HtmlForm::setName phpdoc"

8 years agoMerge "DifferenceEngine::setText() was removed"
jenkins-bot [Sat, 2 Apr 2016 09:39:13 +0000 (09:39 +0000)]
Merge "DifferenceEngine::setText() was removed"

8 years agoFix typo in HtmlForm::setName phpdoc
Gergő Tisza [Sat, 2 Apr 2016 09:34:51 +0000 (09:34 +0000)]
Fix typo in HtmlForm::setName phpdoc

Fixes I85f5492e0b99a5661dbed9814a0e3f3b9bc63d32.

Change-Id: I1a034c4fd3eb3020a4a725604ece6e992d34a271

8 years agoMerge "Add GENDER support to $3 in logentry-rights-rights"
jenkins-bot [Sat, 2 Apr 2016 09:23:14 +0000 (09:23 +0000)]
Merge "Add GENDER support to $3 in logentry-rights-rights"

8 years agoDifferenceEngine::setText() was removed
Reedy [Sat, 2 Apr 2016 08:21:09 +0000 (09:21 +0100)]
DifferenceEngine::setText() was removed

Bug: T122754
Change-Id: I796f0c4d86d0d5a8c2b24820dc84b18a7dc50981
Depends-On: Ia52054a85944f51adb8a644e703db02f6833b262

8 years agoAdd hint to /qqq about GENDER support
matejsuchanek [Sat, 2 Apr 2016 09:07:49 +0000 (11:07 +0200)]
Add hint to /qqq about GENDER support

https://translatewiki.net/wiki/MediaWiki:Ipb-needreblock/qqq

Bug: T125230
Change-Id: I71bf5e87a9076bc75c4f454cbc491a6d2521192c

8 years agoMerge "Article::getUndoText() and WikiPage::getUndoText were removed"
jenkins-bot [Sat, 2 Apr 2016 08:57:07 +0000 (08:57 +0000)]
Merge "Article::getUndoText() and WikiPage::getUndoText were removed"

8 years agoMerge "Add prefered magic words first"
jenkins-bot [Sat, 2 Apr 2016 08:43:43 +0000 (08:43 +0000)]
Merge "Add prefered magic words first"

8 years agoArticle::getUndoText() and WikiPage::getUndoText were removed
Reedy [Sat, 2 Apr 2016 08:34:14 +0000 (09:34 +0100)]
Article::getUndoText() and WikiPage::getUndoText were removed

Bug: T122754
Change-Id: I9eb4094e313325be3dfbf1409f8caffdcc3abfc2
Depends-On: I6aed90eb6064bb0d3055aed7b6cdefc45e6de878

8 years agoAdd prefered magic words first
eranroz [Wed, 21 Oct 2015 20:15:04 +0000 (23:15 +0300)]
Add prefered magic words first

When there are multiple aliases, the first alias MUST be the
preferred alias in that language, so that wikitext code
generators can generate the desired syntax.

The other aliases SHOULD be sorted by the following convention:
- Local first, English last
- Most common first, least common last

Bug: T116020
Change-Id: Ia670512e0cb375335873e7f9a08b638bbe039e45

8 years agoMerge "Collapse superfluous isset() call"
jenkins-bot [Sat, 2 Apr 2016 08:13:10 +0000 (08:13 +0000)]
Merge "Collapse superfluous isset() call"

8 years agopage: Remove outdated comment in getRedirectHeaderHtml()
Timo Tijhof [Thu, 24 Mar 2016 21:49:48 +0000 (21:49 +0000)]
page: Remove outdated comment in getRedirectHeaderHtml()

Follows-up c24a0a15b.

Change-Id: Ie4e7d5bb1dc34130d54fa0a61cd03f97fd1f9145

8 years agoLoadBalancer::pickRandom() was removed
Reedy [Fri, 1 Apr 2016 20:21:59 +0000 (21:21 +0100)]
LoadBalancer::pickRandom() was removed

Bug: T122754
Change-Id: I85d0c4387195cb60c70e24a0a7ab338723e6e7f4

8 years agoSkin::getUsableSkins() was removed
Siebrand Mazeland [Wed, 9 Mar 2016 00:12:14 +0000 (01:12 +0100)]
Skin::getUsableSkins() was removed

Deprecated since 1.23. The remaining use in extension ThemeDesigner was
replaced.

Change-Id: I36b6c1e1d95036d40a01395f86a01906e8c50a76

8 years agoMerge "Support custom query in pt-heartbeat lag detection "
jenkins-bot [Sat, 2 Apr 2016 00:16:24 +0000 (00:16 +0000)]
Merge "Support custom query in pt-heartbeat lag detection  "

8 years agoMerge "resourceloader: Avoid Title::newMainPage() to support $wgForceUIMsgAsContentMsg"
jenkins-bot [Sat, 2 Apr 2016 00:15:19 +0000 (00:15 +0000)]
Merge "resourceloader: Avoid Title::newMainPage() to support $wgForceUIMsgAsContentMsg"