Make sure you're using the REL1_23 version of the extension, not the
master version. Not to say that this is the reason for the problem,
but extensions should always match release version.
On Mon, Nov 3, 2014 at 7:43 AM, Katharina Wolkwitz <wolkwitz(a)fh-swf.de> wrote:
Hello everybody,
I've just updated my wiki from version 1.16.2 to version 1.23.5 and updated the
extension Renamuser to the current version. But when I try to open the
rename-user-page in my wiki I get the following error-message:
Fatal error: Call to undefined method SpecialRenameuser::getOutput() in
/opt/lampp/htdocs/_fhbwiki/extensions/Renameuser/specials/SpecialRenameuser.php
on line 24
When looking at the file mentioned in the error-message I noticed that there is
indeed no such function as getOutput in this file. With the help of grep I
ensured that there is no such function in the whole
/opt/lampp/htdocs/_fhbwiki/extensions/Renameuser-directory
I even went so far as to have grep look in my whole wiki-directory:
wiki-t00:/opt/lampp/htdocs/_fhbwiki # grep -i -r 'getoutput' * >
getoutput.txt
Here is the result of that grep:
extensions/Renameuser/specials/SpecialRenameuser.php: $out = $this->getOutput();
extensions/Renameuser/Renameuser.hooks.php: $out =
$article->getContext()->getOutput();
extensions/Renameuser/getoutput.txt:Renameuser.hooks.php: $out =
$article->getContext()->getOutput();
extensions/Renameuser/getoutput.txt:specials/SpecialRenameuser.php: $out =
$this->getOutput();
includes/Article.php: $this->mParserOutput = $this->getOutputFromWikitext(
$text, $cache, $parserOptions );
includes/Article.php: public function getOutputFromWikitext( $text, $cache =
true, $parserOptions = false ) {
includes/Article.php: return $this->getOutputFromWikitext( $rev->getText(),
$useParserCache );
includes/OutputPage.php: foreach ( $parserOutput->getOutputHooks() as
$hookInfo ) {
includes/Profiler.php: return $wgProfiler->getOutput( $start, $elapsed );
includes/Profiler.php: function getOutput() {
includes/parser/Parser.php: function getOutput() { return $this->mOutput; }
includes/parser/ParserOutput.php: function getOutputHooks() { return
(array)$this->mOutputHooks; }
includes/parser/LinkHolderArray.php: $output = $this->parent->getOutput();
includes/parser/LinkHolderArray.php: $output = $this->parent->getOutput();
includes/ProfilerSimpleTrace.php: function getOutput() {
Now I'm wondering whether one of those getOutput-functions is the one the
Renameuser-extension is supposed to use and why that isn't working properly? The
reason I wondering that at all is that a similar "Fatal error: Call to undefined
method"-error-message occured when I tried to update another extension before.
But since it turned out that the older/previous version was working fine I
didn't follow up on the update and the error any further...
I'm a rather PHP-noob so I cannot really follow up all the
programming-intricaies indepth. :-( I hope someone can help me or at least point
me in the right direction.
Kate
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l