http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89643
Revision: 89643
Author: siebrand
Date: 2011-06-07 12:12:13 +0000 (Tue, 07 Jun 2011)
Log Message:
-----------
Add GENDER support for 'lockedbyandtime'. Suggested by Purodha Blissenbach.
Modified Paths:
--------------
trunk/phase3/includes/specials/SpecialLockdb.php
trunk/phase3/languages/messages/MessagesEn.php
Modified: trunk/phase3/includes/specials/SpecialLockdb.php
===================================================================
--- trunk/phase3/includes/specials/SpecialLockdb.php 2011-06-07 11:34:47 UTC
(rev 89642)
+++ trunk/phase3/includes/specials/SpecialLockdb.php 2011-06-07 12:12:13 UTC
(rev 89643)
@@ -124,7 +124,7 @@
fwrite( $fp, $this->reason );
fwrite( $fp, "\n<p>" . wfMsgExt(
'lockedbyandtime',
- 'content',
+ array( 'content', 'parseinline' ),
$wgUser->getName(),
$wgContLang->date( wfTimestampNow() ),
$wgContLang->time( wfTimestampNow() )
Modified: trunk/phase3/languages/messages/MessagesEn.php
===================================================================
--- trunk/phase3/languages/messages/MessagesEn.php 2011-06-07 11:34:47 UTC
(rev 89642)
+++ trunk/phase3/languages/messages/MessagesEn.php 2011-06-07 12:12:13 UTC
(rev 89643)
@@ -3171,7 +3171,7 @@
'lockfilenotwritable' => 'The database lock file is not writable.
To lock or unlock the database, this needs to be writable by the web server.',
'databasenotlocked' => 'The database is not locked.',
-'lockedbyandtime' => '(by $1 on $2 at $3)',
+'lockedbyandtime' => '(by GENDER:$1|$1}} on $2 at $3)',
# Move page
'move-page' => 'Move $1',
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs