Commit graph

26 commits

Author SHA1 Message Date
Umherirrender e627f6b99d build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I1438abb264edc6c64bbe0a1bef98be1397c712bd
2024-03-12 20:42:45 +01:00
libraryupgrader cdd7bd3503 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-banana-checker: 0.11.0 → 0.11.1
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I28f3c498c8403fa270d56d3a3bad538410e4d6b2
2024-02-12 18:34:20 +00:00
Thiemo Kreuz 4d2df71552 Various code style cleanups
E.g. reducing deep indention and code duplication. Removing comments
that literally repeat what the code says.

The goal is to make the code easier to read and to maintain in the
future. I hope this is the case.

Change-Id: I6f23bc61ffb8b6d42ec697fec91bb6c92152561f
2022-12-07 14:37:10 +01:00
Reedy f95b5ce792 Drop class aliases
Change-Id: I9698f39ec3e301266390032a53cb9249372f216a
2022-10-31 23:02:13 +00:00
libraryupgrader 7edfc6ba48 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: Ifff444f6a712bc640df174914674ea21836ffffd
2022-10-09 12:12:18 +00:00
Taavi Väänänen 8cb2f2f252
Add a class_alias for TitleBlacklistEntry too
TitleBlacklist compares cache version in app code, meaning that entries
with old versions will still be deserialized.

Bug: T307513
Change-Id: Icea6022fcf5530b2429ce660e2589dd5954577a7
2022-05-04 11:30:27 +03:00
Reedy 70754ecf37 Fix and enable 1 PHPCS exclusion
Change-Id: I15c2af8205f58f774b77bff52cad38e0cf541014
2022-04-08 13:42:43 +00:00
Reedy 3113e6bf5f Namespace extension
Change-Id: I7917483168a3534d74b62dd2077026c0baa4cbe0
2022-04-08 14:24:11 +01:00
Reedy b9b82c550f Replace usages of Wikimedia\(suppress|restore)Warnings()
Change-Id: I601cf8d513bd1bbd305c6ad2250ba18b376fe819
2022-02-24 21:14:12 +00:00
Reedy efca55077c Use namespaced AntiSpoof class
Change-Id: Idcda3765210f4b1f247fcb2c1572a465546cfe4e
2022-02-11 14:18:16 +00:00
Siddharth VP ce64fbb8df Fix typos in comments
Bug: T201491
Change-Id: I5177bc2003f411f08638f066e0bd9e60b45e159c
2021-10-14 11:20:01 +05:30
libraryupgrader 9d8d5c93c1 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: I513a37524fba7387d143b9bb560b569ef7d600ad
2021-05-14 06:39:49 +00:00
libraryupgrader 6218ba8396 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I19c53a7b3d3ea12bb098f754dc68ce23cc5c8529
2020-12-29 21:20:23 +00:00
Lucas Werkmeister e35e542c08 Update cache key for Unicode normalization
Change I5d79426a32 (commit f03d6c617b) changed what kinds of values we
store in the cache – Status objects, rather than plain arrays. This
means we need to use a different cache key as well, or they’ll get all
mixed up.

Note that this will effectively replace the current “warm” cache with a
“cold” one on deployment.

Bug: T246643
Change-Id: I0dc5b796af4ab574cd31c8e01d24ddae3edc8a4c
2020-03-02 13:20:54 +01:00
Umherirrender 66f6418eaf Improve param docs
Change-Id: I6f6d781d1b9399520192df156664d39a88752860
2020-02-29 22:10:59 +01:00
Umherirrender f03d6c617b Use AntiSpoof::checkUnicodeStringStatus
Migrate from AntiSpoof::checkUnicodeString to the new function with
status object - was added in 1.32

Use ExtensionRegistry to check for extension
Add error message from the Status to the log

Change-Id: I5d79426a328c6ddc02789d795bc84599e8e5c06d
2020-02-29 10:59:56 +01:00
Umherirrender 41c93cd4b6 Improve param docs
Change-Id: Id143b26039da91584f473063e7280e41ca241731
2019-12-12 20:15:59 +01:00
James D. Forrester 762ef4c02b Drop use of wgParser, replaced in 1.32 and to be removed in 1.35
Bug: T160811
Change-Id: Iefb5557f6dd1c300515dc532485e906d57e2d37f
2019-10-28 20:03:37 +00:00
Derick Alangi 41e6b19e57 Avoid usage of deprecated ObjectCache::getMainWANInstance()
Replacement with services made available in 1.28 and this extension
requires 1.31. So, the replacement is good.

Change-Id: Ia1452ace85d13eb07f7d55b338e120f24d339069
2019-07-03 13:58:55 +01:00
Thiemo Kreuz 8b2dd9cae3 Update unspecific "array" type documentation
Change-Id: Ic1120e726be71f09fa6ebd166d4992ee2c3a3a6b
2019-06-05 18:31:39 +02:00
Aaron Schulz be17ba5286 Fix various phpstorm warnings
Change-Id: Iebaef93dc4d5061ca34934bf18127d8826621fc9
2019-05-09 18:50:35 +00:00
libraryupgrader 84f30fd4c5 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: Ie4cc688e4fecbdf53f77c4726292a8d3fcd6a06d
2019-03-10 22:34:49 -07:00
Reedy 52358f2362 Update MediaWiki namespaced AtEase global functions
Change-Id: I90fbb959b5011a4fa06a766b2dbe91554bcf3c71
2019-02-13 02:31:11 +00:00
Zoranzoki21 9c963456fb Fix common typos in code
Bug: T201491
Change-Id: I621fdf81323639e2625a0cbc79ed27cc99bf5c05
2018-08-25 12:55:15 +00:00
Kunal Mehta 5b0f26aae0 Use SPDX identifiers for @license tags
Change-Id: If60678dd5f9fa90b77d71b3e3a70f4329ede873b
2018-04-06 18:23:42 -07:00
Kunal Mehta 843434f64d Move classes into includes/
Change-Id: I24d0b37d49337efd35d12adf6adbfc403e81fa50
2018-02-15 14:35:32 -08:00
Renamed from TitleBlacklistEntry.php (Browse further)