Hi,
I just upgraded from MediaWiki 1.13 to 1.15.
I also upgraded the extension ParserFunctions which I updated directly from SVN to the last version:
$ svn info Path: . URL: http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ParserFunctions Repository Root: http://svn.wikimedia.org/svnroot/mediawiki Repository UUID: dd0e9695-b195-4be7-bd10-2dea1a65a6b6 Revision: 53274 Node Kind: directory Schedule: normal Last Changed Author: siebrand Last Changed Rev: 52757 Last Changed Date: 2009-07-04 01:41:53 +0200 (Sat, 04 Jul 2009)
$ svn update U Expr.php U ParserFunctions.i18n.magic.php U ParserFunctions_body.php U ParserFunctions.i18n.php U ParserFunctions.php U funcsParserTests.txt Updated to revision 67914.
Now I get the following error when I go to my Mediawiki:
Magic word 'if' not found
Backtrace:
#0 /usr/local/share/mediawiki/includes/MagicWord.php(244): Language->getMagic(Object(MagicWord)) #1 /usr/local/share/mediawiki/includes/MagicWord.php(197): MagicWord->load('if') #2 /usr/local/share/mediawiki/includes/parser/Parser.php(4034): MagicWord::get('if') #3 /usr/local/share/mediawiki/extensions/ParserFunctions/ParserFunctions.php(72): Parser->setFunctionHook('if', Array, 2) #4 [internal function]: ParserFunctions_HookStub->registerParser(Object(Parser)) #5 /usr/local/share/mediawiki/includes/Hooks.php(117): call_user_func_array(Array, Array) #6 /usr/local/share/mediawiki/includes/parser/Parser.php(178): wfRunHooks('ParserFirstCall...', Array) #7 /usr/local/share/mediawiki/includes/parser/Parser.php(190): Parser->firstCallInit() #8 /usr/local/share/mediawiki/includes/parser/Parser.php(312): Parser->clearState() #9 /usr/local/share/mediawiki/includes/Article.php(3557): Parser->parse('{{Box?|Headline...', Object(Title), Object(ParserOptions), true, true, 10103) #10 /usr/local/share/mediawiki/includes/Article.php(979): Article->outputWikiText('{{Box?|Headline...') #11 /usr/local/share/mediawiki/includes/Wiki.php(450): Article->view() #12 /usr/local/share/mediawiki/includes/Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #13 /usr/local/share/mediawiki/index.php(116): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest)) #14 {main}
Does anybody know how I could resolve this?
Regards, Luke
Lukas Haase wrote:
Hi,
I just upgraded from MediaWiki 1.13 to 1.15.
I also upgraded the extension ParserFunctions which I updated directly from SVN to the last version:
Does anybody know how I could resolve this?
Regards, Luke
Trunk parserfunctions may not be 1.15 compatible. Try checking out http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_15/extensions/Parse...
(btw, you can also update MediaWiki from svn this way, relocating when upgrading)
Am 13.06.2010 23:22, schrieb Platonides:
Lukas Haase wrote:
Hi,
I just upgraded from MediaWiki 1.13 to 1.15.
I also upgraded the extension ParserFunctions which I updated directly from SVN to the last version:
Does anybody know how I could resolve this?
Regards, Luke
Trunk parserfunctions may not be 1.15 compatible. Try checking out http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_15/extensions/Parse...
Nice, I did not realize that any extension is in the appropriate branch...
(btw, you can also update MediaWiki from svn this way, relocating when upgrading)
Oh well I exactly did this!
My first checkout was:
http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_13/phase3
And then I did
svn switch http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_15
Until now, then everytime I changed to the "extensions" folder and did svn update on each extension which is checked out from SVN.
You say that I can "relocate" them automatically when I upgrade the MediaWiki itself (i.e. when I do svn switch)?
How do I do this?
Luke
mediawiki-l@lists.wikimedia.org