Page MenuHomePhabricator

$wgEnableTooltipsAndAccesskeys = false is broken
Closed, ResolvedPublic

Description

Author: mozcatbug

Description:
Set $wgEnableTooltipsAndAccesskeys to false in the latest SVN.

Expected: Tooltips and access keys are disabled.
Actual: MediaWiki returns an exception.

The message given for this is: MediaWiki internal error.

Original exception: exception 'MWException' with message 'Expected attribute array, got something else in Xml::expandAttributes' in /Applications/XAMPP/xamppfiles/htdocs/includes/Xml.php:53
Stack trace:
#0 /Applications/XAMPP/xamppfiles/htdocs/includes/Linker.php(2015): Xml::expandAttributes('')
#1 /Applications/XAMPP/xamppfiles/htdocs/skins/Vector.php(404): Linker->tooltipAndAccesskey('ca-special')
#2 /Applications/XAMPP/xamppfiles/htdocs/includes/SkinTemplate.php(505): VectorTemplate->execute()
#3 /Applications/XAMPP/xamppfiles/htdocs/includes/OutputPage.php(1090): SkinTemplate->outputPage(Object(OutputPage))
#4 /Applications/XAMPP/xamppfiles/htdocs/includes/Wiki.php(376): OutputPage->output()
#5 /Applications/XAMPP/xamppfiles/htdocs/index.php(118): MediaWiki->finalCleanup(Array, Object(OutputPage))
#6 {main}

Exception caught inside exception handler: exception 'MWException' with message 'Expected attribute array, got something else in Xml::expandAttributes' in /Applications/XAMPP/xamppfiles/htdocs/includes/Xml.php:53
Stack trace:
#0 /Applications/XAMPP/xamppfiles/htdocs/includes/Linker.php(2015): Xml::expandAttributes('')
#1 /Applications/XAMPP/xamppfiles/htdocs/skins/Vector.php(404): Linker->tooltipAndAccesskey('ca-special')
#2 /Applications/XAMPP/xamppfiles/htdocs/includes/SkinTemplate.php(505): VectorTemplate->execute()
#3 /Applications/XAMPP/xamppfiles/htdocs/includes/OutputPage.php(1090): SkinTemplate->outputPage(Object(OutputPage))
#4 /Applications/XAMPP/xamppfiles/htdocs/includes/Exception.php(164): OutputPage->output()
#5 /Applications/XAMPP/xamppfiles/htdocs/includes/Exception.php(191): MWException->reportHTML()
#6 /Applications/XAMPP/xamppfiles/htdocs/includes/Exception.php(289): MWException->report()
#7 /Applications/XAMPP/xamppfiles/htdocs/includes/Exception.php(348): wfReportException(Object(MWException))
#8 [internal function]: wfExceptionHandler(Object(MWException))
#9 {main}


Version: 1.16.x
Severity: normal

Details

Reference
bz21952

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:47 PM
bzimport set Reference to bz21952.
bzimport added a subscriber: Unknown Object (MLST).

overlordq wrote:

Should be fixed in r60421