Commit graph

1286 commits

Author SHA1 Message Date
libraryupgrader ae4efcb361 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 40.0.1

npm:
* grunt-stylelint: 0.16.0 → 0.18.0
* stylelint-config-wikimedia: 0.11.1 → 0.13.1

Change-Id: I6d7aa02d387497cf5ebadc1165c082b471ce65d5
2022-11-16 14:46:17 +00:00
libraryupgrader 708c7d7ffd build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.0 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* minimist: 1.2.5 → 1.2.7
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* nanoid: 3.1.25 → 3.3.4
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Additional changes:
* Set `name` in package.json.

Change-Id: I1706b77f713c6446c85f96ae4788eaf05de37b2a
2022-11-11 03:31:07 +00:00
jenkins-bot 0ed04eea34 Merge "build: Remove syntax option from stylelint" 2022-11-09 17:26:18 +00:00
Translation updater bot aa140841dc Localisation updates from https://translatewiki.net.
Change-Id: I011422bbd6ab326432bbbaaae62e38ce88db5e60
2022-11-08 08:21:30 +01:00
Translation updater bot f4fd032307 Localisation updates from https://translatewiki.net.
Change-Id: Id525eec8c9a07c87d5c5d81cb44c55c9144bea3c
2022-11-04 09:03:43 +01:00
Translation updater bot 56109635d5 Localisation updates from https://translatewiki.net.
Change-Id: Ib124ec1dbd2ef935b5d021983e5c6b7ab807f99b
2022-11-01 08:54:20 +01:00
Umherirrender d29dfaf188 build: Remove syntax option from stylelint
Error: The "syntax" option is no longer available. You should install an
appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option

Change-Id: I43a39d8238143e02e9ba3ba2ee3652a63d3d6921
2022-10-27 00:13:14 +02:00
jenkins-bot cb724c0557 Merge "Use short array destructuring instead of list()" 2022-10-26 07:37:10 +00:00
Fomafix 19c2bf2920 Simplify loops over array_keys
Use native PHP feature of iterating over key-value pairs
instead of looking up the value if it's used.

Change-Id: I620add5f0f919923518557047773e5fff90827cf
2022-10-23 10:31:07 +00:00
Fomafix e5896a0b54 Use short array destructuring instead of list()
Introduced in PHP 7.1. Because it's shorter and looks nice.

Change-Id: Id66d048bc6fc720216c7391c7eeb3d315f33948a
2022-10-23 08:39:26 +00:00
jenkins-bot abeebced1c Merge "Use str_replace instead of preg_replace where RegExp are not needed" 2022-10-22 02:39:37 +00:00
jenkins-bot 60a8705ec2 Merge "Use \u{00A0} instead of  " 2022-10-22 02:39:34 +00:00
Translation updater bot 11b05f0410 Localisation updates from https://translatewiki.net.
Change-Id: I3d9772de7520954c756c426e31798da81f36a885
2022-10-19 08:20:41 +02:00
Fomafix 4b86c0bf12 Optimize HTML
* Use no-break space (U+00A0) between checkbox and text like in
  Xml::checkLabel.
* Add </li> to close list item and remove unneeded <br/> here.

Change-Id: I5eb46d497264606552a90b787a3953001a6251e7
2022-09-29 08:29:08 +00:00
Yaron Koren e852e449f4 Add space between checkbox and label in page title replacements
Change-Id: I4fb8651cf8771f9459c3537bb8e3b174e828fb29
2022-09-28 19:32:51 +00:00
Yaron Koren cb570d5609 Suppress Phan error for MW < 1.37
Change-Id: Ia774d264ac00127a3c45031835442838cec8bb70
2022-09-28 19:12:09 +00:00
Translation updater bot 9a11041b12 Localisation updates from https://translatewiki.net.
Change-Id: Ie19a0f6de8ed2d1aae2435d4b37c612404f7a9f4
2022-09-28 08:22:36 +02:00
Yaron Koren eda043b383 Fix page title search in MySQL with alternate DB encodings
Change-Id: I4d6b15ff5e3830fc3d4f2c2aff876a7069b15821
2022-09-26 14:05:03 +00:00
Translation updater bot fd7959dd47 Localisation updates from https://translatewiki.net.
Change-Id: I57c7b5e9b1ec967c9021b301c165b66d7c55663a
2022-09-26 08:16:10 +02:00
Fomafix 836defe8fa Merge "Use \t instead of TAB in the string" 2022-09-12 19:23:47 +00:00
Fomafix 3b6a6802bd Use \t instead of TAB in the string
Change-Id: Ia2052d7ca3f80d0e54ce4a3923f2373c39e7620d
Depends-On: I19c1b42d9a7c76baacfad2632c4f5525532366a9
2022-09-12 19:21:30 +00:00
Fomafix c7d80d1938 Use https://www.gnu.org/ instead of http://www.gnu.org/
Change-Id: I8aa4b4a8ba78fb9268021a3ddeb5e2a9c7b0cfeb
Depends-On: I19c1b42d9a7c76baacfad2632c4f5525532366a9
2022-09-12 19:13:23 +00:00
Fomafix e081ffe320 Use str_replace instead of preg_replace where RegExp are not needed
Change-Id: I60a770034d8a55cf779d9eae48cf2449211caeb9
2022-09-08 22:14:22 +00:00
Fomafix a06719c1d7 Remove loading of style module 'mediawiki.special'
The styles from the module 'mediawiki.special' are not used.

Change-Id: Ie843bdfdc1063acc7e36d2d376a1713e10ccd33b
2022-09-08 21:58:09 +00:00
Fomafix 59f9bc6974 Use single quotes instead of double quotes in PHP
Change-Id: I0f05a6ffbf78a6f8150c9ef751bf92f5d7956fe3
2022-09-08 16:36:16 +00:00
jenkins-bot cb08a9a768 Merge "Check for invalid new titles" 2022-09-08 13:32:34 +00:00
jenkins-bot bf60096c5f Merge "replaceAll.php: Allow empty values as target" 2022-09-08 13:28:20 +00:00
Fomafix 002d85d01b Replace $wgLang by $this->getLanguage()
Change-Id: Iae42df2d27a58765b408f68a610fd9e9c686e68e
2022-09-08 12:53:35 +00:00
Fomafix bca8b58017 replaceAll.php: Allow empty values as target
This change allows to execute the following command with an empty
replacement string:

	php maintenance/replaceAll.php 'FooBar' ''

Bug: T293120
Change-Id: I5d8f223f6edae771ca3cd7c68aae741f3fa64350
2022-09-08 12:11:58 +00:00
Fomafix e95564bcdc Check for invalid new titles
This change avoids a null pointer exception.

The unmovable old title gets added to the unmoveable_titles.

Bug: T280148
Change-Id: I6d879d18f2ba29d55d0da3e37c0f5b8aa5d30ec2
2022-09-08 11:49:24 +00:00
Fomafix 73c753c290 SpecialReplaceText: Inject services
Change-Id: Id60e241fb79234c86eab595a9978508e96c3282d
2022-09-08 10:36:02 +00:00
Fomafix 59ebcfcb35 Use UserOptionsLookup::getOption instead of deprecated User::getOption
Bug: T296083
Change-Id: I09a1c94d42b14cd29be0f6962d0b95f5d91304bf
2022-09-08 10:32:42 +00:00
jenkins-bot 40b79328da Merge "Use UserFactory::newFromId() and ::newFromName() instead of User::newFromId() and ::newFromName()" 2022-09-08 10:29:50 +00:00
Fomafix d9151fd045 Use \u{00A0} instead of &#160;
Directly use the UTF-8 encoding of the 'NO-BREAK SPACE' (U+00A0) instead
of the HTML entity &#160;.

Also use \u{21B5} instead of &#8629;.

Bug: T154300
Change-Id: Iaa904dcb2b12afeb4547be854b35eb468b322c25
2022-09-08 08:01:58 +00:00
Translation updater bot 8f16b7b34e Localisation updates from https://translatewiki.net.
Change-Id: Ia35e4413d18c181c39199f22724363d2400f9ac0
2022-08-22 08:23:45 +02:00
Yaron Koren 9329d7ea56 Add long-missing category, prefix flags to replaceAll.php
Change-Id: I81b83c408094767f337581cf79c3c005e9486560
2022-08-11 23:25:03 +00:00
Translation updater bot 7058c506d3 Localisation updates from https://translatewiki.net.
Change-Id: Icccfbb84b89f153d866ce15b13cbc91a3d3a3e11
2022-08-10 08:24:04 +02:00
Reedy 8d9399b53b Update mediawiki/mediawiki-phan-config to 0.11.1
Bug: T295285
Change-Id: I2f59b1d63573d19a6915034b34c0ca4b4ecf53d9
2022-08-02 02:02:03 +01:00
Translation updater bot db75bbc452 Localisation updates from https://translatewiki.net.
Change-Id: Ib4f986dfce1300d6527a69fa5bce4e5618da084a
2022-07-26 08:25:44 +02:00
Translation updater bot 1eb896bb8e Localisation updates from https://translatewiki.net.
Change-Id: I0d100d437bd699a3024dca0b3b9b5b44cb7c59f1
2022-07-11 09:50:28 +02:00
Translation updater bot 4ffe6a0868 Localisation updates from https://translatewiki.net.
Change-Id: Icc1c8dbb81785969e77ef255002c2e09143c9dbb
2022-07-04 08:22:50 +02:00
Translation updater bot b19a39b4c4 Localisation updates from https://translatewiki.net.
Change-Id: Id0ba68c6517772e01c73c01e94ddb0e7521b341e
2022-06-27 08:18:34 +02:00
Umherirrender 551b610abf Use WikiPageFactory to create WikiPage object
Bug: T259948
Change-Id: I7bacc0d3554e5591f826095fad8314a20c31107e
2022-06-26 19:36:05 +02:00
Translation updater bot 570ee448fe Localisation updates from https://translatewiki.net.
Change-Id: I19fb08edc7d2af9aea10ca57b353936a1970b4d4
2022-06-10 08:50:19 +02:00
Translation updater bot 2e0255111d Localisation updates from https://translatewiki.net.
Change-Id: I622ec1df53958629fb33cc61d812e865fc17a435
2022-04-13 08:32:46 +02:00
Translation updater bot 83d8053960 Localisation updates from https://translatewiki.net.
Change-Id: I6cd2dbcc7d7d55b9f21077830691e39e44b29f47
2022-04-05 08:26:04 +02:00
Translation updater bot 23e90941ae Localisation updates from https://translatewiki.net.
Change-Id: I598d185c0120e140855b2a1700e5c73a70e88f10
2022-04-04 09:35:06 +02:00
Translation updater bot 897204f4df Localisation updates from https://translatewiki.net.
Change-Id: I2a3da6de0c4c9738af6905dbbe54bce7447b9adf
2022-04-01 08:27:28 +02:00
Yaron Koren d70cd160b9 Version 1.7
Change-Id: I7ca1fbee6b71e67c48c00355592fea0d6afe966b
2022-03-22 13:24:05 +00:00
Translation updater bot f2bd2e6113 Localisation updates from https://translatewiki.net.
Change-Id: I2813743fd64c6ad1711b20449c1c2791c788e4ff
2022-03-16 08:08:07 +01:00