Index: trunk/extensions/MessageCommons/MessageCommons.php |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | } elseif( !isset($wgSharedDB) ) { |
46 | 46 | $egMessageCommonsDatabase = $wgSharedDB; |
47 | 47 | if( isset($wgSharedPrefix) ) { |
48 | | - $egMessageCommonsPrefix = $wgSharedPrefix; |
| 48 | + $egMessageCommonsPrefix = $wgSharedPrefix; |
49 | 49 | } |
50 | 50 | } |
51 | 51 | } |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | $msgNames[] = sprintf( '%s/%s', $msgName, $wgLang->getCode() ); |
66 | 66 | $msgNames[] = sprintf( '%s/%s', $msgName, $wgContLang->getCode() ); |
67 | 67 | } |
68 | | - $msgNames = array_unique($msgNames); |
| 68 | + $msgNames = array_reverse(array_unique($msgNames)); |
69 | 69 | |
70 | 70 | foreach( $msgNames as $msgName ) { |
71 | 71 | $text = efMessageCommonsGetMsg( $msgName ); |