jenkins-bot [Sat, 4 Nov 2017 21:07:49 +0000 (21:07 +0000)]
Merge "Remove use of a nonexistent variable"
jenkins-bot [Sat, 4 Nov 2017 21:07:46 +0000 (21:07 +0000)]
Merge "Fix function annotiation"
Translation updater bot [Sat, 4 Nov 2017 20:55:31 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I0bc816f03d3fb2909d9cebcef8c493eb10381865
jenkins-bot [Sat, 4 Nov 2017 11:53:06 +0000 (11:53 +0000)]
Merge "Align PNG fallbacks to WikimediaUI color palette"
jenkins-bot [Sat, 4 Nov 2017 11:49:01 +0000 (11:49 +0000)]
Merge "Optimize SVGs and align colors to WikimediaUI palette"
Max Semenik [Sat, 4 Nov 2017 07:47:29 +0000 (00:47 -0700)]
Remove use of a nonexistent variable
Was gone since I4c22666fb98 year and a half ago.
Change-Id: I7e2fb015310ea2541cd4a92133627b748507ef78
Max Semenik [Sat, 4 Nov 2017 07:35:39 +0000 (00:35 -0700)]
Fix function annotiation
Change-Id: I4dfc62c8ef2226b46aa1eed508816377f6599ab2
jenkins-bot [Sat, 4 Nov 2017 03:31:46 +0000 (03:31 +0000)]
Merge "WikiPage::doModify: Reuse old revision while null-editing"
Zhuyifei1999 [Sun, 5 Feb 2017 15:20:25 +0000 (15:20 +0000)]
WikiPage::doModify: Reuse old revision while null-editing
The expected behavior for a null-edit is that the cache gets fully
purged as if another edit has happened, without actually inserting
a new revision into the database. Old implementation was to create
a new Revision instance, copy some of the private instance properties
from the old Revision instance, and skip database insertion. This
method is, unfortunately, prone to errors, as hooks and parsers
expect the given revision data to be equal to whatever the latest
revision is in the database, including timestamp and edit summary.
An alternative solution would be to maintain a method that copies
all the needed data from one revision to another; however, the extra
maintenance cost would be that it would be annoying to maintain it.
This implementation simply reuses the old Revision instance given
by the caller (WikiPage::doEditContent), as it is the latest
revision that hooks and parsers expect.
This patch fixes the error where, after null-editing, the
revision-related magic words, such as {{REVISIONDAY}}, are changed
to the values given by the null edit, instead of the latest revision.
Old behavior was caused by the parser parsing with incorrect
revision data.
Deprecate Revision::setUserIdAndName. It was a hack added in
147f79e for the same bug, addressing {{REVISIONUSER}}, but failed
to address the other magic words, including {{REVISIONDAY}}. I
failed to find any other usage of this instance method.
Bug: T135261
Change-Id: Ifce6a753effb98123574bff45ff59b5c9780f0c2
Volker E [Sat, 4 Nov 2017 00:49:51 +0000 (17:49 -0700)]
Align PNG fallbacks to WikimediaUI color palette
Follow-up to Ia693b2092bbb730
Change-Id: If81043a7205c348a98fadbc6834e1789bf8a7926
Chad Horohoe [Fri, 3 Nov 2017 17:55:09 +0000 (10:55 -0700)]
Fix grouping for remaining logger calls in SwiftFileBackend
Change-Id: I80ad8424de3e2a6a0c4b5e69537012a8f775cd68
Translation updater bot [Fri, 3 Nov 2017 20:55:08 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I0b488756abb4de41488959c0fa581913c333da13
Chad Horohoe [Fri, 3 Nov 2017 16:05:59 +0000 (09:05 -0700)]
Group lock failed messages in mysql db driver
Change-Id: Ia8c993a3c405c37200c6c1a0dbe6b12726def7c1
Translation updater bot [Thu, 2 Nov 2017 21:16:21 +0000 (22:16 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Id10c52b19c7d9ceb49ac8c30856ace0f868f4894
James D. Forrester [Thu, 2 Nov 2017 18:48:15 +0000 (11:48 -0700)]
OutputPage: Hard-deprecate setSquidMaxage, renamed since 1.27
Renamed and deprecated in MediaWiki in
f606fd8d since 1.27.
Only six uses in Wikimedia-hosted git repositories, marked as
dependencies. Also one use snuck back into MediaWiki itself,
fixed in this patch.
Depends-On: Ie8c13a6b1dc1b7861f6c27bbba996099375f066b
Depends-On: Ic2ea90343efda6533c06ca1325bc85d9aa776078
Depends-On: Ibba2f486f0ecb684ded7efb09f9942f5e0f5fd7a
Depends-On: Id27a48e10fd127e00f68e1020e8f40e30ba9a251
Depends-On: Ifd6db7910a71bb700484d6b588327424f11c00e0
Depends-On: I6523059941eb5f86274e364a8d5cc74b849655a4
Change-Id: I2cdfcd60fc7934830e3e6ec132958aa2aa1fe486
jenkins-bot [Thu, 2 Nov 2017 10:46:51 +0000 (10:46 +0000)]
Merge "Make filter area togglable"
jenkins-bot [Thu, 2 Nov 2017 10:26:50 +0000 (10:26 +0000)]
Merge "More specific warning when RC page fails to load"
jenkins-bot [Thu, 2 Nov 2017 06:54:36 +0000 (06:54 +0000)]
Merge "DifferenceEngine: Add debug text for native PHP diffs"
Kunal Mehta [Thu, 2 Nov 2017 06:36:11 +0000 (23:36 -0700)]
DifferenceEngine: Add debug text for native PHP diffs
Change-Id: I004844989dfd98083f4b1f8722f6a142d47928e9
jenkins-bot [Thu, 2 Nov 2017 05:40:05 +0000 (05:40 +0000)]
Merge "Add attributes parameter to ShowSearchHitTitle"
jenkins-bot [Wed, 1 Nov 2017 22:34:36 +0000 (22:34 +0000)]
Merge "Clean up "bad parameter" error messages in Message handler"
Chad Horohoe [Wed, 1 Nov 2017 18:29:43 +0000 (11:29 -0700)]
Clean up "bad parameter" error messages in Message handler
Change-Id: I64b54b1991d17ae97a8dd9414d6807daab982a3a
jenkins-bot [Wed, 1 Nov 2017 21:33:01 +0000 (21:33 +0000)]
Merge "Fix up replica/pos logging"
jenkins-bot [Wed, 1 Nov 2017 21:24:28 +0000 (21:24 +0000)]
Merge "Improve connection logging a little more"
petarpetkovic [Tue, 31 Oct 2017 15:36:14 +0000 (16:36 +0100)]
More specific warning when RC page fails to load
- Provide more specific message when the page fails to load
(when the connection drops for any reason), replacing the current message,
which says misleadingly that no results could be found.
- Center warning messages horizontally.
Bug: T177413
Change-Id: Ie2bc4fe4bd19103b513e4753e59f4adb295fbafa
Chad Horohoe [Wed, 1 Nov 2017 17:23:01 +0000 (10:23 -0700)]
Improve connection logging a little more
Don't include the trace in the actual message, that keeps us from
grouping these messages by type. Instead inject the trace as an
extra parameter we'll pick up in logstash
Change-Id: I48184c1af2560827ef50baff4fc0443f00697504
Translation updater bot [Wed, 1 Nov 2017 21:00:14 +0000 (22:00 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I48e20dc76cf2d7ae9e54c428f7896014b36b7ab1
petarpetkovic [Wed, 1 Nov 2017 18:55:31 +0000 (19:55 +0100)]
Make filter area togglable
- Close and open the dropdown filter menu when
a user clicks on the active filter area.
- Fix inaccessible menu when user clicks on browser
scrollbar while dropdown filter menu is visible.
Bug: T176954
Change-Id: Id1c0c5078d80064a432b3db0f42775d0c00cdd85
Chad Horohoe [Wed, 1 Nov 2017 18:06:23 +0000 (11:06 -0700)]
Fix up replica/pos logging
Change-Id: I8670aef4a684c1c7f9bb510e7f2cc1530bdcfed0
Kunal Mehta [Wed, 1 Nov 2017 18:00:22 +0000 (11:00 -0700)]
DifferenceEngine: Fix wikidiff2 version check
The feature was actually released in 1.5.0.
Change-Id: Ic1a8818e34327510a75a4252f98b1f67aeeacb04
jenkins-bot [Wed, 1 Nov 2017 17:48:19 +0000 (17:48 +0000)]
Merge "resourceloader: Remove outdated readyState handler for base modules request"
jenkins-bot [Wed, 1 Nov 2017 17:20:03 +0000 (17:20 +0000)]
Merge "Put page_is_new back into ContribsPager query"
jenkins-bot [Wed, 1 Nov 2017 16:03:14 +0000 (16:03 +0000)]
Merge "RCFilters: Move label prefixes from dm.ItemModel to ui.TagItemWidget"
jenkins-bot [Wed, 1 Nov 2017 15:58:01 +0000 (15:58 +0000)]
Merge "Remove Media namespace from the list of RCFilters"
jenkins-bot [Wed, 1 Nov 2017 15:53:41 +0000 (15:53 +0000)]
Merge "RCFilters: HTML-escape tag names in filter capsules"
Brad Jorsch [Thu, 12 Oct 2017 20:00:52 +0000 (16:00 -0400)]
Add deprecation notices for selectFields() methods deprecated in Idcfd1556
Now that WMF-deployed extensions have been updated to no longer call
them.
Change-Id: I04942ca1b95baa2126f2dcf4d0975536f4dd07c7
Depends-On: I300130c7b952a353ac28989d39d7f01366da2a37
Depends-On: Ia81bf6a655af800ce8ac19940d851e65746e1f77
Depends-On: I0d869aacaaad85cdd34361a611ac8348bdbb757d
Depends-On: I7b05a99e23da296a673eb0bd34f18344618c8be3
Depends-On: I42237e8e29497bbc56606f6ad01de3d525bf8b2a
Depends-On: If75d2e76c2f166bc40a544dd502da43171ce1e7b
Depends-On: I401809d2638b11e6c77a318fc8fbbc41fa639083
Depends-On: I5d62ad76fdb64a9c6efd228f27e9b5f512f17d5e
Depends-On: I488afaa991e3d26b638a4f588f70db455959eadf
Depends-On: Ibe82dadb0f2d1c5dbc38b96731c6e443c5469ff0
Depends-On: Id25b86dd415e2e3c6190a91faee2a3b815e50f61
Brad Jorsch [Wed, 1 Nov 2017 14:02:15 +0000 (10:02 -0400)]
Put page_is_new back into ContribsPager query
Accidentally removed in Idcfd15568.
Bug: T179467
Change-Id: I0a26da37638352d4a4dca08c0ef3eb9f99c7100a
petarpetkovic [Wed, 1 Nov 2017 11:52:54 +0000 (12:52 +0100)]
Remove Media namespace from the list of RCFilters
Bug: T176990
Change-Id: I3c5b65244fd6b2782dea0404fe3671407fbb99e6
jenkins-bot [Wed, 1 Nov 2017 10:49:44 +0000 (10:49 +0000)]
Merge "RCFilters: Change main entry point text"
petarpetkovic [Wed, 1 Nov 2017 10:00:04 +0000 (11:00 +0100)]
RCFilters: Spell out Tags and Namespaces labels
- Provide Tags and Namespaces menus with labels where the icons now are,
in order to increase discoverability.
Bug: T178539
Change-Id: I2101898d10043ef45d7636f6676d8f1f51b9db58
petarpetkovic [Wed, 1 Nov 2017 09:01:08 +0000 (10:01 +0100)]
RCFilters: Change main entry point text
Bug: T178069
Change-Id: I52c41a795ca76af9c645cb35266ccebe32a8f1fa
jenkins-bot [Wed, 1 Nov 2017 01:30:08 +0000 (01:30 +0000)]
Merge "resources: Remove deprecated 'mediawiki.widgets.CategorySelector' module alias"
jenkins-bot [Wed, 1 Nov 2017 01:19:16 +0000 (01:19 +0000)]
Merge "resources: Remove deprecated 'jquery.appear' module"
jenkins-bot [Wed, 1 Nov 2017 01:19:12 +0000 (01:19 +0000)]
Merge "resources: Remove deprecated 'jquery.placeholder' module"
jenkins-bot [Wed, 1 Nov 2017 01:19:08 +0000 (01:19 +0000)]
Merge "Add statsd metric support to WANObjectCache"
jenkins-bot [Wed, 1 Nov 2017 01:04:48 +0000 (01:04 +0000)]
Merge "resources: Remove deprecated 'jquery.autoEllipsis' module"
Jonathan [Thu, 17 Aug 2017 21:13:23 +0000 (21:13 +0000)]
search: Hyphen to dash for range in results message
Change-Id: I0ace65b08a21b4024f7c9825173dc17b7f408d3d
James D. Forrester [Wed, 25 Oct 2017 19:41:29 +0000 (12:41 -0700)]
resources: Remove deprecated 'mediawiki.widgets.CategorySelector' module alias
Change-Id: I28557186a6cfe45b2a378f06ca59848be3f8e781
James D. Forrester [Wed, 25 Oct 2017 19:39:26 +0000 (12:39 -0700)]
resources: Remove deprecated 'jquery.appear' module
Change-Id: Ifce63eb64c94203acb049d3f588e75f18123f12e
James D. Forrester [Wed, 25 Oct 2017 19:38:18 +0000 (12:38 -0700)]
resources: Remove deprecated 'jquery.placeholder' module
Change-Id: I1f14561e54df477067460411ff155e3f2eeb167a
James D. Forrester [Wed, 25 Oct 2017 19:34:32 +0000 (12:34 -0700)]
resources: Remove deprecated 'jquery.autoEllipsis' module
Change-Id: Ib181b814953bac0153dead95a25040ed2d4ca7ca
jenkins-bot [Wed, 1 Nov 2017 00:13:50 +0000 (00:13 +0000)]
Merge "resources: Remove the deprecated 'jquery.badge' module"
James D. Forrester [Tue, 31 Oct 2017 22:49:11 +0000 (15:49 -0700)]
Update OOjs UI to v0.24.1
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.24.1
Depends-On: I9ebdc86488c4eda7c524fb6004ea6a124a63d7ab
Change-Id: Ia6332cc6bd7ae6e99bfe68043b0510a8bd483668
Translation updater bot [Tue, 31 Oct 2017 20:55:46 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I522e124758e4aecddc5dc36024b3df1ca8891067
jenkins-bot [Tue, 31 Oct 2017 20:09:30 +0000 (20:09 +0000)]
Merge "EditPage: Extract some edit conflict code into EditConflictHelper"
jenkins-bot [Tue, 31 Oct 2017 09:22:39 +0000 (09:22 +0000)]
Merge "Prefer using plaintextParams instead of rawParams where possible"
Timo Tijhof [Tue, 31 Oct 2017 02:16:52 +0000 (19:16 -0700)]
resourceloader: Remove outdated readyState handler for base modules request
There is a bug in IE10 where under certain conditions[1], the browser will
fire 'onreadystatechange' on script tags before the script has executed.
To avoid this bug, simply remove this outdated compatibility code. It was
originally placed in startup.js in 2011 for compatibility with IE6-8, and
was inspired by the internal source code behind jQuery's ajax transport for
script tags.
jQuery no longer does this either and uses 'script.onload' in all browsers,
which is supported by IE 9 and above. MediaWiki currently requires IE 10
for its Grade A experience.
Looking further, it actually seems that Microsoft has now retroactively
documented that readyState="loaded" in IE6-10, for script tags, represents
the completion of the download, not the execution. [2] Presumably the reason
we did not find this bug earlier is because of the rare conditions [1], and
because even then, on most page views, readyState="loaded" is never fired.
Instead, usually the event is skipped by IE and the first and only readyState
event is readyState="complete".
[1] The conditions are: A relatively short HTML page, with a script from
<script async href=".."> that in turn appends a dynamic script tag, where
the <script async> is followed by a <link rel=stylesheet> that is relatively
large/complex (possibly due to use of cross-domain @imports, not sure).
[2] https://connect.microsoft.com/IE/feedback/details/729164/ie10-dynamic-script-element-fires-loaded-readystate-prematurely
Bug: T178943
Change-Id: Id3de61515e4701a7ef59e4a4d8643a0e09f8f589
jenkins-bot [Mon, 30 Oct 2017 23:42:35 +0000 (23:42 +0000)]
Merge "build: Upgrade grunt-stylelint"
Brad Jorsch [Fri, 6 Oct 2017 17:03:55 +0000 (13:03 -0400)]
Replace selectFields() methods with getQueryInfo()
Several classes have a "selectFields()" static method to tell callers
which fields to select from the database. With the recent comment table
change and the upcoming actor table change, this pattern has become too
simplistic as a SELECT will need to join several tables to be able to
retrieve all the needed fields.
Thus, we deprecate the selectFields() methods in favor of getQueryInfo()
methods that return tables and join conditions in addition to the
fields.
Change-Id: Idcfd15568489d9f03a7ba4460e96610d33bc4089
Ed Sanders [Mon, 30 Oct 2017 21:49:12 +0000 (21:49 +0000)]
build: Upgrade grunt-stylelint
Change-Id: I4c47f1d290802705d061167fe369c130405512e0
James D. Forrester [Thu, 26 Oct 2017 21:15:51 +0000 (14:15 -0700)]
resources: Mark MediaWiki.UI as deprecated.
Change-Id: Idd5f898c1b596040be8d14dee0a9893b59d6a532
James D. Forrester [Wed, 25 Oct 2017 19:53:56 +0000 (12:53 -0700)]
build: Bump karma devDependencies to latest
karma 1.5.0 → 1.7.1
karma-chrome-launcher 2.0.0 → 2.2.0
karma-mocha-reporter 2.2.3 → 2.2.5
nodemw 0.10.1 → 0.11.0
qunitjs 2.4.0 → 2.4.1
Change-Id: I1e06189a12fbbc1d62781a4636f192c5b7078c1a
jenkins-bot [Mon, 30 Oct 2017 21:43:51 +0000 (21:43 +0000)]
Merge "build: Bump eslint devDependencies to latest"
Translation updater bot [Mon, 30 Oct 2017 20:59:30 +0000 (21:59 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I647e1c0b0bf533b1918b8ab7404676e86e9ace74
jenkins-bot [Mon, 30 Oct 2017 16:08:29 +0000 (16:08 +0000)]
Merge "Article: Show moveddeleted on 404s for all pages if the user has a session"
Brian Wolff [Fri, 27 Oct 2017 14:26:33 +0000 (14:26 +0000)]
Prefer using plaintextParams instead of rawParams where possible
Using Message::rawParams() is something that should immediately
jump out as scary. While it's perfectly safe to do something like
wfMessage( 'foo' )->rawParams( $userControlledVar )->text() and
escape later, mixing the safe type of rawParams with the
dangerous type makes it more likely someone will miss something
when checking for security.
To reduce the likelyhood of confusion, prefer ->plaintextParams
for such cases, as it can be seen to be safe at a glance.
Change-Id: Ib067eb08ec934779ae743751306f1a0397bdf71c
jenkins-bot [Mon, 30 Oct 2017 15:21:59 +0000 (15:21 +0000)]
Merge "No longer special case 'patrol' in $wgFilterLogTypes"
vinithegit [Mon, 30 Oct 2017 12:30:37 +0000 (18:00 +0530)]
Article: Show moveddeleted on 404s for all pages if the user has a session
Add a check for user session and show movedelete message for this case as well.
Bug: T178099
Change-Id: Id42f27a19e85b608a734c7fedb4e016d8cdc163e
Bryan Davis [Wed, 27 Jan 2016 17:26:42 +0000 (10:26 -0700)]
Support language fallbacks for Special:MyLanguage
Add fallback lookup based on the interface language to
Special:MyLanguage. Lookup order:
<user lang> -> <explicit lang> -> <fallback lang(s)> -> <base>
Example when the user's lang is arz:
arz -> <explicit lang> -> ar -> en -> <base>
Bug: T50292
Change-Id: I245cab71fdd4b4585f86dde808493cd69841b09a
Translation updater bot [Sun, 29 Oct 2017 20:54:39 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I2a9bd114c751283b554f79e576168a78cf700cfd
Translation updater bot [Sat, 28 Oct 2017 19:55:02 +0000 (21:55 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I248dd76bd1d4ed220a09573916ba99ec73f225d0
Brian Wolff [Sat, 14 Oct 2017 03:20:10 +0000 (03:20 +0000)]
No longer special case 'patrol' in $wgFilterLogTypes
Previously, if you did not have the right to patrol/view patrolmarks,
you were not allowed to filter Special:Log to remove autopatrol
entries.
Now if wikiadmins want to disable the filtering, they have to
directly change the config value.
This was stupid because:
* Users without patrol rights are just as likely to not care about
autopatrol spam as users with the priv.
* Sometimes wikiadmins want to hide old patrol log entries even
after they disabled the patrol feature.
It should be noted there have been two previously attempts at fixing
this issue that didn't go anywhere:
* I9de17fc197a06402a4999a9fb792b86657641f76
* I88448ca0f09069943fd514a5b8213dfdafa57299
Bug: T44246
Change-Id: I590db72c169f3a9ad96c710f088923419d40e48d
Chad Horohoe [Thu, 26 Oct 2017 19:24:17 +0000 (12:24 -0700)]
Group XMP parse failures by exception message
Change-Id: I2bba40ded5c90f2e19a32bb5540e3c441b605da6
jenkins-bot [Fri, 27 Oct 2017 20:19:42 +0000 (20:19 +0000)]
Merge "rdbms: Group disconnect/reconnect errors by DB server name"
Chad Horohoe [Thu, 26 Oct 2017 20:43:49 +0000 (13:43 -0700)]
rdbms: Group disconnect/reconnect errors by DB server name
Still allow varying on stacktrace, as those are interesting
Change-Id: I62bc3f68fcbe43532dce849d515a5e0620fba6f2
Translation updater bot [Fri, 27 Oct 2017 19:54:08 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I5824c8668527b63f942ca56da1c6d886adce2ae7
jenkins-bot [Fri, 27 Oct 2017 18:06:14 +0000 (18:06 +0000)]
Merge "build: Update stylelint"
jenkins-bot [Fri, 27 Oct 2017 14:43:28 +0000 (14:43 +0000)]
Merge "MediaWiki\Shell: log stderr"
Brian Wolff [Fri, 27 Oct 2017 08:30:48 +0000 (08:30 +0000)]
Html escape the timestamp in Special:Undelete
Change-Id: I377effe4050d961ec6295a9fe684e4ff6a71bc77
Ed Sanders [Fri, 27 Oct 2017 12:31:41 +0000 (13:31 +0100)]
build: Update stylelint
Change-Id: I5a0ccb26a54109e641fd121c6427a71e82e05c74
Roan Kattouw [Fri, 27 Oct 2017 05:07:11 +0000 (10:37 +0530)]
RCFilters: Move label prefixes from dm.ItemModel to ui.TagItemWidget
Change-Id: I0d463b60ffaa7ab099cb46eeac94b709af325933
Roan Kattouw [Wed, 25 Oct 2017 09:09:05 +0000 (14:39 +0530)]
RCFilters: HTML-escape tag names in filter capsules
Bug: T178975
Change-Id: I9544a675fa2801bdb5d7de3ebd162a4214de740f
Gergő Tisza [Mon, 23 Oct 2017 08:29:20 +0000 (01:29 -0700)]
MediaWiki\Shell: log stderr
Change-Id: I1495fe2aba10102d7e36c3a3e5fdabf97f14546b
jenkins-bot [Fri, 27 Oct 2017 00:03:11 +0000 (00:03 +0000)]
Merge "mw.widgets.DateInputWidget: Fix unexpected MMMMM or ddddd date format"
Liangent [Tue, 24 Oct 2017 21:29:57 +0000 (21:29 +0000)]
mw.widgets.DateInputWidget: Fix unexpected MMMMM or ddddd date format
In some locale data in moment.js such as zh, llll date format already
uses MMMM and dddd. The original attempt to expand MMM to MMMM and ddd
to dddd inadvertently expands MMMM to MMMMM and dddd to ddddd, which is
then interpreted as MMMM or dddd followed by an unexpected single M or d.
Change-Id: I2634dfbaaf9615a13dce7b8f4ba3c3bea6863a91
jenkins-bot [Thu, 26 Oct 2017 22:44:23 +0000 (22:44 +0000)]
Merge "CheckBlocksSecondaryAuthenticationProvider: Avoid user language during auto-creation"
James D. Forrester [Wed, 25 Oct 2017 19:52:10 +0000 (12:52 -0700)]
build: Bump eslint devDependencies to latest
eslint 3.12.2 → 4.9.0
grunt-eslint 20.0.0 → 20.1.0
Change-Id: I7eb9964fb5d163c5bbcef850f62383cbceb59287
Translation updater bot [Thu, 26 Oct 2017 19:54:25 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I1314aff11d814fe14dd72987ea4c67f273a801fb
jenkins-bot [Thu, 26 Oct 2017 18:50:53 +0000 (18:50 +0000)]
Merge "Refactor some Installer code into ExecutableFinder"
jenkins-bot [Thu, 26 Oct 2017 18:48:41 +0000 (18:48 +0000)]
Merge "Add Unicode to ICU mappings for versions 58 and 59"
Kunal Mehta [Fri, 20 Oct 2017 07:36:03 +0000 (00:36 -0700)]
Refactor some Installer code into ExecutableFinder
Refactor Installer::locateExecutableInDefaultPaths() into a separate
utility class, ExecutableFinder. This class is already used in plenty of
places outside of the installer, so it's ripe for being extracted.
This class is located in utils/ due to the dependency upon
Shell::command(). Once that no longer has a dependence upon MediaWiki,
this class can be moved to libs/ too.
Change-Id: I175465acc0d64f990445ce05fabcee8b88a0b259
Chad Horohoe [Thu, 26 Oct 2017 17:33:42 +0000 (10:33 -0700)]
Group Swift metadata errors by making $path a parameter
Change-Id: I3beb3743e1d13b06a9110c44f84fdc8d1b193137
jenkins-bot [Thu, 26 Oct 2017 17:22:40 +0000 (17:22 +0000)]
Merge "Add test for Revision::insertOn"
jenkins-bot [Thu, 26 Oct 2017 17:20:44 +0000 (17:20 +0000)]
Merge "Refactor BlockTest"
Brad Jorsch [Thu, 26 Oct 2017 16:22:01 +0000 (12:22 -0400)]
Remove Article static methods deprecated in 1.24
The Article::selectFields(), Article::onArticleCreate(),
Article::onArticleDelete(), and Article::onArticleEdit() methods have
been deprecated in favor of the correponding WikiPage methods since
1.24. Remove them.
Change-Id: I30f3d88f8d28ccaebf5a858058e183112d29a1a7
addshore [Thu, 26 Oct 2017 12:03:43 +0000 (13:03 +0100)]
Add test for Revision::insertOn
The success test indicates a change in behaviour
of the insertOn method once
I4f24e7fbb683cb51f3fd8b250732bae9c7541ba2
is applied.
Change-Id: I987d64c5bc3788b7d6b0a858ff39e97fae38de3c
jenkins-bot [Thu, 26 Oct 2017 10:06:51 +0000 (10:06 +0000)]
Merge "RawAction: Add json to the allowed content types"
Kunal Mehta [Fri, 22 Sep 2017 11:48:27 +0000 (04:48 -0700)]
EditPage: Extract some edit conflict code into EditConflictHelper
Extensions with custom content models (e.g. ProofreadPage) will extend
EditPage to provide a customized editing experience. However when
another extension like TwoColConflict wants to change just how edit
conflicts look, this causes problems since only one class can take the
place of EditPage.
So instead, split most of the frontend code for edit conflicts into
TextConflictHelper, and call it from edit page. Extensions can override
with the instance created by calling
EditPage::setEditConflictHelperFactory().
And to make that split possible also move EditPage::addNewLineAtEnd()
and ::buildTextboxAttribs() into a separate TextboxBuilder class that
both EditPage and TextConflictHelper can use.
Bug: T176393
Change-Id: Ie415edd84329c02d5762477f8a171fced85b01a2
Reedy [Wed, 25 Oct 2017 22:42:28 +0000 (23:42 +0100)]
Add Unicode to ICU mappings for versions 58 and 59
Change-Id: I87a5e6ce3a44a2be1e6bf8adf2f98cd0a4745574
jenkins-bot [Wed, 25 Oct 2017 22:03:09 +0000 (22:03 +0000)]
Merge "Remove unused mediawiki.ui 'checked' icons"