dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4431d
)
(bug 16707) Add "rel='next'" link to login page to return to last page
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 23 Dec 2008 21:30:40 +0000
(21:30 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 23 Dec 2008 21:30:40 +0000
(21:30 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
dcd5c30
..
f8dba71
100644
(file)
--- 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( "<p>{$link}</p>\n" );
}