https://bugzilla.wikimedia.org/show_bug.cgi?id=62966
Bug ID: 62966
Summary: fixdoubleredirects script doesn't set title for
Context
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Maintenance scripts
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
$ php fixDoubleRedirects.php
PHP Fatal error: Call to a member function getNamespace() on a non-object in
.../extensions/UserFunctions/UserFunctions.php on line 81
PHP Stack trace:
PHP 1. {main}() .../maintenance/fixDoubleRedirects.php:0
PHP 2. require_once() .../maintenance/fixDoubleRedirects.php:120
PHP 3. FixDoubleRedirects->execute() .../maintenance/doMaintenance.php:105
PHP 4. DoubleRedirectJob->run() .../maintenance/fixDoubleRedirects.php:89
PHP 5. WikiPage->doEdit() .../includes/job/DoubleRedirectJob.php:131
PHP 6. WikiPage->prepareTextForEdit() .../includes/WikiPage.php:1290
PHP 7. Parser->preSaveTransform() .../includes/WikiPage.php:1520
PHP 8. Parser->startParse() .../includes/parser/Parser.php:4305
PHP 9. Parser->clearState() .../includes/parser/Parser.php:4552
PHP 10. Parser->firstCallInit() .../includes/parser/Parser.php:249
PHP 11. wfRunHooks() .../includes/parser/Parser.php:237
PHP 12. Hooks::run() .../includes/GlobalFunctions.php:3859
PHP 13. call_user_func_array() .../includes/Hooks.php:216
PHP 14. UserFunctions_HookStub->registerParser() .../includes/Hooks.php:0
Seen on a 1.19 installation, but I think others are suceptible.
Patch and backport coming.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l