Content deleted Content added
1.1 |
1.3 |
||
(One intermediate revision by the same user not shown) | |||
Line 1:
/// Gadget/logidTooltip/r.js
///
/// Fingerprint:#0#
/// Documentation:[[w:en:User:PerfektesChaos/js/logidTooltip]]
/// @license:CC-by-sa/4.0 GPLv3
Line 7:
(function(mw,$){
"use strict";
var Version=1.
},OO;
function filepath(assign){
Line 17:
LIT.source=assign;}}}
function fire(){
var signature="ext.gadget."+LIT.signature,env,launch,rls;
if(mw.loader.getState(signature)!=="ready"){
rls={};
Line 25:
LIT.doc="w:en:User:PerfektesChaos/js/"+LIT.signature;
LIT.doc="[["+LIT.doc+"]]";
switch(env.wgCanonicalSpecialPageName){
case "Log":
case "Recentchanges":
case "Watchlist":
launch=true;
default:
launch=(window.___location.search.indexOf(LIT.search)>=0);}
if(launch){
LIT.signed=LIT.signature+"-handle";
LIT.special=env.wgFormattedNamespaces["-1"];
mw.hook(LIT.signature+"-icon").add(filepath);
mw.hook("wikipage.content").add(LIT.furnish);}}}
▲break;}}}
LIT.$factory=function(assigned,$anchor){
var illusive=0.75,offset=$anchor.offset(),options={anchor:true,padded:true,position:"below",verticalPosition:"below",$floatableContainer:$anchor},shift=LIT.special+"
options.width=(12+assigned.length*0.7)+"em";
if(offset.left<0.5*window.innerWidth){
|