r29552 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29551‎ | r29552 | r29553 >
Date:20:09, 10 January 2008
Author:simetrical
Status:old
Tags:
Comment:
Fix it for real now, no pretending.
Modified paths:
  • /trunk/extensions/Cite/Cite.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/Cite.php
@@ -112,7 +112,6 @@
113113 */
114114 function Cite() {
115115 $this->setHooks();
116 - wfLoadExtensionMessages( 'Cite' );
117116 }
118117
119118 /**#@+ @access private */
@@ -125,6 +124,7 @@
126125 * @return string
127126 */
128127 function ref( $str, $argv, $parser ) {
 128+ wfLoadExtensionMessages( 'Cite' );
129129 if ( $this->mInCite ) {
130130 return htmlspecialchars( "<ref>$str</ref>" );
131131 } else {
@@ -284,6 +284,7 @@
285285 * @return string
286286 */
287287 function references( $str, $argv, $parser ) {
 288+ wfLoadExtensionMessages( 'Cite' );
288289 if ( $this->mInCite ) {
289290 if ( is_null( $str ) ) {
290291 return htmlspecialchars( "<references/>" );

Status & tagging log