Content deleted Content added
2.01 + tidy-font-bug |
2.11 |
||
Line 1:
/// User:PerfektesChaos/js/lintHint/r.js
/// 2017-11-
/// Fingerprint:#0#
/// @license GPL [//www.mediawiki.org/w/COPYING](+GFDL,LGPL,CC-BY-SA)
///<nowiki>
(function(mw,$){
"use strict";
var Version=2.
HINT.texts={
"desc":{"en":"Show LintErrors analysis live.","de":"Zeige LintErrors-Analyse live."},
Line 42:
if(typeof apply.launch==="boolean"){
HINT.launch=apply.launch;}
if(typeof apply.layer==="boolean"){
HINT.layer=apply.layer;}
if(typeof apply.lazy==="boolean"){
HINT.lazy=apply.lazy;
Line 101 ⟶ 103:
case "edit":
case "submit":
case "parsermigration-edit":
EDIT.live=true;
HINT.nsn=mw.config.get("wgNamespaceNumber");
Line 538 ⟶ 541:
LINTER.fire=function($area){
var $table=$area.find(".TablePager");
if($table.length
if(typeof $table.tablesorter==="function"){ $table.tablesorter();}
if(HINT.layer){
LINTER.reEdit=new RegExp("([?&]action=)edit(&.+)?$");
$table.find("a").each(LINTER.further);}}
};
LINTER.first=function(){
if(mw.config.get("wgTitle").indexOf("/")>0){
mw.hook("wikipage.content").add(LINTER.fire);}
};
LINTER.further=function(any,a){
var $a=$(a),s=$a.attr("href");
if(s.indexOf("action=edit")>0){
$a.attr("href",s.replace(LINTER.reEdit,"$1parsermigration-edit$2"));}
};
GUIDER.find=function(){
|