Is this extension supported by MediaWiki 1.19? When I try it, it only produces "Loading page..." Thanks, Pjrich (talk) 00:52, 3 August 2012 (UTC)
Topic on Extension talk:Include WP
Never tried it with 1.19. If it does not work, it's probably trivial to fix.
With a first test it works with 1.19.2, but the text must be without {}. So <include page="Text" />
Instead my problem is that points only to en.wikipedia and I wish to point ALSO to it.wikipedia.
Version 1.20 it throws:
Error: invalid magic word 'include'
Backtrace:
- 0 /path/to/wiki/includes/MagicWord.php(236): MagicWord->load('include')
- 1 /path/to/wiki/includes/parser/Parser.php(4765): MagicWord::get('include')
- 2 /path/to/wiki/extensions/Validator/includes/ParserHook.php(211): Parser->setFunctionHook('include', Array, 2)
- 3 /path/to/wiki/extensions/IncludeWP/IncludeWP.class.php(25): ParserHook->init(Object(Parser))
- 4 [internal function]: IncludeWP::staticInit(Object(Parser))
- 5 /path/to/wiki/includes/Hooks.php(216): call_user_func_array('IncludeWP::stat...', Array)
- 6 /path/to/wiki/includes/GlobalFunctions.php(3823): Hooks::run('ParserFirstCall...', Array)
- 7 /path/to/wiki/includes/parser/Parser.php(257): wfRunHooks('ParserFirstCall...', Array)
- 8 [internal function]: Parser->firstCallInit()
- 9 /path/to/wiki/includes/StubObject.php(79): call_user_func_array(Array, Array)
- 10 /path/to/wiki/includes/StubObject.php(99): StubObject->_call('firstCallInit', Array)
- 11 /path/to/wiki/includes/cache/MessageCache.php(829): StubObject->__call('firstCallInit', Array)
- 12 /path/to/wiki/includes/cache/MessageCache.php(829): StubObject->firstCallInit()
- 13 /path/to/wiki/includes/cache/MessageCache.php(807): MessageCache->getParser()
- 14 /path/to/wiki/includes/Message.php(618): MessageCache->transform('$1 - {{SITENAME...', true, Object(Language), Object(Title))
- 15 /path/to/wiki/includes/Message.php(436): Message->transformText('$1 - {{SITENAME...')
- 16 /path/to/wiki/includes/Message.php(476): Message->toString()
- 17 /path/to/wiki/includes/OutputPage.php(790): Message->text()
- 18 /path/to/wiki/includes/OutputPage.php(833): OutputPage->setHTMLTitle(Object(Message))
- 19 /path/to/wiki/includes/Article.php(485): OutputPage->setPageTitle('Main Page')
- 20 /path/to/wiki/includes/actions/ViewAction.php(37): Article->view()
- 21 /path/to/wiki/includes/Wiki.php(427): ViewAction->show()
- 22 /path/to/wiki/includes/Wiki.php(304): MediaWiki->performAction(Object(Article))
- 23 /path/to/wiki/includes/Wiki.php(536): MediaWiki->performRequest()
- 24 /path/to/wiki/includes/Wiki.php(446): MediaWiki->main()
- 25 /path/to/wiki/index.php(59): MediaWiki->run()
- 26 {main}
Any ideas?
This is very likely because you have a version of Validator to recent for this extension. I suspect it will not work with Validator 0.5 or later.