Aaron Schulz [Tue, 16 Jan 2018 16:58:59 +0000 (17:58 +0100)]
rdbms: make LoadBalancer::waitForAll() better respect the timeout
If several replicas (or even all) had replication stuck, then the
timeout would happen for each server, one after another.
Change-Id: Id5431360b9cde7e5dc0115a1f41b9903003f47c4
jenkins-bot [Tue, 16 Jan 2018 11:17:39 +0000 (11:17 +0000)]
Merge "Clear the backlink cache on file delete"
Cormac Parle [Wed, 10 Jan 2018 18:02:02 +0000 (18:02 +0000)]
Clear the backlink cache on file delete
When a file is deleted pages that link to the file
(backlinks) are purged. The set of backlinks for a file
is cached in the backlink cache, and this is where the set
of backlinks that need purging is read from. If, at file delete
time, there is a backlink cache for the file but it is not
up to date, then backlinks missing from the set of cached
backlinks for that file will not be purged, leading to
broken links.
This patch clears the backlink cache on file delete before
initiating purging of backlinks.
Bug: T183478
Change-Id: I3bbd79e5a8fa14bf80ceee81e944108edada322e
jenkins-bot [Tue, 16 Jan 2018 09:21:03 +0000 (09:21 +0000)]
Merge "Add Nyungar (nys) to Names.php & release note"
Translation updater bot [Mon, 15 Jan 2018 21:01:04 +0000 (22:01 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ieaf4ce577d22bf2497c7913cde3e62a20d86941c
jenkins-bot [Mon, 15 Jan 2018 17:20:21 +0000 (17:20 +0000)]
Merge "mediawiki.util.test: Set wgFragmentMode before testing getUrl"
jenkins-bot [Mon, 15 Jan 2018 16:36:36 +0000 (16:36 +0000)]
Merge "watch.js: Simplify by using .map()"
addshore [Sat, 13 Jan 2018 12:19:28 +0000 (12:19 +0000)]
selenium, update page spec to include more chars
Bug: T184749
Change-Id: I3423011c467b0a6426cfa0dad522435618f24bd0
addshore [Sat, 13 Jan 2018 11:52:26 +0000 (11:52 +0000)]
Selenium README note about --url-base on Windows
For me /wd/hub doesnt work and wd/hub must be used
Change-Id: Ic61d516b53c95b0d1351bcda7308870f5fc5171c
Fomafix [Mon, 15 Jan 2018 05:17:44 +0000 (06:17 +0100)]
watch.js: Simplify by using .map()
Change-Id: Idd0b4c67d05e0b300b347f2a3a6890c1f2ec88ad
Translation updater bot [Sun, 14 Jan 2018 20:57:04 +0000 (21:57 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I2b0a150164ee9db014aa531842196fdc16a2f7fe
Fomafix [Sat, 13 Jan 2018 10:47:26 +0000 (11:47 +0100)]
mediawiki.util.test: Set wgFragmentMode before testing getUrl
The result of mw.util.getUrl() depends on wgFragmentMode.
This change sets wgFragmentMode before testing mw.util.getUrl() and
tests the modes 'legacy' and 'html5'.
This change fixes failures on Special:JavaScriptTest when
$wgFragmentMode = [ 'html5' ];
is set in LocalSettings.php.
Change-Id: Ifc65faacfcddb7d1bb4b298a0940c8f0208a23d7
daniel [Fri, 12 Jan 2018 13:51:56 +0000 (14:51 +0100)]
Document expandBlob behavior when no flags are given.
Bug: T184749
Change-Id: I5f1f029d928a7bc25877b0eae9f3822ec321b24a
jenkins-bot [Sun, 14 Jan 2018 08:49:06 +0000 (08:49 +0000)]
Merge "rdbms: add LoadBalancer::getLocalDomainId() method"
Translation updater bot [Sat, 13 Jan 2018 20:54:19 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I6b8d75063390c28f8a6b421e215ce24a9ef8d0b3
Aaron Schulz [Fri, 12 Jan 2018 23:57:23 +0000 (15:57 -0800)]
rdbms: add LoadBalancer::getLocalDomainId() method
This returns the default domain without getting a connection
Also avoid assuming that LoadBalancerTest has the same DB handle
as other tests even though it makes its own LB object. That breaks
if temporary tables are used.
Change-Id: I351d42de38b3126222c5a40627a2a12f76a60939
jenkins-bot [Sat, 13 Jan 2018 03:16:54 +0000 (03:16 +0000)]
Merge "Use cache set options in SqlBlobStore::getBlob"
jenkins-bot [Sat, 13 Jan 2018 00:01:33 +0000 (00:01 +0000)]
Merge "Fix LoadBalancer::getMasterPos() callers to handle a non-object being returned"
Aaron Schulz [Fri, 12 Jan 2018 23:18:14 +0000 (15:18 -0800)]
Fix LoadBalancer::getMasterPos() callers to handle a non-object being returned
Change-Id: I3356057f27a051835734329afa339ea76842a389
jenkins-bot [Fri, 12 Jan 2018 22:13:39 +0000 (22:13 +0000)]
Merge "OOUI: Manually pull in fix from I99caad7b ahead of the release cycle"
jenkins-bot [Fri, 12 Jan 2018 21:50:26 +0000 (21:50 +0000)]
Merge "ApiSandbox: Use OO.ui.getDefaultOverlay()"
jenkins-bot [Fri, 12 Jan 2018 21:50:22 +0000 (21:50 +0000)]
Merge "Add edit tags to list=watchlist"
Bartosz Dziewoński [Wed, 10 Jan 2018 22:12:18 +0000 (23:12 +0100)]
SpecialProtectedtitles: Use 'comma-separator' instead of hardcoded comma
Also simplify the code.
Change-Id: Ib3914b618ba3a7f1fd3e9df5527653a28c3e4ef9
jenkins-bot [Fri, 12 Jan 2018 21:35:33 +0000 (21:35 +0000)]
Merge "SpecialProtectedpages: Remove options not used by HTMLForm"
Jesús Martínez Novo [Sat, 17 Jun 2017 11:56:14 +0000 (13:56 +0200)]
Performance: Shortcut Language::truncate if there's no need to truncate
Return the unmodified string if there's no need to truncate it without
doing a not-so-trivial round of getting a message from the message
cache.
Change-Id: I11ac88672aeb9d1c4f5709b79ad2d17223bd64d8
Translation updater bot [Fri, 12 Jan 2018 21:00:07 +0000 (22:00 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Iaceffb9f545a39a60a00d3e219abb5ff8fda8087
jenkins-bot [Fri, 12 Jan 2018 20:19:11 +0000 (20:19 +0000)]
Merge "CSSMin: Remove XML declaration from SVGs"
jenkins-bot [Fri, 12 Jan 2018 20:15:41 +0000 (20:15 +0000)]
Merge "Use native ES5 Array prototype methods instead of jQuery"
jenkins-bot [Fri, 12 Jan 2018 20:13:28 +0000 (20:13 +0000)]
Merge "config: Increase coverage of EtcdConfig::parseDirectory()"
Timo Tijhof [Fri, 12 Jan 2018 19:25:58 +0000 (19:25 +0000)]
config: Increase coverage of EtcdConfig::parseDirectory()
One of the error cases wasn't covered yet.
Change-Id: I762b37c7448c0f689248a99bad0b206d7cf63d73
Aaron Schulz [Mon, 18 Dec 2017 20:35:52 +0000 (12:35 -0800)]
Use cache set options in SqlBlobStore::getBlob
This is useful for sanity in the case of DB rollback.
Change-Id: I2e50183835a97bc82efee53a407a624f0e35f53f
Timo Tijhof [Mon, 4 Dec 2017 19:25:31 +0000 (19:25 +0000)]
Remove various redundant '@license' tags in file headers
Redundant given this is the project-wide license already,
especially in file headers that already include the GPL license
header.
This and other minor fixups based on feedback from Ie0cea0ef5027c7e5.
* Add @file where missing.
* Move @ingroup and @deprecated from file to class doc where needed.
Change-Id: I7067abb7abee1f0c238cb2536e16192e946d8daa
jenkins-bot [Fri, 12 Jan 2018 18:08:59 +0000 (18:08 +0000)]
Merge "Replace cpPosTime cookie/parameter with cpPosIndex"
Fomafix [Fri, 12 Jan 2018 15:47:40 +0000 (16:47 +0100)]
Use native ES5 Array prototype methods instead of jQuery
Replace
* $.each( array, function ( index, value ) { ... } ) by
array.forEach( function ( value, index ) { ... } )
* $.grep( array, function ( value ) { ... } ) by
array.filter( function ( value ) { ... } )
* $.map( array, function ( value ) { ... } ) by
array.map( function ( value ) { ... } )
* $.inArray( value, array ) by
array.indexOf( value )
This change is a follow-up to
1edba8029a561919febf8b90f5df689d090665dd.
Change-Id: I16134642c52002de0eacb987bed5143f528bf627
James D. Forrester [Fri, 12 Jan 2018 16:56:02 +0000 (08:56 -0800)]
OOUI: Manually pull in fix from I99caad7b ahead of the release cycle
The .map file will be wrong, but those aren't used outside of an
experimental branch yet, so it's not the end of the world.
Bug: T184665
Change-Id: I9ff1ed80496ec61b836de4221dd36cde6d4a71ac
jenkins-bot [Fri, 12 Jan 2018 15:43:14 +0000 (15:43 +0000)]
Merge "List new comment tables in ParserTestRunner"
Brad Jorsch [Fri, 12 Jan 2018 15:18:41 +0000 (10:18 -0500)]
ApiSandbox: Use OO.ui.getDefaultOverlay()
Mostly via the shortcut of passing true to the '$overlay' parameter.
Also use it instead of <body> as the container for fullscreen mode, so
we don't have to worry about different z indexes to not go over the
default overlay in different skins.
And rename our OptionalWidget's "$overlay" parameter to "$cover" since
it's not an overlay in the sense that OOUI uses that term.
Bug: T184790
Change-Id: Ia65400f4c8c5e0f44cdb30e09c854fa38590e39d
jenkins-bot [Fri, 12 Jan 2018 15:17:33 +0000 (15:17 +0000)]
Merge "Add tests for legacy encoding when constructing RevisionRecords"
jenkins-bot [Fri, 12 Jan 2018 15:07:01 +0000 (15:07 +0000)]
Merge "RevisionStore, fix loadSlotContent with no $blobFlags"
daniel [Fri, 12 Jan 2018 14:40:47 +0000 (15:40 +0100)]
Add tests for legacy encoding when constructing RevisionRecords
Change-Id: I49265a394b0780a48fecbf037477d2bb39195e89
addshore [Fri, 12 Jan 2018 11:52:31 +0000 (11:52 +0000)]
RevisionStore, fix loadSlotContent with no $blobFlags
This includes tests that were previously created in:
I6dcfc0497bfce6605fa5517c9f91faf7131f4334
Bug: T184749
Change-Id: Ieb02ac593fc6b42af1692d03d9d578a76417eb54
Volker E [Tue, 9 Jan 2018 03:05:40 +0000 (19:05 -0800)]
CSSMin: Remove XML declaration from SVGs
Removing unnecessary XML declaration prolog when embedding SVGs
as data URI and adding more complex elements & attributes to test.
Bug: T175318
Change-Id: Ibec8c2ab498554a6ad33b4420ae6258dcc80fcdf
jenkins-bot [Thu, 11 Jan 2018 23:48:03 +0000 (23:48 +0000)]
Merge "Remove @param comments that literally repeat what the code says"
Umherirrender [Thu, 11 Jan 2018 22:51:56 +0000 (23:51 +0100)]
List new comment tables in ParserTestRunner
Running the parser tests while in the migration,
some tables are missing.
Bug: T182416
Change-Id: I1010f4a35e5bf4626e522629447e43c413a05668
Translation updater bot [Thu, 11 Jan 2018 22:25:29 +0000 (23:25 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I3cdb9fd7efb494da8dce2f4dd4f0d1c829f374ee
jenkins-bot [Thu, 11 Jan 2018 21:43:08 +0000 (21:43 +0000)]
Merge "Use native ES5 Array prototype methods instead of jQuery"
Fomafix [Thu, 11 Jan 2018 14:27:08 +0000 (15:27 +0100)]
Use native ES5 Array prototype methods instead of jQuery
Replace
* $.each( array, function ( index, value ) { ... } ) by
array.forEach( function ( value, index ) { ... } )
* $.grep( array, function ( value ) { ... } ) by
array.filter( function ( value ) { ... } )
* $.map( array, function ( value ) { ... } ) by
array.map( function ( value ) { ... } )
This change is a follow-up to
9d67e9973e6766e057c70ea8c811be8e269fb80a.
Change-Id: I8ef9af8c4d2f440faca65ec7c78a977ea7c31ad2
jenkins-bot [Thu, 11 Jan 2018 17:24:38 +0000 (17:24 +0000)]
Merge "RevisionStore tests for current behaviour of getTitle"
addshore [Thu, 11 Jan 2018 16:56:29 +0000 (16:56 +0000)]
RevisionStore tests for current behaviour of getTitle
Change-Id: I6e345b10abb81f6eae94ab9475563f690aaee012
Lucas Werkmeister [Thu, 11 Jan 2018 17:02:04 +0000 (18:02 +0100)]
Improve PARAM_HELP_MSG_PER_VALUE documentation
Per-value documentation is only generated if this option is specified,
even if it is only set to an empty array (i. e., when using the default
key for all values). Attempt to make this more clear.
Change-Id: I844df226271aadb1f06b3cc00ba32cc6c06ec76a
jenkins-bot [Thu, 11 Jan 2018 16:33:34 +0000 (16:33 +0000)]
Merge "Make Revision::__construct work with bad page ID"
daniel [Thu, 11 Jan 2018 15:43:18 +0000 (16:43 +0100)]
Make Revision::__construct work with bad page ID
For backwards-copatibility, we need to be able to construct a Revision
object even for bad page IDs.
Bug: T184689
Change-Id: I18c823d7b72504447982364d581b34e98924b67f
jenkins-bot [Thu, 11 Jan 2018 14:50:00 +0000 (14:50 +0000)]
Merge "Handle failure to load content in Revision getSize, etc"
jenkins-bot [Thu, 11 Jan 2018 14:27:23 +0000 (14:27 +0000)]
Merge "Add test for newNullRevision with bad page ID"
jenkins-bot [Thu, 11 Jan 2018 14:27:06 +0000 (14:27 +0000)]
Merge "Revision::newNullRevision don't pass null to RevisionStore"
daniel [Thu, 11 Jan 2018 12:40:53 +0000 (13:40 +0100)]
Handle failure to load content in Revision getSize, etc
The Revision class used to just return null if size or hsash were unknown
and could nto be determined. This patch restores this behavior by
catching any RevisionAccessExceptions raised by RevisionRecord when
failing to load content.
Bug: T184693
Bug: T184690
Change-Id: I393ea19b9fb48219583fc65ce81ea14d8d0a2357
jenkins-bot [Thu, 11 Jan 2018 13:35:36 +0000 (13:35 +0000)]
Merge "Deprecate old interwiki search result widget"
daniel [Thu, 11 Jan 2018 12:56:17 +0000 (13:56 +0100)]
Add test for newNullRevision with bad page ID
Bug: T184687
Change-Id: I893d71999f034f84bf067dedacb821a74374ea7c
addshore [Thu, 11 Jan 2018 09:22:16 +0000 (09:22 +0000)]
Revision::newNullRevision don't pass null to RevisionStore
RevisionStore::newNullRevision must be passed a Title object when
being used, passing null will result in a fatal.
Title::newFromID can return null, so check and return null early if we
have no Title object.
Also use Title::GAID_FOR_UPDATE for a higher chance of getting a Title.
Prior to the Revision overhaul newNullRevision would have always done a
select from master, it is documented as accepting $dbw and also passed
FOR UPDATE as an option to selectRow.
Bug: T184687
Change-Id: If1f99d091ab9cd37d514a4f4cbf3c28b64426cb7
jenkins-bot [Thu, 11 Jan 2018 00:06:14 +0000 (00:06 +0000)]
Merge "Add Special:Stats as an alias for Special:Statistics"
jenkins-bot [Wed, 10 Jan 2018 23:48:21 +0000 (23:48 +0000)]
Merge "Use jQuery 3 .catch( fn ) instead of .then( null, fn )"
Bartosz Dziewoński [Wed, 10 Jan 2018 22:08:02 +0000 (23:08 +0100)]
SpecialProtectedpages: Remove options not used by HTMLForm
HTMLForm gets the selected value from the request. The values
specified in the form descriptor were never used. (You can specify a
default value, but that uses the 'default' key anyway.)
Change-Id: I095ee004cbe74470f33c72b391b22dd4395bff6e
Translation updater bot [Wed, 10 Jan 2018 20:56:51 +0000 (21:56 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I60c6fd2b3c01d2e1b70197b90ca0bc46a5d6a9dc
Erik Bernhardson [Wed, 3 Jan 2018 20:09:03 +0000 (12:09 -0800)]
Deprecate old interwiki search result widget
Update the flag for new interwiki sidebar from unset means disabled
to unset means enabled. Deprecate the old rendering widgets to be
removed at a later date per deprecation policy.
Change-Id: I80d8375bbd3e1fabc9b2432b6875d17a96aee099
Related: I9a488438
Prateek Saxena [Thu, 14 Dec 2017 07:44:50 +0000 (13:14 +0530)]
Use findItemFromData instead getItemFromData
Change-Id: I3cea1dacc1452b05e7e7423e47dcb2ffdf70c1ce
Depends-on: Ia2110f71d1642f61451cb8acc7e8a930d0feb31f
Bug: T76630
addshore [Wed, 10 Jan 2018 16:17:40 +0000 (16:17 +0000)]
[MCR] RevisionStore::getTitle, Fix flags passed to Title::newFromID
This was passing $queryFlags directly into Title::newFromID which
expects different flags.
Instead we now set Title::GAID_FOR_UPDATE if $queryFlags will end up
hitting the master.
Change-Id: I9c6e275c22fe74a98e79c54049afa4915a7f565d
jenkins-bot [Wed, 10 Jan 2018 18:12:05 +0000 (18:12 +0000)]
Merge "Numbers in the parser profiling data are not internationalized"
jenkins-bot [Wed, 10 Jan 2018 17:14:54 +0000 (17:14 +0000)]
Merge "Revert "Revert "[MCR] Add and use $title param to RevisionStoregetPrevious/Next"""
addshore [Wed, 10 Jan 2018 12:23:06 +0000 (12:23 +0000)]
Revert "Revert "[MCR] Add and use $title param to RevisionStoregetPrevious/Next""
This is a partial revert of a revert that reverted a fix believed to
have had its underlying issue fixed in:
https://gerrit.wikimedia.org/r/#/c/400577/
The compat layer (Revision), now passes a Title object into the
RevisionStore, and this title is used to construct the Record and
also any new Revision objects.
Bug: T184559
Bug: T183548
Change-Id: Id073265c173f60aa8c456550fdb4bb5196013be8
jenkins-bot [Wed, 10 Jan 2018 14:04:58 +0000 (14:04 +0000)]
Merge "RCFilters: Only normalize title with 'target' when it is needed"
jenkins-bot [Wed, 10 Jan 2018 13:25:59 +0000 (13:25 +0000)]
Merge "Integration tests for FirejailCommand"
jenkins-bot [Wed, 10 Jan 2018 13:20:22 +0000 (13:20 +0000)]
Merge "API: Don't apply size limit to action=compare"
Thiemo Mättig [Thu, 28 Dec 2017 15:06:10 +0000 (16:06 +0100)]
Remove @param comments that literally repeat what the code says
These comments do not add anything. I argue they are worse than having
no comments, because I have to read them first to understand they
actually don't explain anything. Removing them makes room for actual
improvements in the future (if needed).
Change-Id: Iee70aad681b3385e9af282d5581c10addbb91ac4
jenkins-bot [Wed, 10 Jan 2018 13:10:19 +0000 (13:10 +0000)]
Merge "ApiQueryImageInfo: Don't return URLs if the archived file is missing"
jenkins-bot [Wed, 10 Jan 2018 13:09:33 +0000 (13:09 +0000)]
Merge "Use Sanitizer::mergeAttributes when merging classes into attributes"
jenkins-bot [Wed, 10 Jan 2018 12:44:23 +0000 (12:44 +0000)]
Merge "RCFilters: uriprocessor test: use hardcoded uri"
jenkins-bot [Wed, 10 Jan 2018 12:39:30 +0000 (12:39 +0000)]
Merge "Update OOUI to v0.25.0"
jenkins-bot [Wed, 10 Jan 2018 12:37:30 +0000 (12:37 +0000)]
Merge "Bump min supported HHVM version to 3.18.5"
Volker E [Wed, 10 Jan 2018 01:04:08 +0000 (17:04 -0800)]
Update OOUI to v0.25.0
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.25.0
Depends-On: I5f574a0d2702f421c0c9d2556e3162abd55b9f23
Change-Id: I8a5b279f6dcb9b620e3e4e8998fc2b2d678573db
Reedy [Sat, 30 Dec 2017 02:58:03 +0000 (02:58 +0000)]
Bump min supported HHVM version to 3.18.5
Change-Id: I0a22c638bf6bbd6c8b93e50c23f8e455e36acd7c
Fomafix [Tue, 9 Jan 2018 17:39:01 +0000 (18:39 +0100)]
Use jQuery 3 .catch( fn ) instead of .then( null, fn )
https://api.jquery.com/deferred.catch/ Since jQuery 3
deferred.catch( fn ) is an alias to deferred.then( null, fn )
This improves the readability.
Change-Id: I20fa3a1ed5c959ad0639ddf0162b8837fc15c720
jenkins-bot [Wed, 10 Jan 2018 06:16:53 +0000 (06:16 +0000)]
Merge "EditPage: Remove separator between cancel and help"
jenkins-bot [Wed, 10 Jan 2018 06:04:37 +0000 (06:04 +0000)]
Merge "Added tests for ComposerInstalled"
Albert221 [Mon, 8 Jan 2018 22:18:05 +0000 (23:18 +0100)]
EditPage: Remove separator between cancel and help
It is no longer needed because those buttons
are already splitted visually by blank space.
Bug: T183672
Change-Id: I1f8a8413a5f4da441e3f4b4ef0b1e03d174987ca
ryan10145 [Tue, 9 Jan 2018 01:11:48 +0000 (20:11 -0500)]
Added tests for ComposerInstalled
Bug: T183899
Change-Id: Id822caad044a079884795dbea37baf10514bcf5c
jenkins-bot [Wed, 10 Jan 2018 00:10:51 +0000 (00:10 +0000)]
Merge "Migrate ar_text to modern storage"
jenkins-bot [Tue, 9 Jan 2018 22:40:25 +0000 (22:40 +0000)]
Merge "[BREAKING CHANGE] Rename TitleWidget#getTitle to TitleWidget#getMWTitle"
Brad Jorsch [Tue, 28 Nov 2017 21:13:09 +0000 (16:13 -0500)]
Migrate ar_text to modern storage
This really should have been done a very long time ago.
This adds a maintenance script to migrate rows with ar_text_id null to
modern storage, either the text table or ExternalStore.
Bug: T36925
Change-Id: I5608c6b6d3ecad516b785e13d668427c1b762e41
Translation updater bot [Tue, 9 Jan 2018 21:00:13 +0000 (22:00 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I558e8cc84fb0d24d2eb1d4491a5cf9044cd10379
Umherirrender [Wed, 6 Dec 2017 19:56:19 +0000 (20:56 +0100)]
Add edit tags to list=watchlist
It is using the same query as list=recentchanges by left joining
tag_summary
Bug: T181975
Change-Id: I9e9ab9753ec0f813e9e555106cc81fd15ad9fb4a
jenkins-bot [Tue, 9 Jan 2018 19:15:47 +0000 (19:15 +0000)]
Merge "Remove obsolete style-only module 'mediawiki.action.history.diff'"
jenkins-bot [Tue, 9 Jan 2018 17:44:56 +0000 (17:44 +0000)]
Merge "CSSMin: Re-introduce whitespace mangling in embedded SVGs"
Volker E [Tue, 9 Jan 2018 02:34:22 +0000 (18:34 -0800)]
CSSMin: Re-introduce whitespace mangling in embedded SVGs
Convert newlines and tabs to spaces (which can be unencoded),
and consolidate runs of multiple spaces into a single space.
Also remove any leading and trailing spaces that might result
(most files end in a newline, for example).
Follow-up to Iddc98332d. This was reverted as dependency for the
original issues causing patch, but works perfectly fine.
Bug: T175318
Change-Id: Ic25d73caeb42ba7a32ef304806d401047b5a1997
jenkins-bot [Tue, 9 Jan 2018 16:38:04 +0000 (16:38 +0000)]
Merge "Fix type hint in ApiErrorFormatter::addMessagesFromStatus"
Brad Jorsch [Tue, 9 Jan 2018 15:19:39 +0000 (10:19 -0500)]
ApiQueryImageInfo: Don't return URLs if the archived file is missing
If the archived file doesn't exist, indicate that instead of returning
bogus URLs.
Bug: T184445
Change-Id: I831b13314300f0289a2baf26ed21d81be31b292a
Stephane Bisson [Tue, 9 Jan 2018 15:15:06 +0000 (10:15 -0500)]
RCFilters: uriprocessor test: use hardcoded uri
new mw.Uri() without arguments uses the current browser
uri. It caused some tests to fail when run from a uri with
a subpage (Special:JavaScriptTest/qunit) and it's generally
bad to have unit tests use uncontrolled environment data.
Change-Id: Id434a491aadc2d84165edf4fd1c59775c9b815ad
jenkins-bot [Tue, 9 Jan 2018 14:52:14 +0000 (14:52 +0000)]
Merge "Move BaseDump into includes/export/"
jenkins-bot [Tue, 9 Jan 2018 13:50:31 +0000 (13:50 +0000)]
Merge "Add switch for readonly watchlists"
jenkins-bot [Tue, 9 Jan 2018 13:19:33 +0000 (13:19 +0000)]
Merge "Update outdated WikiPageDeletionUpdates documentation"
Thiemo Mättig [Tue, 9 Jan 2018 13:01:17 +0000 (14:01 +0100)]
Fix type hint in ApiErrorFormatter::addMessagesFromStatus
Change-Id: Ia7b628e9f6a7f8c8d803732504621c13976bf618