MediaWiki self-closing reference tags
-
I downloaded the three MediaWiki UDLs from here:
http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files
However, they all fail on self-closing reference tags. For instance:
<ref name=“fundamentals”/>
How do I fix this? Thanks!
-
Hello Michael-Horvath,
may I ask why they fail?
They are defined in delimiter 5 and style is green underlined which seems to be happen.Cheers
Claudia -
The UDL looks for “<ref” and tries to close with “</ref>”. But if there is instead a “<ref name=fundamentals/>” then the closing condition is missing.
-
Here is an article where you can observe the problem, beginning at line 16.
-
Hello Michael Horvath,
I guess I understand what you mean.
<ref name=“Pächt83”/> and confirmed with the 1959 discovery of …
is painted in green underlined, whereas
<ref name=“Pächt83”/>
should be the only one and the text afterwards should be again in black, correct?
Contrary to
<ref name=whatever> here some text </ref>
where everything should be painted in green and underlined.
Afaik, having two different closing tags for one opening tag isn’t supported yet.
Cheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login