Content deleted Content added
1.2 |
1.3 |
||
Line 1:
/// Gadget/fragmentAnchors/r.js
/// 2016-04-
/// Fingerprint:#0#
///<nowiki>
(function(mw,$){
"use strict";
var Version=1.
};
if(typeof mw.libs[FANCY]!=="object"||!mw.libs[FANCY]){
Line 77:
};
FASC.cfg.fire=function(){
var launch,lock,portlet;
if(typeof FANCY.large==="boolean"){
FASC.large=FANCY.large;}
if(typeof FANCY.launch==="boolean"){
launch=FANCY.launch;}
if(typeof FANCY.lock==="boolean"){
lock=FANCY.lock;}
if(!(lock||launch)){
portlet=mw.util.addPortletLink("p-tb","#"," ","t-"+FASC.sign);
FASC.cfg.$portlet=$(portlet);
Line 89 ⟶ 91:
FASC.cfg.$portlet.attr({title:FASC.sign+" "+FASC.vsn});}
mw.hook(FANCY.type+".ready").fire(FANCY);
if(launch){
FASC.cfg.live=true;▼
fiat();
}else{
▲FASC.cfg.live=true;}
};
FASC.cfg.$flag=function(){
|