jenkins-bot [Sun, 27 May 2018 20:28:23 +0000 (20:28 +0000)]
Merge "Hooks: remove some unnecessary code"
jenkins-bot [Sun, 27 May 2018 20:28:21 +0000 (20:28 +0000)]
Merge "Complete test coverage of Hooks class"
Translation updater bot [Sun, 27 May 2018 19:57:02 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I5c895f4b61a73570671acf36c817cc405f54ec0b
jenkins-bot [Sun, 27 May 2018 19:50:45 +0000 (19:50 +0000)]
Merge "Improve AutoLoader test coverage"
Kunal Mehta [Sun, 27 May 2018 06:39:07 +0000 (23:39 -0700)]
Hooks: remove some unnecessary code
PHP automatically creates the array when you try to append an item to
it. Really.
Change-Id: I73b1efe749a9311feeb0d14e1c76b5bbbc0265bd
Kunal Mehta [Sun, 27 May 2018 06:38:28 +0000 (23:38 -0700)]
Complete test coverage of Hooks class
Change-Id: I9e720c44e6d6c9c5d726a8a147e07ee9b638913f
Kunal Mehta [Sun, 27 May 2018 04:29:36 +0000 (21:29 -0700)]
Improve AutoLoader test coverage
Change-Id: Iddb24cad41979a4798392ab08d104dac41ed736d
Kunal Mehta [Sun, 27 May 2018 01:14:51 +0000 (18:14 -0700)]
Parser: Don't catch exception just to rethrow it
This is left over from
4ff813680.
Change-Id: I624c2c22b7736af249647997565fe06f52d40fe2
jenkins-bot [Sun, 27 May 2018 00:13:13 +0000 (00:13 +0000)]
Merge "AutoLoaderStructureTest: Allow PSR-4 directories to have files with 0 classes"
jenkins-bot [Sat, 26 May 2018 23:57:30 +0000 (23:57 +0000)]
Merge "Rename ApiQueryContributions to ApiQueryUserContribs to match api module name"
Kunal Mehta [Sat, 26 May 2018 23:51:56 +0000 (16:51 -0700)]
AutoLoaderStructureTest: Allow PSR-4 directories to have files with 0 classes
Files like ServiceWiring.php can be safely located in a PSR-4 autoloaded
directory, because they have no classes.
Change-Id: I359b305df9071d6bc5afe4b5f29e762041f4aaef
Kunal Mehta [Fri, 25 May 2018 05:13:22 +0000 (22:13 -0700)]
Split AutoloaderTest into a structure and class test
AutoloaderTest covers the AutoLoader class, and AutoLoaderStructureTest
covers the structure part of the test.
Change-Id: Ic4e7bfd670e1c3413631bda31260cc1cc825b1a2
jenkins-bot [Sat, 26 May 2018 23:09:05 +0000 (23:09 +0000)]
Merge "Increase cleanupTitles.php batch size"
Reedy [Fri, 25 May 2018 00:46:30 +0000 (01:46 +0100)]
Rename ApiQueryContributions to ApiQueryUserContribs to match api module name
Change-Id: I865628b87eda7be349522fcfaf94f5563142026e
jenkins-bot [Sat, 26 May 2018 23:06:25 +0000 (23:06 +0000)]
Merge "Hard deprecate UtfNormal methods"
jenkins-bot [Sat, 26 May 2018 22:54:11 +0000 (22:54 +0000)]
Merge "Switch includes/{sparql,Storage,tidy} to use the PSR-4 autoloader"
jenkins-bot [Sat, 26 May 2018 22:40:47 +0000 (22:40 +0000)]
Merge "Switch includes/{preferences,services,session,shell} to use the PSR-4 autoloader"
jenkins-bot [Sat, 26 May 2018 22:40:44 +0000 (22:40 +0000)]
Merge "Add structure test to ensure PSR-4 autoloader covers everything"
Kunal Mehta [Fri, 25 May 2018 18:16:16 +0000 (11:16 -0700)]
Hard deprecate UtfNormal methods
Change-Id: Iafbf89aa85ae77cd790aeac6911ccc2d014a6c65
Translation updater bot [Sat, 26 May 2018 21:03:33 +0000 (23:03 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I4500053ecbb780a723d5f2398a3d1693a9d12d31
Aaron Schulz [Sat, 26 May 2018 00:29:17 +0000 (17:29 -0700)]
Avoid PHP 7.2 warnings in DBConRefTest about count() on non-Countable
Change-Id: Ida81bf998b462f2f6bb2b708df1f15bbc1933db1
Reedy [Sat, 26 May 2018 00:25:03 +0000 (00:25 +0000)]
Increase cleanupTitles.php batch size
Change-Id: I086892e44936fdaf9d5d1f3667325daaaaa7260e
jenkins-bot [Fri, 25 May 2018 23:03:18 +0000 (23:03 +0000)]
Merge "languages: Use static array files for normalizer data"
jenkins-bot [Fri, 25 May 2018 22:38:39 +0000 (22:38 +0000)]
Merge "MediaWiki\Auth\Throttler: Change "ip" key name"
Brad Jorsch [Fri, 25 May 2018 18:50:55 +0000 (14:50 -0400)]
MediaWiki\Auth\Throttler: Change "ip" key name
Apparently 'ip' is overwritten by logstash at some level, so use 'ipKey'
instead.
Change-Id: I0547acdbb9f3fc7a990bd4baa2d748e89bac8c3b
L10n-bot [Fri, 25 May 2018 19:54:18 +0000 (19:54 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 25 May 2018 19:54:09 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I1bb2563f7ebba3c66062b79bd523c3f226b54cb9
jenkins-bot [Fri, 25 May 2018 19:52:13 +0000 (19:52 +0000)]
Merge "Enable merging of WrappedStringList between 'bottomscripts' and 'reportime'"
Reedy [Fri, 25 May 2018 12:08:24 +0000 (13:08 +0100)]
Remove non namespaced TimestampException
Change-Id: I6d5cc227cacc6a24e92002e589e439a3bbd033a7
jenkins-bot [Fri, 25 May 2018 02:23:00 +0000 (02:23 +0000)]
Merge "Move includes/auth back to the standard classmap autoloader"
Kunal Mehta [Thu, 24 May 2018 02:31:33 +0000 (19:31 -0700)]
Switch includes/{sparql,Storage,tidy} to use the PSR-4 autoloader
Change-Id: I1ae3cb3833a28286eb4ae09b586785d156917e8e
Kunal Mehta [Thu, 24 May 2018 02:28:33 +0000 (19:28 -0700)]
Switch includes/{preferences,services,session,shell} to use the PSR-4 autoloader
Change-Id: Ic095ed65d05517cdb7b383cde8c664044f790f05
Kunal Mehta [Fri, 25 May 2018 01:55:47 +0000 (18:55 -0700)]
Add structure test to ensure PSR-4 autoloader covers everything
This ensures that there aren't any classes inside a PSR-4 autoloaded
directory that aren't being autoloaded properly.
Change-Id: I200a8535c2f47a6bf3287a7fe1182151493372f4
Kunal Mehta [Fri, 25 May 2018 01:57:28 +0000 (18:57 -0700)]
Move includes/auth back to the standard classmap autoloader
Partially reverts
c587ab1375eaf61acbd3e066ff791d096e769189.
Change-Id: Ie8cfe356b07f08d481370b9f61b1d08ed6c9c799
jenkins-bot [Fri, 25 May 2018 00:56:01 +0000 (00:56 +0000)]
Merge "Restore 'PreferencesForm' as alias for 'PreferencesFormLegacy'"
James D. Forrester [Fri, 25 May 2018 00:01:02 +0000 (17:01 -0700)]
Follow-up If8dfdaf1: Hard-deprecate, drop two uses, other pre-5.3 back-compat code
Change-Id: I1c5eee3fe30d6687d88e07011a3d40b6770d0daf
jenkins-bot [Thu, 24 May 2018 23:08:23 +0000 (23:08 +0000)]
Merge "EditPage: Fix duplicate classic toolbar"
Bartosz Dziewoński [Thu, 24 May 2018 22:54:14 +0000 (00:54 +0200)]
EditPage: Fix duplicate classic toolbar
Caused by an incorrectly resolved rebase conflict
between
14cffee7c1ea7e6f411730a52aadb2458fcfb0fd
and
70941efd35562dcb7003229b56c91a98a67de7a9.
Bug: T195517
Change-Id: I294acff48fe9b1a1a9384d717f09d90e417204ab
petarpetkovic [Thu, 24 May 2018 22:27:21 +0000 (00:27 +0200)]
Insert space before compatibility link in PHP version message
Change-Id: Ia056ba7f9eddbcf31082c7b2f7a64e7dbf02cba4
jenkins-bot [Thu, 24 May 2018 21:46:32 +0000 (21:46 +0000)]
Merge "Add unicode mapping for ICU 60 and 61"
Reedy [Thu, 24 May 2018 21:28:19 +0000 (22:28 +0100)]
Add unicode mapping for ICU 60 and 61
Change-Id: Ifbbc8d7ecc788bc2c6b07a8ebba46a9648545786
James D. Forrester [Thu, 24 May 2018 20:11:11 +0000 (13:11 -0700)]
IcuCollation: Deprecate getICUVersion(), no need for PHP53 back-compat
Change-Id: If8dfdaf187b32b7b9a2c09a240416b9f481593f1
Bartosz Dziewoński [Wed, 9 May 2018 20:39:20 +0000 (22:39 +0200)]
Restore 'PreferencesForm' as alias for 'PreferencesFormLegacy'
In change
4633f4d46a8db46721474e9ffa6a130d8b7a2404 it was changed
to an interface implemented by both PreferencesFormLegacy and
PreferencesFormOOUI so that existing typehints for some functions
parameter would accept them both. Replace those typehints to use
HTMLForm instead. There was really no guarantee in the past that
they would only be given PreferencesForm or its subclasses, either.
Because the typehint change affects some hooks, note it as a
deprecation in MW 1.31 and a breaking change in MW 1.32.
Also add @since tags and correct some typos in code comments.
Follow-up to
4633f4d46a8db46721474e9ffa6a130d8b7a2404.
Change-Id: I61749f1d864cf68afe90cd9e15ba2d7a74252501
Translation updater bot [Thu, 24 May 2018 19:53:30 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie807be662d077fe0e177e82834d70581210a5f3e
jenkins-bot [Thu, 24 May 2018 19:17:44 +0000 (19:17 +0000)]
Merge "mw.page.gallery: Prevent jumpiness due to viewport height changes"
Bartosz Dziewoński [Tue, 8 May 2018 19:12:00 +0000 (21:12 +0200)]
mw.page.gallery: Prevent jumpiness due to viewport height changes
* Do not recalculate if only viewport height has changed, but not
width. Viewport height doesn't affect this at all.
* Set a min-height on the gallery element before resetting image
dimensions so that content following it only reflows once, when
we calculate dimensions again.
Bug: T194193
Change-Id: I6362863cc0f3f7b76c9ec7437d37ff6762ecf153
jenkins-bot [Thu, 24 May 2018 17:00:16 +0000 (17:00 +0000)]
Merge "Switch includes/{auth,edit,editpage} to use the PSR-4 autoloader"
jenkins-bot [Thu, 24 May 2018 17:00:13 +0000 (17:00 +0000)]
Merge "Re-enable MediaWiki.Files.ClassMatchesFilename sniffs"
jenkins-bot [Thu, 24 May 2018 16:49:18 +0000 (16:49 +0000)]
Merge "Have class match filename in some maintenance scripts"
James D. Forrester [Thu, 18 Jan 2018 23:34:32 +0000 (15:34 -0800)]
Bump PHP version requirement to 7.0.0+
Bug: T172165
Change-Id: I740f32ac859d9bb3787fdf8414f82ae6f410492f
James D. Forrester [Wed, 23 May 2018 22:00:46 +0000 (15:00 -0700)]
Drop $wgStyleVersion, deprecated in 1.31 and now unused
Bug: T181318
Change-Id: Ib988f3118786debda135d6ad3d27deda5a51fc8a
jenkins-bot [Thu, 24 May 2018 14:05:28 +0000 (14:05 +0000)]
Merge "Skin: Drop appending of wgStyleVersion in getSkinStylePath()"
Timo Tijhof [Thu, 24 May 2018 13:10:48 +0000 (14:10 +0100)]
Enable merging of WrappedStringList between 'bottomscripts' and 'reportime'
* Fix ResourceLoaderClientHtml to return what it was documented to
return, a WrappedStringList. It accidentally used the wrong join()
method, causing it to create a plain string too early.
* Update method documentations from ClientHtml::getBodyHtml to
BaseTemplate::getTrail for 'bottomscripts', and from
ResourceLoader::makeInlineScript for 'reporttime'.
* Update BaseTemplate::getTrail to join by new line instead of native string
concatenation.
This by itself would suffice for the most common case, but in order
to also account for the possibility of extensions using hooks for
'SkinAfterBottomScripts' that concatenate, update bottomScripts()
to pass a plain string to the hook and merge it later.
Change-Id: If0d227cb9db67229a27d489c082db790ea8e3840
jenkins-bot [Thu, 24 May 2018 13:03:21 +0000 (13:03 +0000)]
Merge "resourceloader: Move style deprecation warnings to <body>"
Timo Tijhof [Thu, 24 May 2018 12:35:50 +0000 (13:35 +0100)]
Remove mentions of jquery.mw-jump in code comments
The idea of listening for an event and doing something, with on('focus'),
is rather trivial and not worth attributing to another module, in particular
when that module is being phased out :)
Bug: T195256
Change-Id: Ic6a65254cbcc5e9503fece1afb7861a706713d77
jenkins-bot [Thu, 24 May 2018 10:13:06 +0000 (10:13 +0000)]
Merge "Add ability to filter based on rc_title in API"
Kunal Mehta [Thu, 24 May 2018 01:24:05 +0000 (18:24 -0700)]
Switch includes/{auth,edit,editpage} to use the PSR-4 autoloader
Change-Id: I9210d26c1031d69f6691fef038cc2db6f391b70e
Kunal Mehta [Thu, 24 May 2018 02:23:49 +0000 (19:23 -0700)]
Re-enable MediaWiki.Files.ClassMatchesFilename sniffs
Change-Id: I63f54b0336168a50aef72e38202e153677eafd3c
Kunal Mehta [Thu, 24 May 2018 01:34:01 +0000 (18:34 -0700)]
Have class match filename in some maintenance scripts
Each of these scripts had a class name that was not referenced outside
of the script file itself, and are safe to rename as a result.
Change-Id: Id605aca11db51ee433baeaa998a0e33184c930ca
jenkins-bot [Thu, 24 May 2018 02:14:00 +0000 (02:14 +0000)]
Merge "Update wikimedia/wrappedstring to v3.0.0"
jenkins-bot [Thu, 24 May 2018 00:31:31 +0000 (00:31 +0000)]
Merge "IP: Fix sanitization of IPv4 ranges"
jenkins-bot [Thu, 24 May 2018 00:27:01 +0000 (00:27 +0000)]
Merge "Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors"
jenkins-bot [Thu, 24 May 2018 00:08:04 +0000 (00:08 +0000)]
Merge "RELEASE-NOTES-1.32: Line wrap to 80 chars"
James D. Forrester [Wed, 23 May 2018 21:56:13 +0000 (14:56 -0700)]
Skin: Drop appending of wgStyleVersion in getSkinStylePath()
This setting is deprecated.
Bug: T181318
Change-Id: I9e56764e37b5f10ce1bddfb7826c18982fb1ebb2
jenkins-bot [Wed, 23 May 2018 23:48:44 +0000 (23:48 +0000)]
Merge "Enable deleteAutoPatrolLogs to delete pre-2011 autopatrol logs as well"
James D. Forrester [Wed, 23 May 2018 21:59:52 +0000 (14:59 -0700)]
RELEASE-NOTES-1.32: Line wrap to 80 chars
Change-Id: I673efe2777da17bd44788ee8a11707e040242176
Kunal Mehta [Wed, 23 May 2018 23:23:42 +0000 (16:23 -0700)]
Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors
Change-Id: I936c3f5fca1a0061f215e80469f5d882cb32ee29
Amir Sarabadani [Fri, 18 May 2018 13:46:47 +0000 (15:46 +0200)]
Enable deleteAutoPatrolLogs to delete pre-2011 autopatrol logs as well
Bug: T184485
Change-Id: I3f123ea0ae69f80beec7425be0f3e4c00a409c0d
Timo Tijhof [Wed, 23 May 2018 22:00:45 +0000 (23:00 +0100)]
Update wikimedia/wrappedstring to v3.0.0
Notable changes:
- Remove back compat layer for WrappedString\ -> Wikimedia\.
- Improve merging of nested lists.
Depends-On: I89c015e638fe3e77ef12b88948d3cfa007afa7b0
Change-Id: I10cc2ed66e1d78a77fec7ffeafc75962f7d73090
libraryupgrader [Sat, 14 Apr 2018 10:27:27 +0000 (10:27 +0000)]
build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Id39e8dcf22262d1b3c57628467163a995fe4053b
jenkins-bot [Wed, 23 May 2018 21:48:14 +0000 (21:48 +0000)]
Merge "WatchAction::onSubmit return correct value, not always true"
jenkins-bot [Wed, 23 May 2018 21:39:39 +0000 (21:39 +0000)]
Merge "Setup: Remove various Profile sections"
jenkins-bot [Wed, 23 May 2018 21:38:28 +0000 (21:38 +0000)]
Merge "Update 'OpenSearchDescription' links"
jenkins-bot [Wed, 23 May 2018 21:36:01 +0000 (21:36 +0000)]
Merge "Add 'Special:MyLanguage' in Short URL link"
jenkins-bot [Wed, 23 May 2018 21:34:07 +0000 (21:34 +0000)]
Merge "OutputPage: Remove appending of wgStyleVersion to legacy resources"
Translation updater bot [Wed, 23 May 2018 20:00:37 +0000 (22:00 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I12af86ca297eae5af2e7c74fce0d198e6c473827
Timo Tijhof [Mon, 21 May 2018 21:21:28 +0000 (22:21 +0100)]
OutputPage: Remove appending of wgStyleVersion to legacy resources
For addScriptFile(), just remove the appending of wgStyleVersion.
Going forward, anyone still using this, should simply append a query
parameter themselves in a way that is specific to that one url
(instead of relying on a generic global variable). Alternatively, one
could use OutputPage::transformResourcePath if the file is in /w/.
For addStyles(), also remove the appending of wgStyleVersion. Since this
method takes paths relative to /w/skins, we can easily update this to
automatically use transformResourcePath(), so that file-hash based query
parameters are automatically added.
Test Plan:
* Add calls to top of OutputPage::output():
`$this->addStyle( 'Vector/README.md' );`
`$this->addScriptFile( "{$GLOBALS['wgScriptPath']}/composer.json" );`
* Before, they are both inserted as `<link>` (head) and `<script>` (body)
with a query parameter based on wgStyleVersion.
* After, the `<script>` (end of body) has no query.
After, the stylesheet (head) has a SHA1 content hash as query.
Bug: T181318
Change-Id: Ie5ab5066ef7d07279086bde838d7305e9e4eabaf
Florian Schmidt [Fri, 18 May 2018 20:08:09 +0000 (22:08 +0200)]
WatchAction::onSubmit return correct value, not always true
The onSubmit method documentation states, that the caller can expect either
true for a successfull run, false if not tried and an array of error messages
in case of an failure. WatchAction however always returned false, even though
a Status object is availble with all needed information.
The behaviour of WatchAction::onSubmit is now changed to return the appropriate
value taken from the returned Status object of WatchAction::doSelf.
Also:
* Added WatchAction test class to higher test coverage, especially for the
static methods
* Marked getUnwatchToken as deprecated, it's not used and a caller can easily
switch to getWatchToken with "unwatch" as the action parameter
Change-Id: I2c1b91e1884a0d5f27f5e7ab9eafd6173642c21c
jenkins-bot [Wed, 23 May 2018 18:15:40 +0000 (18:15 +0000)]
Merge "Translate ApiHelp, ApiSandbox and Autoblocklist to Spanish"
jenkins-bot [Wed, 23 May 2018 18:04:39 +0000 (18:04 +0000)]
Merge "resourceloader: Remove 'user.styles' dependency from 'user' module"
jenkins-bot [Wed, 23 May 2018 18:01:11 +0000 (18:01 +0000)]
Merge "OutputPage: Remove support for non-existent /w/skins/common directory"
jenkins-bot [Wed, 23 May 2018 17:41:24 +0000 (17:41 +0000)]
Merge "Remove the unused 'jquery.farbtastic' module"
jenkins-bot [Wed, 23 May 2018 17:01:55 +0000 (17:01 +0000)]
Merge "Convert content.externallinks.css to less"
Timo Tijhof [Wed, 23 May 2018 16:28:23 +0000 (17:28 +0100)]
Remove the unused 'jquery.farbtastic' module
This was added in (r99923;
4d8c7e96ed1f) while reviewing the
'gadget-preferences' branch in SVN of the Gadgets extension during
development of MediaWiki 1.18, intended for use in a color picker
on Special:Gadgets as part of an experimental feature that was
never completed (r94051).
The module has no usage anywhere in Wikimedia Git, nor in any
third-party hosted repos indexed by MediaWiki Codesearch, nor
anywhere on-wiki at WMF in site scripts (per mwgrep).
Bug: T193826
Bug: T192623
Change-Id: I8ed6c09dc7efd750ad4688b895b2e3f808a0e52b
jenkins-bot [Wed, 23 May 2018 16:03:49 +0000 (16:03 +0000)]
Merge "resourceloader: Remove mwLoadEnd code (moved to Navigation Timing)"
jenkins-bot [Wed, 23 May 2018 15:58:38 +0000 (15:58 +0000)]
Merge "Translate special pages into Gorontalo"
jenkins-bot [Wed, 23 May 2018 15:58:33 +0000 (15:58 +0000)]
Merge "Crimean Tatar/crh transliteration odds and ends"
Martin Urbanec [Wed, 25 Apr 2018 13:05:14 +0000 (15:05 +0200)]
Translate special pages into Gorontalo
Bug: T189128
Change-Id: Icb3685f4115c63fb5b50ce5429f564481d2cdfd6
MarcoAurelio [Wed, 23 May 2018 15:07:31 +0000 (15:07 +0000)]
Translate ApiHelp, ApiSandbox and Autoblocklist to Spanish
Change-Id: Ie8cab864112cde17a5f5ced7645fff25c558abdf
MarcoAurelio [Wed, 23 May 2018 14:55:01 +0000 (16:55 +0200)]
Translate PasswordPolicies to Spanish
New message added in Ifb4876f7
Change-Id: I621f81c023c4c1af4e33a4784ff7e1aca08df182
Timo Tijhof [Wed, 23 May 2018 14:53:33 +0000 (15:53 +0100)]
resourceloader: Remove 'user.styles' dependency from 'user' module
Follows-up
c3f200849b99721, which made isKnownEmpty() return false
for modules that have dependencies.
This had the side-effect of causing the 'user' module to be loaded
in its own HTTP request on all page views, even for logged-out users
and for registered users without scripts, because it has a dependency
on the 'user.styles' module.
This commit fixes that regression by removing the dependency so
that the 'user' module can, once again, be considered "empty".
The dependency isn't needed. It was only added for the transitional
period after the 'user' module was split up so that existing cached
views for logged-in users (in theory, e.g. 304 Not Modified) would
still trigger a load for the styles.
But that transition ended over a year ago. Now, both modules act
independently and are always queued separately, with user.styles
explicitly added as a style module (as it should be).
Even for the case of an AJAX preview (if it is somehow possible for
the 'user' module to not be loaded already), the API would respond
with a module list that contains both 'user' and 'user.styles'.
Bug: T195380
Change-Id: I9852516af1bd55c84a9213628c7796e2c2168745
Timo Tijhof [Tue, 22 May 2018 23:28:36 +0000 (00:28 +0100)]
resourceloader: Remove mwLoadEnd code (moved to Navigation Timing)
This internal hook was primarily added for the Navigation Timing
extension. As part of T192623, this should be removed from mediawiki.js
because:
* It is not used in anyway by core.
* It should not be used by anything other than Navigation Timing.
* It depends heavily on jQuery, which we don't want for mediawiki.js.
Bug: T192623
Depends-On: I011c9d1beebe6fa8d21ab9260da0a817ff7aa5f0
Change-Id: I0bf60d37ebea96f2a22044f9db221c87dd88521c
Brad Jorsch [Tue, 22 May 2018 21:12:30 +0000 (17:12 -0400)]
IP: Fix sanitization of IPv4 ranges
'000.000.000.000/24' should sanitize to '0.0.0.0/24', not
'0.0.0.000/24'.
Change-Id: I9364cb268dcc9b9b24aa1c627a87482978c4cf34
jenkins-bot [Wed, 23 May 2018 14:15:37 +0000 (14:15 +0000)]
Merge "Only load PEAR Smtp mailer from vendor/composer, not from `pear` itself"
Chad Horohoe [Fri, 18 May 2018 01:56:00 +0000 (18:56 -0700)]
Only load PEAR Smtp mailer from vendor/composer, not from `pear` itself
Change-Id: I91c42a3eafd079039ddbc17a11ad3c7b6579e3c1
jenkins-bot [Wed, 23 May 2018 11:22:12 +0000 (11:22 +0000)]
Merge "ContentSecurityPolicy: Add trailing & to report urls"
Ed Sanders [Tue, 22 May 2018 20:01:59 +0000 (21:01 +0100)]
Convert content.externallinks.css to less
As suggested in the comment, since the blocking
bug was fixed 3.5 years ago.
Change-Id: I345f81ca5b9672c34525d223f01844df0a74f617
jenkins-bot [Wed, 23 May 2018 06:21:13 +0000 (06:21 +0000)]
Merge "PageDataRequestHandler: Use getHeader() instead of getAllHeaders()"
Fomafix [Fri, 23 Feb 2018 08:58:11 +0000 (09:58 +0100)]
PageDataRequestHandler: Use getHeader() instead of getAllHeaders()
WebRequest has already the function getHeader to extract the requested
HTTP header.
Change-Id: Ifb63ce2ca8851cddf7e5e249509d60fd3620c3e7
Fomafix [Thu, 22 Feb 2018 21:09:04 +0000 (22:09 +0100)]
Avoid sorting the language array twice
Language::fetchLanguageNames returns already a sorted array. An
additional ksort is only needed when inserting a new value.
Change-Id: If8c7b16fa6e7dfe1545f72ac9c742a2f43eaee57