Index: trunk/phase3/languages/Language.php |
— | — | @@ -1789,8 +1789,6 @@ |
1790 | 1790 | 'newimages' => 'New images gallery', |
1791 | 1791 | 'noimages' => 'Nothing to see.', |
1792 | 1792 | |
1793 | | -'sitesettings' => 'Site Settings', |
1794 | | - |
1795 | 1793 | # short names for language variants used for language conversion links. |
1796 | 1794 | # to disable showing a particular link, set it to 'disable', e.g. |
1797 | 1795 | # 'variantname-zh-sg' => 'disable', |
— | — | @@ -2879,7 +2877,9 @@ |
2880 | 2878 | * @access public |
2881 | 2879 | */ |
2882 | 2880 | function linkTrail() { |
| 2881 | + wfSuppressWarnings(); // In case there is no trail for the content language (like for Arabic) |
2883 | 2882 | $trail = $this->getMessage( 'linktrail' ); |
| 2883 | + wfRestoreWarnings(); |
2884 | 2884 | if( empty( $trail ) ) $trail = Language::linkTrail(); |
2885 | 2885 | return $trail; |
2886 | 2886 | } |