User:1F616EMO/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:1F616EMO/common.css. |
importScript('User:SD0001/GAR-helper.js'); // Backlink: [[User:SD0001/GAR-helper.js]]
/* PageStatusReport */
window.PageStatusReportItems = window.PageStatusReportItems || {};
window.PageStatusReportItems['Declined AfC submissions'] = {
'class': 'afc-declined',
'except': [
'Category:AfC submissions declined as an advertisement',
'Category:AfC submissions declined as all plot',
'Category:AfC submissions declined as already existing',
'Category:AfC submissions declined as blank',
'Category:AfC submissions declined as BLP violations',
'Category:AfC submissions declined as a non-notable book',
'Category:AfC submissions declined as copyright violations',
'Category:AfC submissions declined with a custom reason',
'Category:AfC submissions declined as a dictionary definition',
'Category:AfC submissions declined as a duplicate',
'Category:AfC submissions declined as an essay',
'Category:Inactive draft AfC submissions',
'Category:AfC submissions declined as jokes',
'Category:AfC submissions declined as lacking context',
'Category:AfC submissions declined as lacking reliable third-party sources',
'Category:AfC submissions declined as needing footnotes',
'Category:AfC submissions declined as needing to be merged',
'Category:AfC submissions declined as a neologism',
'Category:AfC submissions declined as a news report on a single event',
'Category:AfC submissions declined as non-notable',
'Category:AfC submissions declined as a non-notable academic topic',
'Category:AfC submissions declined as a non-notable athletic topic',
'Category:AfC submissions declined as a non-notable biography',
'Category:AfC submissions declined as a non-notable event',
'Category:AfC submissions declined as a non-notable film',
'Category:AfC submissions declined as a non-notable musical topic',
'Category:AfC submissions declined as a non-notable organization',
'Category:AfC submissions declined as non-notable web content',
'Category:AfC submissions declined as not in English',
'Category:AfC submissions declined as not suitable for Wikipedia',
'Category:AfC submissions declined as not written in a neutral point of view',
'Category:AfC submissions declined as being previously deleted',
'Category:AfC submissions declined as a redirect',
'Category:AfC submissions declined as a test',
'Category:Declined AfC submissions in userspace',
'Category:AfC submissions declined as being vandalism or attack pages',
],
};
window.PageStatusReportItems['Rejected AfC submissions'] = {
'class': 'afc-rejected',
'except': [
'Category:AfC submissions rejected as non-notable',
'Category:Rejected AfC submissions in userspace',
'Category:AfC submissions rejected as unencyclopedic',
],
};
window.PageStatusReportItems['Pending AfC submissions'] = {
'class': 'afc-pending',
'except': [
'Category:AfC pending submissions by age',
'Category:Pending template and disambiguation AfC submissions',
'Category:Pending AfC submissions in userspace',
'Category:Pending AfC submissions less than 450 bytes long',
'Category:Pending AfC submissions without a section',
'Category:Pending AfC submissions being reviewed now',
'Category:Pending AfC submissions in article space',
'Wikipedia:AfC sorting',
'Wikipedia:Articles for creation/Categories',
'Wikipedia:Articles for creation/Redirects',
'Wikipedia:Files for upload',
],
};
window.PageStatusReportItems['Living people'] = {
'class': 'blp',
};
window.PageStatusReportItems['All non-free media'] = {
'class': 'fairuse',
'except': [
'Category:WikiProject Highways non-free media',
'Category:All non-free logos',
'Category:WikiProject U.S. Roads non-free media',
],
};
mw.util.addCSS(`
.page-status-report-afc-pending::after {
color: blue;
content: '\\0000a0PAFC';
}
a.page-status-report-processed:has(> .page-status-report-afc-rejected) .page-status-report-afc-declined::after,
a.page-status-report-processed:has(> .page-status-report-afc-pending) .page-status-report-afc-declined::after
{
display: none;
}
.page-status-report-afc-declined::after {
color: #727200;
content: '\\0000a0DAFC';
}
.page-status-report-afc-rejected::after {
color: red;
content: '\\0000a0RAFC';
}
.page-status-report-blp::after {
color: green;
content: '\\0000a0BLP';
}
.page-status-report-fairuse::after {
color: green;
content: '\\0000a0NFM';
}
@media print {
.mw-file-description:has(.page-status-report-fairuse) {
display: none;
}
}
`);
mw.loader.load('//zh.wikipedia.org/w/index.php?title=User:1F616EMO/PageStatusReport/enwiki.js&action=raw&ctype=text/javascript');