User:PerfektesChaos/js/autoBackup/r.js: Difference between revisions

Content deleted Content added
2.2
2.2
 
Line 1:
/// User:PerfektesChaos/js/autoBackup/r.js
/// 2019-0607-1701 PerfektesChaos@de.wikipedia
/// Fingerprint:#0#27B8058C2860E0F5#
/// @license GPL [//www.mediawiki.org/w/COPYING](+GFDL,LGPL,:CC-BYby-SA)sa/4.0
///<nowiki>
(function(mw,$){
"use strict";
var VERSION=2.23,BAK="autoBackup";
if(typeof mw.libs[BAK]!=="object"||!mw.libs[BAK]){
mw.libs[BAK]={};}
Line 172:
this.$top=$("#content");
if(!this.$top.length){
this.$top=mw.utilBAK.$contentpage;}}}
this.$top.before(this.$div);}}}
if(apply){
Line 203:
this.$editform=false;
this.$textarea=false;
$form=mw.utilBAK.$contentpage.find("#editform");
if($form){
$ta=mw.utilBAK.$contentpage.find("#wpTextbox2");
if($ta.length){
r=$ta.val();}
Line 684:
mw.hook("wikipage.content").add(BAK.firing);}}}
};
BAK.firing=function($all){
BAK.$page=$all;
switch(BAK.start){
case "submit":