Index: trunk/phase3/languages/Language.php |
— | — | @@ -1877,6 +1877,10 @@ |
1878 | 1878 | function getMagic( &$mw ) |
1879 | 1879 | { |
1880 | 1880 | $raw =& $this->getMagicWords(); |
| 1881 | + if( !isset( $raw[$mw->mld] ) ) { |
| 1882 | + # Fall back to English if local list is incomplete |
| 1883 | + $raw =& Language::getMagicWords(); |
| 1884 | + } |
1881 | 1885 | $rawEntry = $raw[$mw->mId]; |
1882 | 1886 | $mw->mCaseSensitive = $rawEntry[0]; |
1883 | 1887 | $mw->mSynonyms = array_slice( $rawEntry, 1 ); |