jenkins-bot [Fri, 10 Aug 2018 20:58:16 +0000 (20:58 +0000)]
Merge "JavaScriptMinifier: Add test case for T201606"
Timo Tijhof [Fri, 10 Aug 2018 19:34:37 +0000 (20:34 +0100)]
JavaScriptMinifier: Document every operator and token type, with spec ref
* Group related operators and token types together.
* Document what each group's members have in common for the purposes of
parsing and the state machine.
* Add spec reference.
Also confirmed that each group matches the spec (nothing missing,
nothing extra).
Bug: T201606
Change-Id: I9128beed9ab5dcf831d4655854565f826f81c602
Timo Tijhof [Fri, 10 Aug 2018 18:05:42 +0000 (19:05 +0100)]
JavaScriptMinifier: Disambiguate token constants from state constants
Makes debugging a bit easier.
Bug: T201606
Change-Id: Icc660bc2dfa6af823722dd6567fb185308ac74e7
Timo Tijhof [Fri, 10 Aug 2018 20:03:01 +0000 (21:03 +0100)]
JavaScriptMinifier: Add test case for T201606
Bug: T201606
Change-Id: I2058765c7f1cfb9e2d644f19e780926d01b9b68c
Translation updater bot [Fri, 10 Aug 2018 19:55:04 +0000 (21:55 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic6dd5141ec0d2ad00bf9d2e73662d5438591dc0c
jenkins-bot [Fri, 10 Aug 2018 16:10:46 +0000 (16:10 +0000)]
Merge "ServiceWiring: Avoid once used local variables"
jenkins-bot [Fri, 10 Aug 2018 11:16:19 +0000 (11:16 +0000)]
Merge "ThumbnailRenderJob: normalize parameters before generating thumb URL"
Fomafix [Thu, 26 Jul 2018 20:23:07 +0000 (22:23 +0200)]
ServiceWiring: Avoid once used local variables
Also make the indenting and wrapping of the lines like in the other
functions.
Change-Id: I87adf7dfe518425e38a15406a432d1f91917d4e1
jenkins-bot [Fri, 10 Aug 2018 09:58:55 +0000 (09:58 +0000)]
Merge "Add language support for Mon (mnw)"
Aryeh Gregor [Fri, 10 Aug 2018 08:26:57 +0000 (11:26 +0300)]
Improve MediaWikiVersionFetcherTest
Let's test that the value is actually correct, not just that it's a
string.
Change-Id: I4d76a48696a838ee6882ffce10d024f7518dcd4a
jenkins-bot [Fri, 10 Aug 2018 04:54:17 +0000 (04:54 +0000)]
Merge "Don't require a list of services in tests"
jenkins-bot [Fri, 10 Aug 2018 04:51:47 +0000 (04:51 +0000)]
Merge "Alphabetize service lists"
Aryeh Gregor [Tue, 7 Aug 2018 16:33:20 +0000 (19:33 +0300)]
Don't require a list of services in tests
We already have two lists in other files, there's no need for a third.
Change-Id: I516a26e1170834b27aafeb0049a5893ec965d820
Aryeh Gregor [Fri, 3 Aug 2018 08:05:44 +0000 (11:05 +0300)]
Alphabetize service lists
Adding everything at the end makes the list arbitrarily ordered, and
also invites lots of merge conflicts as new things are added.
Change-Id: I58bcca4fa79140f5d5f2f6ef447e67035cc37aae
jenkins-bot [Fri, 10 Aug 2018 01:42:43 +0000 (01:42 +0000)]
Merge "resourceloader: Move add() outside loop to optimise sortDependencies()"
Gergő Tisza [Thu, 9 Aug 2018 22:11:36 +0000 (00:11 +0200)]
ThumbnailRenderJob: normalize parameters before generating thumb URL
PagedTiffHandler in particular will fail the generate a param string
for non-normalized parameters.
Also improve logging while we are at it.
Bug: T201305
Change-Id: I40e188f6525187303b6773990b887838b80630e0
jenkins-bot [Thu, 9 Aug 2018 20:36:55 +0000 (20:36 +0000)]
Merge "SVG: SVG unit parser support for wider range of number"
Translation updater bot [Thu, 9 Aug 2018 20:03:06 +0000 (22:03 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I23d98f7e9ae86025f71787febca049cc9a28695c
MarcoAurelio [Thu, 9 Aug 2018 18:52:13 +0000 (20:52 +0200)]
Add language support for Mon (mnw)
Bug: T201583
Change-Id: Ic03b910c3cfc2419ece783d04adb486570416ba3
jenkins-bot [Thu, 9 Aug 2018 18:30:53 +0000 (18:30 +0000)]
Merge "search: Use @width-breakpoint-tablet instead of @deviceWidthTablet"
Aryeh Gregor [Thu, 9 Aug 2018 18:15:04 +0000 (21:15 +0300)]
Delete autoload.ide.php
Unmaintained and possibly doesn't work. If this works and someone
actually wants it to continue working, please step up to maintain it,
preferably without copy-paste and with tests.
Bug: T173899
Change-Id: I19378f8ddcd004af1c92cb45cafe2366ae2f353f
jenkins-bot [Thu, 9 Aug 2018 18:16:01 +0000 (18:16 +0000)]
Merge "Tests can't call resetGlobalServices()"
jenkins-bot [Thu, 9 Aug 2018 18:06:05 +0000 (18:06 +0000)]
Merge "Comments and code cleanup in OutputPage"
jenkins-bot [Thu, 9 Aug 2018 17:58:55 +0000 (17:58 +0000)]
Merge "MapCacheLRU: Fix a typo in a comment"
Timo Tijhof [Thu, 9 Aug 2018 16:54:53 +0000 (17:54 +0100)]
search: Use @width-breakpoint-tablet instead of @deviceWidthTablet
The file was already importing 'mediawiki.ui/variables', which
defines @width-breakpoint-tablet, but the code itself was still
referring to the deprecated @deviceWidthTablet global variable.
Bug: T140804
Change-Id: I112eb773871d73fde45e0e6bbe3f67baac747213
jenkins-bot [Thu, 9 Aug 2018 16:13:31 +0000 (16:13 +0000)]
Merge "Remove duplicated article usages"
Aryeh Gregor [Thu, 9 Aug 2018 14:17:46 +0000 (17:17 +0300)]
Tests can't call resetGlobalServices()
They are supposed to call overrideMwServices() instead, per
documentation. One test does call resetGlobalServices(), probably by
mistake. It can be private so other tests won't make the same mistake.
Change-Id: I11ed598fcc901d0d9951724f2d210d3a7a1482d2
Yongmin Hong [Thu, 9 Aug 2018 13:50:27 +0000 (22:50 +0900)]
Localize some special pages into Korean (ko)
* Manually synced from MessagesEn.php
Change-Id: I6eca303ab1e1df6df11c317839b0958f0e7822a0
Signed-off-by: Yongmin Hong <revi@pobox.com>
Tim Eulitz [Thu, 9 Aug 2018 12:43:47 +0000 (14:43 +0200)]
Add wrapper to search form widget
This wrapper element will be used to prevent the search page from
jumping after AdvancedSearch has finished loading.
Bug: T199226
Change-Id: I8d9d68862c57f7de82ea050bf847d6bcdacdd47a
petarpetkovic [Thu, 9 Aug 2018 08:21:56 +0000 (10:21 +0200)]
Remove duplicated article usages
Bug: T201491
Change-Id: I72b1e7609b49b9bf182c0872f8b780d9e9e08695
jenkins-bot [Thu, 9 Aug 2018 04:26:56 +0000 (04:26 +0000)]
Merge "RCFilters: Export i18n messages as a config var instead of inline script"
Aaron Schulz [Tue, 3 Jul 2018 12:42:45 +0000 (13:42 +0100)]
rdbms: add more comments and sanity checks for CONN_TRX_AUTOCOMMIT
Change-Id: I69992cf2e2ae3ef62125b0bc733a0cb7274f814e
Timo Tijhof [Thu, 9 Aug 2018 01:27:08 +0000 (02:27 +0100)]
resourceloader: Move add() outside loop to optimise sortDependencies()
Follows-up CR of
dec800968.
As being a set, repeatedly calling unresolved.add() with the same
module name is not useful. This removes that needless overhead
by moving the statement from inside the loop to before it.
This does mean it is now before the first call to has(), but this
change does not affect its behaviour. Tests confirm that.
Aside from optimising the loop, this also ends up reducing the level
of recursion required to detect self-dependencies (eg. A > A).
At first I thought that self-dependencies were not detectable
right now, but the recursion made this work previously as well.
I've added a test case to confirm this going forward, and updated
the existing test cases to consistently use ABC in examples.
Change-Id: I9f4d0a18750f8e5778e0bf3c693b1d83a4ec4312
Roan Kattouw [Thu, 9 Aug 2018 01:31:04 +0000 (18:31 -0700)]
RCFilters: Export i18n messages as a config var instead of inline script
We used to generate an inline script tag with an mw.messages.set(...)
call to export these i18n messages, but there are no guarantees that
this script tag will run before mw.rcfilters.init does and tries to
access these messages. This race condition doesn't seem to be happening
in practice right now, but
dec800968eb makes it more probable.
Instead, export the messages object as a config var in mw.config, and
import it into mw.messages at the start of mw.rcfilters.init. This just
moves the blob from one inline script tag to another, but mw.config is
guaranteed to be populated before any modules execute.
Longer term, we should move these messages, as well as the filter
definitions, to a ResourceLoader module rather than embedding them in
every page view. I filed T201574 for that.
Bug: T192623
Change-Id: I2d58f55701b28876a6491432cee0fc56f97ff00b
jenkins-bot [Thu, 9 Aug 2018 00:15:47 +0000 (00:15 +0000)]
Merge "resourceloader: Add to debug mode the same 'jquery' clause as for prod"
Timo Tijhof [Wed, 8 Aug 2018 21:58:33 +0000 (22:58 +0100)]
resourceloader: Add to debug mode the same 'jquery' clause as for prod
=== module.exports
Follows-up
dec800968e, which added a clause for `window.$` inside runScript()
that ensures require/module.exports is not given to 'jquery'.
This commit adds the same clause to debug mode handling, which follows a
different code path. Without this, jquery.migrate.js execution throws from
`require('jquery')`, when viewing a page in debug mode.
=== mediawiki.legacy.wikibits
Before
dec800968e, 'jquery' was a raw module and not allowed as dependency,
and before that commit base modules did not follow debug mode. Instead,
they were always combined in the same request (even in debug mode), with
only the order in the query string dictating their execution order.
After that commit, it is mandatory for base modules to express their
execution order through dependency links. This was done for 'mediawiki.base',
but forgotten for 'mediawiki.legacy.wikibits'. That module isn't used by
default, but becomes used when enabling $wgIncludeLegacyJavaScript, which
is off by default, but on for Wikimedia wikis.
Bug: T192623
Change-Id: Id4fbfee71deeb9528e8a622604d4cd972dd25d3b
jenkins-bot [Wed, 8 Aug 2018 23:16:40 +0000 (23:16 +0000)]
Merge "objectcache: add "epoch" parameter to WANObjectCache"
Translation updater bot [Wed, 8 Aug 2018 19:54:45 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I55a2fab29c43bbfaa39cd8e26ce7ee648258598e
jenkins-bot [Wed, 8 Aug 2018 17:47:27 +0000 (17:47 +0000)]
Merge "resourceloader: Combine base modules and page modules requests"
jenkins-bot [Wed, 8 Aug 2018 16:50:44 +0000 (16:50 +0000)]
Merge "Remove special collation for Northern Sami"
jenkins-bot [Wed, 8 Aug 2018 15:35:56 +0000 (15:35 +0000)]
Merge "LogFormatter: Fail softer when trying to link an invalid titles"
jenkins-bot [Wed, 8 Aug 2018 14:56:08 +0000 (14:56 +0000)]
Merge "search: Use self::class instead of __CLASS__ in SearchResultSet"
jenkins-bot [Wed, 8 Aug 2018 13:54:09 +0000 (13:54 +0000)]
Merge "Fix common typos"
petarpetkovic [Wed, 8 Aug 2018 11:14:01 +0000 (13:14 +0200)]
Fix common typos
Bug: T201491
Change-Id: Ia5abc6ae327ee9b5aeecb4b40f00ebb0285283a9
mainframe98 [Wed, 8 Aug 2018 10:45:04 +0000 (11:45 +0100)]
Fix the GlobalTitleFail debug notice for HTMLButtonFields
These occur when buttonlabel-message is set. HTMLButtonField
parses the message in its constructor, but at that point the
context (provided by the form field by HTMLForm::$mParent) is
not yet available. The constructor of HTMLForm assigns $mParent,
but that constructor is only called after the button label
message is parsed.
Bug: T201497
Change-Id: I021c9ecf3bc934f2cf55ec100e799c1c12e7bc01
petarpetkovic [Wed, 8 Aug 2018 09:24:17 +0000 (11:24 +0200)]
Fix 'extenson' typo
Bug: T201491
Change-Id: I4fcae5d21e64b568ec78639a7e6a5d60bde939da
Niklas Laxström [Wed, 8 Aug 2018 07:31:54 +0000 (09:31 +0200)]
MapCacheLRU: Fix a typo in a comment
Change-Id: I573623f219f83528ea46ee31d656fce935b3b431
jenkins-bot [Wed, 8 Aug 2018 07:02:37 +0000 (07:02 +0000)]
Merge "Fix comma in Tajik Cyrillic dates"
jenkins-bot [Wed, 8 Aug 2018 06:53:31 +0000 (06:53 +0000)]
Merge "Add numeral conversion for Saraiki"
jenkins-bot [Wed, 8 Aug 2018 04:26:53 +0000 (04:26 +0000)]
Merge "Reuse different message in SpecialEditWatchlist"
Timo Tijhof [Thu, 12 Jul 2018 20:09:28 +0000 (13:09 -0700)]
resourceloader: Combine base modules and page modules requests
This commit implements step 4 and step 5 of the plan outlined at T192623.
Before this task began, the typical JavaScript execution flow was:
* HTML triggers request for startup module (js req 1).
* Startup module contains registry, site config, and triggers
a request for the base modules (js req 2).
* After the base modules arrive (which define jQuery and mw.loader),
the startup module invokes a callback that processes RLQ,
which is what will request modules for this page (js req 3).
In past weeks, we have:
* Made mediawiki.js independent of jQuery.
* Spun off 'mediawiki.base' from mediawiki.js – for everything
that wasn't needed for defining `mw.loader`.
* Moved mediawiki.js from the base module request to being embedded
as part of startup.js.
The concept of dependencies is native to ResourceLoader, and thanks to the
use of closures in mw.loader.implement() responses, we can download any
number of interdependant modules in a single request (or parallel requests).
Then, when a response arrives, mw.loader takes care to pause or resume
execution as-needed. It is normal for ResourceLoader to batch several modules
together, including their dependencies.
As such, we can eliminate one of the two roundtrips required before a
page can request modules. Specifically, we can eliminate "js req 2" (above),
by making the two remaining base modules ("jquery" and "mediawiki.base") an
implied dependency for all other modules, which ResourceLoader will naturally
fetch and execute in the right order as part of the batch request.
Bug: T192623
Change-Id: I17cd13dffebd6ae476044d8d038dc3974a1fa176
Timo Tijhof [Wed, 8 Aug 2018 00:08:37 +0000 (01:08 +0100)]
search: Use self::class instead of __CLASS__ in SearchResultSet
For ease of understanding, use the same technique for both
sides of the comparison. Follows-up
c2a308075f.
Change-Id: I66475fd4baaa6ab7cd24ad884e9fe01a1cd30d9f
jhsoby [Tue, 7 Aug 2018 23:43:53 +0000 (01:43 +0200)]
Fix comma in Tajik Cyrillic dates
Changed from Arabic comma (،) to Latin comma (,).
Bug: T200367
Change-Id: I07eeb83f59c2068b9c8a9906b7567d162ccd1504
jhsoby [Tue, 7 Aug 2018 23:22:47 +0000 (01:22 +0200)]
Add numeral conversion for Saraiki
Add support for Easten Arabic numerals for the
Saraiki language.
Bug: T201471
Change-Id: I75769099fe7fbab93bd7833cd457865a39fca033
jenkins-bot [Tue, 7 Aug 2018 23:19:19 +0000 (23:19 +0000)]
Merge "mediawiki.Title: Remove unnecessary type check on private function"
jenkins-bot [Tue, 7 Aug 2018 22:49:05 +0000 (22:49 +0000)]
Merge "Fix import logging"
jenkins-bot [Tue, 7 Aug 2018 22:43:21 +0000 (22:43 +0000)]
Merge "easydeflate.js: Use LF instead of CRLF as newline"
jenkins-bot [Tue, 7 Aug 2018 22:10:59 +0000 (22:10 +0000)]
Merge "EditPage: Declare 'mediawiki.toolbar' needed for inline script"
jenkins-bot [Tue, 7 Aug 2018 21:33:29 +0000 (21:33 +0000)]
Merge "startup: Add support for module-requirement to RLQ"
jenkins-bot [Tue, 7 Aug 2018 21:14:34 +0000 (21:14 +0000)]
Merge "Remove @override annotation"
Derk-Jan Hartman [Tue, 7 Aug 2018 19:47:24 +0000 (21:47 +0200)]
SVG: SVG unit parser support for wider range of number
- Add support for radix leading numbers like 0.41
- Add support for scientific number notation
- Add support for plus and minus signs
- Add testcases for SVGUnit parsing and scaling
Bug: T201274
Change-Id: I0446b19b0f22851d968c991007e73255f309f4bc
jenkins-bot [Tue, 7 Aug 2018 20:44:35 +0000 (20:44 +0000)]
Merge "Do not generate negative page counts in dump"
Translation updater bot [Tue, 7 Aug 2018 20:04:49 +0000 (22:04 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I8aa27c80578e4a84f8678a15a014ccfa9134323f
jenkins-bot [Tue, 7 Aug 2018 19:36:32 +0000 (19:36 +0000)]
Merge "resourceloader: Give module eval the ContentSecurityPolicy nonce"
jenkins-bot [Tue, 7 Aug 2018 19:20:04 +0000 (19:20 +0000)]
Merge "Updating CREDITS (MW contributors) file"
Timo Tijhof [Tue, 7 Aug 2018 18:45:10 +0000 (19:45 +0100)]
EditPage: Declare 'mediawiki.toolbar' needed for inline script
Switch from passing a plain function to RLQ that calls depends
on using() from 'mediawiki.base' and 'jquery', to using the new
array format introduced in Ica7bb9c3bdb (T192623).
This ensures the code will keep after we change the fact that
RLQ is blocked by base modules.
Bug: T192623
Change-Id: Id50e6dcc28c13b021d8395a2da0d83b46f88e18c
jenkins-bot [Tue, 7 Aug 2018 18:47:53 +0000 (18:47 +0000)]
Merge "Fix incorrect method name"
jenkins-bot [Tue, 7 Aug 2018 18:47:47 +0000 (18:47 +0000)]
Merge "Avoid ChronologyProtector warnings in the web upgrader"
Timo Tijhof [Tue, 7 Aug 2018 17:28:44 +0000 (18:28 +0100)]
startup: Add support for module-requirement to RLQ
* Add more inline documentation.
* Use [0] instead of needless 'length'. (Optimisation)
* Don't lazy-create NORLQ as empty array only to dereference
it two statements later. (Optimisation)
* Add support for a secondary signature to RLQ.push.
The existing signature is a plain callback function that is
execute immediately after startup.
The new signature is an array of `[ string|Array, Function ]`
where the first value is required module(s), and
the second value is the callback function.
startup.js will leave the second form in the array, processing
them instead in 'mediawiki.base'.
This change is needed before I17cd13dffebd6a (T192623), which
will remove the undocumented behaviour of RLQ callbacks firing
only after base modules arrive, which means we need to provide
authors of inline scripts an alternate means of scheduling
callbacks for after 'jquery' and/or 'mediawiki.base' arrive.
Bug: T192623
Change-Id: Ica7bb9c3bdb77d96ca2e01530a76f7ca448acdb8
jenkins-bot [Tue, 7 Aug 2018 18:00:58 +0000 (18:00 +0000)]
Merge "Replace @remarks by @note"
jenkins-bot [Tue, 7 Aug 2018 17:39:28 +0000 (17:39 +0000)]
Merge "Remove @abstract annotation"
jenkins-bot [Tue, 7 Aug 2018 17:31:09 +0000 (17:31 +0000)]
Merge "Whitelist phpcs Squiz.Scope.MemberVarScope in PHPVersionCheck"
jenkins-bot [Tue, 7 Aug 2018 17:00:08 +0000 (17:00 +0000)]
Merge "Remove @uses annotation from XhprofDataTest"
Brian Wolff [Mon, 2 Jul 2018 06:19:43 +0000 (06:19 +0000)]
resourceloader: Give module eval the ContentSecurityPolicy nonce
Previously domEval didn't have CSP nonces, causing it to violate
the policy.
Also removes the meta tag scheme, as I could not make it compatible
with how RL storage works using domEval instead of real eval() and
it didn't provide much protection anyways.
Bug: T196923
Change-Id: I3cd2d7cc295c39b498d0bf37915d4ba167fdd48c
Aryeh Gregor [Mon, 6 Aug 2018 17:33:35 +0000 (20:33 +0300)]
Fix incorrect method name
getTimestamp() returns the timestamp of the revision, and as far as I
can tell that's null here, presumably because we haven't saved the
content and thus there is no revision. getCacheTime() returns the time
when the page was parsed, which is probably what we want.
Change-Id: I7dc446800656236f6ecc872a65e620881e434c54
jenkins-bot [Tue, 7 Aug 2018 12:32:28 +0000 (12:32 +0000)]
Merge "Add safeguard against loading content across wikis."
Umherirrender [Tue, 7 Aug 2018 10:39:46 +0000 (12:39 +0200)]
Whitelist phpcs Squiz.Scope.MemberVarScope in PHPVersionCheck
The class supports php4 and the visibility private does not work there.
Change-Id: I9cbffe437a1d1f4243f0b70bd881cdc8b8257537
Umherirrender [Tue, 7 Aug 2018 10:16:24 +0000 (12:16 +0200)]
Remove @abstract annotation
Doxygen does not know about this annotation
Change-Id: I4ad8f81d92574f1e3d91581627ec753f6dd1473d
Umherirrender [Tue, 7 Aug 2018 10:14:48 +0000 (12:14 +0200)]
Remove @override annotation
Doxygen does not know about this annotation
Change-Id: I5a2cac83899acd6954caba16da5023fe1ce09c50
Umherirrender [Tue, 7 Aug 2018 10:12:13 +0000 (12:12 +0200)]
Replace @remarks by @note
@remarks is uncommon and blacklist in phpcs
Change-Id: Ia21f340ad75f0f007fea8b1b79e16ab889a74d0c
Umherirrender [Tue, 7 Aug 2018 10:07:00 +0000 (12:07 +0200)]
Remove @uses annotation from XhprofDataTest
The use of a class is visible by the code or @covers
Change-Id: I1acec60da4b524c171686402a01424d66e9fc99f
Prateek Saxena [Tue, 7 Aug 2018 05:14:55 +0000 (10:44 +0530)]
LogEventsList: Stop showing deprecation warning when $input is empty
Follows-up on I697e158887fcca1da88763a4c929a981d9211490
Bug: T201006
Change-Id: I140cde3f71e2bd8106f0c0ce7da1ec822a8da072
Tim Starling [Mon, 6 Aug 2018 02:30:51 +0000 (12:30 +1000)]
RemexCompatMunger: Don't call endTag() in case B/b
This was naïve, the linked bug documents a case where endTag() was
called despite children of the p-wrap still being in TreeBuilder's
stack. Instead, wait for the parent of the p-wrap to have endTag()
called on it, I've submitted a patch which will clean up the node in
that case.
Bug: T200827
Change-Id: I34694813eace9cadabf2db8f9ccca83d1368cfad
jenkins-bot [Tue, 7 Aug 2018 03:31:19 +0000 (03:31 +0000)]
Merge "Make maintenance scripts fail on unknown parameters"
Aaron Schulz [Wed, 11 Jul 2018 21:29:51 +0000 (22:29 +0100)]
objectcache: add "epoch" parameter to WANObjectCache
This can be used to discard all values before a certain point in
time, such as periods of severe network problems or misconfiguration
that resulted in missed purges.
Change-Id: I612db8f91a5960b912e9f35645a3d3872df47460
jhsoby [Mon, 6 Aug 2018 23:20:14 +0000 (01:20 +0200)]
Remove special collation for Northern Sami
This removes the special collation for Northern Sami
that was added in 396007, when UCA support for Northern
Sami was not yet in MediaWiki. Now it is, so this
is no longer needed.
Bug: T182431
Change-Id: I760eb7ae8bf92f0ac93b5fca5cb69148a28d8f6f
jenkins-bot [Mon, 6 Aug 2018 21:17:26 +0000 (21:17 +0000)]
Merge "Do not return invalid hash from ApiStashEdit"
Aryeh Gregor [Mon, 6 Aug 2018 16:54:04 +0000 (19:54 +0300)]
Do not return invalid hash from ApiStashEdit
If we were rate-limited, we don't store a new hash, so we shouldn't
return a new one. If we received a hash from the client, however, that
should still be valid, so we can return it.
Change-Id: Ifc37ae044172b8838fee15d539b076a0d0f02f22
Fomafix [Mon, 6 Aug 2018 20:41:08 +0000 (22:41 +0200)]
easydeflate.js: Use LF instead of CRLF as newline
Also add a newline at the end of the file.
Change-Id: I4c2c7814d16f066553faaaa7f0b98275a294b7c0
Fomafix [Mon, 6 Aug 2018 17:26:12 +0000 (19:26 +0200)]
mediawiki.util: Remove deprecated noop function mw.util.init()
The function mw.util.init() is since
06a0dec0 (Release 1.30) a
deprecated no-op function.
Change-Id: Ie3806e7fba0e63a75e9a830b2eb4485011e43cf1
jenkins-bot [Mon, 6 Aug 2018 20:31:59 +0000 (20:31 +0000)]
Merge "Clean up param handling in ApiStashEdit"
Translation updater bot [Mon, 6 Aug 2018 19:59:15 +0000 (21:59 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I88c9666f85d861c8a55aadd8d9476a27835ba777
Bill Pirkle [Thu, 2 Aug 2018 20:10:31 +0000 (15:10 -0500)]
Make maintenance scripts fail on unknown parameters
Passing parameters not registered via standard mechanisms
(addOption/$optionsWithArgs/$optionsWihtoutArgs) will now
cause an error, unless, the script opts out via the new
setAllowUnregisteredOptions/$allowUnregisteredOptions.
Bug: T110209
Change-Id: I21957837f10852169ca3e1eeca9bf1f4052f8c0b
Alangi Derick [Mon, 6 Aug 2018 17:38:18 +0000 (18:38 +0100)]
Updating CREDITS (MW contributors) file
Change-Id: I365f533b2bade1f9f2db412bc7815321e97dab2e
Aryeh Gregor [Mon, 6 Aug 2018 16:53:45 +0000 (19:53 +0300)]
Clean up param handling in ApiStashEdit
It doesn't make sense to submit both stashedtexthash and text, so
requireOnlyOneParameter() is correct. This simplifies the code and
gives a more helpful error message. (Previously if both parameters were
passed, we would ignore text unless stashedtexthash was empty, in which
case we would ignore it.)
Change-Id: I306b15eefb6fd4379a3eed88d84113c2e43c4a95
jenkins-bot [Mon, 6 Aug 2018 18:20:22 +0000 (18:20 +0000)]
Merge "Use localised language name for Santali"
Aryeh Gregor [Mon, 6 Aug 2018 16:03:03 +0000 (19:03 +0300)]
Clean up AuthManagerTest a bit
Change-Id: I7ff08d4e9c8bd716da8c1ba6e004ea9cf874a64b
Umherirrender [Mon, 6 Aug 2018 15:38:47 +0000 (17:38 +0200)]
Remove comment about fixed codesniffer bug
Fix was part of 21.0.0 (or earlier)
Change-Id: I378aea5cac5a2191e859c89a781e64bf647841d7
jenkins-bot [Mon, 6 Aug 2018 15:20:52 +0000 (15:20 +0000)]
Merge "Fix param doc of MysqlMaintenance::runMysql"
MarcoAurelio [Mon, 6 Aug 2018 09:44:54 +0000 (09:44 +0000)]
Use localised language name for Santali
Change-Id: I53f36eb81c1a446c9424074a3993115b55f496df