Index: branches/wmf/1.18wmf1/includes/MagicWord.php |
— | — | @@ -278,8 +278,8 @@ |
279 | 279 | $wgContLang->getMagic( $this ); |
280 | 280 | if ( !$this->mSynonyms ) { |
281 | 281 | $this->mSynonyms = array( 'dkjsagfjsgashfajsh' ); |
282 | | - #throw new MWException( "Error: invalid magic word '$id'" ); |
283 | | - wfDebugLog( 'exception', "Error: invalid magic word '$id'\n" ); |
| 282 | + throw new MWException( "Error: invalid magic word '$id'" ); |
| 283 | + #wfDebugLog( 'exception', "Error: invalid magic word '$id'\n" ); |
284 | 284 | } |
285 | 285 | wfProfileOut( __METHOD__ ); |
286 | 286 | } |