*/
$wgUseCombinedLoginLink = false;
-/**
- * Appearance of user page and talk page labels in personal tools.
- * - true = combine links into a single label
- * - false = keep links in separate labels
- */
-$wgVectorCombineUserTalk = false;
-
/**
* Search form look for Vector skin only.
* - true = use an icon search button
'moredotdotdot' => 'More...',
'mypage' => 'Page',
'mytalk' => 'Talk',
-'mytalk-parenthetical' => 'talk',
'anontalk' => 'Talk for this IP address',
'navigation' => 'Navigation',
'and' => ' and',
* $1 is an unknown warning.',
'api-error-uploaddisabled' => 'API error message that can be used for client side localisation of API errors.',
'api-error-verification-error' => 'The word "extension" refers to the part behind the last dot in a file name, that by convention gives a hint about the kind of data format which a files contents are in.',
-
-# Unknown messages
-'mytalk-parenthetical' => 'When user page and talk combined into single label, link title for talk label',
-);
* @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
<ul<?php $this->html( 'userlangattributes' ) ?>>
<?php
$personalTools = $this->getPersonalTools();
- if ( $wgVectorCombineUserTalk && isset( $personalTools['userpage'] ) ) {
-?>
- <li>
-<?php
- echo $this->makeListItem( 'userpage', $personalTools['userpage'], array( 'tag' => 'span' ) );
-?> <?php
- $personalTools['mytalk']['links'][0]['text'] = $this->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'] );
-?>
- </li>
-<?php
- }
foreach ( $personalTools as $key => $item ) {
echo $this->makeListItem( $key, $item );
}