Content deleted Content added
2.0 |
2.1 |
||
Line 1:
/// User:PerfektesChaos/js/autoBackup/r.js
///
/// Fingerprint:#0#
/// @license GPL [//www.mediawiki.org/w/COPYING](+GFDL,LGPL,CC-BY-SA)
///<nowiki>
(function(mw,$){
"use strict";
var
if(typeof mw.libs
mw.libs
BAK=mw.libs[BAK];
BAK.doc="[[w:en:User:PerfektesChaos/js/ BAK.
BAK.cnf={maxAge:72,maxHist:5,maxPages:10,maxRev:3,mid:5,msec:300000};
BAK.disk={self:"AutoBackupPerfectChaos",stick:"newest|subject"};
Line 677:
};
function first(){
var signature="ext.gadget."+BAK.type,rls;
if(mw.loader.getState(signature)!=="ready"){
rls={};
}else if(mw.config.get("wgNamespaceNumber")>=0){▼
rls[signature]="ready";
mw.loader.using(["user","mediawiki.api","mediawiki.user","mediawiki.util"],BAK.fire);}▼
mw.loader.state(
▲mw.loader.using(["user","mediawiki.api","mediawiki.user","mediawiki.util"],BAK.fire);}}}
first();
}(window.mediaWiki,window.jQuery));
/// EOF</nowiki>autoBackup/r.js
|