https://bugzilla.wikimedia.org/show_bug.cgi?id=68698
Bug ID: 68698
Summary: PHP Notice: Did not find alias for special page
'TwoFactorAuth'
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: easy, i18n
Severity: normal
Priority: Unprioritized
Component: TwoFactorAuthentication
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
Ugh notice spam, what do you have against aliases? :)
https://www.mediawiki.org/wiki/Manual:Special_pages#The_aliases_file
PHP Notice: Did not find alias for special page 'TwoFactorAuth'. Perhaps no
aliases are defined for it? [Called from SpecialPageFactory::getLocalNameFor in
/srv/vagrant/mediawiki/includes/specialpage/SpecialPageFactory.php at line 597]
in /srv/vagrant/mediawiki/includes/debug/MWDebug.php on line 303
PHP Stack trace:
PHP 1. {main}() /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:0
PHP 2. MediaWikiPHPUnitCommand::main()
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160
PHP 3. PHPUnit_TextUI_Command->run()
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
PHP 4. PHPUnit_TextUI_TestRunner->doRun()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Framework_TestSuite->run()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:350
PHP 6. PHPUnit_Framework_TestSuite->run()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:709
PHP 7. PHPUnit_Framework_TestSuite->runTest()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:749
PHP 8. MediaWikiTestCase->run()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:779
PHP 9. PHPUnit_Framework_TestCase->run()
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
PHP 10. PHPUnit_Framework_TestResult->run()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:783
PHP 11. PHPUnit_Framework_TestCase->runBare()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php:648
PHP 12. PHPUnit_Framework_TestCase->runTest()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:838
PHP 13. ReflectionMethod->invokeArgs()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:988
PHP 14. ApiOptionsTest->testUserjsOption()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:988
PHP 15. ApiOptionsTest->executeQuery()
/srv/vagrant/mediawiki/tests/phpunit/includes/api/ApiOptionsTest.php:455
PHP 16. ApiOptions->execute()
/srv/vagrant/mediawiki/tests/phpunit/includes/api/ApiOptionsTest.php:151
PHP 17. Preferences::getPreferences()
/srv/vagrant/mediawiki/includes/api/ApiOptions.php:75
PHP 18. wfRunHooks() /srv/vagrant/mediawiki/includes/Preferences.php:99
PHP 19. Hooks::run() /srv/vagrant/mediawiki/includes/GlobalFunctions.php:4031
PHP 20. call_user_func_array() /srv/vagrant/mediawiki/includes/Hooks.php:206
PHP 21. TwoFactorAuthHooks::onGetPreferences()
/srv/vagrant/mediawiki/includes/Hooks.php:206
PHP 22. SpecialPage::getTitleFor()
/srv/vagrant/mediawiki/extensions/TwoFactorAuthentication/TwoFactorAuth.hooks.php:66
PHP 23. SpecialPageFactory::getLocalNameFor()
/srv/vagrant/mediawiki/includes/specialpage/SpecialPage.php:70
PHP 24. wfWarn()
/srv/vagrant/mediawiki/includes/specialpage/SpecialPageFactory.php:597
PHP 25. MWDebug::warning()
/srv/vagrant/mediawiki/includes/GlobalFunctions.php:1189
PHP 26. MWDebug::sendMessage()
/srv/vagrant/mediawiki/includes/debug/MWDebug.php:157
PHP 27. trigger_error() /srv/vagrant/mediawiki/includes/debug/MWDebug.php:303
PHP Notice: Did not find alias for special page 'TwoFactorAuth'. Perhaps no
aliases are defined for it? [Called from SpecialPageFactory::getLocalNameFor in
/srv/vagrant/mediawiki/includes/specialpage/SpecialPageFactory.php at line 597]
in /srv/vagrant/mediawiki/includes/debug/MWDebug.php on line 303
PHP Stack trace:
PHP 1. {main}() /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:0
PHP 2. MediaWikiPHPUnitCommand::main()
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160
PHP 3. PHPUnit_TextUI_Command->run()
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
PHP 4. PHPUnit_TextUI_TestRunner->doRun()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Framework_TestSuite->run()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:350
PHP 6. PHPUnit_Framework_TestSuite->run()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:709
PHP 7. PHPUnit_Framework_TestSuite->runTest()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:749
PHP 8. MediaWikiTestCase->run()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:779
PHP 9. PHPUnit_Framework_TestCase->run()
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
PHP 10. PHPUnit_Framework_TestResult->run()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:783
PHP 11. PHPUnit_Framework_TestCase->runBare()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php:648
PHP 12. PHPUnit_Framework_TestCase->runTest()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:838
PHP 13. ReflectionMethod->invokeArgs()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:988
PHP 14. ApiOptionsTest->testUserjsOption()
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:988
PHP 15. ApiOptionsTest->executeQuery()
/srv/vagrant/mediawiki/tests/phpunit/includes/api/ApiOptionsTest.php:455
PHP 16. ApiOptions->execute()
/srv/vagrant/mediawiki/tests/phpunit/includes/api/ApiOptionsTest.php:151
PHP 17. Preferences::getPreferences()
/srv/vagrant/mediawiki/includes/api/ApiOptions.php:75
PHP 18. wfRunHooks() /srv/vagrant/mediawiki/includes/Preferences.php:99
PHP 19. Hooks::run() /srv/vagrant/mediawiki/includes/GlobalFunctions.php:4031
PHP 20. call_user_func_array() /srv/vagrant/mediawiki/includes/Hooks.php:206
PHP 21. TwoFactorAuthHooks::onGetPreferences()
/srv/vagrant/mediawiki/includes/Hooks.php:206
PHP 22. Linker::link()
/srv/vagrant/mediawiki/extensions/TwoFactorAuthentication/TwoFactorAuth.hooks.php:68
PHP 23. Linker::normaliseSpecialPage()
/srv/vagrant/mediawiki/includes/Linker.php:218
PHP 24. SpecialPage::getTitleFor()
/srv/vagrant/mediawiki/includes/Linker.php:459
PHP 25. SpecialPageFactory::getLocalNameFor()
/srv/vagrant/mediawiki/includes/specialpage/SpecialPage.php:70
PHP 26. wfWarn()
/srv/vagrant/mediawiki/includes/specialpage/SpecialPageFactory.php:597
PHP 27. MWDebug::warning()
/srv/vagrant/mediawiki/includes/GlobalFunctions.php:1189
PHP 28. MWDebug::sendMessage()
/srv/vagrant/mediawiki/includes/debug/MWDebug.php:157
PHP 29. trigger_error() /srv/vagrant/mediawiki/includes/debug/MWDebug.php:303
--
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