Skip to content

Commit

Permalink
Merge pull request #94 from Func86/deprecate
Browse files Browse the repository at this point in the history
Replace usages of deprecated wfWikiID()
  • Loading branch information
Nikerabbit authored Nov 26, 2023
2 parents 6573e0e + 4227c2e commit ff609c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This [video](https://vimeo.com/115871518) demonstrates the functionality of the
## Requirements

- PHP 7.1 or later
- MediaWiki 1.31 or later
- MediaWiki 1.35 or later
- [Semantic MediaWiki][smw] 3.0 or later

## Installation
Expand Down
2 changes: 1 addition & 1 deletion SemanticInterlanguageLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function onExtensionFunction() {
] );

$cacheKeyProvider = new CacheKeyProvider(
$GLOBALS['wgCachePrefix'] === false ? wfWikiID() : $GLOBALS['wgCachePrefix']
$GLOBALS['wgCachePrefix'] === false ? WikiMap::getCurrentWikiId() : $GLOBALS['wgCachePrefix']
);

$hookRegistry = new HookRegistry(
Expand Down
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license-name": "GPL-2.0-or-later",
"type": "semantic",
"requires": {
"MediaWiki": ">= 1.31"
"MediaWiki": ">= 1.35"
},
"MessagesDirs": {
"SemanticInterlanguageLinks": [
Expand Down

0 comments on commit ff609c0

Please sign in to comment.