Thread:Project:Support desk/'invalid magic word 'rootpagename (2)/reply (25)

So, I tried to fix it thusly :(

Dropping index... Rebuilding index fields for 2078 pages... 500 1000 1500 2000
 * 1) php rebuildall.php
 * Rebuilding fulltext search index (if you abort this will break searching; run this script again to fix):

Rebuild the index... Done.

Loading from page and revision tables... $wgRCMaxAge=7862400 (91 days) Updating links and size differences... Loading from user, page, and logging tables... Flagging bot account edits... Flagging auto-patrolled edits... Deleting feed timestamps. Done.
 * Rebuilding recentchanges table:

Refreshing redirects table. Starting from page_id 1 of 2078. 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 Refreshing links tables. Starting from page_id 1 of 2078. "" is not a valid magic word for "rootpagename" [fcdec2da] [no req]  Exception from line 316 of /var/www/html/mediawiki-1.22.0/includes/MagicWord.php: Error: invalid magic word 'rootpagename' Backtrace:
 * Rebuilding links tables -- this can take a long time. It should be safe to abort via ctrl+C if you get bored.
 * 1) 0 /var/www/html/mediawiki-1.22.0/includes/MagicWord.php(239): MagicWord->load(string)
 * 2) 1 /var/www/html/mediawiki-1.22.0/includes/parser/Parser.php(4982): MagicWord::get(string)
 * 3) 2 /var/www/html/mediawiki-1.22.0/includes/parser/CoreParserFunctions.php(91): Parser->setFunctionHook(string, array, integer)
 * 4) 3 /var/www/html/mediawiki-1.22.0/includes/parser/Parser.php(271): CoreParserFunctions::register(Parser)
 * 5) 4 /var/www/html/mediawiki-1.22.0/includes/parser/Parser.php(287): Parser->firstCallInit
 * 6) 5 /var/www/html/mediawiki-1.22.0/includes/parser/Parser.php(4823): Parser->clearState
 * 7) 6 /var/www/html/mediawiki-1.22.0/includes/parser/Parser.php(367): Parser->startParse(Title, ParserOptions, integer, boolean)
 * 8) 7 /var/www/html/mediawiki-1.22.0/includes/content/WikitextContent.php(300): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
 * 9) 8 /var/www/html/mediawiki-1.22.0/includes/content/AbstractContent.php(239): WikitextContent->getParserOutput(Title, NULL, NULL, boolean)
 * 10) 9 /var/www/html/mediawiki-1.22.0/maintenance/refreshLinks.php(244): AbstractContent->getSecondaryDataUpdates(Title)
 * 11) 10 /var/www/html/mediawiki-1.22.0/maintenance/refreshLinks.php(172): RefreshLinks::fixLinksFromArticle(integer)
 * 12) 11 /var/www/html/mediawiki-1.22.0/maintenance/refreshLinks.php(53): RefreshLinks->doRefreshLinks(integer, boolean, integer, integer, boolean, boolean)
 * 13) 12 /var/www/html/mediawiki-1.22.0/maintenance/rebuildall.php(58): RefreshLinks->execute
 * 14) 13 /var/www/html/mediawiki-1.22.0/maintenance/doMaintenance.php(113): RebuildAll->execute
 * 15) 14 /var/www/html/mediawiki-1.22.0/maintenance/rebuildall.php(65): require_once(string)
 * 16) 15 {main}