Fu r92231: PHP Fatal error: Call to a member function parse() on a non-object in...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 28 Jul 2011 12:13:54 +0000 (12:13 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 28 Jul 2011 12:13:54 +0000 (12:13 +0000)
Maybe the method names need to be reconsidered to avoid errors like these?

includes/specials/SpecialEditWatchlist.php

index 1c38130..1ca21ac 100644 (file)
@@ -43,7 +43,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage {
                                array(),
                                array( 'returnto' => $this->getTitle()->getPrefixedText() )
                        );
-                       $out->addHTML( wfMessage( 'watchlistanontext' )->rawParam( $llink )->parse() );
+                       $out->addHTML( wfMessage( 'watchlistanontext' )->rawParams( $llink )->parse() );
                        return;
                }