From 300f479cfe84663ea77de09dddec5e379c8d2090 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Mon, 9 Nov 2020 11:38:12 -0500 Subject: Move jump-to information around to match current templates Signed-off-by: Brian Evans --- TyrianTemplate.php | 8 +++----- main.css | 12 ++++++++++++ skin.json | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/TyrianTemplate.php b/TyrianTemplate.php index 74f0b7e..54422ac 100644 --- a/TyrianTemplate.php +++ b/TyrianTemplate.php @@ -39,11 +39,9 @@ class TyrianTemplate extends BaseTemplate { if ( $this->data['newtalk'] ) { echo '
'; $this->html( 'newtalk' ); echo '
'; } ?> -
- msg( 'jumpto' ) ?> - msg( 'jumptonavigation' ); ?>msg( 'comma-separator' ) ?> - msg( 'jumptosearch' ); ?> -
+
+ msg('jumpto'); $this->msg( 'jumptonavigation' ); ?> + msg('jumpto'); $this->msg( 'jumptosearch' ); ?> diff --git a/main.css b/main.css index 94623e7..ddedc6d 100644 --- a/main.css +++ b/main.css @@ -269,3 +269,15 @@ body.mw-special-Specialpages h2 { .skin-tyrian .alert-danger { color: #8B0000; } + +.mw-jump-link:not(:focus) { + display: block; + position: absolute !important; + clip: rect(1px,1px,1px,1px); + width: 1px; + height: 1px; + margin: -1px; + border: 0; + padding: 0; + overflow: hidden +} diff --git a/skin.json b/skin.json index edbf4c9..f346c44 100644 --- a/skin.json +++ b/skin.json @@ -10,7 +10,7 @@ "license-name": "GPL-2.0", "type": "skin", "requires": { - "MediaWiki": ">= 1.25.0" + "MediaWiki": ">= 1.32.0" }, "ValidSkinNames": { "tyrian": "Tyrian" -- cgit v1.2.3-65-gdbad