« Issue/4821 » : différence entre les versions
De Semantic MediaWiki - Sandbox
m (Kghbln a déplacé la page 4821 vers Issue/4821 sans laisser de redirection : namefix) |
m (typo) |
||
(7 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
Refs: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4821 | |||
== Example 1 == | |||
; Annotation | |||
<pre> | |||
[[Has text::a new magic word <nowiki>__NOCACHE__</nowiki>]] | |||
</pre> | |||
; Result | |||
[[Has text::a new magic word <code><nowiki><nowiki>__NOCACHE__</nowiki></nowiki></code>]] | [[Has text::a new magic word <code><nowiki><nowiki>__NOCACHE__</nowiki></nowiki></code>]] | ||
== Example 2 == | |||
Preventing <nowiki><nowiki></nowiki> tags by using the HTML entity for underscore (<code><nowiki>&#95;</nowiki></code>). | |||
; Annotation | |||
<pre> | |||
[[Has text::a new magic word __NOCACHE__]] | |||
</pre> | |||
; Result | |||
[[Has text::a new magic word __NOCACHE__]] | |||
== Browse == | |||
→ [https://sandbox.semantic-mediawiki.org/wiki/Sp%C3%A9cial:Parcourir/Issue/4821 browse {{FULLPAGENAME}}] | |||
== Setting == | |||
<syntaxhighlight lang="php"> | |||
$smwgParserFeatures = $smwgParserFeatures | SMW_PARSER_UNSTRIP; | |||
</syntaxhighlight> | |||
→ [https://www.semantic-mediawiki.org/wiki/Help:$smwgParserFeatures docu for <code>$smwgParserFeatures</code>] | |||
[[Category:Issue]] |
Dernière version du 23 août 2020 à 18:00
Refs: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4821
Example 1
- Annotation
[[Has text::a new magic word __NOCACHE__]]
- Result
a new magic word <nowiki>__NOCACHE__</nowiki>
Example 2
Preventing <nowiki> tags by using the HTML entity for underscore (_
).
- Annotation
[[Has text::a new magic word __NOCACHE__]]
- Result
a new magic word __NOCACHE__
Browse
Setting
$smwgParserFeatures = $smwgParserFeatures | SMW_PARSER_UNSTRIP;