Template talk:User Wikipedian for
This is the talk page for discussing improvements to the User Wikipedian for template. |
|
Archives: 1Auto-archiving period: 90 days ![]() |
This is the talk page for discussing improvements to the User Wikipedian for template. |
|
Archives: 1Auto-archiving period: 90 days ![]() |
Bug
![](http://upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/20px-Yes_check.svg.png)
(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)
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
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)
Parameter explanation?
Should a description of the userbox's parameters (and how to use them) be included on the main page? Shrillpicc100 (talk) 21:13, 11 May 2015 (UTC)
- That is, documentation (oops, forgot the word—and I'm a programmer!) Shrillpicc100 (talk) 01:47, 12 May 2015 (UTC)