1 PHP Strict Standards: Only variables should be assigned by reference in /var/www...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 3 Dec 2007 09:52:51 +0000 (09:52 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 3 Dec 2007 09:52:51 +0000 (09:52 +0000)
includes/Skin.php

index a9b91e7..1001572 100644 (file)
@@ -1499,11 +1499,11 @@ END;
                # If it's present, the link points to this page, otherwise
                # it points to the talk page
                if( $wgTitle->isTalkPage() ) {
-                       $title =& $wgTitle;
+                       $title = $wgTitle;
                } elseif( $wgOut->showNewSectionLink() ) {
-                       $title =& $wgTitle;
+                       $title = $wgTitle;
                } else {
-                       $title =& $wgTitle->getTalkPage();
+                       $title = $wgTitle->getTalkPage();
                }
                
                return $this->makeKnownLinkObj( $title, wfMsg( 'postcomment' ), 'action=edit&section=new' );