r25307 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25306‎ | r25307 | r25308 >
Date:10:08, 30 August 2007
Author:raymond
Status:old
Tags:
Comment:
Add a link to normal (undeleted) contributions to the subtitle.
Should be now consistent to the subtitle of Special:Contributions.
Modified paths:
  • /trunk/extensions/DeletedContributions/DeletedContributions_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DeletedContributions/DeletedContributions_body.php
@@ -269,6 +269,9 @@
270270 }
271271 # Other logs link
272272 $tools[] = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'Log' ), wfMsgHtml( 'log' ), 'user=' . $nt->getPartialUrl() );
 273+ # Link to undeleted contributions
 274+ $tools[] = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions' ), wfMsgHtml( 'contributions' ), 'target=' . $nt->getPartialUrl() );
 275+
273276 $links = implode( ' | ', $tools );
274277 }
275278
@@ -329,5 +332,3 @@
330333 Xml::closeElement( 'form' );
331334 return $f;
332335 }
333 -
334 -

Status & tagging log