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