Content deleted Content added
another one: unescaped special characters |
Encephalon (talk | contribs) edited article to make it easier for newbies to understand :) |
||
Line 1:
{{shortcut|[[WP:SIGHELP]]}}
Recent changes on the version of the [[MediaWiki]] software running Wikipedia altered the way signatures work. If your signature is not working now (but was working previously),
===You are not using "raw signatures"===
MediaWiki makes the creation of simple, straightforward signatures relatively easy. For example, if User:Example wants a signature that displays as [[User:Example|Example]], he would simply have to enter <code>Example</code> in the Nickname field in [[Special:Preferences|my preferences]]. The software automatically places <code><nowiki>[[User:Example|</nowiki></code> in front of and <code>]]</code> behind the entry, to form <code><nowiki>[[User:Example|Example]]</nowiki></code>; this escapes as [[User:Example|Example]].
With recent changes to the software, more complex signatures cannot be set this way. [[WP:HEP#Wiki_markup|Wiki markup]] and [[HTML element|HTML markup]] ''do not'' function in the Nickname field any longer, ''unless'' the <code>Raw signatures</code> option is checked in [[Special:Preferences|preferences]].
For example, placing the following in the Nickname field (without checking raw signatures)
:<code><nowiki>Example]] | [[User talk:Example|</nowiki></code>
will result in a signature that looks like
:[[User:Example|Example]] | [[User_talk:Example|Talk]]
instead of
:[[User:Example|Example]] | [[User talk:Example|Talk]]
This
:[[User:Example|Example]] | [[User talk:Example|Talk]]
place
:<code><nowiki>[[User:Example|Example]] | [[User talk:Example|Talk]]</nowiki></code>
within the Nickname field and check <code>Raw signatures</code>.
===You are using "raw signatures"===
:<span style="color:red;font-family:sans-serif;font-size:larger;">Invalid raw signature; check HTML tags.</span>
▲You will probably be seeing the following message when looking at your preferences:
This means you are using invalid markup on your signature. Some possible causes with their corresponding solutions:
;Unclosed tags :If you are opening a tag without the corresponding closing tag (for instance: <code><nowiki>[[User:Example|<font color="white">Example]]</nowiki></code>), you should close the tag (for instance: <code><nowiki>[[User:Example|<font color="white">Example</font>]]</nowiki></code>). It's also a good idea to put the tags outside the link if possible (for instance: <code><nowiki><font color="white">[[User:Example|Example]]</font></nowiki></code>).
;Mismatched or incorrectly nested tags :If the tags are mismatched (for instance: <code><nowiki><s><u>hi</s></u></nowiki></code>), fix them (for instance: <code><nowiki><s><u>hi</u></s></nowiki></code>).
;Unquoted attributes :It's also recommended to use quotes on all attributes (for instance, use <code><nowiki><font color="white"></font></nowiki></code> instead of <code><nowiki><font color=white></font></nowiki></code>).
;Unclosed entities :If you have a [[HTML entity]] which is lacking the final <code>;</code>, you need to add it; if you have a bare <code>&</code>, it must be replaced by <code>&amp;</code> (a bare <code>&</code> is always a mistake in either HTML or wikicode).
|