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

Content deleted Content added
-1.5
-1.6
Line 2:
// Some minor link helpers
// ResourceLoader: compatible; dependencies: user, mediawiki.util
/// 2014-12-1416 PerfektesChaos@de.wikipedia
/// Fingerprint: #0#0#
/// <nowiki>
Line 11:
( function ( mw, $ ) {
"use strict";
var Version = -1.56,
Sign = "pageLinkHelper",
Signature = "ext.gadget." + Sign,
Line 87:
// > Sign
// > Env.spcNS
// mw.config.get()
// mw.util.getParamValue()
// 2014-12-1416 PerfektesChaos@de.wikipedia
var $div = $( "#mw-diff-" + at + "title1" ),
id, s, $a, $span;
Line 94 ⟶ 95:
if ( apply ) {
id = apply;
if ( apply === "cur" ) {
id = mw.config.get( "wgCurRevisionId" );
}
} else {
$a = $div.find( "a" ).eq( 0 );
Line 513 ⟶ 517:
// fresh()
// from()
// 2014-12-1416 PerfektesChaos@de.wikipedia
Env = { wgCanonicalSpecialPageName:
mw.config.get( "wgCanonicalSpecialPageName" ) };
Line 526 ⟶ 530:
case "Watchlist" :
further( 1 );
break;
case "Gadgets" :
break;
} // switch wgCanonicalSpecialPageName