User:PerfektesChaos/js/pageLinkHelper/d.js: Difference between revisions

Content deleted Content added
-2.5
-2.6
 
Line 1:
/// Gadget-pageLinkHelper.js
// Some minor link helpers
/// 20182021-0805-2421 PerfektesChaos@de.wikipedia
// ResourceLoader: compatible;
// dependencies: user, user.options,
Line 14:
( function ( mw, $ ) {
"use strict";
var Version = -2.56,
Sign = "pageLinkHelper",
Signature = "ext.gadget." + Sign,
Line 126:
// > Sign
// >< Env
// 20152021-0105-0621 PerfektesChaos@de.wikipedia
var r, // = undefined
sequence, suitable, $anchor, $clear;
Line 145:
switch ( Env.skin ) {
case "cologneblue" :
suitable = "#firstHeading";
sequence = "after";
break;
case "modern" :
suitable = "#contentSub";
sequence = "before";
break;
case "monobook" :
case "vector" :
suitable = "bodyContent.mw-body-content";
sequence = "prepend";
break;
} // switch Env.skin
$anchor = $( "#"suitable +).eq( suitable0 );
}
if ( ! $anchor.length ) {
Line 481:
// QQmsg.flat()
// mw.hook()
// 20172020-01-2005 PerfektesChaos@de.wikipedia
var embed, i, linkUpdate, s;
Env = { skin: false,
Line 497:
case "Diff" :
Diff.flip();
break;
case "Mobile" :
break;
case "Whatlinkshere" :