Admin Forum:Signature Timestamp

Forums: Admin Central Index → Technical Help → Signature Timestamp Wikia's forums are a place for the community to help other members. To contact staff directly or to report bugs, please use Special:Contact.

Hi there,

I wanted to ask if anyone has a way to have a timestamp work properly for custom signatures. I've attempted quite a few times to get it to work, but the code that I put in often immediately turns into a timestamp, meaning that my signatures are given an incorrect time. Is there any way to get a piece of code that will make each of my signatures give a correct time-stamp, or do I need to change the way I use the signature itself?


 * This is how I have mine set up:
 * My signature has two unnamed parsers, one each for both time and date.
 * My signature redirect passes those two parameters.
 * In my preferences, I substitute those two parameters, expressing them as the correct time and date:
 * It's also a good idea to have an #if parser function in your preferences, so you don't need to port your signature everywhere you edit.
 * Edit: I see you have a smaller sig, so the redirect thing isn't really necessary (though not a bad idea, as it decreases talk page clutter). You can just skip step two.
 * Edit: I see you have a smaller sig, so the redirect thing isn't really necessary (though not a bad idea, as it decreases talk page clutter). You can just skip step two.


 * Oh, I see. Thanks! I do have a question though; what does the #if parser do?


 * Oops! I'm using the Nosubst template, so I'll have to change it. Thanks again,


 * With that in your preferences, the server checks to see if User:Example/Sig exists. If it does, the entire signature is used. If it doesn't, a shorter one is used (that doesn't require any local pages to function). This way, if you need to use your signature on a wiki that you haven't yet ported it onto, you can. Mine does this: Dzylon (Talk) 10:37:28/June 06, 2012
 * With that in your preferences, the server checks to see if User:Example/Sig exists. If it does, the entire signature is used. If it doesn't, a shorter one is used (that doesn't require any local pages to function). This way, if you need to use your signature on a wiki that you haven't yet ported it onto, you can. Mine does this: Dzylon (Talk) 10:37:28/June 06, 2012


 * Edit: I looked at your SigReal page and noticed you were using two unnamed parameters right next to each other. This isn't necessary in your case; you could just use one. I need to have two with mine because there's a border between the time and date.

Hmm....Alright. Thank you very much or your help, I'll get working on it now :)