Index: trunk/extensions/Cite/Cite_body.php |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | return $ret; |
125 | 125 | } |
126 | 126 | } |
127 | | - |
| 127 | + |
128 | 128 | function guardedRef( $str, $argv, $parser, $default_group=CITE_DEFAULT_GROUP ) { |
129 | 129 | $this->mParser = $parser; |
130 | 130 | |
— | — | @@ -709,7 +709,7 @@ |
710 | 710 | */ |
711 | 711 | function setHooks() { |
712 | 712 | global $wgParser, $wgHooks; |
713 | | - |
| 713 | + |
714 | 714 | $wgParser->setHook( 'ref' , array( &$this, 'ref' ) ); |
715 | 715 | $wgParser->setHook( 'references' , array( &$this, 'references' ) ); |
716 | 716 | |
— | — | @@ -731,7 +731,7 @@ |
732 | 732 | return |
733 | 733 | $this->parse( |
734 | 734 | '<strong class="error">' . |
735 | | - wfMsg( 'cite_error', wfMsg( $key, $param ) ) . |
| 735 | + wfMsgNoTrans( 'cite_error', wfMsgNoTrans( $key, $param ) ) . |
736 | 736 | '</strong>' |
737 | 737 | ); |
738 | 738 | } |