Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -756,12 +756,12 @@ |
757 | 757 | foreach( $options as $arrayKey => $option ) { |
758 | 758 | if( !preg_match( '/^[0-9]+|language$/', $arrayKey ) ) { |
759 | 759 | # An unknown index, neither numeric nor "language" |
760 | | - trigger_error( "wfMsgExt called with incorrect parameter key $arrayKey", E_USER_WARNING ); |
| 760 | + wfWarn( "wfMsgExt called with incorrect parameter key $arrayKey", 1, E_USER_WARNING ); |
761 | 761 | } elseif( preg_match( '/^[0-9]+$/', $arrayKey ) && !in_array( $option, |
762 | 762 | array( 'parse', 'parseinline', 'escape', 'escapenoentities', |
763 | 763 | 'replaceafter', 'parsemag', 'content' ) ) ) { |
764 | 764 | # A numeric index with unknown value |
765 | | - trigger_error( "wfMsgExt called with incorrect parameter $option", E_USER_WARNING ); |
| 765 | + wfWarn( "wfMsgExt called with incorrect parameter $option", 1, E_USER_WARNING ); |
766 | 766 | } |
767 | 767 | } |
768 | 768 | |