Revert revert I accidentally committed
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 24 Dec 2008 19:08:18 +0000 (19:08 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 24 Dec 2008 19:08:18 +0000 (19:08 +0000)
includes/OutputPage.php

index dcd5c30..f8dba71 100644 (file)
@@ -1383,6 +1383,7 @@ class OutputPage {
         */
        public function addReturnTo( $title ) {
                global $wgUser;
+               $this->addLink( array( 'rel' => 'next', 'href' => $title->getFullUrl() ) );
                $link = wfMsg( 'returnto', $wgUser->getSkin()->makeLinkObj( $title ) );
                $this->addHTML( "<p>{$link}</p>\n" );
        }