Index: trunk/extensions/Cite/Cite.php |
— | — | @@ -112,7 +112,6 @@ |
113 | 113 | */ |
114 | 114 | function Cite() { |
115 | 115 | $this->setHooks(); |
116 | | - wfLoadExtensionMessages( 'Cite' ); |
117 | 116 | } |
118 | 117 | |
119 | 118 | /**#@+ @access private */ |
— | — | @@ -125,6 +124,7 @@ |
126 | 125 | * @return string |
127 | 126 | */ |
128 | 127 | function ref( $str, $argv, $parser ) { |
| 128 | + wfLoadExtensionMessages( 'Cite' ); |
129 | 129 | if ( $this->mInCite ) { |
130 | 130 | return htmlspecialchars( "<ref>$str</ref>" ); |
131 | 131 | } else { |
— | — | @@ -284,6 +284,7 @@ |
285 | 285 | * @return string |
286 | 286 | */ |
287 | 287 | function references( $str, $argv, $parser ) { |
| 288 | + wfLoadExtensionMessages( 'Cite' ); |
288 | 289 | if ( $this->mInCite ) { |
289 | 290 | if ( is_null( $str ) ) { |
290 | 291 | return htmlspecialchars( "<references/>" ); |