We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b7687 commit 1d5af5cCopy full SHA for 1d5af5c
1 file changed
includes/api/KnowledgeGraphApiLoadProperties.php
@@ -7,7 +7,7 @@
7
* @author thomas-topway-it for KM-A
8
*/
9
10
-use MediaWiki\Extension\KnowledgeGraph\Aliases\Title as TitleClass;
+use MediaWiki\Title\Title;
11
12
class KnowledgeGraphApiLoadProperties extends ApiBase {
13
@@ -45,7 +45,7 @@ public function execute() {
45
46
$params['nodes'] = explode( '|', $params['nodes'] );
47
foreach ( $params['nodes'] as $titleText ) {
48
- $title_ = TitleClass::newFromText( $titleText );
+ $title_ = Title::newFromText( $titleText );
49
if ( $title_ && $title_->isKnown() ) {
50
if ( !isset( self::$data[$title_->getFullText()] ) ) {
51
\KnowledgeGraph::setSemanticDataFromApi(
0 commit comments