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 ) | 16587 |
Name of the user account (user_name ) | 'Ladsgroup' |
Age of the user account (user_age ) | 445442417 |
Groups (including implicit) the user is in (user_groups ) | [
0 => 'extendedconfirmed',
1 => 'ipblock-exempt',
2 => 'reviewer',
3 => 'rollbacker',
4 => '*',
5 => 'user',
6 => 'autoconfirmed'
] |
Rights that the user has (user_rights ) | [
0 => 'autoconfirmed',
1 => 'edit',
2 => 'editcontentmodel',
3 => 'editinterface',
4 => 'editsemiprotected',
5 => 'editsitecss',
6 => 'editsitejs',
7 => 'editsitejson',
8 => 'editusercss',
9 => 'edituserjs',
10 => 'globalblock-exempt',
11 => 'torunblocked',
12 => 'ipblock-exempt',
13 => 'autoreview',
14 => 'read',
15 => 'writeapi',
16 => 'abusefilter-log-detail',
17 => 'abusefilter-view',
18 => 'abusefilter-log',
19 => 'minoredit',
20 => 'editmyusercss',
21 => 'editmyuserjson',
22 => 'editmyuserjs',
23 => 'purge',
24 => 'applychangetags',
25 => 'skipcaptcha'
] |
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 ) | 4046310 |
Page namespace (page_namespace ) | 2 |
Page title without namespace (page_title ) | 'Mike Dillon/Scripts/tabs.js' |
Full page title (page_prefixedtitle ) | 'User:Mike Dillon/Scripts/tabs.js' |
Edit protection level of the page (page_restrictions_edit ) | [] |
Page age in seconds (page_age ) | 506250736 |
Action (action ) | 'edit' |
Edit summary/reason (summary ) | 'Maintenance: Fixing deprecated call to addPortletLink ([[mw:ResourceLoader/Migration_guide_(users)#addPortletLink]])' |
Old content model (old_content_model ) | 'javascript' |
New content model (new_content_model ) | 'javascript' |
Old page wikitext, before the edit (old_wikitext ) | '// Requires: [[User:Mike Dillon/Scripts/i18n.js]]
/* <pre><nowiki> */
/* Messages */
wfAddMsg("en", "purgeTabLabel", "Purge");
wfAddMsg("es", "purgeTabLabel", "Purgar");
wfAddMsg("en", "purgeTabTitle", "Purge this page from the server cache");
wfAddMsg("es", "purgeTabTitle", "Purgar esta página del cache de servidor");
wfAddMsg("en", "lastDiffTabLabel", "Last");
wfAddMsg("es", "lastDiffTabLabel", "Previa");
wfAddMsg("en", "lastDiffTabTitle", "Show differences between this revision and the previous");
wfAddMsg("es", "lastDiffTabTitle", "Mostrar las diferencias entre esta revisión y la previa");
// Add a new list item to the page tabs
function addTab(url, name, id, title, key) {
// Add tab to the top tabs
addPortletLink('p-cactions', url, name, id, title, key);
// Add tab to the bottom if the tabs have been cloned
addPortletLink('mytabs', url, name, 'mytabs-' + id, title, key);
}
// Add a 'purge' and 'last' links to the tabs
addOnloadHook(function () {
var x = document.getElementById('ca-history');
if(!x) return;
if(x.children) x = x.children[0].href;
else x = x.childNodes[0].href;
addTab(x.replace(/action=history/, "action=purge"),
wfMsg("purgeTabLabel"), 'ca-purge', wfMsg("purgeTabTitle"));
addTab(x.replace(/action=history/, "diff=" + wgCurRevisionId + "&oldid=prev"),
wfMsg("lastDiffTabLabel"), 'ca-last', wfMsg("lastDiffTabTitle"));
});
/* </nowiki></pre> */' |
New page wikitext, after the edit (new_wikitext ) | '// Requires: [[User:Mike Dillon/Scripts/i18n.js]]
/* <pre><nowiki> */
/* Messages */
wfAddMsg("en", "purgeTabLabel", "Purge");
wfAddMsg("es", "purgeTabLabel", "Purgar");
wfAddMsg("en", "purgeTabTitle", "Purge this page from the server cache");
wfAddMsg("es", "purgeTabTitle", "Purgar esta página del cache de servidor");
wfAddMsg("en", "lastDiffTabLabel", "Last");
wfAddMsg("es", "lastDiffTabLabel", "Previa");
wfAddMsg("en", "lastDiffTabTitle", "Show differences between this revision and the previous");
wfAddMsg("es", "lastDiffTabTitle", "Mostrar las diferencias entre esta revisión y la previa");
// Add a new list item to the page tabs
function addTab(url, name, id, title, key) {
// Add tab to the top tabs
mw.util.addPortletLink('p-cactions', url, name, id, title, key);
// Add tab to the bottom if the tabs have been cloned
mw.util.addPortletLink('mytabs', url, name, 'mytabs-' + id, title, key);
}
// Add a 'purge' and 'last' links to the tabs
addOnloadHook(function () {
var x = document.getElementById('ca-history');
if(!x) return;
if(x.children) x = x.children[0].href;
else x = x.childNodes[0].href;
addTab(x.replace(/action=history/, "action=purge"),
wfMsg("purgeTabLabel"), 'ca-purge', wfMsg("purgeTabTitle"));
addTab(x.replace(/action=history/, "diff=" + wgCurRevisionId + "&oldid=prev"),
wfMsg("lastDiffTabLabel"), 'ca-last', wfMsg("lastDiffTabTitle"));
});
/* </nowiki></pre> */' |
Unified diff of changes made by edit (edit_diff ) | '@@ -17,8 +17,8 @@
function addTab(url, name, id, title, key) {
// Add tab to the top tabs
- addPortletLink('p-cactions', url, name, id, title, key);
+ mw.util.addPortletLink('p-cactions', url, name, id, title, key);
// Add tab to the bottom if the tabs have been cloned
- addPortletLink('mytabs', url, name, 'mytabs-' + id, title, key);
+ mw.util.addPortletLink('mytabs', url, name, 'mytabs-' + id, title, key);
}
' |
New page size (new_size ) | 1463 |
Old page size (old_size ) | 1447 |
Size change in edit (edit_delta ) | 16 |
Lines added in edit (added_lines ) | [
0 => ' mw.util.addPortletLink('p-cactions', url, name, id, title, key);',
1 => ' mw.util.addPortletLink('mytabs', url, name, 'mytabs-' + id, title, key);'
] |
Lines removed in edit (removed_lines ) | [
0 => ' addPortletLink('p-cactions', url, name, id, title, key);',
1 => ' addPortletLink('mytabs', url, name, 'mytabs-' + id, title, key);'
] |
External links added in the edit (added_links ) | [] |
External links in the page, before the edit (old_links ) | [] |
Whether or not the change was made through a Tor exit node (tor_exit_node ) | false |
Unix timestamp of change (timestamp ) | 1645977063 |
External links in the new text (new_links ) | [] |