r87120 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87119‎ | r87120 | r87121 >
Date:10:44, 29 April 2011
Author:reedy
Status:ok
Tags:
Comment:
Partial revert r87006, for bug 28745
Modified paths:
  • /trunk/extensions/Cite/SpecialCite_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/SpecialCite_body.php
@@ -1,6 +1,7 @@
22 <?php
33 if ( !defined( 'MEDIAWIKI' ) ) die();
44
 5+global $wgContLang, $wgContLanguageCode, $wgCiteDefaultText;
56 $dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
67 $code = $wgContLang->lc( $wgContLanguageCode );
78 $file = file_exists( "${dir}cite_text-$code" ) ? "${dir}cite_text-$code" : "${dir}cite_text";

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87006Remove whitespace, unneeded globals, and swap and/or for &&/||reedy11:11, 27 April 2011

Status & tagging log