Commit graph

86527 commits

Author SHA1 Message Date
James D. Forrester
fd0a44d4cb Update OOUI to v0.30.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.30.1

Bug: T76638
Bug: T210847
Bug: T212977
Depends-On: Ib466527110d5068e297c42ebb3dd381c0c83754a
Change-Id: Ib466527110d5068e297c42ebb3dd381c0c83754b
2019-01-11 08:19:16 -08:00
jenkins-bot
4cc8ce77f3 Merge "Fix SVG metadata handler by changing offset from -1 to 0" 2019-01-11 11:47:05 +00:00
zoranzoki21
c3f45c864a Fix Revison typo
Bug: T201491
Change-Id: I4a91d64dafdafd022462730c221cdf2a113d2ef2
2019-01-11 05:18:20 +00:00
Brian Wolff
459d31c9c8 Fix SVG metadata handler by changing offset from -1 to 0
Starting in php 7.1, negative offsets are supported in
file_get_contents. Previously they were not (and in fact, the
php docs said -1 was the default value for the offset if unspecified).

The result of this, is starting in php 7.1, MediaWiki could not determine
the aspect ratio of SVG files that were larger than 256kb.

Follows up e6de99be

Bug: T213501
Change-Id: I565e51cd8131542b9a70da49e9cc36c5594ecda3
2019-01-11 00:08:07 +00:00
jenkins-bot
3e947cce85 Merge "rollbackEdits.php: Cosmetic changes of outputs" 2019-01-10 22:10:43 +00:00
jenkins-bot
ad00a5ce86 Merge "build: Remove 'stylelint' package as it gets pulled-in by 'stylelint-config-wikimedia'" 2019-01-10 21:59:46 +00:00
Translation updater bot
b597487570 Localisation updates from https://translatewiki.net.
Change-Id: I707519be5cbb133b724b02d0659fe35ce545df82
2019-01-10 22:26:24 +01:00
Volker E
0a2ac54ba3 build: Remove 'stylelint' package as it gets pulled-in by 'stylelint-config-wikimedia'
Change-Id: I734ebf6c18a3266bec2d9c9e38e827c3ec412586
2019-01-10 13:23:33 -08:00
jenkins-bot
9ae23e6195 Merge "maintenance: Fix detection of bad hooks (wfRunHooks -> Hooks::run)" 2019-01-10 21:13:37 +00:00
jenkins-bot
a251990306 Merge "filerepo: Remove begin/done comments from LocalFile" 2019-01-10 19:50:52 +00:00
Timo Tijhof
5b02c8e3a0 maintenance: Fix detection of bad hooks (wfRunHooks -> Hooks::run)
It was still looking for wfRunHooks, which no longer exists
as of MediaWiki 1.32.

After this, it is now able to find one bad hook:

> Unclear hook calls:
> - Hooks::run( $action . 'ArticleComplete', [ .. ] ); # SpecialEditWatchlist

Also, remove the matching of wfRunHooks generally, given it no
longer exists. And also remove the historic notes from hooks.txt.

Change-Id: I4ac52ed75fb99d7775d4b4755e3f0871003d70a8
2019-01-10 11:33:10 -08:00
Bartosz Dziewoński
cb9de88ded Add missing message for OOUI v0.30.0
Follow-up to 221b03c243.

Change-Id: I18193b191c516c14e32f0959dee2ac4c78564ce8
2019-01-10 16:54:17 +01:00
jenkins-bot
5bba9d230c Merge "createAndPromote: use AuthManager::autoCreateUser" 2019-01-10 15:51:14 +00:00
jenkins-bot
5a68f2902d Merge "Fix slow queries in migrateActors.php" 2019-01-10 15:51:08 +00:00
zoranzoki21
a39f18f49d rollbackEdits.php: Cosmetic changes of outputs
Change-Id: I18313edf4fe9577fb488159b019689a450454b2f
2019-01-10 13:56:21 +00:00
jenkins-bot
6196eaf08c Merge "Improve readability of LogFormatter::makePageLink" 2019-01-09 23:36:27 +00:00
jenkins-bot
4ad6525624 Merge "Don't check for LIBXML_PARSEHUGE presence" 2019-01-09 21:20:38 +00:00
jenkins-bot
3d6d44ee15 Merge "Remove a CURLOPT_CONNECTTIMEOUT_MS check" 2019-01-09 21:20:32 +00:00
Translation updater bot
a9348cfbaa Localisation updates from https://translatewiki.net.
Change-Id: I9ee05968b2a310c032969eaf5f52f703b796ba16
2019-01-09 21:53:06 +01:00
Thalia
31ba7a3e5c Fix malformed output of block logs
Avoid adding <span> to expiry parameter whenever block log is
stored as plaintext.

Bug: T208523
Change-Id: Id3fcdfda7311484911ae1f57ec262a2c6e6ab00b
2019-01-09 16:16:53 +00:00
Thiemo Kreuz
785cf6c0bb filerepo: Remove begin/done comments from LocalFile
I argue that these comments don't provide any additional information.
I think the code explains itself already.

Change-Id: I7b495dfde5e8b27a4cdd4bfcf84d388ffc2db5e3
2019-01-09 17:01:09 +01:00
Thalia
c32b871ef6 Improve readability of LogFormatter::makePageLink
Change-Id: I912d9626b99697d5a0394b72a56ffc8a5e7aa1bb
2019-01-09 15:59:17 +00:00
Amir Sarabadani
a4880e9bbf Fix order of arguments in ChangeTags::getPrevTags
Bug: T212703
Change-Id: I9e38c999718762daeb5c155ea8eaaa5d16dd85c1
2019-01-09 10:14:40 +01:00
jenkins-bot
c8a451e0f4 Merge "Localisation updates from https://translatewiki.net." 2019-01-08 21:34:12 +00:00
jenkins-bot
8bcd1172d1 Merge "Fix missing ATOMIC_CANCELABLE in MovePage::move()" 2019-01-08 21:24:48 +00:00
Translation updater bot
3c7e0a1396 Localisation updates from https://translatewiki.net.
Change-Id: Ibe90f37243cab5598d9a1d319e0a88ae9fcf4fdb
2019-01-08 22:13:08 +01:00
Bryan Davis
ef2ba25b77 createAndPromote: use AuthManager::autoCreateUser
Use AuthManager::autoCreateUser when creating a new user via
createAndPromote.php so that configured AuthManager providers have
a chance to perform validations and extra actions beyond local account
creation.

Bug: T212689
Change-Id: I4972507bbaf65bb542934c281c37bd8a5c7a26b7
2019-01-08 20:45:12 +00:00
Gergő Tisza
eda915cb7a
Fix missing ATOMIC_CANCELABLE in MovePage::move()
Follow-up to I4aaa8af50d684de.

Bug: T213168
Change-Id: I0566b37117b6c69d4043e77e6368bf79fa84e325
2019-01-08 11:37:27 -08:00
jenkins-bot
4f4b109dcb Merge "Update the design of Special:Block" 2019-01-08 19:06:47 +00:00
jenkins-bot
41a744cba7 Merge "build: Update qunitjs to 2.9.1" 2019-01-08 19:00:37 +00:00
jenkins-bot
0601f359eb Merge "Remove comments documenting constructors as "constructors"" 2019-01-08 18:57:25 +00:00
jenkins-bot
8a2be2c599 Merge "Fix tag for partial blocks config" 2019-01-08 18:48:56 +00:00
jenkins-bot
36bbdfb8ad Merge "Add @since tags to new public methods related to partial blocks" 2019-01-08 18:37:25 +00:00
Thalia
f96c988f19 Fix tag for partial blocks config
Change-Id: I421298f216bc018d1606c297b2f89ee53c8da7ec
2019-01-08 17:47:02 +00:00
Ed Sanders
b3e490bba6 build: Update eslint-config-wikimedia to 0.10.0
Change-Id: I2930bcabeeb7b7b2eb36063e77b26e664a691b43
2019-01-08 17:40:11 +00:00
Brian Wolff
8c7b635162 Relax filter attribute filtering to allow self-referential urls
The filter attribute will often have things like filter="url( #foo )"
These local to the file filters in svgs should be fine (We already
disallow non-local xlink:href attributes on <filter> elements). In
fact, users can already do the exact same thing by doing:
style="filter: url( #foo )"

Bug: 67044
Change-Id: Ib25328c160c0d5ea7e01dc84616b76e1b9dcd0eb
2019-01-08 14:37:53 +00:00
Thalia
d11e342ed6 Add @since tags to new public methods related to partial blocks
Bug: T210369
Change-Id: I20197ceee8e5e43fac20addc494b841519b915c8
2019-01-08 12:44:33 +00:00
Thiemo Kreuz
8fb3666148 Remove comments documenting constructors as "constructors"
Such comments are cruft and do not add anything that's not already
obvious from the code.

Change-Id: I42068b0c6c904bc4ee38f1700e0ea14c3d659a25
2019-01-08 10:11:36 +00:00
jenkins-bot
d5fdb669db Merge "HTMLSelectLanguageField: Add explicit sort" 2019-01-08 09:21:53 +00:00
jenkins-bot
b2017a11a8 Merge "Revert "Revert "Title::checkUserBlock should call User::isBlockedFrom for every action""" 2019-01-08 07:00:20 +00:00
RazeSoldier
d9ca1abd9c Add me to .mailmap and remove duplicate name
Change-Id: I39de232fc6d3986ce36e205d89523fe3c8b52500
2019-01-08 05:43:55 +00:00
Timo Tijhof
9cd3b52723 build: Update qunitjs to 2.9.1
Code and integrity from <https://code.jquery.com/qunit/>.
Release notes at <https://github.com/qunitjs/qunit/releases>.

Highlights for the browser version:

- [2.7.0] Reporter: Remove cost of DOM size when
  using "hidepassed=true".
- [2.7.0] Reporter: Use perf.now() for improved accurracy
  of unit test durations.
- [2.7.0] Reporter: Make debugging tests in a browser
  easier by adding timeline markers for DevTools.

Highlights for the npm package / CLI version:

- [2.9.0] CLI: Reduce dependency tree size
               from 143 packages to 9 packages.

Change-Id: I38408d90765cd18d5dd6952b8b6b30cbfa0c7ed5
2019-01-07 21:05:36 -08:00
Max Semenik
c70119302d Don't check for LIBXML_PARSEHUGE presence
It's been present since PHP 5.3.2.

Change-Id: I23a3c50c10e984abe6ff214fbf504ab6f6be763c
2019-01-07 19:32:39 -08:00
Max Semenik
731ebeea38 Remove a CURLOPT_CONNECTTIMEOUT_MS check
It was introduced in PHP 5.2.3.

Change-Id: I0c7e1684038c98677ceefbcfbb78641e90713002
2019-01-07 18:25:59 -08:00
jenkins-bot
3b5c910297 Merge "objectcache: add more "touchedCallback" comments to WANObjectCache" 2019-01-08 00:44:32 +00:00
Volker E
fa85d30d17 HTMLSelectLanguageField: Add explicit sort
Follow-up to I46dc6cc8f7d.

Change-Id: Ie5f8999cb6a24d394ceb1cf9b92facbd86431960
2019-01-07 14:25:00 -08:00
Translation updater bot
deaac46ea6 Localisation updates from https://translatewiki.net.
Change-Id: I4e4b7c8958b5c5626a9f5dc32f115c13f21eb8be
2019-01-07 22:11:34 +01:00
Elliott Eggleston
fa83f0d133 WikiPage::doUpdateRestrictions checks DB_MASTER
This would prevent double entries in logs when the same protection
is applied twice within a few minutes. Trying out usage of the
parent patch's new functionality.

Bug: T210983
Change-Id: Ibd6e481db2faa5955f52f36d5d7368adc8747c9c
2019-01-07 20:13:56 +00:00
Thalia
41da63ed1f Update the design of Special:Block
Update the design now we have the extra options for
partial blocks.

Bug: T202773
Bug: T212964
Change-Id: I569eb2a8b15b9ad7f9f0e99bce2cd9b818a82fb4
2019-01-07 19:22:59 +00:00
jenkins-bot
1c49ac519b Merge "Do not pass $archiveName two times to OldLocalFile" 2019-01-07 18:51:29 +00:00