MediaWiki talk:Signature
![]() | MediaWiki:Signature provides the format for the standard signature of a registered user (where "Raw signature" is not ticked - see MediaWiki:Tog-fancysig for the message explaining that checkbox). MediaWiki:Signature-anon is for unregistered users. This interface message or skin may also be documented on MediaWiki.org or translatewiki.net. The page forms part of the MediaWiki interface, and can only be edited by administrators and interface editors. To request a change to the page, add {{edit fully-protected}} to this page, followed by a description of your request. Consider announcing discussions you add here at Wikipedia:Village pump (technical) to bring more people to the discussion. |
Description
editAs of rev:27512 (mediazilla:11913), this page is used to create the signature for an editor who has not set "Raw signatures" checkbox in preferences. It does not include the date portion, only the name portion. The parameters passed to this are:
- $1 - will be the editor's username
- $2 - will be the editor's nickname, if one is set in preferences, or the editor's user name otherwise
Discussion
editDoes anyone know if [[User:$1|$2]]{{subst:#ifeq:{{FULLPAGENAME}}|User talk:$1|| ([[User talk:$1|talk]]) will work? (leaving off the talk link when signing on your own talk page has been suggested on VPT. ... For that matter, is there any way to put a subst in the code at all? —Random832 04:16, 30 November 2007 (UTC)
- Don't bother. This thing goes on every talkpage on the wiki, so it needs to be as simple as possible, if not simpler. --Carnildo (talk) 07:46, 30 November 2007 (UTC)
- What about adding
.ns-3 strong.selflink {font-weight:normal;color:#002bb8}
- to the sitewide CSS? That leaves the talk links delinked, but styles them to look like normal links, possibly missing an underline if the user in question uses underlined links. --ais523 17:28, 4 December 2007 (UTC)
- Because that would be confusing. If it looks like a link, it should act like a link. --Carnildo (talk) 04:03, 5 December 2007 (UTC)
- What about just debolding, in that case? --ais523 10:07, 5 December 2007 (UTC)
- ns-3 selflinks can only be links to a user talk page on that same user talk page. Those can't be very common except in signatures, so making them not-bold seems OK if there is agreement the bold is problematic. — Carl (CBM · talk) 13:41, 5 December 2007 (UTC)
- What about just debolding, in that case? --ais523 10:07, 5 December 2007 (UTC)
- Because that would be confusing. If it looks like a link, it should act like a link. --Carnildo (talk) 04:03, 5 December 2007 (UTC)
- to the sitewide CSS? That leaves the talk links delinked, but styles them to look like normal links, possibly missing an underline if the user in question uses underlined links. --ais523 17:28, 4 December 2007 (UTC)
Dashes
editAny reason why there's no -- (or even –) that prefixes the sig itself? –Juliancolton | Talk 21:52, 5 November 2009 (UTC)
Edit protected
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could an sysop remove "top" for the talk page since it will not bring to the top, as "#". It would be now:
[[User:$1|$2]] {{#ifeq:{{FULLPAGENAME}}|User talk:$1|([[User talk:$1#|talk]])|([[User talk:$1|talk]])}}
~~Ebe123~~ (+) talk
Contribs • 20:20, 18 October 2011 (UTC)
- I'll go ahead with this if there aren't objections in a relatively timely fashion. – Luna Santin (talk) 21:47, 18 October 2011 (UTC)
- I just tested this and it seems to go to the top of the talk page, but not to as far as the links at the very top. I'm not sure which is better ... — Martin (MSGJ · talk) 13:32, 19 October 2011 (UTC)
- Linking to "#top" gets us to the page heading, and "#" alone gets us to the very top of the page, almost as if we had just freshly loaded it. It's a pretty small difference. I'm thinking we can either ask at the Village Pump, or be bold and see if anyone notices. – Luna Santin (talk) 04:32, 20 October 2011 (UTC)
- Unless there is an obvious reason to change this, and in the absence of consensus either way, I'm going to mark this as Not done. — Martin (MSGJ · talk) 15:52, 20 October 2011 (UTC)
- Linking to "#top" gets us to the page heading, and "#" alone gets us to the very top of the page, almost as if we had just freshly loaded it. It's a pretty small difference. I'm thinking we can either ask at the Village Pump, or be bold and see if anyone notices. – Luna Santin (talk) 04:32, 20 October 2011 (UTC)
- Replacing #top with # would actually defeat the purpose of the condition: If no anchor is specified, MediaWiki will still replace the link with boldface text: [[MediaWiki talk:Signature#|talk]] → talk vs. [[MediaWiki talk:Signature#top|talk]] → talk.
Amalthea 10:45, 21 October 2011 (UTC)
Protected edit request on 5 November 2014
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Suggestion: When people fail to put a space in front of ~~~~ (and don't have a custom sig), the signature runs right up against the text before it, which can be annoying to parse, visually. How about forcing the space by inserting it here? If the user adds one also, it gets collapsed into a single space (right?). To solve the issue of a sig at the beginning of a blank line being interpreted as a <code> block, wrap the space in <nowiki></nowiki> (is there a better way?).
To summarize, the suggestion is to insert:
<nowiki> </nowiki>
at the beginning of the template (before [[User:$1...). —[AlanM1(talk)]— 12:35, 5 November 2014 (UTC)
- Not done: @AlanM1: There is the trick of using
 
(the HTML entity for a space), but even with that I think this proposal is likely to be controversial. I think there needs to be a broader discussion about it first before we can think about implementing it. — Mr. Stradivarius ♪ talk ♪ 13:29, 5 November 2014 (UTC)- @Mr. Stradivarius: Really? Wouldn't seem to do any harm, though I'll defer to your experience. Where shall I mention it? VPT (where the #top discussion reminded me about this issue)? This seems to be the equivalent of a template that is only subst'd.
Don't know why I didn't think of the space entity. I wandered down the path and didn't like it. —[AlanM1(talk)]— 13:59, 5 November 2014 (UTC)
- @AlanM1: It would add the HTML entity code to every default signature, which some users will undoubtedly feel clutters the edit view. It may be possible to work round that by using one of the more exotic unicode spaces (haven't tested that), but even that may throw up opposition. There is also the option of fixing the MediaWiki software itself, or it might be the case that further discussion reveals that there is no consensus for a change. In any case, WP:VPT would be a good first stop to gauge the community's reaction, I think. — Mr. Stradivarius ♪ talk ♪ 14:09, 5 November 2014 (UTC)
- @Mr. Stradivarius: Really? Wouldn't seem to do any harm, though I'll defer to your experience. Where shall I mention it? VPT (where the #top discussion reminded me about this issue)? This seems to be the equivalent of a template that is only subst'd.
Add link to latest revision in Talk page signatures?
editSometimes, when reading older discussions on Talk pages, I see people refer to aspects of the page that are no longer current. I could go into the page history and scroll all the way back to find the last revision with a timestamp <= the timestamp on the Talk page post, but this can be a lot of work.
It would be convenient if there were a link to the last revision of the page that the person was talking about, included as part of the default signature.
This might be restricted to Talk pages attached to articles in certain namespaces like the main [talk] namespace.
What do you think? Would you find that useful? Do you think it would be harmful or are there good reasons not to? From a technical perspective, what code would make that work?
--WBTtheFROG (talk) 23:12, 28 April 2015 (UTC)
- First, entirely not sure what this has to do with signatures. Second, how would any code know what revision to link? How would it even know what page was being talked about? I'm sure I'm entirely misunderstanding your request, but I don't see how this could technically be done. —
{{U|Technical 13}} (e • t • c)
00:03, 29 April 2015 (UTC)
- The idea is that if you sign a post on an article talk page then you may be discussing the current version of the associated article. When your post is read later and the article has changed since the post, it may be helpful to get a link to the version you were maybe talking about. I don't know whether MediaWiki:Signature can perform a subst but when this edit is saved with
[[Special:PermanentLink/{{subst:REVISIONID:{{subst:SUBJECTPAGENAME}}}}]]
in the edit box it produces: Special:PermanentLink/195065322. That is a permanent link to the latest revision of the associated non-talk page MediaWiki:Signature at the time of my post. PrimeHunter (talk) 01:23, 29 April 2015 (UTC)
- The idea is that if you sign a post on an article talk page then you may be discussing the current version of the associated article. When your post is read later and the article has changed since the post, it may be helpful to get a link to the version you were maybe talking about. I don't know whether MediaWiki:Signature can perform a subst but when this edit is saved with
Hi WBTtheFROG,
- 1) I agree that talk page signatures could be much more useful, and the time stamps should be links. But a link from a talk page signature to an article revision is very unexpected and counterintuitive. The link on a talk page signature time stamp should be a permalink to this talk page contribution, so you can link to contributions. (See also T45351 - Add clickable anchors to timestamps on Talk pages (2012), T18691 Section headings should have some clickable anchor for passing links)
- 2) Do you know the revisionjumper gadget? (User:DerHexer/revisionjumper, Wikipedia:Wikipedia_Signpost/2010-09-20/Dispatches#Revisionjumper) Does it help? --Atlasowa (talk) 09:32, 30 April 2015 (UTC)
IMO it doesn't seem worth cluttering up every signature with this unless there is significant call for it. Alsee (talk) 15:06, 5 May 2015 (UTC)
Protected edit request on 21 January 2022
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I did not request any developer tools or apps or any other functions on my phone laptop or any of my accounts I have been trying to get this resolved for the longest time and still I keep getting these errors and redirects. Some of y'all don't seem to understand that this person is a very violent man that has harmed me in the past and all I am trying to do is retrieve my account so I can get back to my normal life 2600:1700:9D90:FF0:DC68:388F:EE35:B3B3 (talk) 16:31, 21 January 2022 (UTC)
- This is the wrong place for this. I reposted your quest at WP:Teahouse#All I am trying to do is retrieve my account. Wishing you well, signed, Willondon (talk) 16:43, 21 January 2022 (UTC)
- Not done - not an edit request. If you are in danger please contact your local emergency services, you may also see Wikipedia:Responding to threats of harm. — xaosflux Talk 18:02, 21 January 2022 (UTC)
Replace #top with #
editPer the HTML spec #
always links you to the top of the page, whereas #top
will only take you to the top if there are no elements matching that identifier[top 1]. If the page contains a topic called == top ==
then all the user talk links will go to that topic, instead of the top of the page.
See this example: https://en.wikipedia.org/w/index.php?title=User_talk:ESanders_(WMF)&oldid=1214999213#New_topic