Commit graph

2721 commits

Author SHA1 Message Date
Fomafix 828566ef60 Optimize PHP code semantic
* Mark $mOptions as private. There is no external reference.
* CategoryTree::makeTitle don't return false. A check for false is not
  needed.
* A class attribute should not start with a space.
* $title->isExternal() is equivalent to $title->getInterwiki() !== ''.
* Use $title->inNamespace( NS_CATEGORY ) instead of
  $title->getNamespace() === NS_CATEGORY.

Change-Id: Iddad84ff5a18080d1216346ec2a906c955a644a4
2022-11-12 19:08:16 +00:00
jenkins-bot ba6e585427 Merge "Check for null after Title::newFromText" 2022-11-12 17:31:19 +00:00
Translation updater bot 935cb6d394 Localisation updates from https://translatewiki.net.
Change-Id: I9644aefe6ddb65346721d364e346cc7f22719fd8
2022-11-11 08:40:13 +01:00
Fomafix c5b34028e3 Remove phpcs exclude rules and update PHP code
Consistently use single line @var declararation.

Change-Id: I02210ddcc1c523bda6e26adb17e7b6bd38db752d
2022-11-10 20:15:44 +00:00
Fomafix cf8538086c Check for null after Title::newFromText
Title::newFromText returns null on invalid title.

Change-Id: Iaef69584eff33b1b13669f8d0a3b8eeeba3755cc
2022-11-10 19:27:54 +00:00
Translation updater bot abbc5c5e32 Localisation updates from https://translatewiki.net.
Change-Id: I7b38e5d75b72a07de409cb5cc4f321da382bfc2f
2022-10-13 08:08:06 +02:00
jenkins-bot 958420e41d Merge "Localisation updates from https://translatewiki.net." 2022-10-10 08:25:49 +00:00
Translation updater bot bba8535353 Localisation updates from https://translatewiki.net.
Change-Id: I4772f7c9667003e84484f37117be40e97e7cb8a9
2022-10-10 10:19:36 +02:00
Translation updater bot 8d83ca7e36 Localisation updates from https://translatewiki.net.
Change-Id: I9034fabc9bc3f38c0ec42738c878a430ea77245b
2022-10-10 08:57:29 +02:00
libraryupgrader 8cad15b9d0 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0

npm:
* grunt: 1.5.2 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0

Change-Id: I278b8c48587f564580b64cd78059197cc0c53074
2022-10-09 02:20:28 +00:00
Translation updater bot ef3356b2d1 Localisation updates from https://translatewiki.net.
Change-Id: I303adc8ed138f62e5861d54a0a06a57d697d8225
2022-10-03 09:45:17 +02:00
Translation updater bot 07c6e3d857 Localisation updates from https://translatewiki.net.
Change-Id: I3c4485e75bcf88047a0938d2d7e4cbdf8e73c60f
2022-09-30 08:53:09 +02:00
Translation updater bot 405b411fe6 Localisation updates from https://translatewiki.net.
Change-Id: Ied339124dfb445715e00082ad0732eda478cacbb
2022-09-28 08:20:51 +02:00
Translation updater bot a0c660b424 Localisation updates from https://translatewiki.net.
Change-Id: Ie8d2deb8e0d69b1f176fd38be37b649f89e8866b
2022-09-22 08:45:27 +02:00
Translation updater bot dbf4fc42c7 Localisation updates from https://translatewiki.net.
Change-Id: I2a93156a6533a148c1544b5effa693b296b4e061
2022-09-05 10:09:58 +02:00
Translation updater bot 17c6baae82 Localisation updates from https://translatewiki.net.
Change-Id: Iab68a5cdcb9c8b97ecf2f971975f428eee0edcc6
2022-08-29 09:13:24 +02:00
Translation updater bot eabefc08bd Localisation updates from https://translatewiki.net.
Change-Id: I73d7f46356c6b430c25e8d340c4e95d6a1cde438
2022-08-22 08:22:21 +02:00
Translation updater bot d60a353148 Localisation updates from https://translatewiki.net.
Change-Id: I3b5bf96963cc6729cc7655aff9873802f5e71564
2022-08-18 08:37:50 +02:00
Translation updater bot 5ad0c05c6c Localisation updates from https://translatewiki.net.
Change-Id: I12e75c7677a3e660da0c0f26f4ca5177bc10738c
2022-08-15 08:25:48 +02:00
Translation updater bot b2584cfe8c Localisation updates from https://translatewiki.net.
Change-Id: I24bb57f0002baab668bc59410d62131714065f84
2022-08-09 08:19:17 +02:00
Translation updater bot 8a8745ce9b Localisation updates from https://translatewiki.net.
Change-Id: I5b189973e6e4fb696037157ed58fd597196b981a
2022-08-05 08:33:16 +02:00
Translation updater bot 187b26bdbe Localisation updates from https://translatewiki.net.
Change-Id: I6b7132e2193ba1bb5ee10a9127e749f639095c6b
2022-08-03 08:17:55 +02:00
Translation updater bot e0c50dd700 Localisation updates from https://translatewiki.net.
Change-Id: Id113cc56992928b55eebc457dff05f6847047a30
2022-08-01 08:21:41 +02:00
Translation updater bot 2fdf057728 Localisation updates from https://translatewiki.net.
Change-Id: I537bea85182ec5686469d432d82ba3197eec15fe
2022-07-18 08:14:03 +02:00
Translation updater bot 7096a16513 Localisation updates from https://translatewiki.net.
Change-Id: Icd98acc433e855b28d1817adaf267b0d837433b5
2022-07-12 08:14:28 +02:00
Translation updater bot fdfa05d01a Localisation updates from https://translatewiki.net.
Change-Id: I3e056fe692eeeb742ad5a44dbd6e0cf9453bc7a4
2022-07-08 08:52:11 +02:00
Translation updater bot 8aeb868789 Localisation updates from https://translatewiki.net.
Change-Id: Ie4b001257c20d3b88e0ab88a69d27c1230f28523
2022-07-04 08:21:39 +02:00
Translation updater bot 57e0d0207c Localisation updates from https://translatewiki.net.
Change-Id: I841f265128609d38f8cbfbfbf1a03ac6206eb161
2022-06-23 09:02:27 +02:00
Translation updater bot fad74af582 Localisation updates from https://translatewiki.net.
Change-Id: I29ac5002588fec78a490692b24f602bff0a38973
2022-06-20 08:16:22 +02:00
Translation updater bot 2950f332f5 Localisation updates from https://translatewiki.net.
Change-Id: Idbbb4cb52861a5a8a6b162492ea48f802d4a5df6
2022-06-06 09:25:13 +02:00
Translation updater bot 7181a2a476 Localisation updates from https://translatewiki.net.
Change-Id: I790b3917334de70155d28f545073a561be2d0a81
2022-05-30 09:22:36 +02:00
libraryupgrader c072af82af build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.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-eslint: 23.0.0 → 24.0.0
* grunt-stylelint: 0.16.0 → 0.17.0
* stylelint-config-wikimedia: 0.11.1 → 0.13.0

Change-Id: I9679cc42cf564d66379008cff3716ab4e8f972ec
2022-05-21 00:54:21 +00:00
Translation updater bot f96f0e0aed Localisation updates from https://translatewiki.net.
Change-Id: I11a50b8bab05ff0feca94e37c86c75b2e7ae9e12
2022-05-16 08:23:52 +02:00
Translation updater bot bdbc3fb3c0 Localisation updates from https://translatewiki.net.
Change-Id: I289eeccf6021abc6db72e881730adf287cf7407e
2022-05-09 08:11:20 +02:00
Translation updater bot 3c768e842a Localisation updates from https://translatewiki.net.
Change-Id: I0a1b413491cecf89d3b0c43a172657678d751666
2022-05-04 08:18:14 +02:00
Translation updater bot 0f3d4881d5 Localisation updates from https://translatewiki.net.
Change-Id: Iaa282746e06924a7a9d2052d8e353912e2bf5857
2022-05-02 08:19:09 +02:00
Translation updater bot 478f1ec9ca Localisation updates from https://translatewiki.net.
Change-Id: I4c6f04e7f8bfcf044fdebcd774a80ebcdca6483a
2022-04-29 08:42:21 +02:00
libraryupgrader 7b3a4d1375 build: Updating grunt to 1.5.2
Change-Id: I750f090e853b40b7b83e329786609b89f053e167
2022-04-27 08:16:03 +00:00
Translation updater bot c3f37e6dee Localisation updates from https://translatewiki.net.
Change-Id: Ia4b304aa497ea36c90ec1fa90827d713b32395ee
2022-04-25 08:17:18 +02:00
Translation updater bot 4075f781d9 Localisation updates from https://translatewiki.net.
Change-Id: I8c8dab94055ca321e50e82a6efe9f92f5d8bd8ad
2022-04-18 10:05:28 +02:00
Translation updater bot 5bdba1f4ee Localisation updates from https://translatewiki.net.
Change-Id: I6600bfb425847775af0b0250c5fe77afa382af1a
2022-04-15 09:55:57 +02:00
libraryupgrader 29ce1130d4 build: Updating npm dependencies
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h

Change-Id: I31d1b48d8b0c80efa0519848dbcced51916da379
2022-04-14 18:05:56 +00:00
Translation updater bot 5afd3c17ef Localisation updates from https://translatewiki.net.
Change-Id: I6347cd1ab0657ed315c23f9cb697b2b8643513c8
2022-04-08 08:27:08 +02:00
Translation updater bot 26d46f6342 Localisation updates from https://translatewiki.net.
Change-Id: Iafcff21ecd6a1b623201a4a9c97f5abdd2f92746
2022-04-06 08:26:37 +02:00
Translation updater bot 491eb613e8 Localisation updates from https://translatewiki.net.
Change-Id: Ie70d0a295a3b85d918b20ea5b2386b521d5967b1
2022-04-05 08:25:04 +02:00
jenkins-bot 8bc9ef3560 Merge "Localisation updates from https://translatewiki.net." 2022-04-04 07:38:43 +00:00
Translation updater bot 53c984934b Localisation updates from https://translatewiki.net.
Change-Id: Id69eab4e3ce36a137d8900d6d302917c3bb2f201
2022-04-04 09:34:02 +02:00
Translation updater bot 3320710ad7 Localisation updates from https://translatewiki.net.
Change-Id: I9ad83b23d8430039d3467058a0ecca32e8676821
2022-04-04 09:13:46 +02:00
gerritbot a42526cc2e Fix usage of ApiBase::PARAM_* deprecated constants
The ones that are replaced with ParamValidator

Bug: T275455
Change-Id: Ib1ad9e3837bb5030918e84c12c63f570bc67bd3b
2022-04-04 01:24:23 +02:00
Translation updater bot e9f060f88f Localisation updates from https://translatewiki.net.
Change-Id: I02cb6a257618f262ae325d27d5b4b20b1c87d0a1
2022-04-01 08:26:07 +02:00