r44977 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44976‎ | r44977 | r44978 >
Date:21:30, 23 December 2008
Author:aaron
Status:ok
Tags:
Comment:
(bug 16707) Add "rel='next'" link to login page to return to last page
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -1383,6 +1383,7 @@
13841384 */
13851385 public function addReturnTo( $title ) {
13861386 global $wgUser;
 1387+ $this->addLink( array( 'rel' => 'next', 'href' => $title->getFullUrl() ) );
13871388 $link = wfMsg( 'returnto', $wgUser->getSkin()->makeLinkObj( $title ) );
13881389 $this->addHTML( "<p>{$link}</p>\n" );
13891390 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r45004Revert "(bug 16707) Add "rel='next'" link to login page to return to last page"...simetrical19:07, 24 December 2008

Status & tagging log