escaped {

De Semantic MediaWiki - Sandbox

Curly braces can't be used in parser functions like 'set' (or 'var'). Escaping them gives issues in different result formats.

In most cases, the 'nowiki'-tag is shown, wrapped around the full value (while it is only used at the end). Expected behaviour: the nowiki-tag is not shown. In


  • Accolade
  • HTML character entity reference -
  • nowiki -
  • template curly bracket in it -
  • semantic link: { end

default-result (broadtable)[modifier | modifier le wikicode]

 Has text
escaped {Accolade-left: {end
HTML entity reference: {end
<nowiki>nowiki: { end</nowiki>
Template with nowiki: { end
semantic link: { end

ul[modifier | modifier le wikicode]

  • escaped { (Has text: Accolade-left: {end
    HTML entity reference: {end
    <nowiki>nowiki: { end</nowiki>
    Template with nowiki: { end
    semantic link: { end
    )

Verify it's not the valuesep=br, by ommitting it:

  • escaped { (Has text: Accolade-left: {end, HTML entity reference: {end, <nowiki>nowiki: { end</nowiki>, Template with nowiki: { end, semantic link: { end)

ol[modifier | modifier le wikicode]

  1. escaped { (Has text: Accolade-left: {end
    HTML entity reference: {end
    <nowiki>nowiki: { end</nowiki>
    Template with nowiki: { end
    semantic link: { end
    )

plainlist[modifier | modifier le wikicode]

escaped { (Has text: Accolade-left: {end
HTML entity reference: {end
<nowiki>nowiki: { end</nowiki>
Template with nowiki: { end
semantic link: { end)

list[modifier | modifier le wikicode]

escaped { (Has text: Accolade-left: {end
HTML entity reference: {end
<nowiki>nowiki: { end</nowiki>
Template with nowiki: { end
semantic link: { end)

csv[modifier | modifier le wikicode]

In CSV the displaytitle is not taken into account; the value for page name is the full page name.

CSV

rdf[modifier | modifier le wikicode]

In RDF-XML and RDF Turtle the displaytitle is ignored. The html character entity code is not decoded. The 'nowiki' tag is preserved.

RDF-XML RDF Turtle (TTL)

json[modifier | modifier le wikicode]

In JSON, the html entity character entity is not parsed and nowiki is shown *and* used. Also in the value for 'displaytitle'.

JSON

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