Commit graph

1080 commits

Author SHA1 Message Date
Translation updater bot 1d6e7d9dbb Localisation updates from https://translatewiki.net.
Change-Id: Ia11bc447d712868736a9f1378176877c1d3a3664
2022-01-10 08:11:28 +01:00
zoranzoki21 1a79401e7f Fix MediaWiki.Commenting.PropertyDocumentation.WrongStyle
Change-Id: I32e42828c4539efeb7aa211a8f76a68fae5a4f94
2022-01-09 09:51:04 +01:00
Translation updater bot f6b180b2a7 Localisation updates from https://translatewiki.net.
Change-Id: I2486ed3ed9388e976b2de305eaef407e255c84d5
2021-12-27 09:30:22 +01:00
jenkins-bot fa050f51bb Merge "Hide interactive inputbox in print" 2021-12-21 20:55:02 +00:00
jenkins-bot 8277dd0651 Merge "Remove an !important and use classdoubling instead" 2021-12-21 20:46:57 +00:00
Translation updater bot 1099fceb06 Localisation updates from https://translatewiki.net.
Change-Id: I0116220750ce7814e6b25fc453441cc91c1bbfca
2021-12-20 08:21:18 +01:00
Thiemo Kreuz e9e9b8360d De-obfuscate attempts to trick people into editing .js pages
This is meant to tell the user "please don't do this", "this
combination of parameters is dangerous". But there are other ways
to make links with these parameters. Another patch that changes the
relevant code in EditPage that is responsible for this issue will
follow.

Bug: T297725
Change-Id: I75946e2fc73266802333a77086b7ff6a74f2f3e6
2021-12-15 13:44:03 +00:00
Thiemo Kreuz c0a2f53db1 Simplify code that generates different error messages
Giving the parameter to both messages even if one doesn't expect a
parameter is not a problem.

Change-Id: I123fb970731b9d9103d358007fd2185a7ab5d81b
2021-12-15 12:01:38 +01:00
jenkins-bot 2471c32621 Merge "Make InputBoxHooks::render() non-static" 2021-12-13 10:59:10 +00:00
Translation updater bot aa4d2a85ee Localisation updates from https://translatewiki.net.
Change-Id: I2b4db289a667a45eb79aab572f32bfd7c9cbc2bb
2021-12-13 08:21:41 +01:00
C. Scott Ananian b808f7f559 Make InputBoxHooks::render() non-static
This matches modern practice a little better: the InputBoxHooks class
can (eventually) contain the service objects needed by this extension
and make them available to the hooks.   It also avoids the need to
explicitly name this class and its namespace.

Followup-To: Iaaff18b50619f490a4437be7f4d95845c8e0eedb
Change-Id: I07a574eca2d0012e3f7e6172d75cffd34392b1b4
2021-12-10 13:49:55 -05:00
Isabelle Hurbain-Palatin cbead9bfbb Introducing a namespace for InputBox
This is a pre-patch for I5144fd6c54 to add a namespace for InputBox and
making sure that this still works, independently of what we're doing
later.

Change-Id: Iaaff18b50619f490a4437be7f4d95845c8e0eedb
2021-12-10 19:15:56 +01:00
Derk-Jan Hartman f07b3cd650 Hide interactive inputbox in print
Bug: T173900
Change-Id: I52722af4447461629298c58c02a2ab9c0fa465d3
2021-12-05 23:07:14 +01:00
Derk-Jan Hartman 8089db47fe Remove an !important and use classdoubling instead
!important creates unnecessarily high specificity

Change-Id: Ia7abc6847d9c77fe1e68277ed0246fde623d9336
2021-12-05 22:43:09 +01:00
Translation updater bot 12c42cbae0 Localisation updates from https://translatewiki.net.
Change-Id: If3afff87e8df2ff9d904cb54bb93f845eb6c2ac6
2021-12-01 08:15:10 +01:00
Translation updater bot bd3570edf5 Localisation updates from https://translatewiki.net.
Change-Id: I4dfd01657c44b83fd02041064623177dabb16968
2021-11-29 08:11:55 +01:00
jenkins-bot 6dfe6adfc4 Merge "Localisation updates from https://translatewiki.net." 2021-11-25 08:06:19 +00:00
Translation updater bot f7a6123282 Localisation updates from https://translatewiki.net.
Change-Id: Ic3dc778341cea4262f452b0eb59d0f42621f4b63
2021-11-25 09:02:15 +01:00
Translation updater bot 69d5d30def Localisation updates from https://translatewiki.net.
Change-Id: Ia006dcad1a705df4a265379092d1fe6608307c91
2021-11-25 08:24:24 +01:00
Translation updater bot 8ba3ae1274 Localisation updates from https://translatewiki.net.
Change-Id: I04d50ad47b8d669f929a37ac34c1645aec0905ab
2021-11-24 08:21:59 +01:00
Translation updater bot 7e000f13ed Localisation updates from https://translatewiki.net.
Change-Id: I6939f95effecdccc7703349b30c5f23e05993370
2021-11-19 08:27:40 +01:00
Translation updater bot cc1f7ff720 Localisation updates from https://translatewiki.net.
Change-Id: Ie26a4ea8f53b2b101f5fcbefa005d8928ae2159c
2021-11-17 08:30:36 +01:00
Fomafix 2e375a712d Use HookHandlers to inject services and replace global variables
This change requires MediaWiki 1.35+ which is already required in
extension.json.

Change-Id: Ieb636c9e96c534ed6dccd8cce5308fed160c3410
2021-11-12 16:41:59 +00:00
jenkins-bot e378b75454 Merge "Use services from Parser" 2021-11-12 08:44:56 +00:00
Translation updater bot dcb6b2f6ae Localisation updates from https://translatewiki.net.
Change-Id: I155086bc939b8fd3b8ab7b7ea69723ca44589359
2021-11-08 08:17:03 +01:00
Umherirrender b234d79a45 Use services from Parser
getTargetLanguageConverter is 1.38
(I536543c516bf952967ada17cc781a9d125421b3e)

Change-Id: Ie0456734576cee770662622a03420b6ec76d932a
2021-11-04 20:09:34 +00:00
Umherirrender 1abc7abc43 Remove unneeded return from hook handlers
Change-Id: Ib38375909ee09e3d5342b6fd16194feeffbb8124
2021-11-04 18:50:42 +00:00
Umherirrender 4829d17708 build: Remove unneeded phan suppression
Change-Id: Iafff45a2693e201cbb81c59a6453f6bbea709f7a
2021-11-04 19:50:25 +01:00
Translation updater bot 3b7a304cd8 Localisation updates from https://translatewiki.net.
Change-Id: Ia328fc88bf637cd13aeb727fd65ef1356df978ef
2021-11-04 10:08:06 +01:00
Translation updater bot bfa4afde1a Localisation updates from https://translatewiki.net.
Change-Id: I73a3bd8231dfd7409f931d3d8afc64ef7a614757
2021-11-03 08:20:44 +01:00
Translation updater bot 0a528f28fb Localisation updates from https://translatewiki.net.
Change-Id: Iaf8d0b526515e4a857f8d8ac77e6daafe31ee33e
2021-11-02 08:07:03 +01:00
Translation updater bot ba57f40c6b Localisation updates from https://translatewiki.net.
Change-Id: I38999061f48bd4606480a7ad2645edb5151909dc
2021-10-28 08:28:09 +02:00
libraryupgrader ffda7b824d build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I3d5fd5ce7b6354e776fc83c2c5df96a95f92d5d6
2021-10-24 05:55:38 +00:00
jenkins-bot a0f2d8ae02 Merge "Use // comments in LESS" 2021-10-20 09:22:02 +00:00
Translation updater bot 7aff16157b Localisation updates from https://translatewiki.net.
Change-Id: I7561180ef779f2fe7e34f506e58d3535636d24bd
2021-10-18 15:20:30 +02:00
Fomafix b1e2979b48 Update PHP coding style
* Use ' instead of ".
* Use === and !== instead of == and !=.

Change-Id: Ie4e405d4fd739d4af34010da3687d8a75d846a73
2021-10-16 20:10:22 +00:00
Fomafix 3ee49b4cfc Use // comments in LESS
Change-Id: Ie0011ba2d4d280302613c2ebc8d9d34dde82a0fe
2021-10-16 19:48:31 +00:00
Fomafix 14a2d08712 Remove styles for cached old HTML
The cache is now expired.

This change is a follow-up to 93351fb7d9.

Change-Id: Ia42e081aa2f74bab72eef9227ba76057c15ba64f
2021-10-16 19:47:25 +00:00
jenkins-bot cf02ed4b7c Merge "build: Run stylelint for less files" 2021-10-16 19:46:07 +00:00
Translation updater bot 5244c6e676 Localisation updates from https://translatewiki.net.
Change-Id: I933504beed92a3deed73e0380d04d19e15c1633a
2021-10-06 09:28:32 +02:00
libraryupgrader 8018bc4010 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Idce92025839c3fac43016ec630afef3ae4992561
2021-10-05 00:45:47 +00:00
Subramanya Sastry 1ab6d0493f Get rid of +tidy references from parser tests
Bug: T198214
Change-Id: I0dbe2b47e052bf5a42604431d8f04794d3c461e0
2021-09-30 13:46:57 -05:00
Translation updater bot 6161345817 Localisation updates from https://translatewiki.net.
Change-Id: Id2274d0bea4fadd612d1ba18147c930eb7a88777
2021-09-30 08:57:36 +02:00
Umherirrender cec79baa9d build: Run stylelint for less files
css was converted to less in I2c75e09dd3f89fa11fca311b4e1f8133946b01b1

Change-Id: I7a8a81b80c4b1b34416a3c2c7801e8f2dcca894a
2021-09-28 17:30:00 +02:00
Translation updater bot 0e4279750c Localisation updates from https://translatewiki.net.
Change-Id: I8012ceecea60c552e2d7871117c44a4e5d09081e
2021-09-28 08:18:52 +02:00
Translation updater bot d2858713e4 Localisation updates from https://translatewiki.net.
Change-Id: I80fc7b6d9d610ff506e41e5e8a18813f195a2517
2021-09-17 08:45:27 +02:00
Translation updater bot 4d650ad97c Localisation updates from https://translatewiki.net.
Change-Id: Iea0e93556ad0e5f2a4e9f68b6597e05ffeafd9af
2021-09-13 08:29:46 +02:00
libraryupgrader b636ed5093 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I6d629585dfc24c34f6a0fc3760d354aba2e1f5b3
2021-09-09 10:58:03 +00:00
libraryupgrader 084dd2268a build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: Iadb86680421429e12ac303f7944cb9fc657bea9a
2021-09-04 20:42:13 +00:00
Translation updater bot c030a567e0 Localisation updates from https://translatewiki.net.
Change-Id: I5aedfb046ee0222f0d2015c73679cb48ed02a9d9
2021-09-03 08:15:05 +02:00