« Issue/3534 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Page créée avec « {{DISPLAYTITLE:<tag>}} This page is created to test how <code><nowiki>{{DISPLAYTITLE}}</nowiki></code> works. The wikitext <code><nowiki>{{DISPLAYTITLE:<tag... ») |
(+ cat) |
||
(4 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{{DISPLAYTITLE:<tag>}} | {{DISPLAYTITLE:<tag>}} | ||
Refs: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/3534 | |||
This page is created to test how <code><nowiki>{{DISPLAYTITLE}}</nowiki></code> works. | This page is created to test how <code><nowiki>{{DISPLAYTITLE}}</nowiki></code> works. | ||
The wikitext <code><nowiki>{{DISPLAYTITLE:&lt;tag&gt;}}</nowiki></code> changes the displayed title of this page to <tag> as | The wikitext <code><nowiki>{{DISPLAYTITLE:&lt;tag&gt;}}</nowiki></code> changes the displayed title of this page to <tag> as expected. | ||
However, the special property [[Property:Has display title of]] is not set: "{{#show: | However, the special property [[Property:Has display title of]] is not set: "{{#show:Display Title test|?Has display title of}}". The HTML entity <code><nowiki>&lt;</nowiki></code> is stripped from the property as if it were the plain < sign. | ||
I think this is wrong. | I think this is wrong. | ||
[[Category:Issue]] |
Dernière version du 2 novembre 2018 à 18:23
Refs: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/3534
This page is created to test how {{DISPLAYTITLE}}
works.
The wikitext {{DISPLAYTITLE:<tag>}}
changes the displayed title of this page to <tag> as expected.
However, the special property Property:Has display title of is not set: "". The HTML entity <
is stripped from the property as if it were the plain < sign.
I think this is wrong.