Examine individual changes
This page allows you to examine the variables generated by the Edit Filter for an individual change.
Variables generated for this change
Variable | Value |
---|---|
Edit count of the user (user_editcount ) | 36942 |
Name of the user account (user_name ) | 'Galobtter' |
Age of the user account (user_age ) | 198538263 |
Groups (including implicit) the user is in (user_groups ) | [
0 => 'abusefilter',
1 => 'interface-admin',
2 => 'sysop',
3 => '*',
4 => 'user',
5 => 'autoconfirmed'
] |
Rights that the user has (user_rights ) | [
0 => 'abusefilter-modify',
1 => 'changetags',
2 => 'managechangetags',
3 => 'oathauth-enable',
4 => 'editinterface',
5 => 'editsitecss',
6 => 'editsitejson',
7 => 'editsitejs',
8 => 'editusercss',
9 => 'edituserjson',
10 => 'edituserjs',
11 => 'templateeditor',
12 => 'extendedconfirmed',
13 => 'suppressredirect',
14 => 'noratelimit',
15 => 'deleterevision',
16 => 'deletelogentry',
17 => 'editcontentmodel',
18 => 'block',
19 => 'createaccount',
20 => 'delete',
21 => 'deletedhistory',
22 => 'deletedtext',
23 => 'undelete',
24 => 'import',
25 => 'move',
26 => 'move-subpages',
27 => 'move-rootuserpages',
28 => 'move-categorypages',
29 => 'patrol',
30 => 'autopatrol',
31 => 'protect',
32 => 'editprotected',
33 => 'rollback',
34 => 'upload',
35 => 'reupload',
36 => 'reupload-shared',
37 => 'unwatchedpages',
38 => 'autoconfirmed',
39 => 'editsemiprotected',
40 => 'ipblock-exempt',
41 => 'blockemail',
42 => 'markbotedits',
43 => 'apihighlimits',
44 => 'browsearchive',
45 => 'movefile',
46 => 'mergehistory',
47 => 'deletechangetags',
48 => 'abusefilter-revert',
49 => 'autoreview',
50 => 'stablesettings',
51 => 'movestable',
52 => 'tboverride',
53 => 'titleblacklistlog',
54 => 'transcode-reset',
55 => 'transcode-status',
56 => 'urlshortener-create-url',
57 => 'globalblock-whitelist',
58 => 'nuke',
59 => 'skipcaptcha',
60 => 'override-antispoof',
61 => 'abusefilter-log-detail',
62 => 'abusefilter-view-private',
63 => 'abusefilter-log-private',
64 => 'abusefilter-modify-restricted',
65 => 'massmessage',
66 => 'review',
67 => 'read',
68 => 'edit',
69 => 'createtalk',
70 => 'writeapi',
71 => 'viewmywatchlist',
72 => 'editmywatchlist',
73 => 'viewmyprivateinfo',
74 => 'editmyprivateinfo',
75 => 'editmyoptions',
76 => 'centralauth-merge',
77 => 'abusefilter-view',
78 => 'abusefilter-log',
79 => 'vipsscaler-test',
80 => 'collectionsaveasuserpage',
81 => 'reupload-own',
82 => 'createpage',
83 => 'minoredit',
84 => 'editmyusercss',
85 => 'editmyuserjson',
86 => 'editmyuserjs',
87 => 'purge',
88 => 'sendemail',
89 => 'applychangetags',
90 => 'spamblacklistlog',
91 => 'mwoauthmanagemygrants',
92 => 'collectionsaveascommunitypage',
93 => 'createpagemainns'
] |
Whether the user is editing from mobile app (user_app ) | false |
Whether or not a user is editing through the mobile interface (user_mobile ) | false |
Page ID (page_id ) | 44580523 |
Page namespace (page_namespace ) | 2 |
Page title without namespace (page_title ) | 'Technical 13/Scripts/OrphanStatus.js' |
Full page title (page_prefixedtitle ) | 'User:Technical 13/Scripts/OrphanStatus.js' |
Edit protection level of the page (page_restrictions_edit ) | [] |
Action (action ) | 'edit' |
Edit summary/reason (summary ) | 'fix script' |
Old content model (old_content_model ) | 'javascript' |
New content model (new_content_model ) | 'javascript' |
Old page wikitext, before the edit (old_wikitext ) | 'if ( mw.config.get( 'wgNamespaceNumber' ) === 0 && mw.config.get( 'wgAction' ) === 'view' &&
$.inArray( 'All orphaned articles', mw.config.get( 'wgCategories' ) ) >= 0 ) {
function deOrphan( backLinks ){
$( '.loadinganimation' ).html( 'Article deOrphaning in progress...' );
var deOrphanerRequest = {
action: 'query',
titles: mw.config.get( 'wgPageName' ),
prop: 'revisions',
intoken: 'edit',
rvprop: 'content',
indexpageids: 1,
dataType: 'xml',
format: 'xml'
};
$.get( mw.config.get( 'wgScriptPath' ) + '/api.php', deOrphanerRequest, function( deOrphanerResponse ) {
var deOrphanerContent = $( deOrphanerResponse ).find( 'rev' ).text();
var oldMIparameter = false;
if ( deOrphanerContent.search( /\| *Orphan *=[\d\w\s\n]*(.*?\}\})/gi ) != -1 ) { oldMIparameter = true; }
deOrphanerContent = deOrphanerContent
.replace( /\{\{Orphan(.*?)\}\}[\|\n]/gi, '' )// Parse out orphan template (not) in multiple issues
.replace( /\| *Orphan *=[\d\w\s\n]*(.*?\}\})/gi, '$1' )// Parse out old style multiple issues orphan parameter
var deOrphanerSubmit = {
action: 'edit',
pageid: mw.config.get( 'wgArticleId' ),
text: deOrphanerContent,
summary: 'Article [[User:Technical_13/Scripts/OrphanStatus|deOrphaned]]!',
token: mw.user.tokens.get( 'editToken' )
};
$.when(
$.post( mw.config.get( 'wgScriptPath' ) + '/api.php', deOrphanerSubmit, function( deOrphanerSesponse ){ } )
).done( function() {
var deOrphanedText = 'Article deOrphaned! <small>( ';
if( oldMIparameter ){
deOrphanedText += '<b style="font-variant: small-caps;">Load</b> ';
} else {
deOrphanedText += '<a href="#reLoad" onClick="___location.reload();" style="font-weight: bold;">reload</a> | ';
}
deOrphanedText += '<a href="//en.wikipedia.org/w/index.php?title=' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&diff=cur&oldid=prev" style="font-weight: bold;">diff</a> )</small>';
$( '.loadinganimation' ).html( deOrphanedText );
} );
} );
}
$( '.ambox-Orphan' ).css( 'display', 'inherit' );
$( '#firstHeading' ).append( ' <span class="loadinganimation" style="font-size: medium !important; color: #000 !important; font-family: sans-serif !important;">• • • </span> ' );
var loadingAnimation = window.setInterval( function() { (
$( '.loadinganimation' ).html() == "• • • " ?
$( '.loadinganimation' ).html( ' • • • ' ) : (
$( '.loadinganimation' ).html() == " • • • " ?
$( '.loadinganimation' ).html( ' • • •' ) : (
$( '.loadinganimation' ).html() == " • • •" ?
$( '.loadinganimation' ).html( ' • • • ') :
$( '.loadinganimation' ).html( '• • • ' )
)
)
) }, 250);
var requestBacklinks = {
action: 'query',
list: 'backlinks',
format: 'json',
blfilterredir: 'nonredirects',
bllimit: 500,
blnamespace: 0,
bltitle: mw.config.get( 'wgTitle' )
};
$.get( mw.config.get( 'wgScriptPath' ) + '/api.php' , requestBacklinks, function( responseBacklinks ) {
var backLinks = responseBacklinks.query.backlinks.length;
switch ( backLinks ){
case 0:
var blStatement = 'This page is an <a href="//en.wikipedia.org/wiki/Wikipedia:Orphan" style="font-weight: bold;">orphan</a> as no <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other articles</a> link to it.';
break;
case 1:
var blStatement = 'There is <b>1 link to this page</b> from an <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other article</a>. <small>(<a href="#deOrphan" onClick="deOrphan(' + backLinks + ');" style="font-weight: bold;">deOrphan</a>)</small>';
break;
case 2:
var blStatement = 'There are <b>2 links to this page</b> from <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other articles</a>. <small>(<a href="#deOrphan" onClick="deOrphan(' + backLinks + ');" style="font-weight: bold;">deOrphan</a>)</small>';
break;
default:
var blStatement = 'This page is not an <a href="//en.wikipedia.org/wiki/Wikipedia:Orphan" style="font-weight: bold;">orphan</a> as it meets the "Rule of Three" by having three or more links from <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other articles</a>. <small>(<a href="#deOrphan" onClick="deOrphan(' + backLinks + ');" style="font-weight: bold;">deOrphan</a>)</small>';
// setTimeout( function() { deOrphan( backLinks ); }, 2500 );
break;
}
clearInterval( loadingAnimation );
$( '.loadinganimation' ).html( blStatement );
} );
}' |
New page wikitext, after the edit (new_wikitext ) | 'if ( mw.config.get( 'wgNamespaceNumber' ) === 0 && mw.config.get( 'wgAction' ) === 'view' &&
$.inArray( 'All orphaned articles', mw.config.get( 'wgCategories' ) ) >= 0 ) {
function deOrphan( backLinks ){
$( '.loadinganimation' ).html( 'Article deOrphaning in progress...' );
var deOrphanerRequest = {
action: 'query',
titles: mw.config.get( 'wgPageName' ),
prop: 'revisions',
intoken: 'edit',
rvprop: 'content',
indexpageids: 1,
dataType: 'xml',
format: 'xml'
};
$.get( mw.config.get( 'wgScriptPath' ) + '/api.php', deOrphanerRequest, function( deOrphanerResponse ) {
var deOrphanerContent = $( deOrphanerResponse ).find( 'rev' ).text();
var oldMIparameter = false;
if ( deOrphanerContent.search( /\| *Orphan *=[\d\w\s\n]*(.*?\}\})/gi ) != -1 ) { oldMIparameter = true; }
deOrphanerContent = deOrphanerContent
.replace( /\{\{Orphan(.*?)\}\}[\|\n]/gi, '' )// Parse out orphan template (not) in multiple issues
.replace( /\| *Orphan *=[\d\w\s\n]*(.*?\}\})/gi, '$1' );// Parse out old style multiple issues orphan parameter
var deOrphanerSubmit = {
action: 'edit',
pageid: mw.config.get( 'wgArticleId' ),
text: deOrphanerContent,
summary: 'Article [[User:Technical_13/Scripts/OrphanStatus|deOrphaned]]!',
token: mw.user.tokens.get( 'csrfToken' )
};
$.when(
$.post( mw.config.get( 'wgScriptPath' ) + '/api.php', deOrphanerSubmit, function( deOrphanerSesponse ){ } )
).done( function() {
var deOrphanedText = 'Article deOrphaned! <small>( ';
if( oldMIparameter ){
deOrphanedText += '<b style="font-variant: small-caps;">Load</b> ';
} else {
deOrphanedText += '<a href="#reLoad" onClick="___location.reload();" style="font-weight: bold;">reload</a> | ';
}
deOrphanedText += '<a href="//en.wikipedia.org/w/index.php?title=' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&diff=cur&oldid=prev" style="font-weight: bold;">diff</a> )</small>';
$( '.loadinganimation' ).html( deOrphanedText );
} );
} );
}
$( '.ambox-Orphan' ).css( 'display', 'inherit' );
$( '#firstHeading' ).append( ' <span class="loadinganimation" style="font-size: medium !important; color: #000 !important; font-family: sans-serif !important;">• • • </span> ' );
var loadingAnimation = window.setInterval( function() { (
$( '.loadinganimation' ).html() == "• • • " ?
$( '.loadinganimation' ).html( ' • • • ' ) : (
$( '.loadinganimation' ).html() == " • • • " ?
$( '.loadinganimation' ).html( ' • • •' ) : (
$( '.loadinganimation' ).html() == " • • •" ?
$( '.loadinganimation' ).html( ' • • • ') :
$( '.loadinganimation' ).html( '• • • ' )
)
)
) }, 250);
var requestBacklinks = {
action: 'query',
list: 'backlinks',
format: 'json',
blfilterredir: 'nonredirects',
bllimit: 500,
blnamespace: 0,
bltitle: mw.config.get( 'wgTitle' )
};
$.get( mw.config.get( 'wgScriptPath' ) + '/api.php' , requestBacklinks, function( responseBacklinks ) {
var backLinks = responseBacklinks.query.backlinks.length;
switch ( backLinks ){
case 0:
var blStatement = 'This page is an <a href="//en.wikipedia.org/wiki/Wikipedia:Orphan" style="font-weight: bold;">orphan</a> as no <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other articles</a> link to it.';
break;
case 1:
var blStatement = 'There is <b>1 link to this page</b> from an <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other article</a>. <small>(<a href="#deOrphan" onClick="deOrphan(' + backLinks + ');" style="font-weight: bold;">deOrphan</a>)</small>';
break;
case 2:
var blStatement = 'There are <b>2 links to this page</b> from <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other articles</a>. <small>(<a href="#deOrphan" onClick="deOrphan(' + backLinks + ');" style="font-weight: bold;">deOrphan</a>)</small>';
break;
default:
var blStatement = 'This page is not an <a href="//en.wikipedia.org/wiki/Wikipedia:Orphan" style="font-weight: bold;">orphan</a> as it meets the "Rule of Three" by having three or more links from <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + encodeURIComponent( mw.config.get( 'wgTitle' ) ) + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other articles</a>. <small>(<a href="#deOrphan" onClick="deOrphan(' + backLinks + ');" style="font-weight: bold;">deOrphan</a>)</small>';
// setTimeout( function() { deOrphan( backLinks ); }, 2500 );
break;
}
clearInterval( loadingAnimation );
$( '.loadinganimation' ).html( blStatement );
} );
}' |
Unified diff of changes made by edit (edit_diff ) | '@@ -19,5 +19,5 @@
deOrphanerContent = deOrphanerContent
.replace( /\{\{Orphan(.*?)\}\}[\|\n]/gi, '' )// Parse out orphan template (not) in multiple issues
- .replace( /\| *Orphan *=[\d\w\s\n]*(.*?\}\})/gi, '$1' )// Parse out old style multiple issues orphan parameter
+ .replace( /\| *Orphan *=[\d\w\s\n]*(.*?\}\})/gi, '$1' );// Parse out old style multiple issues orphan parameter
var deOrphanerSubmit = {
action: 'edit',
@@ -25,5 +25,5 @@
text: deOrphanerContent,
summary: 'Article [[User:Technical_13/Scripts/OrphanStatus|deOrphaned]]!',
- token: mw.user.tokens.get( 'editToken' )
+ token: mw.user.tokens.get( 'csrfToken' )
};
$.when(
' |
New page size (new_size ) | 5985 |
Old page size (old_size ) | 5984 |
Size change in edit (edit_delta ) | 1 |
Lines added in edit (added_lines ) | [
0 => ' .replace( /\| *Orphan *=[\d\w\s\n]*(.*?\}\})/gi, '$1' );// Parse out old style multiple issues orphan parameter',
1 => ' token: mw.user.tokens.get( 'csrfToken' )'
] |
Lines removed in edit (removed_lines ) | [
0 => ' .replace( /\| *Orphan *=[\d\w\s\n]*(.*?\}\})/gi, '$1' )// Parse out old style multiple issues orphan parameter',
1 => ' token: mw.user.tokens.get( 'editToken' )'
] |
Whether or not the change was made through a Tor exit node (tor_exit_node ) | false |
Unix timestamp of change (timestamp ) | 1574643913 |