Page MenuHomePhabricator

MagicWordArray exception on search
Closed, ResolvedPublic

Description

Author: michael.moroni

Description:
I looked for "Letteratura vietnamita" with Firefox searchbar under Windows Vista and compares a page titled "<internalerror>" containing this text:

MagicWordArray::parseMatch: parameter not found

Backtrace:

#0 /usr/local/apache/common-local/wmf-deployment/includes/MagicWord.php(674): MagicWordArray->parseMatch(Array)
#1 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(3394): MagicWordArray->matchAndRemove('<!--MWTOC-->{{P...')
#2 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(909): Parser->doDoubleUnderscore('{{PLURAL:20|Ris...')
#3 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(328): Parser->internalParse('{{PLURAL:20|Ris...')
#4 [internal function]: Parser->parse('{{PLURAL:20|Ris...', Object(Title), Object(ParserOptions), true, true, NULL)
#5 /usr/local/apache/common-local/wmf-deployment/includes/StubObject.php(58): call_user_func_array(Array, Array)
#6 /usr/local/apache/common-local/wmf-deployment/includes/StubObject.php(76): StubObject->_call('parse', Array)
#7 [internal function]: StubObject->__call('parse', Array)
#8 /usr/local/apache/common-local/wmf-deployment/includes/OutputPage.php(905): StubObject->parse('{{PLURAL:20|Ris...', Object(Title), Object(ParserOptions), true, true, NULL)
#9 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(841): OutputPage->parse('{{PLURAL:20|Ris...', true, true)
#10 /usr/local/apache/common-local/wmf-deployment/includes/specials/SpecialSearch.php(914): wfMsgExt('showingresultsh...', Array, '1', '20', '376', 'Letteratura vie...', '20')
#11 /usr/local/apache/common-local/wmf-deployment/includes/specials/SpecialSearch.php(254): SpecialSearch->formHeader('Letteratura vie...', 20, 376)
#12 /usr/local/apache/common-local/wmf-deployment/includes/specials/SpecialSearch.php(109): SpecialSearch->showResults('Letteratura vie...')
#13 /usr/local/apache/common-local/wmf-deployment/includes/specials/SpecialSearch.php(45): SpecialSearch->goResult('Letteratura vie...')
#14 [internal function]: wfSpecialSearch(NULL, Object(SpecialPage))
#15 /usr/local/apache/common-local/wmf-deployment/includes/SpecialPage.php(790): call_user_func('wfSpecialSearch', NULL, Object(SpecialPage))
#16 /usr/local/apache/common-local/wmf-deployment/includes/SpecialPage.php(559): SpecialPage->execute(NULL)
#17 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(242): SpecialPage::executePath(Object(Title))
#18 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(64): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#19 /usr/local/apache/common-local/wmf-deployment/index.php(117): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#20 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#21 {main}


Version: 1.16.x
Severity: enhancement

Details

Reference
bz21866

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:54 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz21866.
bzimport added a subscriber: Unknown Object (MLST).

Retitling bug to something more useful than <internalerror>. I cannot confirm this bug, though.

conrad.irwin wrote:

It can be caused by having an out-of-date languages/messages/MessagesEn.php. If that solves your problem let us know, and we can improve the error message.

michael.moroni wrote:

It seems to be fixed. If someone could check it...