Index: trunk/phase3/includes/Skin.php |
— | — | @@ -729,7 +729,7 @@ |
730 | 730 | } |
731 | 731 | |
732 | 732 | function getCopyright( $type = 'detect' ) { |
733 | | - global $wgRightsPage, $wgRightsUrl, $wgRightsText; |
| 733 | + global $wgRightsPage, $wgRightsUrl, $wgRightsText, $wgContLang; |
734 | 734 | |
735 | 735 | if ( $type == 'detect' ) { |
736 | 736 | if ( !$this->isRevisionCurrent() && wfMsgForContent( 'history_copyright' ) !== '-' ) { |
— | — | @@ -763,7 +763,11 @@ |
764 | 764 | wfRunHooks( 'SkinCopyrightFooter', array( $this->getTitle(), $type, &$msg, &$link, &$forContent ) ); |
765 | 765 | |
766 | 766 | if ( $forContent ) { |
767 | | - return wfMsgForContent( $msg, $link ); |
| 767 | + $msg = wfMsgForContent( $msg, $link ); |
| 768 | + if ( $this->getLang()->getCode() !== $wgContLang->getCode() ) { |
| 769 | + $msg = Html::rawElement( 'span', array( 'lang' => $wgContLang->getCode(), 'dir' => $wgContLang->getDir() ), $msg ); |
| 770 | + } |
| 771 | + return $msg; |
768 | 772 | } else { |
769 | 773 | return wfMsg( $msg, $link ); |
770 | 774 | } |