mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 14:23:53 +00:00
Return to link is not needed in AMC mode on talk pages
The tabs render this unnecessary Bug: T212216 Change-Id: Ibb19448529a43bb542eb112ff3b113ca0c3749a4
This commit is contained in:
parent
7fd843cd89
commit
3f7d1e3601
|
@ -197,7 +197,9 @@ class SkinMinerva extends SkinTemplate {
|
|||
$title = $this->getTitle();
|
||||
|
||||
// If it's a talk page, add a link to the main namespace page
|
||||
if ( $title->isTalkPage() ) {
|
||||
// In AMC we do not need to do this as there is an easy way back to the article page
|
||||
// via the talk/article tabs.
|
||||
if ( $title->isTalkPage() && !$this->getSkinOption( self::OPTION_AMC ) ) {
|
||||
// if it's a talk page for which we have a special message, use it
|
||||
switch ( $title->getNamespace() ) {
|
||||
case NS_USER_TALK:
|
||||
|
|
Loading…
Reference in a new issue