X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=skins%2FVector.php;h=3e01d23b82a5f504a7e26f9b53d99c2c854f7a84;hb=90797afe5366458d37046c34f3a2583aade361f5;hp=92eb3ad02ff54e11911bf484d5434fd6774c6d1d;hpb=a42a464e6375bb47f0147f6041253e5d0aab9296;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/Vector.php b/skins/Vector.php index 92eb3ad02f..3e01d23b82 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -65,7 +65,7 @@ class SkinVector extends SkinTemplate { * fixes bug 22916 * @param $out OutputPage object */ - function setupSkinUserCss( OutputPage $out ){ + function setupSkinUserCss( OutputPage $out ) { parent::setupSkinUserCss( $out ); $out->addModuleStyles( 'skins.vector' ); } @@ -166,7 +166,7 @@ class VectorTemplate extends BaseTemplate {

html( 'title' ) ?>

@@ -194,7 +194,7 @@ class VectorTemplate extends BaseTemplate {
msg( 'jumpto' ) ?> - msg( 'jumptonavigation' ) ?>msg( 'comma-separator' ) ?> + msg( 'jumptonavigation' ) ?>msg( 'comma-separator' ) ?> msg( 'jumptosearch' ) ?>
@@ -230,7 +230,7 @@ class VectorTemplate extends BaseTemplate {

msg( 'navigation-heading' ) ?>

-
+
renderNavigation( 'PERSONAL' ); ?>
renderNavigation( array( 'NAMESPACES', 'VARIANTS' ) ); ?> @@ -241,7 +241,7 @@ class VectorTemplate extends BaseTemplate {
-
+
@@ -367,7 +367,7 @@ class VectorTemplate extends BaseTemplate { * @param $elements array */ protected function renderNavigation( $elements ) { - global $wgVectorUseSimpleSearch, $wgVectorCombineUserTalk; + global $wgVectorUseSimpleSearch; // If only one element was given, wrap it in an array, allowing more // flexible arguments @@ -452,20 +452,6 @@ class VectorTemplate extends BaseTemplate { html( 'userlangattributes' ) ?>> getPersonalTools(); - if ( $wgVectorCombineUserTalk && isset( $personalTools['userpage'] ) ) { -?> -
  • -makeListItem( 'userpage', $personalTools['userpage'], array( 'tag' => 'span' ) ); -?> getMsg( 'mytalk-parenthetical' )->text(); - $talkItem = $this->makeListItem( 'mytalk', $personalTools['mytalk'], array( 'tag' => 'span' ) ); - echo $this->getMsg( 'parentheses' )->rawParams( $talkItem )->escaped(); - unset( $personalTools['userpage'], $personalTools['mytalk'] ); -?> -
  • - $item ) { echo $this->makeListItem( $key, $item ); }