Portal talk:No

From translatewiki.net
Latest comment: 2 years ago by Verdy p

Hi, in MediaWiki:Cite references link many format backlink labels ("[[:MediaWiki:MediaWiki:Cite references link many format backlink labels/en]]")(/no), you have å, ø, etc. which I believe will not work well, since the strings in this list are to be used as id="xy" in html, where you must use only only a-z_- afaik. --Purodha Blissenbach 02:49, 28 August 2009 (UTC)Reply

Yes this is old, but Purodha was wrong there (and his message was forgotten and never replied). In HTML, an ID can use almost any letter character, they are not limited to plain ASCII, and 'å', 'ø', etc. are perfectlty valid. There exists some restrictions (such as forbidding whitespaces, many punctuations, and most controls) but also some other allowances (e.g. joiner controls or specific puctuations in the middle of the identifier). If anyone reads this old 2009 comment which was based only on false assumption, they should read the HTML specifications (that even in 2009 said the opposite about identifiers; this also applies to CSS identifiers, which have some additional restrictions but include an additional escaping mechanism so that any valid HTML element identifier can be transformed into valid selectors for CSS). Verdy p (talk) 13:39, 6 February 2022 (UTC)Reply