r29550 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29549‎ | r29550 | r29551 >
Date:20:02, 10 January 2008
Author:simetrical
Status:old
Tags:
Comment:
Fix Cite so it only loads messages when necessary
Modified paths:
  • /trunk/extensions/Cite/Cite.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/Cite.php
@@ -29,8 +29,6 @@
3030 $wgExtensionMessagesFiles['Cite'] = dirname( __FILE__ ) . "/Cite.i18n.php";
3131
3232 function wfCite() {
33 - wfLoadExtensionMessages( 'Cite' );
34 -
3533 class Cite {
3634 /**#@+
3735 * @access private
@@ -114,6 +112,7 @@
115113 */
116114 function Cite() {
117115 $this->setHooks();
 116+ wfLoadExtensionMessages( 'Cite' );
118117 }
119118
120119 /**#@+ @access private */

Status & tagging log