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

Mailing List Archive: Wikipedia: Mediawiki-CVS

SVN: [39784] trunk/phase3/includes/HTMLDiff.php

 

 

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


demon at svn

Aug 21, 2008, 1:20 PM

Post #1 of 1 (86 views)
Permalink
SVN: [39784] trunk/phase3/includes/HTMLDiff.php

Revision: 39784
Author: demon
Date: 2008-08-21 20:20:15 +0000 (Thu, 21 Aug 2008)

Log Message:
-----------
Use wfEmptyMsg() instead of !$message.

Modified Paths:
--------------
trunk/phase3/includes/HTMLDiff.php

Modified: trunk/phase3/includes/HTMLDiff.php
===================================================================
--- trunk/phase3/includes/HTMLDiff.php 2008-08-21 19:44:19 UTC (rev 39783)
+++ trunk/phase3/includes/HTMLDiff.php 2008-08-21 20:20:15 UTC (rev 39784)
@@ -1268,7 +1268,7 @@

protected function translateArgument($name) {
$translation = wfMsgExt('diff-' . $name, 'parseinline' );
- if(!$translation){
+ if ( wfEmptyMsg( 'diff-' . $name, $translation ) ) {
$translation = $name;
}
return htmlspecialchars( $translation );



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS [at] lists
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 Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.