From: Aaron Schulz Date: Tue, 23 Dec 2008 21:30:40 +0000 (+0000) Subject: (bug 16707) Add "rel='next'" link to login page to return to last page X-Git-Tag: 1.31.0-rc.0~43807 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=88717159c384ce6389640945845550d3e1dd2a9f;p=lhc%2Fweb%2Fwiklou.git (bug 16707) Add "rel='next'" link to login page to return to last page --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index dcd5c309be..f8dba714a2 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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( "

{$link}

\n" ); }