diff --git a/includes/Engines/LuaCommon/TitleLibrary.php b/includes/Engines/LuaCommon/TitleLibrary.php index 5c4d8b16..5b34b45b 100644 --- a/includes/Engines/LuaCommon/TitleLibrary.php +++ b/includes/Engines/LuaCommon/TitleLibrary.php @@ -291,7 +291,7 @@ class TitleLibrary extends LibraryBase { */ private function getContentInternal( $text ) { $title = Title::newFromText( $text ); - if ( !$title || $title->isExternal() ) { + if ( !$title || !$title->canExist() ) { return null; }