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
Translation updater bot [Sun, 3 Apr 2016 20:48:49 +0000 (22:48 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I439795a989a00d5b9490514169ee46de7601067e
daniel [Sun, 3 Apr 2016 11:59:51 +0000 (14:59 +0300)]
Mention introduction of service locator in release notes.
Change-Id: I8b10133894bb93cf5e4dfab14478071477002773
jenkins-bot [Sun, 3 Apr 2016 12:42:24 +0000 (12:42 +0000)]
Merge "Remove Title::newFromRedirectRecurse()"
Florian [Sat, 2 Apr 2016 08:34:18 +0000 (10:34 +0200)]
Remove Title::newFromRedirectRecurse()
Bug: T122754
Change-Id: I8b957eff7f355493ef6850f7a83dcb619ab6be78
Stanislav Malyshev [Sun, 3 Apr 2016 11:45:55 +0000 (14:45 +0300)]
Fix double $search in other place too
Change-Id: If0013988a7af06f0d19162fbf574aa15f1685c35
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
jenkins-bot [Sun, 3 Apr 2016 10:52:49 +0000 (10:52 +0000)]
Merge "Split ClassCollector class into own file"
jenkins-bot [Sun, 3 Apr 2016 10:52:45 +0000 (10:52 +0000)]
Merge "Move CookieJar class to own file"
jenkins-bot [Sun, 3 Apr 2016 10:45:16 +0000 (10:45 +0000)]
Merge "Remove use of deprecated User::EDIT_TOKEN_SUFFIX"
jenkins-bot [Sun, 3 Apr 2016 10:42:22 +0000 (10:42 +0000)]
Merge "Remove use of deprecated wfSuppress/RestoreWarnings"
jenkins-bot [Sun, 3 Apr 2016 10:23:28 +0000 (10:23 +0000)]
Merge "Remove usages of CdbCompat class alises"
jenkins-bot [Sun, 3 Apr 2016 10:01:14 +0000 (10:01 +0000)]
Merge "Remove used of deprecated MemCachedClientforWiki"
jenkins-bot [Sun, 3 Apr 2016 09:59:48 +0000 (09:59 +0000)]
Merge "Move EventRelayerNull class to own file"
addshore [Sun, 3 Apr 2016 09:04:42 +0000 (12:04 +0300)]
Remove use of deprecated User::EDIT_TOKEN_SUFFIX
Change-Id: Ib36f4aac202019548131f956bffe1c73e46030d2
addshore [Sun, 3 Apr 2016 09:24:00 +0000 (12:24 +0300)]
Remove use of deprecated wfSuppress/RestoreWarnings
Change-Id: I8f7a77a66f027d853c3532021a24425339571f7c
addshore [Sun, 3 Apr 2016 09:19:48 +0000 (12:19 +0300)]
Remove usages of CdbCompat class alises
Change-Id: Id7223689f135c3ce3e4193f8c724b52d3f39dfd5
jenkins-bot [Sun, 3 Apr 2016 09:03:25 +0000 (09:03 +0000)]
Merge "Remove unused $fname in StubObject::_unstub"
jenkins-bot [Sun, 3 Apr 2016 09:03:21 +0000 (09:03 +0000)]
Merge "Add @since tags to Collation stuff"
jenkins-bot [Sun, 3 Apr 2016 09:02:42 +0000 (09:02 +0000)]
Merge "Split Collation.php"
addshore [Sun, 3 Apr 2016 08:47:52 +0000 (11:47 +0300)]
Move EventRelayerNull class to own file
Change-Id: I5450bda32482b5183e6d2c35e2df5c419155e2de
jenkins-bot [Sun, 3 Apr 2016 08:54:23 +0000 (08:54 +0000)]
Merge "Fix obvious typo - $search used for two variables"
jenkins-bot [Sun, 3 Apr 2016 08:54:19 +0000 (08:54 +0000)]
Merge "Remove unused private SiteStats::$groupMemberCounts"
jenkins-bot [Sun, 3 Apr 2016 08:54:15 +0000 (08:54 +0000)]
Merge "Remove unused $miserMode in SpecialStatistics"
addshore [Sun, 3 Apr 2016 08:52:50 +0000 (11:52 +0300)]
Remove used of deprecated MemCachedClientforWiki
Change-Id: Ib947c0cc1cfc3b365617d12f7564c199d6189c31
addshore [Sun, 3 Apr 2016 08:46:36 +0000 (11:46 +0300)]
Move CookieJar class to own file
Change-Id: Ie98eadb2a8015f1290447b79cc095799abaeba4f
jenkins-bot [Sun, 3 Apr 2016 08:44:53 +0000 (08:44 +0000)]
Merge "Remove unused fields from SpecialBotPasswords"
Stanislav Malyshev [Sun, 3 Apr 2016 08:37:57 +0000 (11:37 +0300)]
Fix obvious typo - $search used for two variables
Change-Id: Ic4530f9c6ad036355ce981a42add54f85214afe4
addshore [Sun, 3 Apr 2016 08:07:58 +0000 (11:07 +0300)]
Remove unused private SiteStats::$groupMemberCounts
Change-Id: I7839a644bca2829098e5ce5d844db667b6d16b26
addshore [Sun, 3 Apr 2016 08:36:49 +0000 (11:36 +0300)]
Add @since tags to Collation stuff
Change-Id: Iec56ac4d1418737d171f8faa9c8f498fba5383ee
addshore [Sun, 3 Apr 2016 08:02:55 +0000 (11:02 +0300)]
Remove unused $miserMode in SpecialStatistics
Change-Id: Id76e9782b5abd40421d4edd7528d0ff41d234ac3
addshore [Sun, 3 Apr 2016 08:23:20 +0000 (11:23 +0300)]
Split Collation.php
Change-Id: I6abfecf91cdce83dd34b1e8aa8e0b35315f62742
addshore [Sun, 3 Apr 2016 08:16:42 +0000 (11:16 +0300)]
Split ClassCollector class into own file
Change-Id: I61210d1e963e0cd1278debff8f6826c5c79a88e9
addshore [Sun, 3 Apr 2016 08:06:27 +0000 (11:06 +0300)]
Remove unused $fname in StubObject::_unstub
Change-Id: I1a90d888b1b17e21b54b90f3665c63edd1f21195
addshore [Sun, 3 Apr 2016 08:05:03 +0000 (11:05 +0300)]
Remove unused global $wgMaxInterlacingAreas in Bitmap.php
Change-Id: I3b1a0d65be4327a5e0a47934a470c2573e315fea
addshore [Sun, 3 Apr 2016 08:03:36 +0000 (11:03 +0300)]
Remove unused fields from SpecialBotPasswords
Change-Id: I64518fd34f8c040c53d66669d69e84b89f318ae8
jenkins-bot [Sun, 3 Apr 2016 07:26:31 +0000 (07:26 +0000)]
Merge "Introduce top level service locator."
jenkins-bot [Sun, 3 Apr 2016 06:26:52 +0000 (06:26 +0000)]
Merge "Update IP address related message text"
jenkins-bot [Sun, 3 Apr 2016 02:50:29 +0000 (02:50 +0000)]
Merge "resourceloader: 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
jenkins-bot [Sat, 2 Apr 2016 21:22:25 +0000 (21:22 +0000)]
Merge "mediawiki.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
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
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
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
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
jenkins-bot [Sat, 2 Apr 2016 17:51:43 +0000 (17:51 +0000)]
Merge "Don't construct SpecialPages twice"
jenkins-bot [Sat, 2 Apr 2016 17:47:31 +0000 (17:47 +0000)]
Merge "Use IP address range instead of IP range"
jenkins-bot [Sat, 2 Apr 2016 17:43:01 +0000 (17:43 +0000)]
Merge "Better punctuation in uploadstash-badtoken"
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
jenkins-bot [Sat, 2 Apr 2016 17:21:13 +0000 (17:21 +0000)]
Merge "Fix Undefined index: 0 in SearchExactMatchRescorer.php on line 44"
jenkins-bot [Sat, 2 Apr 2016 16:21:12 +0000 (16:21 +0000)]
Merge "Generalize recentChangesFlags rollup"
jenkins-bot [Sat, 2 Apr 2016 16:20:17 +0000 (16:20 +0000)]
Merge "Improve blocked-mailpassword phrasing"
jenkins-bot [Sat, 2 Apr 2016 16:05:32 +0000 (16:05 +0000)]
Merge "Rename Special:ListGroupRights in Czech"
jenkins-bot [Sat, 2 Apr 2016 15:54:18 +0000 (15:54 +0000)]
Merge "resourceloader: Remove wfExpandUrl() from ResourceLoaderImage"
Amire80 [Sat, 2 Apr 2016 15:46:36 +0000 (18:46 +0300)]
Improve blocked-mailpassword phrasing
Change-Id: I2fa9d0050908fa40c3a5808aa0ed9cd53dc0e345
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
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
jenkins-bot [Sat, 2 Apr 2016 13:52:04 +0000 (13:52 +0000)]
Merge "Split Page interface into own file"
jenkins-bot [Sat, 2 Apr 2016 13:43:23 +0000 (13:43 +0000)]
Merge "Introduce StatsdAwareInterface"
addshore [Sat, 2 Apr 2016 13:35:20 +0000 (16:35 +0300)]
Split Page interface into own file
Change-Id: Ib2e23f63e47a3da19e30f4a8d61372ee0f26851d
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
addshore [Sat, 2 Apr 2016 09:24:59 +0000 (12:24 +0300)]
Introduce StatsdAwareInterface
Change-Id: Iac343e4b448d9af852b4c479c35a9ff60359b6d5
Florian [Sat, 2 Apr 2016 08:18:20 +0000 (10:18 +0200)]
Remove Title::newFromRedirectArray
Bug: T122754
Change-Id: I2cdeb98c81d4b98ea986bd2f7b23cd93c62c5930
addshore [Sat, 2 Apr 2016 09:22:00 +0000 (12:22 +0300)]
Move statsd files in libs to own directory
Change-Id: Ia3ac9441d7548fedb672e3f2567be7c4eafae208
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
jenkins-bot [Sat, 2 Apr 2016 12:08:56 +0000 (12:08 +0000)]
Merge "Show 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
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"
jenkins-bot [Sat, 2 Apr 2016 11:30:00 +0000 (11:30 +0000)]
Merge "Allow SiteStatsInit to run on vslow hosts"
jenkins-bot [Sat, 2 Apr 2016 09:48:20 +0000 (09:48 +0000)]
Merge "Fix typo in HtmlForm::setName phpdoc"
jenkins-bot [Sat, 2 Apr 2016 09:39:13 +0000 (09:39 +0000)]
Merge "DifferenceEngine::setText() was removed"
Gergő Tisza [Sat, 2 Apr 2016 09:34:51 +0000 (09:34 +0000)]
Fix typo in HtmlForm::setName phpdoc
Fixes I85f5492e0b99a5661dbed9814a0e3f3b9bc63d32.
Change-Id: I1a034c4fd3eb3020a4a725604ece6e992d34a271
jenkins-bot [Sat, 2 Apr 2016 09:23:14 +0000 (09:23 +0000)]
Merge "Add GENDER support to $3 in logentry-rights-rights"
Reedy [Sat, 2 Apr 2016 08:21:09 +0000 (09:21 +0100)]
DifferenceEngine::setText() was removed
Bug: T122754
Change-Id: I796f0c4d86d0d5a8c2b24820dc84b18a7dc50981
Depends-On: Ia52054a85944f51adb8a644e703db02f6833b262
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
jenkins-bot [Sat, 2 Apr 2016 08:57:07 +0000 (08:57 +0000)]
Merge "Article::getUndoText() and WikiPage::getUndoText were removed"
jenkins-bot [Sat, 2 Apr 2016 08:43:43 +0000 (08:43 +0000)]
Merge "Add prefered magic words first"
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
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
jenkins-bot [Sat, 2 Apr 2016 08:13:10 +0000 (08:13 +0000)]
Merge "Collapse superfluous isset() call"
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
Reedy [Fri, 1 Apr 2016 20:21:59 +0000 (21:21 +0100)]
LoadBalancer::pickRandom() was removed
Bug: T122754
Change-Id: I85d0c4387195cb60c70e24a0a7ab338723e6e7f4
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
jenkins-bot [Sat, 2 Apr 2016 00:16:24 +0000 (00:16 +0000)]
Merge "Support custom query in pt-heartbeat lag detection "
jenkins-bot [Sat, 2 Apr 2016 00:15:19 +0000 (00:15 +0000)]
Merge "resourceloader: Avoid Title::newMainPage() to support $wgForceUIMsgAsContentMsg"
jenkins-bot [Sat, 2 Apr 2016 00:15:15 +0000 (00:15 +0000)]
Merge "Skin::newFromKey() was removed"
jenkins-bot [Sat, 2 Apr 2016 00:09:16 +0000 (00:09 +0000)]
Merge "Skin::getCommonStylePath() was removed"
jenkins-bot [Sat, 2 Apr 2016 00:09:07 +0000 (00:09 +0000)]
Merge "Skin::commonPrintStylesheet() was removed"
Aaron Schulz [Tue, 8 Mar 2016 20:36:03 +0000 (12:36 -0800)]
Support custom query in pt-heartbeat lag detection
Bug: T111266
Change-Id: Ib0f9ca8072d9becebacfa8c9afe9d61567f73912
Brad Jorsch [Tue, 29 Mar 2016 18:15:12 +0000 (14:15 -0400)]
resourceloader: Avoid Title::newMainPage() to support $wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg forces Message::inContentLanguage() to not
actually do anything, thus falling back to the session user's language
which we can't use in ResourceLoader. And 'mainpage' is added to that
array on various multi-lingual wikis.
Bug: T127233
Change-Id: I9dc1e57922641881b36c70658083c2c8c8a608a0
Timo Tijhof [Fri, 1 Apr 2016 23:22:29 +0000 (00:22 +0100)]
resourceloader: Remove wfExpandUrl() from ResourceLoaderImage
Follows-up
b5e69c4ef which did the same for already for ResourceLoader.php.
There's no need to expand the hostname into these urls. If load.php
is on the same domain (e.g. set to '/w/load.php') then this can be
resolved by the browser normally.
If load.php is on a custom domain, the stylesheet would be served
from there instead of from the wiki domain. However in that case
the hostname would already be part of $script value ($wgLoadScript).
Bug: T125292
Change-Id: I7242445335d69d7ae290da5f321a59edd537d819
Timo Tijhof [Fri, 1 Apr 2016 23:05:47 +0000 (00:05 +0100)]
Disable flaky UIDGeneratorTest::testTimestampedUID test
Currently causing builds to break all over the place. Disable
until someone can attend to it.
Bug: T131549
Change-Id: I0eb29c53e70ef84a4facc137a3bf20f64a673511
Siebrand Mazeland [Wed, 9 Mar 2016 00:09:54 +0000 (01:09 +0100)]
Skin::newFromKey() was removed
Deprecated since 1.24. No uses in core or Gerrit extensions remaining.
Change-Id: If5d18ec56a066ea3ab28503b1bf5a84a8588ba5a
Siebrand Mazeland [Wed, 9 Mar 2016 00:03:04 +0000 (01:03 +0100)]
Skin::getCommonStylePath() was removed
Deprecated since 1.24. No uses in core or Gerrit extensions remaining.
Change-Id: I15629292f00b6d2493f7a329670d85c76da50db9
Siebrand Mazeland [Wed, 9 Mar 2016 00:01:12 +0000 (01:01 +0100)]
Skin::commonPrintStylesheet() was removed
Deprecated since 1.22. Removed from only use in Gerrit extension
ThemeDesigner.
Change-Id: Ib6d72eff90f4ffef69274db364157b416455f17d
Florian [Fri, 1 Apr 2016 20:32:36 +0000 (22:32 +0200)]
Remove Title::newFromRedirect()
Deprecated since 1.21.
Bug: T122754
Change-Id: Iddf1c2d61cafc017bf361b747db38ac1bc5f3f09
Florian [Fri, 1 Apr 2016 20:35:44 +0000 (22:35 +0200)]
Move changes to the right section in RELEASE-NOTES
Change-Id: I4808d627d7bdb6b16e7f75d82de0ed5de6dc18fa
Reedy [Fri, 1 Apr 2016 21:23:45 +0000 (21:23 +0000)]
Merge "Remove (WikiPage|Article)::replaceSection()"
Reedy [Fri, 1 Apr 2016 21:12:00 +0000 (22:12 +0100)]
Collapse superfluous isset() call
Change-Id: I525f5ce4553f67eb4a5ceea2b622dbdb034c88e1