This page allows you to examine the variables generated by the Edit Filter for an individual change.

Variables generated for this change

VariableValue
Edit count of the user (user_editcount)
646328
Name of the user account (user_name)
'WOSlinker'
Age of the user account (user_age)
445134073
Groups (including implicit) the user is in (user_groups)
[ 0 => 'sysop', 1 => '*', 2 => 'user', 3 => 'autoconfirmed' ]
Rights that the user has (user_rights)
[ 0 => 'templateeditor', 1 => 'changetags', 2 => 'extendedconfirmed', 3 => 'suppressredirect', 4 => 'noratelimit', 5 => 'deleterevision', 6 => 'deletelogentry', 7 => 'editcontentmodel', 8 => 'block', 9 => 'createaccount', 10 => 'delete', 11 => 'deletedhistory', 12 => 'deletedtext', 13 => 'undelete', 14 => 'editinterface', 15 => 'editsitejson', 16 => 'edituserjson', 17 => 'import', 18 => 'move', 19 => 'move-subpages', 20 => 'move-rootuserpages', 21 => 'move-categorypages', 22 => 'patrol', 23 => 'autopatrol', 24 => 'protect', 25 => 'editprotected', 26 => 'rollback', 27 => 'upload', 28 => 'reupload', 29 => 'reupload-shared', 30 => 'unwatchedpages', 31 => 'autoconfirmed', 32 => 'editsemiprotected', 33 => 'ipblock-exempt', 34 => 'blockemail', 35 => 'markbotedits', 36 => 'apihighlimits', 37 => 'browsearchive', 38 => 'movefile', 39 => 'mergehistory', 40 => 'managechangetags', 41 => 'deletechangetags', 42 => 'abusefilter-revert', 43 => 'oathauth-enable', 44 => 'autoreview', 45 => 'stablesettings', 46 => 'movestable', 47 => 'tboverride', 48 => 'titleblacklistlog', 49 => 'transcode-reset', 50 => 'transcode-status', 51 => 'globalblock-whitelist', 52 => 'nuke', 53 => 'skipcaptcha', 54 => 'override-antispoof', 55 => 'centralauth-createlocal', 56 => 'abusefilter-log-detail', 57 => 'abusefilter-view-private', 58 => 'abusefilter-log-private', 59 => 'abusefilter-modify-restricted', 60 => 'massmessage', 61 => 'review', 62 => 'read', 63 => 'edit', 64 => 'createtalk', 65 => 'writeapi', 66 => 'viewmywatchlist', 67 => 'editmywatchlist', 68 => 'viewmyprivateinfo', 69 => 'editmyprivateinfo', 70 => 'editmyoptions', 71 => 'centralauth-merge', 72 => 'abusefilter-view', 73 => 'abusefilter-log', 74 => 'vipsscaler-test', 75 => 'collectionsaveasuserpage', 76 => 'reupload-own', 77 => 'createpage', 78 => 'minoredit', 79 => 'editmyusercss', 80 => 'editmyuserjson', 81 => 'editmyuserjs', 82 => 'purge', 83 => 'sendemail', 84 => 'applychangetags', 85 => 'spamblacklistlog', 86 => 'mwoauthmanagemygrants', 87 => 'collectionsaveascommunitypage', 88 => '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)
2665789
Page namespace (page_namespace)
4
Page title without namespace (page_title)
'WikiProject User scripts/Scripts/Replace'
Full page title (page_prefixedtitle)
'Wikipedia:WikiProject User scripts/Scripts/Replace'
Edit protection level of the page (page_restrictions_edit)
[ 0 => 'sysop' ]
Page age in seconds (page_age)
486187194
Action (action)
'edit'
Edit summary/reason (summary)
'change source to syntaxhighlight'
Old content model (old_content_model)
'wikitext'
New content model (new_content_model)
'wikitext'
Old page wikitext, before the edit (old_wikitext)
'// <source lang=javascript> // Adds a "Replace" tab which pops up two prompt boxes; one for a regexp and one for a replacement function wpTextboxReplace() { var s = prompt("Search regexp:"); var txt = document.editform.wpTextbox1; while (true) { if (!s) return; var s_r = new RegExp(s, "mg"); if (s_r.test(txt.value)) { var r = prompt("Replace /"+s+"/ with:"); r = r.replace(/\\n/g,"\n"); // unescape newlines if (!r && r !== '') return; txt.value = txt.value.replace(s_r, r); return; } else { var s_0 = s; s = prompt("/" + s_0 + "/ did not match anything. You may enter a new regexp:"); } } } addOnloadHook(function () { if (document.forms.editform) { mw.util.addPortletLink('p-cactions', 'javascript:wpTextboxReplace()', 'Replace', 'ca-replace', 'Regexp replace for the edit window', 'R', document.getElementById('ca-history')); } }); // </source> // [[Category:Wikipedia scripts]]'
New page wikitext, after the edit (new_wikitext)
'// <syntaxhighlight lang=javascript> // Adds a "Replace" tab which pops up two prompt boxes; one for a regexp and one for a replacement function wpTextboxReplace() { var s = prompt("Search regexp:"); var txt = document.editform.wpTextbox1; while (true) { if (!s) return; var s_r = new RegExp(s, "mg"); if (s_r.test(txt.value)) { var r = prompt("Replace /"+s+"/ with:"); r = r.replace(/\\n/g,"\n"); // unescape newlines if (!r && r !== '') return; txt.value = txt.value.replace(s_r, r); return; } else { var s_0 = s; s = prompt("/" + s_0 + "/ did not match anything. You may enter a new regexp:"); } } } addOnloadHook(function () { if (document.forms.editform) { mw.util.addPortletLink('p-cactions', 'javascript:wpTextboxReplace()', 'Replace', 'ca-replace', 'Regexp replace for the edit window', 'R', document.getElementById('ca-history')); } }); // </syntaxhighlight> // [[Category:Wikipedia scripts]]'
Unified diff of changes made by edit (edit_diff)
'@@ -1,3 +1,3 @@ -// <source lang=javascript> +// <syntaxhighlight lang=javascript> // Adds a "Replace" tab which pops up two prompt boxes; one for a regexp and one for a replacement function wpTextboxReplace() @@ -28,5 +28,5 @@ }); -// </source> +// </syntaxhighlight> // [[Category:Wikipedia scripts]] '
New page size (new_size)
1091
Old page size (old_size)
1073
Size change in edit (edit_delta)
18
Lines added in edit (added_lines)
[ 0 => '// <syntaxhighlight lang=javascript>', 1 => '// </syntaxhighlight>' ]
Whether or not the change was made through a Tor exit node (tor_exit_node)
false
Unix timestamp of change (timestamp)
1612709577