Template talk:Libheader: Difference between revisions

→‎Problems with double semicolons: a bit of an explanation of the problem.
No edit summary
(→‎Problems with double semicolons: a bit of an explanation of the problem.)
Line 31:
 
And on some pages, (e.g. [[Plot coordinate pairs#Perl]]), it shows some weird "warning.png" text afterwards. (I can't reproduce it here.) --[[Special:Contributions/71.141.128.235|71.141.128.235]] 05:30, 18 August 2010 (UTC)
 
: 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)
Anonymous user