Examine individual changes
From Test Wiki
This page allows you to examine the variables generated by the Abuse Filter for an individual change.
Variables generated for this change
Variable | Value |
---|---|
Edit count of the user (user_editcount) | 11 |
Name of the user account (user_name) | '8' |
Groups (including implicit) the user is in (user_groups) | [
0 => 'sysop',
1 => '*',
2 => 'user',
3 => 'autoconfirmed'
] |
Whether the user is blocked (user_blocked) | false |
Whether or not a user is editing through the mobile interface (user_mobile) | false |
Page ID (page_id) | 0 |
Page namespace (page_namespace) | 2 |
Page title (without namespace) (page_title) | '8/vector.js' |
Full page title (page_prefixedtitle) | 'User:8/vector.js' |
Action (action) | 'edit' |
Edit summary/reason (summary) | 'mwmw' |
Old content model (old_content_model) | '' |
New content model (new_content_model) | 'javascript' |
Old page wikitext, before the edit (old_wikitext) | '' |
New page wikitext, after the edit (new_wikitext) | '(function(ele, txt, time, condition){
var s = " (" + mw.config.values.wgUserEditCount + ")";
var hook = document.getElementById("pt-mycontris");
if(!hook)
return "unexpected dom abort mission";
hook.childNodes[0].innerHTML += s;
if(!condition) return;
ele.innerHTML = "";
(function(ele, txt, time){
txt = txt.split("");
var len = txt.length, rate = time/len;
for(var i=0; i<len; i++) setTimeout(function(){ele.innerHTML += txt.shift();}, i*rate);
})(ele, txt, time);
})(document.getElementById("edit_count"), "2018.5.1 / ab9", 400, document.getElementById("8c23b4144bd58c689e192c6ab912a3b75c76f6849977518b8bedefd5e347d67f"));
//[[CATEGORY:user test pages]]' |
Unified diff of changes made by edit (edit_diff) | '@@ -1,0 +1,18 @@
+(function(ele, txt, time, condition){
+
+ var s = " (" + mw.config.values.wgUserEditCount + ")";
+ var hook = document.getElementById("pt-mycontris");
+ if(!hook)
+ return "unexpected dom abort mission";
+ hook.childNodes[0].innerHTML += s;
+
+ if(!condition) return;
+ ele.innerHTML = "";
+ (function(ele, txt, time){
+ txt = txt.split("");
+ var len = txt.length, rate = time/len;
+ for(var i=0; i<len; i++) setTimeout(function(){ele.innerHTML += txt.shift();}, i*rate);
+ })(ele, txt, time);
+
+})(document.getElementById("edit_count"), "2018.5.1 / ab9", 400, document.getElementById("8c23b4144bd58c689e192c6ab912a3b75c76f6849977518b8bedefd5e347d67f"));
+//[[CATEGORY:user test pages]]
' |
Lines added in edit (added_lines) | [
0 => '(function(ele, txt, time, condition){',
1 => '',
2 => ' var s = " (" + mw.config.values.wgUserEditCount + ")";',
3 => ' var hook = document.getElementById("pt-mycontris");',
4 => ' if(!hook)',
5 => ' return "unexpected dom abort mission";',
6 => ' hook.childNodes[0].innerHTML += s;',
7 => '',
8 => ' if(!condition) return;',
9 => ' ele.innerHTML = "";',
10 => ' (function(ele, txt, time){',
11 => ' txt = txt.split("");',
12 => ' var len = txt.length, rate = time/len;',
13 => ' for(var i=0; i<len; i++) setTimeout(function(){ele.innerHTML += txt.shift();}, i*rate);',
14 => ' })(ele, txt, time);',
15 => '',
16 => '})(document.getElementById("edit_count"), "2018.5.1 / ab9", 400, document.getElementById("8c23b4144bd58c689e192c6ab912a3b75c76f6849977518b8bedefd5e347d67f"));',
17 => '//[[CATEGORY:user test pages]]'
] |
Unix timestamp of change (timestamp) | 1602241248 |