Skip to content

Commit 67b6624

Browse files
committed
fix: use self::getWikiPage instead of direct WikiPage::factory
1 parent aec083f commit 67b6624

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ endif
1111
EXTENSION=KnowledgeGraph
1212

1313
# docker images
14-
MW_VERSION?=1.39
15-
PHP_VERSION?=8.1
14+
MW_VERSION?=1.43
15+
PHP_VERSION?=8.3
1616
DB_TYPE?=mysql
1717
DB_IMAGE?="mariadb:10"
1818

includes/KnowledgeGraph.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private static function ensureKnowledgeGraphOptionsPageExists() {
151151
return;
152152
}
153153

154-
$wikiPage = WikiPage::factory( $title );
154+
$wikiPage = self::getWikiPage( $title );
155155
if ( $wikiPage->exists() ) {
156156
return;
157157
}

0 commit comments

Comments
 (0)