https://bugzilla.wikimedia.org/show_bug.cgi?id=19574

           Summary: parserTests.php fails with MagicWordArray->parseMatch
                    backtrace
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Database
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I'm unable to find out why this is happening. At first I thought it had
something to do with the l10n cache but running 
maintenance/rebuildLocalisationCache.php didn't change anything:

a...@aoeu:~/mw$ php maintenance/parserTests.php 
php maintenance/parserTests.php
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot
open shared object \
file: No such file or directory in Unknown on line 0
This is MediaWiki version 1.16alpha(r52869).

Reading tests from "maintenance/parserTests.txt"...
"" is not a valid magic thingie for "redirect"
"" is not a valid magic thingie for "int"
"" is not a valid magic thingie for "ns"
"" is not a valid magic thingie for "urlencode"
"" is not a valid magic thingie for "lcfirst"
"" is not a valid magic thingie for "ucfirst"
"" is not a valid magic thingie for "lc"
"" is not a valid magic thingie for "uc"
"" is not a valid magic thingie for "localurl"
"" is not a valid magic thingie for "localurle"
"" is not a valid magic thingie for "fullurl"
"" is not a valid magic thingie for "fullurle"
"" is not a valid magic thingie for "formatnum"
"" is not a valid magic thingie for "grammar"
"" is not a valid magic thingie for "gender"
"" is not a valid magic thingie for "plural"
"" is not a valid magic thingie for "numberofpages"
"" is not a valid magic thingie for "numberofusers"
"" is not a valid magic thingie for "numberofactiveusers"
"" is not a valid magic thingie for "numberofarticles"
"" is not a valid magic thingie for "numberoffiles"
"" is not a valid magic thingie for "numberofadmins"
"" is not a valid magic thingie for "numberingroup"
"" is not a valid magic thingie for "numberofedits"
"" is not a valid magic thingie for "numberofviews"
"" is not a valid magic thingie for "language"
"" is not a valid magic thingie for "padleft"
"" is not a valid magic thingie for "padright"
"" is not a valid magic thingie for "anchorencode"
"" is not a valid magic thingie for "special"
"" is not a valid magic thingie for "defaultsort"
"" is not a valid magic thingie for "filepath"
"" is not a valid magic thingie for "pagesincategory"
"" is not a valid magic thingie for "pagesize"
"" is not a valid magic thingie for "protectionlevel"
"" is not a valid magic thingie for "namespace"
"" is not a valid magic thingie for "namespacee"
"" is not a valid magic thingie for "talkspace"
"" is not a valid magic thingie for "talkspacee"
"" is not a valid magic thingie for "subjectspace"
"" is not a valid magic thingie for "subjectspacee"
"" is not a valid magic thingie for "pagename"
"" is not a valid magic thingie for "pagenamee"
"" is not a valid magic thingie for "fullpagename"
"" is not a valid magic thingie for "fullpagenamee"
"" is not a valid magic thingie for "basepagename"
"" is not a valid magic thingie for "basepagenamee"
"" is not a valid magic thingie for "subpagename"
"" is not a valid magic thingie for "subpagenamee"
"" is not a valid magic thingie for "talkpagename"
"" is not a valid magic thingie for "talkpagenamee"
"" is not a valid magic thingie for "subjectpagename"
"" is not a valid magic thingie for "subjectpagenamee"
"" is not a valid magic thingie for "tag"
"" is not a valid magic thingie for "formatdate"
"" is not a valid magic thingie for "displaytitle"
"" is not a valid magic thingie for "toc"
"" is not a valid magic thingie for "notoc"
"" is not a valid magic thingie for "nogallery"
"" is not a valid magic thingie for "forcetoc"
"" is not a valid magic thingie for "noeditsection"
"" is not a valid magic thingie for "newsectionlink"
"" is not a valid magic thingie for "nonewsectionlink"
"" is not a valid magic thingie for "hiddencat"
"" is not a valid magic thingie for "index"
"" is not a valid magic thingie for "noindex"
"" is not a valid magic thingie for "staticredirect"
MagicWordArray::parseMatch: parameter not found
Backtrace:
#0 /home/avar/src/mw/trunk/phase3/includes/MagicWord.php(665):
MagicWordArray->parseMatch(Array)
#1 /home/avar/src/mw/trunk/phase3/includes/parser/Parser.php(3360):
MagicWordArray->matchAndRemove('<!--MWTOC-->bla...')
#2 /home/avar/src/mw/trunk/phase3/includes/parser/Parser.php(888):
Parser->doDoubleUnderscore('blah blah')
#3 /home/avar/src/mw/trunk/phase3/includes/parser/Parser.php(327):
Parser->internalParse('blah blah')
#4 /home/avar/src/mw/trunk/phase3/includes/Article.php(2946):
Parser->parse('blah blah', Object(Title), Object(ParserOptions), true, true,
NULL)
#5 /home/avar/src/mw/trunk/phase3/includes/Article.php(1644):
Article->prepareTextForEdit('blah blah')
#6 /home/avar/src/mw/trunk/phase3/includes/Article.php(1491):
Article->doEdit('blah blah', '', 97)
#7 /home/avar/src/mw/trunk/phase3/maintenance/parserTests.inc(1022):
Article->insertNewArticle('blah blah', '', false, false)
#8 /home/avar/src/mw/trunk/phase3/maintenance/parserTests.inc(307):
ParserTest->addArticle('Main Page', 'blah blah', 34)
#9 /home/avar/src/mw/trunk/phase3/maintenance/parserTests.inc(273):
ParserTest->runFile('/home/avar/src/...')
#10 /home/avar/src/mw/trunk/phase3/maintenance/parserTests.php(75):
ParserTest->runTestsFromFiles(Array)
#11 {main}


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to