Commit graph

19 commits

Author SHA1 Message Date
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
jenkins-bot 9b150fc464 Merge "Avoid using WikiPage::factory()" 2021-12-18 15:52:32 +00:00
Alexander Vorwerk 49eaa3a463 Avoid using WikiPage::factory()
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().

Bug: T297688
Change-Id: Ic3f8745de45916baca68ab3620ca88148fbbc4ba
2021-12-14 12:32:13 +01:00
Siddharth VP ce64fbb8df Fix typos in comments
Bug: T201491
Change-Id: I5177bc2003f411f08638f066e0bd9e60b45e159c
2021-10-14 11:20:01 +05:30
Alexander Vorwerk d54338f52b Avoid using ContentHandler::getContentText()
ContentHandler::getContentText() is deprecated and should be
replaced with Content::getText() for TextContent instances.

Change-Id: If38508a069c668e43686226262acbb8ecce92764
2021-05-18 09:02:41 +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
Umherirrender c90c0e5d09 Pass function name to HttpRequestFactory::get
Useful for logging
Replace deprecated Http::get with service (since 1.34)
Have to check for falsy to avoid returning non-string

Change-Id: I6d06698cf1e34d0cb9ab7d808145b80b556cd243
2020-06-07 13:31:37 +02:00
Reedy 300118615f Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I7f3189a5e5546edd7969935d2f7d12ebbaeaad6f
2020-05-20 01:03:00 +01:00
Timo Tijhof 9bf6f9480c Remove use of internal $messageMemc variable
The $messageMemc legacy global, is a BagOStuff intended for
MessageCache service, configured by wgMessageCacheType.

Use that directly as a short-term measure so that we can remove
$messageMemc initialization from Setup.php.

Bug: T189966
Bug: T243175
Change-Id: I04a0e578d76269fa02ee85cffee070dc3e1f4512
2020-03-18 17:14:49 +00:00
libraryupgrader 09d70a1f18 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingReturn

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I668c40626bbb60ff8c1ddc130ffdf95c6eefbd2e
2020-01-15 09:20:50 +00:00
Umherirrender 41c93cd4b6 Improve param docs
Change-Id: Id143b26039da91584f473063e7280e41ca241731
2019-12-12 20:15:59 +01: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
Reedy 52358f2362 Update MediaWiki namespaced AtEase global functions
Change-Id: I90fbb959b5011a4fa06a766b2dbe91554bcf3c71
2019-02-13 02:31:11 +00:00
Jack Phoenix c5495e6b4a Use $cache->makeKey() instead of wfMemcKey()
Change-Id: I9f13a36d232730d49c2d9d87f7f4ba9e7d09e855
2018-07-31 07:40:44 +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 TitleBlacklist.list.php (Browse further)