Différences entre les versions de « SpecialSymbolsExample »

De Semantic MediaWiki - Sandbox

Balise : Éditeur de wikicode 2017
Balise : Éditeur de wikicode 2017
Ligne 6 : Ligne 6 :
  
 
Note too the difficulty in getting the edit with form to correctly display the current value and insert a string with special characters into the template. Note too that the {{!}} template is left in the string value, and its inability to handle the pre tags.  
 
Note too the difficulty in getting the edit with form to correctly display the current value and insert a string with special characters into the template. Note too that the {{!}} template is left in the string value, and its inability to handle the pre tags.  
 +
 +
Note too, that specific carefully chosen values will demonstrate even more issues - such as adding double closing curly braces early in the value. I may or may not hit these patterns in production, play around to see what works and what doesn't.
  
 
{{SpecialSymbolsTemplate
 
{{SpecialSymbolsTemplate

Version du 23 octobre 2018 à 17:43

This page shows a template with a keyword parameter with special symbols in its value.

The template should display this value and set the semantic media wiki property Has code.

I would like to remove the need for <pre></pre> in the template argument and have the clean value set as Has code by the template in the SMW properties.

Note too the difficulty in getting the edit with form to correctly display the current value and insert a string with special characters into the template. Note too that the | template is left in the string value, and its inability to handle the pre tags.

Note too, that specific carefully chosen values will demonstrate even more issues - such as adding double closing curly braces early in the value. I may or may not hit these patterns in production, play around to see what works and what doesn't.


SIMPLE no special symbols here!
CODE
[jkldfajlf]dsfa{{}}|



Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.