FANDOM


  • The Minecraft Creepypasta Wiki has a custom profile background for each profile as well as a 'new editor' and an 'inactive' tags for the new users and for the inactive users. I would like to have that on the Creepypasta Files Wiki, but I don't know the codes that's being used.

      Loading editor
    • The custom profile background CSS is as follows:

      .masthead-info {
          background-image: url('https://somerandomexample.net/userdata/lol.jpg');   
         /** other background stuff if desired **/
      }

      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.

        Loading editor
    • Withersoul 235 wrote: The custom profile background CSS is as follows:

      .masthead-info {
          background-image: url('https://somerandomexample.net/userdata/lol.jpg');   
         /** other background stuff if desired **/
      }

      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.

        Loading editor
    • Sure. What tag option are you aiming for?

        Loading editor
    • New editor, and inactive.

        Loading editor
    • So UserTags it will be?

      If so, you'll have to remove ProfileTags and port the tags to UserTags.

        Loading editor
    •   Loading editor
    • Sorry, I don't have a lot of time right now. I'll do it tomorrow.

        Loading editor
    • Withersoul 235 wrote: Sorry, I don't have a lot of time right now. I'll do it tomorrow.

      Alright. I can wait.

        Loading editor
    • Withersoul 235 wrote: Sorry, I don't have a lot of time right now. I'll do it tomorrow.

      I thought that you was gonna do it two days ago. What happened?

        Loading editor
    • Sorry, been busy.

      I've submitted MediaWiki:Wikia.js. Was that fine for you or should I have waited?

        Loading editor
    • Withersoul 235 wrote: Sorry, been busy.

      I've submitted MediaWiki:Wikia.js. Was that fine for you or should I have waited?

      It fine. The I messed up the watermark thing by removing the watermark that was in the theme designer and the home page is messed up. T^T

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message