Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS

SVN: [40094] trunk/phase3

 

 

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded


raymond at svn

Aug 27, 2008, 11:23 AM

Post #1 of 1 (17 views)
Permalink
SVN: [40094] trunk/phase3

Revision: 40094
Author: raymond
Date: 2008-08-27 18:23:03 +0000 (Wed, 27 Aug 2008)

Log Message:
-----------
Move the timestamp into the message of the current revision link to make the link consistent with the link to the previous version on the left side

Modified Paths:
--------------
trunk/phase3/includes/diff/DifferenceEngine.php
trunk/phase3/languages/messages/MessagesEn.php
trunk/phase3/maintenance/language/messages.inc

Modified: trunk/phase3/includes/diff/DifferenceEngine.php
===================================================================
--- trunk/phase3/includes/diff/DifferenceEngine.php 2008-08-27 18:10:03 UTC (rev 40093)
+++ trunk/phase3/includes/diff/DifferenceEngine.php 2008-08-27 18:23:03 UTC (rev 40094)
@@ -764,10 +764,10 @@
$this->mNewPage = $this->mNewRev->getTitle();
if( $this->mNewRev->isCurrent() ) {
$newLink = $this->mNewPage->escapeLocalUrl( 'oldid=' . $this->mNewid );
- $this->mPagetitle = htmlspecialchars( wfMsg( 'currentrev' ) );
+ $this->mPagetitle = wfMsgHTML( 'currentrev-asof', $timestamp );
$newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' );

- $this->mNewtitle = "<a href='$newLink'>{$this->mPagetitle}</a> ($timestamp)";
+ $this->mNewtitle = "<a href='$newLink'>{$this->mPagetitle}</a>";
$this->mNewtitle .= " (<a href='$newEdit'>" . wfMsgHtml( $editable ? 'editold' : 'viewsourceold' ) . "</a>)";

} else {

Modified: trunk/phase3/languages/messages/MessagesEn.php
===================================================================
--- trunk/phase3/languages/messages/MessagesEn.php 2008-08-27 18:10:03 UTC (rev 40093)
+++ trunk/phase3/languages/messages/MessagesEn.php 2008-08-27 18:23:03 UTC (rev 40094)
@@ -1208,6 +1208,7 @@
'revnotfoundtext' => 'The old revision of the page you asked for could not be found.
Please check the URL you used to access this page.',
'currentrev' => 'Current revision',
+'currentrev-asof' => 'Current revision as of $1',
'revisionasof' => 'Revision as of $1',
'revision-info' => 'Revision as of $1 by $2',
'revision-info-current' => '-', # do not translate or duplicate this message to other languages

Modified: trunk/phase3/maintenance/language/messages.inc
===================================================================
--- trunk/phase3/maintenance/language/messages.inc 2008-08-27 18:10:03 UTC (rev 40093)
+++ trunk/phase3/maintenance/language/messages.inc 2008-08-27 18:23:03 UTC (rev 40094)
@@ -583,6 +583,7 @@
'revnotfound',
'revnotfoundtext',
'currentrev',
+ 'currentrev-asof',
'revisionasof',
'revision-info',
'revision-info-current',



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.