« Issue/4095 (Not able to escape characters inside property value) » : différence entre les versions

De Semantic MediaWiki - Sandbox
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
== Input ==
=== a) ===  
=== a) ===  
Entering the following markup:
<pre>
<pre>
[[Has text::Here comes my text <nowiki>|</nowiki> This is another text]]
[[Has text::Here comes my text <nowiki>|</nowiki> This is another text]]
</pre>
</pre>
== Output ==
Produces the following results:
[[Has text::Here comes my text <nowiki>|</nowiki> This is another text]]
[[Has text::Here comes my text <nowiki>|</nowiki> This is another text]]


Ligne 8 : Ligne 14 :
There, it produces simply [https://drive.google.com/file/d/1WiNPzZhxLrbpSyRs80Cid63euaFfutC2/view?usp=sharing the following error]  
There, it produces simply [https://drive.google.com/file/d/1WiNPzZhxLrbpSyRs80Cid63euaFfutC2/view?usp=sharing the following error]  


== Setup ==
My Setup:
My Setup:
{| class="wikitable"
{| class="wikitable"
Ligne 21 : Ligne 28 :
| Semantic MediaWiki || 3.0.2  
| Semantic MediaWiki || 3.0.2  
|}
|}
 
== Additional unexpected behavior ==
When querying for the text it renders the <pre><nowiki></pre> tags not inside the text but as a text padding. This is surprising.


{{#ask: [[Has text::~"comes"]]
{{#ask: [[Has text::~"comes"]]

Version du 15 juin 2019 à 23:10

Input

a)

Entering the following markup:

[[Has text::Here comes my text | This is another text]]

Output

Produces the following results:

Here comes my text | This is another text

In my following setup, however, this example does not work like in this sandbox here. There, it produces simply the following error

Setup

My Setup:

System Version
MediaWiki 1.32.2
PHP 7.2.3 (cgi-fcgi)
MySQL 5.6.19-67.0-log
Semantic MediaWiki 3.0.2

Additional unexpected behavior

When querying for the text it renders the

<nowiki>

tags not inside the text but as a text padding. This is surprising.

 Has text
Issue/4095<nowiki>Here comes my text | This is another text</nowiki>
Issue/4095 (Not able to escape characters inside property value)<nowiki>Here comes my text | This is another text</nowiki>

Semantic MediaWiki issue

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