Commit graph

15 commits

Author SHA1 Message Date
Umherirrender 4f661bfde7 Use HookHandlers for core hook
Remove optional return value from hook handler

Bug: T346497
Change-Id: I8c38733c5edebf7b3a49edd33474b7c1aa755659
2023-09-17 16:21:43 +02:00
James D. Forrester f7fc64716b build: Update MediaWiki requirement to 1.41
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: I99ff80b882443ce74fcbd53df548156320d221d7
2023-08-19 14:02:38 +08:00
Reedy 80d1b67f19 Namespace extension
Change-Id: I0894842014e1a73f419c90cf11c8334ac102242a
2022-06-25 20:02:38 +00:00
C. Scott Ananian fe2388f191 Replace deprecated Sanitizer::removeHTMLtags() with safer ::removeSomeTags()
The minimum required MW version has been bumped to 1.38.

Depends-On: Ic864c01471c292f11799c4fbdac4d7d30b8bc50f
Change-Id: I83923d8b38d33f3638cd53958dd10f257ec21f7c
2022-03-04 14:26:41 -05:00
Alexander Vorwerk 01db40bcc1 Avoid using WikiPage::factory()
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().

Bug: T297688
Change-Id: I20898d956230627d820986a683c20bb487d1083b
2022-02-12 00:43:38 +00:00
Umherirrender 3df840d216 Pass function name to HttpRequestFactory::create
Useful for logging
Replace deprecated MWHttpRequest::factory with service (since 1.32)

Change-Id: I81d8d350730f0f7da5cbf0a1463aaffbc07d2fab
2020-06-07 12:33:49 +02:00
Reedy 47545e9eaa Convert to manifest_version 2
Bug: T252470
Change-Id: Iae4e08dafd74130dcb27f22f92c18b1db0c32bdb
2020-05-12 02:04:31 +01:00
Umherirrender 64aaf72d6c Move all php classes into includes folder
Change-Id: I38c0eeeb1ee401f61bb205bd90eb4bbb21e46711
2019-04-24 21:20:11 +02:00
C. Scott Ananian 9a706dd1c6 Replace uses of deprecated Language::truncate()
See I2291c69d9df17c1a9e4ab1b7d4cbc73bc51d3ebb for the anticipated
hard-deprecation of this method in core.

Bug: T197492
Change-Id: Idb8b671245771964853eedb60eeaaacd76b5ef13
2018-06-15 18:25:03 -04:00
Kunal Mehta dead41ed99 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Id997a5350a0de6e6a177a411008c100b696a96ac
2018-03-02 15:34:38 -08:00
Umherirrender 901329cb18 Move RSSUtils to own file
Makes MediaWiki.Files.OneClassPerFile.MultipleFound pass

Change-Id: If3313f598589a48b7ad5bae65aed8536de48c0e8
2017-12-21 22:14:55 +01:00
Umherirrender 321bb9fa63 Set license-name in extension.json
Bug: T123943
Change-Id: I25aeeb6ff847fdd718fbb90344c8bd1a30290aaf
2017-07-28 11:30:10 +02:00
codynguyen1116 f53c0a68b2 v2.25.1 - Remove old compatibility shims
Change-Id: Ic3a92f89fb51d7b674b1de6d9b5f44afa7bf02db
2017-01-23 09:12:04 -06:00
Umherirrender 67c99b3fff Fix MessagesDirs in extension.json
At the moment messages loaded over the shim.

Change-Id: I1ef11c1ef4ef609dc37749e37d3e51b669ce5bf3
2016-12-09 11:48:42 +01:00
Justin Du 937cc81686 Convert RSS to use new extension registration
Bug: T87968
Change-Id: Iadd0a7baa826a1dee815c3b56b7a43c2c07e255b
2016-07-26 19:58:18 +00:00