Template talk:User Wikipedian for/Archive 1
This is an archive of past discussions about Template:User Wikipedian for. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 |
Category
Could an administrator please add a category to this template? I think Category:User namespace templates is sufficient? Gary King (talk) 05:45, 19 February 2008 (UTC)
- done. --barneca (talk) 00:20, 1 March 2008 (UTC)
Interwiki
{{editprotected}}
Please add interwiki to tl. The template is tl:Template:User Wikipedista-tagal -- Felipe Aira 06:08, 27 April 2008 (UTC)
- Done - Nihiltres{t.l} 13:29, 27 April 2008 (UTC)
Using a general template
{{editprotected}}
The logic generating year, month and days have been moved to {{For year month day}}. Can an admin incorporate this in the template so we do this calculation in one template (a lot of other templates do the same calculation Template:User Wikimedian For, Template:User Admin For, etc.). Nsaa (talk) 08:27, 5 September 2008 (UTC)
- Can an admin replace everything between the two
'''
with{{For year month day|year={{{year|2005}}}|month={{{month|12}}}|day={{{day|31}}} }}
(ex: [1]). It has been done on many/every other template using this functionality like
- Nsaa (talk) 22:35, 8 September 2008 (UTC)
- Done. Cheers. --MZMcBride (talk) 22:47, 8 September 2008 (UTC)
- Thanx! Nsaa (talk) 22:08, 9 September 2008 (UTC)
- Done. Cheers. --MZMcBride (talk) 22:47, 8 September 2008 (UTC)
Proposing a new image
I would like to suggest that at long last the image used for this userbox be changed. Rather than change it unilaterally I would propose it here on the talk page first. I was perusing the commons and took note of the following images, each of which I think is preferable to what appears to be a bloody 24 on the calendar currently. Some suggestions:
- - File:Fairytale date.png
- - File:Config-date.png
- - File:Dates.png
- - File:Crystal Clear app date.png
- - File:Crystal 128 date.png
- - File:Red clock.png
- - File:Crystal Clear app karm.png
Any thoughts? |► ϋrbanяenewaℓ • TALK ◄| 19:31, 30 December 2008 (UTC)
- Sounds sensible. I'd probably go for a full month calendar ala crystal 128 date or a clock face. -- samj inout 13:46, 1 March 2009 (UTC)
- Sounds sensible indeed. I highly suggest going for the Wikipedia logo since this is so related to Wikipedia! Jwikiediting (talk) 14:30, 22 April 2012 (UTC)
Wikipedia birthdays?
I was thinking it would be nice to have the template show a special message when it's that user's "Wikipedia birthday" (ie, exactly X years since that user joined WP). I threw together a mock-up at User:Rjanag/Template:User Wikipedian For, which is the same as this userbox but has a tiny bit of extra code to both change the message to "Today is this user's WikiBirthday" and to temporarily add that user to a category of WikiBirthdays (it would automatically remove the category once the current date is no longer the same as the date of joining). There's an example at the sandbox of what it would look like: [2]. Does anyone think it would be worthwhile to update the userbox with this stuff? rʨanaɢ talk/contribs 17:36, 8 March 2009 (UTC)
- I didn't notice this message before, but I noticed when someone edited it in. I think this is a terrible idea. It makes me cringe, and frankly, if there turns out to be consensus for it, I won't use this template any more. Hesperian 22:15, 11 March 2009 (UTC)
- Could you please explain why you think it's a bad idea? I'm not offended if you don't like it; I would just like to know why. rʨanaɢ talk/contribs 22:19, 11 March 2009 (UTC)
- Valuing/tracking how long you've been here is a far cry from celebrating your "WikiBirthday". I find the latter to be silly and embarrassing. I don't have a problem if other people like the idea, but by working it into this template you are forcing every user of it to get on board. Hesperian 22:52, 11 March 2009 (UTC)
- Yeah, it's a silly word to use, and I could always change it (that was just the first thing that popped into my head). I mean, {{cookie}}s are silly too; I figured it would just be a nice gesture and wouldn't hurt anyone. I guess I'll wait and here if anyone else has an opinion (although they probably don't; I don't think many people watch this page). rʨanaɢ talk/contribs 23:03, 11 March 2009 (UTC)
- Also, please keep in mind that it would be possible to remove the text that says "today is this user's birthday" or whatever but still keep the part of the text that populates Category:Current Wikipedia birthdays. That way there would be no change at all to what shows up on your userbox, but there would still be a way to see who's in the category. (For example, it was through that category that I noticed User:Hiberniantears joined exactly 4 years ago today. Who knows, someone might want to give him a cookie or something. Again, it's silly, but is it hurting anyone?) rʨanaɢ talk/contribs 23:09, 11 March 2009 (UTC)
- I've restored the functionality but with an optout. Hesperian 23:36, 11 March 2009 (UTC)
- That seems like a good compromise. Thanks, rʨanaɢ talk/contribs 23:40, 11 March 2009 (UTC)
- I've restored the functionality but with an optout. Hesperian 23:36, 11 March 2009 (UTC)
- Valuing/tracking how long you've been here is a far cry from celebrating your "WikiBirthday". I find the latter to be silly and embarrassing. I don't have a problem if other people like the idea, but by working it into this template you are forcing every user of it to get on board. Hesperian 22:52, 11 March 2009 (UTC)
- Could you please explain why you think it's a bad idea? I'm not offended if you don't like it; I would just like to know why. rʨanaɢ talk/contribs 22:19, 11 March 2009 (UTC)
Demo:
{{User Wikipedian For | year=2008 | month={{CURRENTMONTH}} | day = {{CURRENTDAY}}}}
Today is this user's WikiBirthday. This user has been on Wikipedia for 16 years. |
{{User Wikipedian For | year=2008 | month={{CURRENTMONTH}} | day = {{CURRENTDAY}} | wikibirthday = yes}}
Today is this user's WikiBirthday. This user has been on Wikipedia for 16 years. |
{{User Wikipedian For | year=2008 | month={{CURRENTMONTH}} | day = {{CURRENTDAY}} | wikibirthday = no}}
Hesperian 23:41, 11 March 2009 (UTC)
Template name
Shouldn't the name of this template be "User Wikipedian for", with "for" not capitalized? Timmeh!(review me) 01:42, 16 June 2009 (UTC)
- Yes I agree and have just moved it. — Martin (MSGJ · talk) 21:42, 17 January 2010 (UTC)
use Userbox template
{{editprotected}}
Could the template code be changed to that listed below so that it uses the {{userbox}} template.
{{userbox | border-c = {{{border|#8D40B3}}} | id = [[image:Noia 64 apps karm.png|43px]] | id-c = {{{imgbg|#D9BFE5}}} | info = {{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''first day''' on Wikipedia.<div style="display:none;">}}}}}}{{#ifeq:{{{wikibirthday|yes}}}|no||{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''[[:Category:Current Wikipedia birthdays|WikiBirthday]].'''<includeonly>[[Category:Current Wikipedia birthdays]]</includeonly>}}}}}} This user has been on Wikipedia for <br /> ''' {{For year month day|year={{{year|2005}}}|month={{{month|12}}}|day={{{day|31}}} }}'''.{{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|</div>}}}}}} | info-c = {{{bgcolor|#F0E6F5}}} }}<noinclude> {{pp-template|small=yes}} {{documentation}} </noinclude>
Thanks. -- WOSlinker (talk) 07:04, 19 August 2009 (UTC)
- Done — Martin (MSGJ · talk) 10:12, 19 August 2009 (UTC)
Add optional link to "User Creation Log"?
Are there any objections or comments on modifying the format so that an option exists to make the infobox text "on Wikipedia" into a link to the User Creation Log?
This can be accomplished by changing this row:
| info = {{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''first day''' on Wikipedia.<div style="display:none;">}}}}}}{{#ifeq:{{{wikibirthday|yes}}}|no||{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''[[:Category:Current Wikipedia birthdays|WikiBirthday]].'''<includeonly>[[Category:Current Wikipedia birthdays]]</includeonly>}}}}}} This user has been on Wikipedia for <br /> ''' {{For year month day|year={{{year|2005}}}|month={{{month|12}}}|day={{{day|31}}} }}'''.{{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|</div>}}}}}}
to instead read as:
| info = <div class="plainlinks neverexpand">{{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''first day''' on Wikipedia.<div style="display:none;">}}}}}}{{#ifeq:{{{wikibirthday|yes}}}|no||{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''[[:Category:Current Wikipedia birthdays|WikiBirthday]].'''<includeonly>[[Category:Current Wikipedia birthdays]]</includeonly>}}}}}} This user has been {{#if:{{{link|}}}|[http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=newusers&user=&page=User%3A{{BASEPAGENAMEE}} on Wikipedia]|on Wikipedia}} for '''</br> {{For year month day|year={{{year|2005}}}|month={{{month|12}}}|day={{{day|31}}} }}'''.{{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|</div>}}}}}}</div>
The primary differences are the use of "plainlinks" for formatting, and the addition of code so that if the argumant "link" contains any value, then "on Wikipedia" becomes hyperlinked to the User Creation Log of the user on whose page the template is attached.
A test / example of the change can be found at User:Barek/userboxes/wikipedian. --- Barek (talk • contribs) - 18:16, 11 January 2010 (UTC)
{{editprotected}}
- No comments on the suggestion, so being bold and requesting it. As shown in the example, the change has no impact on the template unless "
link=(any value)
" is added to the usage.
- Please change the code that currently reads:
| info = {{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''first day''' on Wikipedia.<div style="display:none;">}}}}}}{{#ifeq:{{{wikibirthday|yes}}}|no||{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''[[:Category:Current Wikipedia birthdays|WikiBirthday]].'''<includeonly>[[Category:Current Wikipedia birthdays]]</includeonly>}}}}}} This user has been on Wikipedia for <br /> ''' {{For year month day|year={{{year|2005}}}|month={{{month|12}}}|day={{{day|31}}} }}'''.{{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|</div>}}}}}}
- to instead read as:
| info = <div class="plainlinks neverexpand">{{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''first day''' on Wikipedia.<div style="display:none;">}}}}}}{{#ifeq:{{{wikibirthday|yes}}}|no||{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|Today is this user's '''[[:Category:Current Wikipedia birthdays|WikiBirthday]].'''<includeonly>[[Category:Current Wikipedia birthdays]]</includeonly>}}}}}} This user has been {{#if:{{{link|}}}|[http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=newusers&user=&page=User%3A{{BASEPAGENAMEE}} on Wikipedia]|on Wikipedia}} for '''</br> {{For year month day|year={{{year|2005}}}|month={{{month|12}}}|day={{{day|31}}} }}'''.{{#ifeq:{{CURRENTYEAR}}|{{{year|}}}|{{#ifeq:{{CURRENTMONTH}}|{{{month|}}}|{{#ifeq:{{CURRENTDAY}}|{{{day|}}}|</div>}}}}}}</div>
- Thank you. I'll update the /doc data once the template is updated. --- Barek (talk • contribs) - 20:51, 17 January 2010 (UTC)
- Done — Martin (MSGJ · talk) 21:38, 17 January 2010 (UTC)
Image
The image appears to be dead, from what I can see. Anyone else experiencing this? Connormah (talk) 22:43, 17 January 2010 (UTC)
- I'm still seeing the image. --- Barek (talk • contribs) - 23:20, 17 January 2010 (UTC)
- I see it fine as well (File:Noia 64 apps karm.png). Try refreshing your cache. rʨanaɢ talk/contribs 23:26, 17 January 2010 (UTC)
- I can't seem to get it...it appears as the dead image symbol for me. Connormah (talk) 01:16, 18 January 2010 (UTC)
- You cloud be behind a web filter or for some reason your current computer, or internet service provider (ISP) is not allowing the image through, please try using another computer with a different ISP, for instance if your having the problem at work try at home. You may contact me directly if you continue to have technical problems --Koman90, A+ (talk) 23:25, 21 January 2010 (UTC)
- I'll try a different computer, thanks. Connormah (talk) 23:28, 21 January 2010 (UTC)
- You cloud be behind a web filter or for some reason your current computer, or internet service provider (ISP) is not allowing the image through, please try using another computer with a different ISP, for instance if your having the problem at work try at home. You may contact me directly if you continue to have technical problems --Koman90, A+ (talk) 23:25, 21 January 2010 (UTC)
- I can't seem to get it...it appears as the dead image symbol for me. Connormah (talk) 01:16, 18 January 2010 (UTC)
Option to modify phrase?
Can we please add an optional parameter ("status
", in the examples below) to allow modification of the phrase "on Wikipedia", thus saving work creating a lot of duplicate user templates for different but similar uses? Examples:
{{User Wikipedian for|year=2001|month=1|day=1}}
, without the optional argument, would display the normal current text of "This user has been on Wikipedia for X years, Y months, and Z days."{{User Wikipedian for|year=2001|month=1|day=1|status=on vacation}}
would display "This user has been on vacation for X years, Y months, and Z days."{{User Wikipedian for|year=2001|month=1|day=1|status=[[Antarctica|on vacation]]}}
would display "This user has been on vacation for X years, Y months, and Z days."{{User Wikipedian for|year=2001|month=1|day=1|status=a developer}}
would display "This user has been a developer for X years, Y months, and Z days."{{User Wikipedian for|year=2001|month=1|day=1|status=a citizen of [[Jupiter]]}}
would display "This user has been a citizen of Jupiter for X years, Y months, and Z days."
—Lowellian (reply) 04:20, 15 February 2010 (UTC)
Nowrap instead of br
First off, unless there's something in XML/HTML I'm not aware of, the </br>
is malformed...it should be <br />
. But in any case, I'd like to recommend getting rid of the tag altogether and using:
{{Nowrap|{{For year month day|year={{{year|2005}}}|month={{{month|12}}}|day={{{day|31}}}}}}}
This will allow cases like "no days at all" to not look quite so silly, while still ensuring that the duration all stays on one line. In other words, you'd get this:
instead of this:
The possible downside to that is that the time wouldn't be displayed in the same place on all boxes , for example (examples removed as they became invalid in light of the ensuing discussion...Nowrap vs. br would only be visible in most cases if UB text was changed from what it is now):
Opinions? —RobinHood70 (talk • contribs) 19:19, 7 July 2010 (UTC)
- Would this only be for the user's first day? I doubt anyone would add this userbox on their first day. I don't think I discovered userboxes until a couple of weeks after I signed up. 117Avenue (talk) 02:00, 8 July 2010 (UTC)
- A lot of people add this on their first day. Don't ask me why, but they do. rʨanaɢ (talk) 03:48, 8 July 2010 (UTC)
- Then provide a fix for the first day, by removing the second sentance, so that the last version above doesn't happen. 117Avenue (talk) 06:13, 8 July 2010 (UTC)
- A lot of people add this on their first day. Don't ask me why, but they do. rʨanaɢ (talk) 03:48, 8 July 2010 (UTC)
- Sorry, I inadvertently included the "first day" text in all my examples. Now removed.
- As it stands now, the change would only affect the formatting on the person's first day, yes. I think Nowrap for all the time spans is still the better way to go in the long run, just in case the wording is ever changed or whatever, but the only one that's currently ugly is the wrapping on the user's first day, so that could certainly be corrected as 117Avenue suggested. —RobinHood70 (talk • contribs) 05:52, 9 July 2010 (UTC)
The time is going with GMT, or the time is wrong.
Isn't it the 13th of december in GMT -8? — Preceding unsigned comment added by WhizBot (talk • contribs) 00:17, 14 December 2010 (UTC)
- It is, but it is the 14th in UTC. 117Avenue (talk) 00:43, 14 December 2010 (UTC)
Not working
I am using this userbox, and it has said for three days that I've been here 2 years, 5 months, and 19 days, which, considering I created an account on 19 September, 2008, is not correct. --T H F S W (T · C · E) 18:08, 7 February 2011 (UTC)
- You had your box set to say you started in August, rather than September. I went ahead and fixed it. 2 years, 4 months, and 19 days should be correct, if I'm counting right. rʨanaɢ (talk) 18:16, 7 February 2011 (UTC)
SVG
{{editprotected}}
svg image File:Noia_64_apps_karm.svg --Olli (talk) 10:27, 26 March 2011 (UTC)
- Done — Martin (MSGJ · talk) 16:58, 26 March 2011 (UTC)
Sandbox sync
I've made some tweaks to the sandbox code; the most important correction is proper support for missing variables, so if you just say "month=3" and nothing else the template assumes you're talking about March this year and not March of 2005. There are also some tweaks to the wrapping code. All of the sub-templates have their own sandboxed and testcases if people want to poke about. I'll get this synced in a few days if there are no objections. Chris Cunningham (user:thumperward) - talk 12:43, 16 June 2011 (UTC)
- I've now completed this. Chris Cunningham (user:thumperward) - talk 10:32, 24 June 2011 (UTC)
Float needs to be passed to the user box
Right now, this has float forced to left. No choice. It has to float left. It calls the userbox, which allows you to include your own choice of a value for float. So, this template should allow float as a parameter and pass that to the userbox. Then, the user could have float=right or float=none. There is no reason that float=left should be forced on everyone. -- kainaw™ 12:39, 10 August 2011 (UTC)
Bug: link to user creation log
I tried using the "link=true" parameter to link "on Wikipedia" to the user creation log, but the link target has no results: this is what the link takes me to (with my username in the "target" box) and this is what it should take me to (with my username in the "performer" box). הסרפד (Hasirpad) [formerly Ratz...bo] 06:02, 18 December 2012 (UTC)
- That link should work with the username in the target box (e.g. for me). I'm not sure why it doesn't for you; this might be a bug in MediaWiki. Unfortunately, using "performer" doesn't work for users who had their account created by someone else using the Request an account process. For users who created accounts on behalf of others, using "performer" lists all of the accounts they created, in addition to their own. See for yourself:
Interesting. Also interesting is that when I use my old username (Ratzd'mishukribo) as the "target", I can find myself in the user creation log - as הסרפד, of course. Fo you have any suggestions how I can link to the appropriate log entry? הסרפד (Hasirpad) [formerly Ratz...bo] 23:31, 18 December 2012 (UTC)
- Looks like the bug is related to having a renamed account – I checked a handful of other renamed accounts, and they have the same problem. You can work around it by omitting
link=true
and instead usingdiff=
to give a different URL. For example,{{User Wikipedian for|diff={{fullurl:Special:Log/newusers|page=User:Ratzd'mishukribo}} }}
will give the userbox on the right, where the link should work. – PartTimeGnome (talk | contribs) 00:03, 19 December 2012 (UTC)- Thank you! הסרפד (Hasirpad) [formerly Ratz...bo] 00:53, 19 December 2012 (UTC)
Another bug
Wait a moment: another question about an apparent bug.
- This is the result I get when I fill the year, month, and day parameters manually, which is correct.
- This result is what I get using only the "diff" link (as you showed me above) which is wrong. הסרפד (Hasirpad) [formerly Ratz...bo] 04:07, 19 December 2012 (UTC)
- Sorry, that was my mistake. The
year=
,month=
andday=
parameters are required; I should not have omitted them (they default to 31 December 2005 if not specified). Your example with all four parameters (year
,month
,day
anddiff
) is correct. – PartTimeGnome (talk | contribs) 19:04, 19 December 2012 (UTC)
- Sorry, that was my mistake. The
Bug
(What I actually came here for) This box appears to have been freaked out by leap year; it's currently showing me as 1 year, 2 months, and minus 2 days... --barneca (talk) 00:20, 1 March 2008 (UTC)
- Yup, same here this year: This user has been on Wikipedia for 3 years, 2 months, and -2 days. -- samj inout 13:45, 1 March 2009 (UTC)
- "This user has been on Wikipedia for 7 years, 2 months and -2 days." Jason Quinn (talk) 05:58, 1 March 2013 (UTC)
- The problem seems to be in {{for year month day}}. E.g.
{{for year month day|year=2005|month=12|day=31}}
today gives "7 years, 2 months and -2 days". BTW, Jason – you need to specify theyear=
,month=
, andday=
parameters to tell the template when you started. Without them it assumes you started on 31 December 2005. – PartTimeGnome (talk | contribs) 21:46, 1 March 2013 (UTC)- {{For year month day}} has now been fixed. – PartTimeGnome (talk | contribs) 15:31, 2 March 2013 (UTC)
- The problem seems to be in {{for year month day}}. E.g.
- "This user has been on Wikipedia for 7 years, 2 months and -2 days." Jason Quinn (talk) 05:58, 1 March 2013 (UTC)
- Great, thanks PartTimeGnome! Geez, you know you've been around for a while when the template way off by more than a year and you don't even realize it! Jason Quinn (talk) 02:53, 3 March 2013 (UTC)
Edit request on 2 March 2013
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
To force the user to use the parameters, and not use a default date, please replace the info line with the follow:
<span class="plainlinks neverexpand">{{#ifeq:{{{wikibirthday}}}|no||{{#ifeq:{{CURRENTMONTH}}{{CURRENTDAY}}|{{{month}}}{{{day}}}|Today is this user's {{#ifeq:{{CURRENTYEAR}}|{{{year}}}|'''first day''' on Wikipedia|'''[[:Category:Current Wikipedia birthdays|WikiBirthday]]'''}}.<includeonly>[[Category:Current Wikipedia birthdays|{{ROOTPAGENAMEE}}]]</includeonly>}}}} This user has been {{#if:{{{link|}}}|[http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=newusers&user=&page=User%3A{{ROOTPAGENAMEE}} on Wikipedia]|{{#if:{{{diff|}}}|[{{{diff}}} on Wikipedia]| on Wikipedia}}}} for {{#ifeq:{{{year|<noinclude>y</noinclude>}}}||an indeterminate time|{{#ifeq:{{{month|<noinclude>y</noinclude>}}}||'''{{#expr:{{CURRENTYEAR}}-{{{year}}}-1}} or {{#expr:{{CURRENTYEAR}}-{{{year}}}}} years'''|{{#ifeq:{{{day|<noinclude>y</noinclude>}}}||'''{{#expr:{{CURRENTYEAR}}-{{{year}}}-1}} or {{#expr:{{CURRENTYEAR}}-{{{year}}}}} years'''|'''{{for year month day|year={{{year|2001}}}|month={{{month|01}}}|day={{{day|15}}}}}'''}}}}}}.</span>
Thank-you. 117Avenue (talk) 04:14, 2 March 2013 (UTC)
- Done. I also formatted the code to make it a bit more readable. Best — Mr. Stradivarius ♪ talk ♪ 12:03, 2 March 2013 (UTC)
- This does not appear to be working right. I have October 2004 specified without the day. It's always returned an accurate period assuming I think the last day of the month. Now it gives a vague "8 or 9 years" even though it has sufficient information to do better. Yworo (talk) 00:13, 9 March 2013 (UTC)
- An assumption would make it wrong, just add the day. According to the log you created your account 21:35, 1 June 2009. 117Avenue (talk) 07:02, 9 March 2013 (UTC)
- This does not appear to be working right. I have October 2004 specified without the day. It's always returned an accurate period assuming I think the last day of the month. Now it gives a vague "8 or 9 years" even though it has sufficient information to do better. Yworo (talk) 00:13, 9 March 2013 (UTC)
On second thought, that's not too difficult to calculate. Please sync the template with my latest revision to the sandbox. It allows people to celebrate wikibirthdays, whether they zero padded their month or day or not, replaces 'an indeterminate time' with 'some time' for users who did not specify a date, and calculates a time for those with a month and year, but no day. Thanks, 117Avenue (talk) 08:06, 9 March 2013 (UTC)
- Just a thought: It would be better if the calculation for ambiguous dates (i.e. omitted month or day) and the text for missing dates ("some time") was in Template:for year month day, so the other templates that perform similar date calculations can take advantage of it. {{User Wikipedian for}} and the other templates would then use the code
{{For year month day|year={{{year|}}}|month={{{month|}}}|day={{{day|}}}}}
to call it. - Good thinking on your fix for wikibirthdays. BTW, did you mean to mark your own edit request as answered? (I'll leave re-activating it up to you once you've considered the above.) – PartTimeGnome (talk | contribs) 22:54, 9 March 2013 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
- No, it was getting late, and I meant to change it to a no after pasting, but forgot. I made the improvements to For year month day, as you suggested. In this request I would like the template synced with my latest revision to the sandbox, it fixes the WikiBirthday, as I mentioned above, and moves the missing info calculations to Template:For year month day. Thanks, 117Avenue (talk) 01:46, 11 March 2013 (UTC)
- Done. Thanks again! — Mr. Stradivarius ♪ talk ♪ 11:37, 19 March 2013 (UTC)
- No, it was getting late, and I meant to change it to a no after pasting, but forgot. I made the improvements to For year month day, as you suggested. In this request I would like the template synced with my latest revision to the sandbox, it fixes the WikiBirthday, as I mentioned above, and moves the missing info calculations to Template:For year month day. Thanks, 117Avenue (talk) 01:46, 11 March 2013 (UTC)
I have been here for more than 4 days, and have made more than 10 edits. Why can't I edit?
I have been here for more than 4 days, and have made more than 10 edits. Why can't I edit? Dimension10 (talk) 04:51, 19 July 2013 (UTC)
- This template is fully protected, which means only administrators can edit it. The protection log says User:Hesperian protected it as a high-risk template (i.e. high risk of vandalism) in 2008.
- Is there a particular change you want to make? – PartTimeGnome (talk | contribs) 21:31, 19 July 2013 (UTC)
- There was probably a big pink message explaining this to you: "WARNING: This page has been protected so that only users with administrative rights can make edits." rʨanaɢ (talk) 14:54, 20 July 2013 (UTC)
- I have no objection to downgrading of protection. Attitudes towards protection have changed since 2008; I think semi-protection may not even have existed then. Hesperian 03:52, 24 July 2013 (UTC)
- I wouldn't have an objection to it, either. Since it's not used in article space, I don't see the template as particularly high-risk. rʨanaɢ (talk) 12:58, 24 July 2013 (UTC)
- I also support downgrading the protection. Userboxes are not used in articles or anywhere particularly prominent. There are fewer than 7500 transclusions of this template. – PartTimeGnome (talk | contribs) 20:18, 24 July 2013 (UTC)
- I went ahead and changed it to semi-protection. If anyone objects we can discuss it more. rʨanaɢ (talk) 01:13, 25 July 2013 (UTC)
- Thank you. I think semi-protection is about right. – PartTimeGnome (talk | contribs) 17:18, 25 July 2013 (UTC)
- I went ahead and changed it to semi-protection. If anyone objects we can discuss it more. rʨanaɢ (talk) 01:13, 25 July 2013 (UTC)
- I have no objection to downgrading of protection. Attitudes towards protection have changed since 2008; I think semi-protection may not even have existed then. Hesperian 03:52, 24 July 2013 (UTC)
This template for commons
Is there a commons version of this userbox to place on my Wikipedia userpage? Wiki ian 08:06, 8 August 2014 (UTC)