jhsoby [Wed, 3 Apr 2019 15:53:57 +0000 (17:53 +0200)]
Capitalize native name of Western Armenian
Language names in Western Armenian start with capital letters.
Bug: T219975
Change-Id: Ic4e1c8ce395324a0e68a2212576fcfbc3b22bb2f
jenkins-bot [Tue, 23 Apr 2019 08:57:59 +0000 (08:57 +0000)]
Merge "Define index types as strings"
jenkins-bot [Tue, 23 Apr 2019 03:13:00 +0000 (03:13 +0000)]
Merge "Remove references to field rev_text_id"
Bill Pirkle [Tue, 2 Apr 2019 14:37:55 +0000 (09:37 -0500)]
Remove references to field rev_text_id
Field rev_text_id is being retired as part of MCR Schema Migration.
Remove references to this field from maintenance scripts.
Bug: T198341
Change-Id: I43ab93c44cbd0a2a2479baf848f50348e1e4762b
Gilles Dubuc [Wed, 3 Apr 2019 07:06:38 +0000 (09:06 +0200)]
Make the ratio of requests getting Priority Hints configurable
This will allow to create 2 separate populations in
order to verify the effect of the hint.
It's fine if it's not exactly balanced in practice,
what matters is getting a significant amount of
traffic for both scenarios (origin trial is enabled +
an image is given high prio/origin trial is enabled +
no image is given special treatment).
Bug: T216499
Change-Id: I373960b2bed8437c2e97e6d729d43aff6901046c
Derick Alangi [Sun, 7 Apr 2019 13:12:40 +0000 (14:12 +0100)]
parser: Remove deprecated Parser class attribute $mUniqPrefix
This variable was deprecated in 1.26 and per a quick search using
Code Search: https://codesearch.wmflabs.org/search/?q=mUniqPrefix&i=nope&files=&repos=
it's no longer used. Hence, removed.
Change-Id: Ic8f939dde3ea511e8e46faf0f1b212d3db2d80cd
Translation updater bot [Mon, 22 Apr 2019 07:01:51 +0000 (09:01 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I5d5889f6c669fe3f8600b398baf88501c95e2a28
jenkins-bot [Mon, 22 Apr 2019 03:35:58 +0000 (03:35 +0000)]
Merge "Add support for new Japanese era name "Reiwa""
jenkins-bot [Sun, 21 Apr 2019 20:18:36 +0000 (20:18 +0000)]
Merge "registration: Deprecate ExtensionRegistry->load() in favor of ->queue()"
jenkins-bot [Sun, 21 Apr 2019 20:18:30 +0000 (20:18 +0000)]
Merge "registration: Add release notes for environment abilities"
jenkins-bot [Sun, 21 Apr 2019 15:55:10 +0000 (15:55 +0000)]
Merge "rdbms,linker: Simplify implode() with empty array"
Fomafix [Sat, 20 Apr 2019 15:23:50 +0000 (17:23 +0200)]
rdbms,linker: Simplify implode() with empty array
https://php.net/manual/en/function.implode.php#example-6071
// Empty string when using an empty array:
var_dump(implode('hello', array())); // string(0) ""
Change-Id: If6349ba914bb522129d482a714a30b889a4c9f11
jenkins-bot [Sun, 21 Apr 2019 01:48:24 +0000 (01:48 +0000)]
Merge "jquery.suggestions: Correctly place dropdown for inputs with 'position: fixed'"
Derick Alangi [Sat, 20 Apr 2019 15:24:39 +0000 (16:24 +0100)]
MWNamespace: Remove deprecated method ::canTalk() and test suit
This method was deprecated in .30 hence remove as the usage is actually
zero in extensions and one only in core.
Usage:
https://codesearch.wmflabs.org/search/?q=%3A%3AcanTalk%5C(&i=nope&files=&repos=
Change-Id: Ia18c63f95c969d13c28ffb1afa376ec2df2002a3
Derick Alangi [Fri, 19 Apr 2019 23:19:35 +0000 (00:19 +0100)]
User: Remove deprecated ::randomPassword() method
Usage:
https://codesearch.wmflabs.org/search/?q=(%3A%3A%7C-%3E)randomPassword%5C(&i=nope&files=&repos=
Only TwitterLogin (an unmaintained) extension still using it and
this patch I2c8d395dd2296a233f4 removes it.
Depends-On: I2c8d395dd2296a233f46abd44b89604c579c3020
Change-Id: I549d536e3c3e1da1c0c9c768640351bddf1d3449
rxy [Mon, 1 Apr 2019 07:04:40 +0000 (16:04 +0900)]
Add support for new Japanese era name "Reiwa"
Bug: T219728
Change-Id: I28c26291c38e7e6c167011472236fb81a8adf032
Aaron Schulz [Sat, 20 Apr 2019 03:13:49 +0000 (20:13 -0700)]
filerepo: fix return type of FileRepo::streamFileWithStatus()
Change-Id: Ibb4610630203e22d921189699f6c51298212d5d3
MGChecker [Sat, 20 Apr 2019 04:00:36 +0000 (06:00 +0200)]
registration: Add release notes for environment abilities
This adds release notes for Iff8512530b08.
Bug: T212472
Change-Id: I7ec3db19e9d028b56f7a7c8529ab7c27e48b8c65
Reedy [Sat, 20 Apr 2019 01:32:35 +0000 (02:32 +0100)]
Remove FileRepo::streamFile()
Change-Id: I96ccf5c96fabd1fa70d31eed75af384990e7eb5a
Reedy [Sat, 20 Apr 2019 01:06:50 +0000 (02:06 +0100)]
Stop calling FileRepo->streamFile()
Change-Id: Ifdf379dc7f2501e561dfbc06f9afa7a9089306f2
jenkins-bot [Sat, 20 Apr 2019 00:58:30 +0000 (00:58 +0000)]
Merge "rcfeed: Replace usage of deprecated CommentStore::getStore()"
jenkins-bot [Sat, 20 Apr 2019 00:44:49 +0000 (00:44 +0000)]
Merge "editstash: segregate stats by content type for more useful graphing"
Aaron Schulz [Fri, 19 Apr 2019 21:10:27 +0000 (14:10 -0700)]
editstash: segregate stats by content type for more useful graphing
Change-Id: Ice590a163ab7790993e44995220ca093f90c7c4f
jenkins-bot [Sat, 20 Apr 2019 00:18:19 +0000 (00:18 +0000)]
Merge "rdbms: add getChronologyProtectorClientId() to ILBFactory"
Stanislav Malyshev [Wed, 17 Apr 2019 23:46:18 +0000 (16:46 -0700)]
rdbms: add getChronologyProtectorClientId() to ILBFactory
Returns the client ID used by ChronologyProtector.
Bug: T212550
Change-Id: Ia7d24d6591d6a8696103c560ea4b2c9718fd0ec2
jenkins-bot [Fri, 19 Apr 2019 23:28:35 +0000 (23:28 +0000)]
Merge "Merge last-seen stash data at more points in SpecialWatchlist"
jenkins-bot [Fri, 19 Apr 2019 23:24:56 +0000 (23:24 +0000)]
Merge "RCFilters: display timestamp of new changes in refresh link"
jenkins-bot [Fri, 19 Apr 2019 23:22:11 +0000 (23:22 +0000)]
Merge "Gallery slideshow: Code cleanup"
jenkins-bot [Fri, 19 Apr 2019 23:13:42 +0000 (23:13 +0000)]
Merge "Gallery slideshow: Fix height calculation"
jenkins-bot [Fri, 19 Apr 2019 22:42:25 +0000 (22:42 +0000)]
Merge "Linker: Use parentheses by default in userToolLinksRedContribs()"
Roan Kattouw [Fri, 19 Apr 2019 21:49:40 +0000 (14:49 -0700)]
Linker: Use parentheses by default in userToolLinksRedContribs()
This function had been changed to unconditionally disable parentheses,
but none of its callers load the CSS needed to make that work.
Bug: T220767
Change-Id: I566d65e155258d3bd1a1a06bca9aa2b3a2d417ee
Follows-Up: I6eeeaa3b58d37adb7fefb4cc6915022229b3b324
Martin Urbanec [Fri, 19 Apr 2019 18:58:01 +0000 (20:58 +0200)]
Translate several special pages into Czech
Change-Id: I5e1e597af8ec62d536f0b041b568e961b96981c3
Ed Sanders [Fri, 19 Apr 2019 12:08:38 +0000 (13:08 +0100)]
Gallery slideshow: Code cleanup
* Use $-prefix jQuery vars
* Use #connect for OOUI events
* Some jQuery cleanups
* Remove unused return valu of setImageSize
* Only resolve one value in loadImage
* Doc fixes
Change-Id: I0ff4252300aa02c228577961a7d1ede3b9628d90
Ed Sanders [Fri, 19 Apr 2019 12:07:37 +0000 (13:07 +0100)]
Gallery slideshow: Fix height calculation
Remove $container check. This check was broken due to
recent changes in skin output (adding mw-parser-output),
and was not necessary, as the computation without it is
based on $imgContainer, which is also bound by a container.
This avoids the height being set to "NaNpx", or the full
height of the page.
Bug: T196723
Change-Id: I9b4fda9c71502bf749271c55a6945d9f4a4f913e
Derick Alangi [Mon, 15 Apr 2019 15:21:28 +0000 (16:21 +0100)]
registration: Deprecate ExtensionRegistry->load() in favor of ->queue()
Per task description, Legoktm says "should be safe to hard deprecate in
1.34", hence, doing so and skipping soft deprecation stage.
Bug: T220996
Change-Id: I5669a06f466787df24ce89e58baeed204f848e17
jenkins-bot [Fri, 19 Apr 2019 17:43:39 +0000 (17:43 +0000)]
Merge "Change "e-mail" to "email" in Log-action-filter-newusers-byemail/en"
Translation updater bot [Fri, 19 Apr 2019 07:25:19 +0000 (09:25 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I03b16a02855278de5c424151cda244bbb2e97b09
Stanislav Malyshev [Fri, 19 Apr 2019 06:59:18 +0000 (23:59 -0700)]
Define index types as strings
This will allow to use them easier in JSON config files.
Bug: T142809
Change-Id: I4053a87fe8e53c9b506604db6fad2f98f7dba150
Derick Alangi [Fri, 19 Apr 2019 05:26:06 +0000 (06:26 +0100)]
rcfeed: Replace usage of deprecated CommentStore::getStore()
Change-Id: Icaa475a86becb7ef95304f5df31d3fdcf93168e9
jenkins-bot [Fri, 19 Apr 2019 01:38:22 +0000 (01:38 +0000)]
Merge "search: Remove unused deprecated methods replaced by MW Services"
jenkins-bot [Fri, 19 Apr 2019 01:03:54 +0000 (01:03 +0000)]
Merge "SearchEngine: Hard deprecate unused static methods deprecated in 1.27"
jenkins-bot [Fri, 19 Apr 2019 00:47:45 +0000 (00:47 +0000)]
Merge "resourceloader: Omit non-existent messages in MessageBlobStore"
Timo Tijhof [Wed, 17 Apr 2019 21:08:10 +0000 (22:08 +0100)]
resourceloader: Omit non-existent messages in MessageBlobStore
Previously, it was exporting the result of $msg->plain() regardless
of $msg->exists(). This meant that, client-side, via mw.message
the message would always make mw.Message#exists return true, even
if in fact it did not exist.
Bug: T221294
Change-Id: I77122777ddaaa2d43f8385df9292540a8d21b328
Derick Alangi [Thu, 18 Apr 2019 13:09:02 +0000 (14:09 +0100)]
search: Remove unused deprecated methods replaced by MW Services
The following methods deprecated in .27 and no longer used have
been removed;
- SearchEngine::userNamespaces()
https://codesearch.wmflabs.org/search/?q=%3A%3AuserNamespaces&i=nope&files=&repos=
- SearchEngine::namespacesAsText()
https://codesearch.wmflabs.org/search/?q=%3A%3AnamespacesAsText&i=nope&files=&repos=
- SearchEngine::create()
https://codesearch.wmflabs.org/search/?q=SearchEngine%3A%3Acreate&i=nope&files=&repos=
- SearchEngine::getSearchTypes()
https://codesearch.wmflabs.org/search/?q=%3A%3AgetSearchTypes&i=nope&files=&repos=
- SearchEngine::getNearMatch()
https://codesearch.wmflabs.org/search/?q=SearchEngine%3A%3AgetNearMatch%5C(&i=nope&files=&repos=
Also, replace deprecated use of searchableNamespaces() in SearchEngine.
Bug: T220656
Change-Id: I330fbfea158f70b2328da7c850fdb833e39b6c7d
James D. Forrester [Thu, 18 Apr 2019 22:57:12 +0000 (15:57 -0700)]
SearchEngine: Hard deprecate unused static methods deprecated in 1.27
Change-Id: I96c4454a2f89df0be5de20ca0506c3ce2c75cf7c
jenkins-bot [Thu, 18 Apr 2019 22:08:15 +0000 (22:08 +0000)]
Merge "Fix the scripts to generate ucfirst overriddes"
Timo Tijhof [Thu, 18 Apr 2019 21:36:04 +0000 (22:36 +0100)]
resourceloader: Sync order of startup test cases with actual code
* Re-order the blacklist test cases to match the order of the
regex for easier review.
* Give the variables better names in startup.js.
Change-Id: Id0498329d3e331d1b0babe9b1d79410ca1e4e7dc
Giuseppe Lavagetto [Thu, 18 Apr 2019 10:09:33 +0000 (12:09 +0200)]
Fix the scripts to generate ucfirst overriddes
* Fix a couple mistakes in generateUcfirstOverrides.php
* Skip surrogate codepoints as they can't be converted to json.
Change-Id: I5eddd90f7b348806d502dfbac08c367701d17f25
jenkins-bot [Thu, 18 Apr 2019 16:20:31 +0000 (16:20 +0000)]
Merge "Add block type filter to Special:BlockList"
jenkins-bot [Wed, 17 Apr 2019 23:00:41 +0000 (23:00 +0000)]
Merge "rdbms: add missing return value to LoadBalancer::waitForReplication()"
jenkins-bot [Wed, 17 Apr 2019 22:17:10 +0000 (22:17 +0000)]
Merge "Simplify and unify the {{REVISIONID}} handling code in Parser"
jenkins-bot [Wed, 17 Apr 2019 22:14:02 +0000 (22:14 +0000)]
Merge "Refactor edit stashing into a PageEditStash service"
jenkins-bot [Wed, 17 Apr 2019 20:24:27 +0000 (20:24 +0000)]
Merge "resourceloader: Remove unused logic for WikiModule::getDB() as null"
jenkins-bot [Wed, 17 Apr 2019 20:15:55 +0000 (20:15 +0000)]
Merge "build: Set Fresnel scenario run count to 7"
Translation updater bot [Wed, 17 Apr 2019 19:54:50 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I76304ba54bedaae2d5f38c44bb9a01c250433dca
Aaron Schulz [Sat, 13 Apr 2019 04:38:55 +0000 (21:38 -0700)]
Refactor edit stashing into a PageEditStash service
Additional code cleanup:
* Call setCacheTime() in parseAndStash instead of relying
on the one in DerivedPageDataUpdater.
* Improve the SPI logging by adding more extra fields.
* Treat requests in CLI/job mode (aside from tests) like
those from bots with regard to checking the stash.
This should avoid stats/logging pollution.
Change-Id: I8c6be919e399378e401a60502add0ecec7764d2d
Timo Tijhof [Wed, 17 Apr 2019 15:23:43 +0000 (16:23 +0100)]
resourceloader: Remove unused logic for WikiModule::getDB() as null
This was intended at some point for GlobalCssJs but ended up
being implemented differently once we realised that not having
any information about the remote wiki was unacceptable.
The local placeholder that points to metawiki (in case of GlobalCssJs)
must still at the very least be able to query version information
so that it gets a new version hash after changes etc. to ensure
cache rolls over.
This is being removed in preparation for refactoring where
compatibility with this broken model is no longer kept.
Change-Id: I4f1a06ace881daf1a5f202bdba0075460804de57
Timo Tijhof [Wed, 17 Apr 2019 14:17:15 +0000 (15:17 +0100)]
resourceloader: Move remaining module registrations to ServiceWiring
Also restore the order of registrations as it was before
last week with
47422fabe2813f. (That is, core modules are registered
before extension modules, in case of conflicts with a warning, the
core one wins).
Bug: T32956
Change-Id: I3a50508178159dfc8e5db1e218a5e6d10e2d4b2a
jenkins-bot [Wed, 17 Apr 2019 18:16:28 +0000 (18:16 +0000)]
Merge "Use LinkTarget in Linker instead of Title"
jenkins-bot [Wed, 17 Apr 2019 16:44:47 +0000 (16:44 +0000)]
Merge "Add ability to override mb_strtoupper in Language::ucfirst"
Giuseppe Lavagetto [Tue, 9 Apr 2019 17:02:03 +0000 (19:02 +0200)]
Add ability to override mb_strtoupper in Language::ucfirst
Different PHP versions treat unicode differently, and specifically some
wiki resources become unreachable if mb_strtoupper's behavior has changed.
This patch allows to introduce an override table that allows to smooth
the transition period.
It also provides maintenance scripts to generate such an override table.
Bug: T219279
Change-Id: I0503ff4207fded4648c58c7b50e67c55422a4849
Aryeh Gregor [Thu, 11 Apr 2019 13:36:15 +0000 (16:36 +0300)]
Remove all $wgParser use from core
Bug: T160811
Change-Id: I0556c04d33386d0339e02e2bf7a1ee74d97c2abd
Dayllan Maza [Tue, 9 Apr 2019 16:49:12 +0000 (12:49 -0400)]
Add block type filter to Special:BlockList
Now that Partial Blocks feature is being enabled on multiple wikis
a new filter (Block Type) is added to Special:BlockList to facilitate
viewing the different blocks in place.
Bug: T191549
Change-Id: I0bc8c6eaff22930c2e3c12ae5e77e03287910db9
Stephane Bisson [Thu, 11 Apr 2019 14:58:38 +0000 (10:58 -0400)]
RCFilters: display timestamp of new changes in refresh link
The timestamp displayed in the link is not from the last refresh
but from when new changes are available.
I don't think this distinction is consequential. The fundamental
meaning is that clicking the link will bring changes newer than
the timestamp.
I considered using a relative timestamp (2h ago) like is
proposed in the task but I didn't think it was worth it
for the following reasons:
1. Client-side formatting with momentjs is hacky
at best and I couldn't find a way to have it
respect user's preferences.
2. I don't think it makes the meaning of the timestamp
in the message any clearer. I'll admit the meaning
of the current timestamp is not explicit but I think
it works when you don't think too much about it.
3. A relative timestamp requires a setInterval with
decreasing interval to keep it up to date.
("A few seconds ago" -> "2 minutes ago", "1h ago", etc)
Bug: T200353
Change-Id: I9058d47645914783227d1520adb78e75399b5504
James D. Forrester [Tue, 16 Apr 2019 23:22:32 +0000 (16:22 -0700)]
Update OOUI to v0.31.4
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.31.4
Bug: T163142
Bug: T208547
Bug: T220041
Bug: T220204
Bug: T220227
Bug: T220248
Bug: T220840
Change-Id: Ic94a2f6790334baad7bc9c3055e990f7d3917e17
Depends-On: I0a2e152e61700e723a9ad7cd061682efaa9faf4d
jenkins-bot [Tue, 16 Apr 2019 21:13:58 +0000 (21:13 +0000)]
Merge "api: Remove 'recenteditcount' set for BC to be removed in 1.25"
jenkins-bot [Tue, 16 Apr 2019 21:13:47 +0000 (21:13 +0000)]
Merge "Remove usages of 'text' flag in revision-related getQueryInfo() calls"
Derick Alangi [Mon, 1 Apr 2019 00:15:10 +0000 (01:15 +0100)]
api: Remove 'recenteditcount' set for BC to be removed in 1.25
This was a TODO that needed cleanup in mediawiki version 1.25 but
code was still hanging around. Removing it as we're in .34
Change-Id: I0d996362612495b3c523aed5af3a0e30ee4ed79c
Bill Pirkle [Tue, 16 Apr 2019 16:46:38 +0000 (11:46 -0500)]
Remove usages of 'text' flag in revision-related getQueryInfo() calls
Field rev_text_id will no longer be populated once the legacy
schema is disabled, so joins against it will not work.
Remove all usages of the 'text' flag in calls to both
Revision::getQueryInfo() and RevisionStore::getQueryInfo()
so that these joins are no longer attempted.
Bug: T198342
Change-Id: I9be6a544c6f68555d4ea856f949f0040d05eac0f
jenkins-bot [Tue, 16 Apr 2019 20:16:47 +0000 (20:16 +0000)]
Merge "changetags: $param type should be string and not array"
Translation updater bot [Tue, 16 Apr 2019 20:09:22 +0000 (22:09 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ief398fcf2575c4ff49e6db20f7f4c3a64b7209d8
Derick Alangi [Mon, 15 Apr 2019 20:33:18 +0000 (21:33 +0100)]
changetags: $param type should be string and not array
Per the call to updateTagsWithChecks(), $params should be a string
and not an array as soft type hinted. The previous calls updateTags()
which uses $param as a string or null.
Change-Id: I87fa39682d91b7cb3b0844d0aabbfaea0cb6f206
jenkins-bot [Tue, 16 Apr 2019 19:11:18 +0000 (19:11 +0000)]
Merge "context: Replace deprecated use of SkinFactory::getDefaultInstance()"
jenkins-bot [Tue, 16 Apr 2019 18:46:20 +0000 (18:46 +0000)]
Merge "diff: Wrap condition around brackets for more readability"
Aaron Schulz [Sat, 13 Apr 2019 23:43:06 +0000 (16:43 -0700)]
Simplify and unify the {{REVISIONID}} handling code in Parser
Improve documentation for Parser::getRevisionId().
Change-Id: I3cb8721e3bc2e3a06c3158cd60742bc10a458f20
jenkins-bot [Tue, 16 Apr 2019 09:40:24 +0000 (09:40 +0000)]
Merge "resourceloader: Remove 'wgMainPageTitle' mw.config key"
Aaron Schulz [Tue, 16 Apr 2019 04:53:27 +0000 (21:53 -0700)]
rdbms: add missing return value to LoadBalancer::waitForReplication()
Change-Id: Idcb5ee63279746160c0ee4ac1e8a242876e66906
jenkins-bot [Tue, 16 Apr 2019 04:52:09 +0000 (04:52 +0000)]
Merge "clientpool: Remove unused parameter from constructor header"
jenkins-bot [Mon, 15 Apr 2019 23:23:46 +0000 (23:23 +0000)]
Merge "resources: Rename a few local 'filterFn' vars to 'filterFunction'"
Lucas Werkmeister [Fri, 22 Mar 2019 18:40:53 +0000 (19:40 +0100)]
resources: Rename a few local 'filterFn' vars to 'filterFunction'
Abbreviations are discouraged, so let’s use the full word.
Change-Id: I31fb4cca32d766559005d1291d6d22da3d74b5e6
jenkins-bot [Mon, 15 Apr 2019 22:15:06 +0000 (22:15 +0000)]
Merge "Allow fragment-only TitleValues"
jenkins-bot [Mon, 15 Apr 2019 22:14:59 +0000 (22:14 +0000)]
Merge "Normalize input to TitleParser::parseTitle()"
jenkins-bot [Mon, 15 Apr 2019 22:13:38 +0000 (22:13 +0000)]
Merge "New Title::castFromLinkTarget/TitleValue"
jenkins-bot [Mon, 15 Apr 2019 21:40:16 +0000 (21:40 +0000)]
Merge "Update MediaWikiTitleCodec to use NamespaceInfo"
jenkins-bot [Mon, 15 Apr 2019 21:38:35 +0000 (21:38 +0000)]
Merge "Rename un-prefixed rcfilters selectors"
jenkins-bot [Mon, 15 Apr 2019 20:54:19 +0000 (20:54 +0000)]
Merge "Tweak margins for collapsible OOUI HTMLForms some more"
jenkins-bot [Mon, 15 Apr 2019 20:28:22 +0000 (20:28 +0000)]
Merge "JsonContent: Remove never-used caption styles"
jenkins-bot [Mon, 15 Apr 2019 20:28:15 +0000 (20:28 +0000)]
Merge "resourceloader: Use 'fallback' as default for ResourceLoaderTestCase"
jenkins-bot [Mon, 15 Apr 2019 20:22:21 +0000 (20:22 +0000)]
Merge "resourceloader: Declare ResourceLoaderImage fields explicitly"
jenkins-bot [Mon, 15 Apr 2019 20:19:05 +0000 (20:19 +0000)]
Merge "Remove obsolete `color` property from horizontal rule"
jenkins-bot [Mon, 15 Apr 2019 20:17:30 +0000 (20:17 +0000)]
Merge "Set global config for test to avoid failure"
Derick Alangi [Mon, 15 Apr 2019 20:14:05 +0000 (21:14 +0100)]
clientpool: Remove unused parameter from constructor header
Per https://codesearch.wmflabs.org/search/?q=SquidPurgeClient&i=nope&files=&repos=,
constructing an SquidPargeClient requires only the $server argument and
doesn't make use of $options yet. Maybe this was a WIP but for now, it's
never used, so cleaning it up.
Change-Id: I2d86ac6b17ac8dce85c05887de8eee4bb3dd28a5
Translation updater bot [Mon, 15 Apr 2019 20:11:57 +0000 (22:11 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ida17cce17aa1b580a88aa9c767362e739364d1e3
Bartosz Dziewoński [Mon, 15 Apr 2019 19:52:13 +0000 (21:52 +0200)]
Tweak margins for collapsible OOUI HTMLForms some more
* Move the code from mediawiki.action.history.styles, as it's
theoretically applicable to other similar forms
* Fix it so that it actually only applies when JS is available
* Make top and bottom margins/paddings even
Follow-up to
32bca54dc94b1befcf21483d9f08017a91ad73eb.
Change-Id: Ifde2303f78f971f1e82418c9bd5feddbd6f1f25d
jenkins-bot [Mon, 15 Apr 2019 19:34:24 +0000 (19:34 +0000)]
Merge "specials: Add $subpage param to RedirectSpecialPage::getRedirectQuery"
jenkins-bot [Mon, 15 Apr 2019 19:31:17 +0000 (19:31 +0000)]
Merge "db: Use $fname instead of __METHOD__ magic constant"
Derick Alangi [Mon, 15 Apr 2019 19:21:21 +0000 (20:21 +0100)]
context: Replace deprecated use of SkinFactory::getDefaultInstance()
Replace with MediaWikiServices::getInstance()->getSkinFactory()
Change-Id: I2cf7afad249e52e13a56fbe92b1665dfebec793f
Timo Tijhof [Mon, 15 Apr 2019 19:21:00 +0000 (20:21 +0100)]
resourceloader: Use 'fallback' as default for ResourceLoaderTestCase
Follows-up
fa05976f5f. This broke the Travis CI tests because
the Vector skin is not installed there (unlike in Wikimedia CI).
Make the test no longer reliant on that detail.
* Fix ResourceLoaderTestCase to use a default that actually
works in plain core (previously 'vector' would be rejected
as being an unknown skin, but then be re-normalised back to
'vector' thanks to wgDefaultSkin. This was fixed in
fa05976f5f,
and the unknown skin now produces 'fallback' which is better.
* Update ResourceLoaderOOUIImageModuleTest to match this
new default and also fix the test message while at it
to mention 'skin', not 'image'.
Change-Id: I5fb69a6a38a42b1a5f325c0134e01ad880f65087
jenkins-bot [Mon, 15 Apr 2019 19:19:40 +0000 (19:19 +0000)]
Merge "specials: Remove invalid return from RedirectSpecialPage::execute"
jenkins-bot [Mon, 15 Apr 2019 19:13:58 +0000 (19:13 +0000)]
Merge "Fix calls to Title::getUserPermissionsErrors on SpecialImport"