Index: trunk/extensions/ParserFunctions/ParserFunctions.php |
— | — | @@ -270,6 +270,17 @@ |
271 | 271 | |
272 | 272 | function wfParserFunctionsLanguageGetMagic( &$magicWords, $langCode ) { |
273 | 273 | switch ( $langCode ) { |
| 274 | + case 'fa': |
| 275 | + $magicWords['expr'] = array( 0, 'حساب', 'expr' ); |
| 276 | + $magicWords['if'] = array( 0, 'اگر', 'if' ); |
| 277 | + $magicWords['ifeq'] = array( 0, 'اگرمساوی', 'ifeq' ); |
| 278 | + $magicWords['ifexpr'] = array( 0, 'اگرحساب', 'ifexpr' ); |
| 279 | + $magicWords['switch'] = array( 0, 'گزینه', 'switch' ); |
| 280 | + $magicWords['default'] = array( 0, '#پیشفرض', '#default' ); |
| 281 | + $magicWords['ifexist'] = array( 0, 'اگرموجود', 'ifexist' ); |
| 282 | + $magicWords['time'] = array( 0, 'زمان', 'time' ); |
| 283 | + $magicWords['rel2abs'] = array( 0, 'نسبیبهمطلق', 'rel2abs' ); |
| 284 | + break; |
274 | 285 | case 'he': |
275 | 286 | $magicWords['expr'] = array( 0, 'חשב', 'expr' ); |
276 | 287 | $magicWords['if'] = array( 0, 'תנאי', 'if' ); |