Withersoul 235 wrote:
The custom profile background CSS is as follows:
The "Inactive" and "New Editor" tags stem from UserTags. However, your wiki already uses ProfileTags. So does the Minecraft Creepypasta Wiki and using UserTags and ProfileTags in tandem is bad practice and can lead to various glitches, even if the "don't override default tags" option is enabled for ProfileTags as the Minecraft Creepypasta Wiki has done.
If you would like to use UserTags, then I highly recommend you remove ProfileTags and transfer the tags from MediaWiki:ProfileTags to a .js page. Use either UserTags, ProfileTags or InactiveUsers, but not more than one, unless you use this code:
/** Makes ProfileTags not override InactiveUsers **/
mw.hook('dev.profile-tags').add(function() {
importArticle({
type: 'script',
article: 'u:dev:MediaWiki:InactiveUsers/code.js'
});
});
If you're concerned about having to wait days for UserTags to load due to the JS Review, you can use this code to load them as JSON from MediaWiki:Custom-UserTags instead:
/****
——————————————————————————————————————————————————————————————————————
# Load UserTags from MediaWiki JSON page
——————————————————————————————————————————————————————————————————————
**/
;(function () {
$.get(mw.util.wikiScript('load'), {
mode: 'articles',
articles: 'MediaWiki:Custom-UserTags',
only: 'styles'},
function(d) {window.UserTagsJS = JSON.parse(d.replace(/\/\*.*\*\//g, ''));}
)});
As soon as this snippet is approved, you can navigate to MediaWiki:Custom-UserTags and write the tags as JSON, like these examples. This way, you can set options for UserTags without having to wait for the review process. This is however, granted you don't violate the Terms of Use (e.g. giving yourself or someone else an "Owner" tag, giving others an offensive tags or manipulating global tags like those of the Staff, Helpers and VSTF).
If you need any more assistance or would like help in setting it up, please don't hestitate to contact me.
Can you help me set it up please? I made you admin so you can help me with it.