https://bugzilla.wikimedia.org/show_bug.cgi?id=46405
Web browser: ---
Bug ID: 46405
Summary: mw.title.new( pageid ) fails with Mediawiki error if
pageid doesn't exist
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Scribunto
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
If you call mw.title.new with a pageid that doesn't correspond to an actual
page, then you get the Mediawiki error page with message:
PHP fatal error in
/usr/local/apache/common-local/php-1.21wmf11/extensions/Scribunto/engines/LuaCommon/TitleLibrary.php
line 60:
Argument 1 passed to Scribunto_LuaTitleLibrary::returnTitleToLua() must be an
instance of Title, null given, called in
/usr/local/apache/common-local/php-1.21wmf11/extensions/Scribunto/engines/LuaCommon/TitleLibrary.php
on line 139 and defined
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l