Commit graph

10 commits

Author SHA1 Message Date
James D. Forrester b22041413c Replace wfGetDB() with ICP getReplicaDatabase() etc.
Ahead of any decision to merge this extension into core, let's
actually fix this now.

Bug: T357646
Change-Id: I5128ce524c1a6a04bbe8b7607747eab84d892059
2024-03-21 20:02:00 +00:00
Umherirrender 6a97be19bf Use HookHandlers for core hook
The use of "HookHandlers" attribute in extension.json makes it possible
to inject services into hook handler classes in a future patch.

Bug: T271017
Change-Id: Ia27729fb69a0c80493b386f2e5d913602fb50698
2023-08-15 12:43:27 +02:00
Umherirrender d5ecaf0796 Replace deprecated Hooks::register
Bug: T335536
Change-Id: Ia39bbc8a2f0853ae69f966b65ff47551f3af941d
2023-05-07 01:50:35 +02:00
gerritbot e0bc80f826 Update moved class WikiMap
See T321882. Moved in I60cf4b9ef02b9d5

Bug: T321681
Change-Id: I3c8585128c8937824c32eba2207da4982817fc3d
2023-04-25 09:54:05 +00:00
Umherirrender d65018980f Replace deprecated Language::fetchLanguageName
Bug: T325962
Change-Id: Ib8bba98d88b55c9e9b4d31dcc877d28c0d1304bb
2022-12-28 12:57:47 +01:00
Alexander Vorwerk dac4379764 Replace usages of deprecated wfWikiID()
The global function wfWikiID() is deprecated since 1.35 and it's usages
should be replaced with WikiMap::getCurrentWikiId().

Bug: T298059
Change-Id: I1bf004218b30b2324c1dd87c18fab9945be04371
2021-12-22 08:36:26 +00:00
Reedy 38280e8d7b Fix two Explicitly typos
Change-Id: Iea1556af48ffb2c8a2b84cce5512a162db7534e8
2021-10-01 01:15:51 +01:00
libraryupgrader 7b24bf9103 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I7d9282765884b08d494a93713a2d892b44ead985
2021-09-09 10:54:22 +00:00
paladox 0be22a84a0 Fix calling "onInterwikiLoadPrefix" hook
Currently failing with "Error: Call to undefined function MediaWiki\Extension\Interwiki\Hooks()"

Bug: T283539
Change-Id: Iedbf0880814aac2ea414448ef84b307bcbf2fd41
2021-05-24 21:03:22 +00:00
Reedy 7bb8875696 Namespace extension
Change-Id: Ia510f65e739d21bcfd6072c82859109d05cf5dd1
2021-03-14 05:40:38 +00:00
Renamed from includes/InterwikiHooks.php (Browse further)