Topic on Project:Support desk

71.57.118.25 (talkcontribs)

When using Cite web/book/journal I get the following error:

"Fatal error: Call to undefined method OutputPage::getTarget() in /home4/cms/public_html/bereawiki.com/extensions/Scribunto/common/Hooks.php on line 379"

I am currently using Mediawiki 1.24.1 and have the latest installation of both Cite and Scribunto, so I'm not sure why there is a problem using citations. The line in the Scribunto file referenced says the following:

"if ( $outputPage->getTarget() === 'mobile' ) {"

Also, when editing the page before the error starts, I notice a template is missing, Quoted text. I tried finding the Quoted_text template but Wikipedia does not appear to have it. I suspect that is a separate error though as removing all citations results in the page working even though it still says that template is missing.

Perhaps there is an issue with mobile compatibility somehow?

71.57.118.25 (talkcontribs)

I tried downloading two new extensions, MobileApp and MobileFrontEnd. When I downloaded MobileFrontEnd, the entire wiki reverted somehow to a previous version, and is now saying the version is 1.21.0rc5 - resulting in an error message for the entire wiki.

71.57.118.25 (talkcontribs)

Now it is giving an error of "Fatal error: Call to undefined method MagicWord::matchStartToEnd() in /home4/cms/public_html/___/extensions/ParserFunctions/ParserFunctions_body.php on line 227"

That line in ParserFunctions says the following:

"} elseif ( $defaultFound || $mwDefault->matchStartToEnd( $test ) ) {"

Ciencia Al Poder (talkcontribs)

You appear to be downloading extensions that are for different MediaWiki version than the one you have installed. Please, check your MediaWiki version on the Special:Version page, and download extensions for that version and not just the latest one.

Reply to "Cite/Scribunto Error"