« Issue/Datatables markup » : différence entre les versions

De Semantic MediaWiki - Sandbox
Aucun résumé des modifications
Aucun résumé des modifications
 
Ligne 3 : Ligne 3 :
* Yes, for broadtable with class=datatable.
* Yes, for broadtable with class=datatable.


=='Description_nl'-field for the subobject on this page==
=='foaf:name'-field for the subobject on this page==
{{#show:{{FULLPAGENAME}}|?Description_nl}}
Will hyperlinks and markup be shown in a datatable?
{{#set:Description_nl= and <a href="/index.php?title=Sp%C3%A9cial:D%C3%A9connexion&returnto=User:Joris">logs you straight out<img src="https://www.noraonline.nl/images/noraonline/a/a9/Binnenhof.jpg" alt=external image</img></a>.}}
* No, for SRF 4.0.2 (d519672) 2023-03-09T09:12:34 on SMW 4.1.2 (5c94879) 2023-07-29T20:01:41.
{{#subobject:xss
* Yes, for broadtable with class=datatable.
|Description_nl=<script>alert("XSS Attack");</script>
 
|Description_nl=<script>alert(String.fromCharCode(88,83,83));</script>
=='foaf:name'-field for the subobject on this page==
|Description_nl=<img src="javascript:alert('XSS');" />
{{#show:{{FULLPAGENAME}}|?foaf:name}}
|Description_nl=<img src="x" onerror="alert('XSS');" />
{{#set:foaf:name= and <a href="/index.php?title=Sp%C3%A9cial:D%C3%A9connexion&returnto=User:Joris">logs you straight out<img src="https://www.noraonline.nl/images/noraonline/a/a9/Binnenhof.jpg" alt=external image</img></a>.}}
|Description_nl=&lt;script&gt;alert("XSS Attack");&lt;/script&gt;
 
|Description_nl=<img src="fakeimage" onmouseover="alert('XSS');" />
 
|Description_nl=<a href="data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTIEF0dGFjaycpOzwvc2NyaXB0Pg==">Click me</a>
{{#subobject:
|Description_nl=<img src='x' onerror='alert("XSS")' />
|Has population=1
|Description_nl=<img src="x" onerror="alert('XSS')" />
|foaf:name=This is MW syntax '''bold''', and this is [https://archixl.nl an external hyperlink].
|Has population=666}}
* item
* item
|foaf:name=This is <b>bold in html</b>, and this <em>emphasised</em>. <a href="https://spamsite.org">This is an external hyperlink</a>
<ul><li>item</li><li style="background-color:lightgreen">2nd item</li></ul>
 
|Has population=1234567
|population=7654321
|population=2
}}
 
==Format=datatables==
 
{{#ask:[[foaf:name::+]] OR [[population::+]] OR [[Athens]]
|?foaf:name
|?Population
|?Has population
|format=datatables
}}
 
==Format=Broadtable, class=datatable==
 
{{#ask:[[foaf:name::+]] OR [[population::+]] OR [[Athens]]
|?foaf:name
|?Population
|?Has population
|format=broadtable
|class=datatable
}}
 


{{#subobject:
{{#subobject:
|Has population=1
|Has population=1
|Description_nl=This is MW syntax '''bold''', and this is [https://archixl.nl an external hyperlink].
|foaf:name=This is MW syntax '''bold''', and this is [https://archixl.nl an external hyperlink].
* item
* item
* item
* item
|Description_nl=This is <b>bold in html</b>, and this <em>emphasised</em>. <a href="https://spamsite.org">This is an external hyperlink</a>
|foaf:name=This is <b>bold in html</b>, and this <em>emphasised</em>. <a href="https://spamsite.org">This is an external hyperlink</a>
<ul><li>item</li><li style="background-color:lightgreen">2nd item</li></ul>
<ul><li>item</li><li style="background-color:lightgreen">2nd item</li></ul>


Ligne 33 : Ligne 61 :
==Format=datatables==
==Format=datatables==


{{#ask:[[Description_nl::+]] OR [[population::+]] OR [[Athens]]
{{#ask: [[population::+]] OR [[Athens]]
|?Description_nl
|?foaf:name
|?Population
|?Population
|?Has population
|?Has population
Ligne 42 : Ligne 70 :
==Format=Broadtable, class=datatable==
==Format=Broadtable, class=datatable==


{{#ask:[[Description_nl::+]] OR [[population::+]] OR [[Athens]]
{{#ask:[[foaf:name::+]] OR [[population::+]] OR [[Athens]]
|?Description_nl
|?foaf:name
|?Population
|?Population
|?Has population
|?Has population

Dernière version du 29 août 2023 à 22:43

Will hyperlinks and markup be shown in a datatable?

  • No, for SRF 4.0.2 (d519672) 2023-03-09T09:12:34 on SMW 4.1.2 (5c94879) 2023-07-29T20:01:41.
  • Yes, for broadtable with class=datatable.

'foaf:name'-field for the subobject on this page

Will hyperlinks and markup be shown in a datatable?

  • No, for SRF 4.0.2 (d519672) 2023-03-09T09:12:34 on SMW 4.1.2 (5c94879) 2023-07-29T20:01:41.
  • Yes, for broadtable with class=datatable.

'foaf:name'-field for the subobject on this page

and <a href="/index.php?title=Sp%C3%A9cial:D%C3%A9connexion&returnto=User:Joris">logs you straight out<img src="https://www.noraonline.nl/images/noraonline/a/a9/Binnenhof.jpg" alt=external image</img></a>.



Format=datatables

Format=Broadtable, class=datatable



Format=datatables

Format=Broadtable, class=datatable

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