Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/179004

Change subject: Use #mw-head, not #mw-navigation, for navigation link
......................................................................

Use #mw-head, not #mw-navigation, for navigation link

mw-navigation is a collapsed div because all of its children
are absolutely positioned, and it's in a totally useless
place. Instead, point to #mw-head, which is where we pointed
to originally before it was changed to #mw-navigation.

This reverts 75858d59d from when this code was still in MediaWiki core.

Bug: T78207
Change-Id: I5e1f0edbf80f6f5f330df73cb06e4b0ee4323905
---
M VectorTemplate.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Vector 
refs/changes/04/179004/1

diff --git a/VectorTemplate.php b/VectorTemplate.php
index 6601842..ab40693 100644
--- a/VectorTemplate.php
+++ b/VectorTemplate.php
@@ -136,7 +136,7 @@
                                ?>
                                <div id="jump-to-nav" class="mw-jump">
                                        <?php $this->msg( 'jumpto' ) ?>
-                                       <a href="#mw-navigation"><?php
+                                       <a href="#mw-head"><?php
                                                $this->msg( 'jumptonavigation' )
                                                ?></a><?php
                                        $this->msg( 'comma-separator' )

-- 
To view, visit https://gerrit.wikimedia.org/r/179004
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e1f0edbf80f6f5f330df73cb06e4b0ee4323905
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Vector
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to