« 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:&lt;tag... »)
 
(+ cat)
 
(4 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
{{DISPLAYTITLE:&lt;tag&gt;}}
{{DISPLAYTITLE:&lt;tag&gt;}}
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:&amp;lt;tag&amp;gt;}}</nowiki></code> changes the displayed title of this page to &lt;tag&gt; as is expected.
The wikitext <code><nowiki>{{DISPLAYTITLE:&amp;lt;tag&amp;gt;}}</nowiki></code> changes the displayed title of this page to &lt;tag&gt; as expected.


However, the special property [[Property:Has display title of]] is not set: "{{#show:{{FULLPAGENAME}}|Display title of}}". The HTML entity <code><nowiki>&amp;lt;</nowiki></code> is stripped from the property as if it were the plain &lt; sign.
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>&amp;lt;</nowiki></code> is stripped from the property as if it were the plain &lt; 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:&lt;tag&gt;}} 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 &lt; is stripped from the property as if it were the plain < sign.

I think this is wrong.

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