Template talk:Libheader: Difference between revisions

→‎Problems with double semicolons: ampersands disguising colons
(→‎Problems with double semicolons: a bit of an explanation of the problem.)
(→‎Problems with double semicolons: ampersands disguising colons)
 
Line 33:
 
: This is caused by the Semantic MediaWiki extension, which parses links with double colons as semantic annotations. It is not only polluting the pages with libheader, but also the semantic properties. The <nowiki>[[SMW::off]](somelink)[[SMW::on]]</nowiki> disables warnings and storage for the link between the off/on pair, but unfortunately it still modifies the </nowiki>[[Category:]]</nowiki> style links, which add the current page to the named category. This last problem only seems to apply to links which do not start with a single colon. Short of modifying the SMW parser extensions to also not modify links when off, or changing the wiki to handle the double-colon separator similarly to the # character in languages like C#, I don't know what to do. We might need to modify SMW anyway to fix another problem. --[[User:Coderjoe|Coderjoe]] 14:32, 21 August 2010 (UTC)
 
:: Disguising the colons by <code>&amp;#58;</code> like in the following seems to help. Is there a better way? -- [[User:Kevin Ryde|Kevin Ryde]] ([[User talk:Kevin Ryde|talk]]) 04:40, 28 December 2014 (UTC)
 
{{libheader|Math&#58;&#58;Complex}}