« Page Forms/preload URL » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
Aucun résumé des modifications
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<pre>{{#formlink:form=Multiple instances
|target={{FULLPAGENAME}}/new
|link text=Test for new page
|Multiple instance container[Comments]=Test - https://sandbox.semantic-mediawiki.org
|Instance[1][Comments]=Alright, no URL
|Instance[2][Comments]=https://sandbox.semantic-mediawiki.org
|Instance[3][Comments]=Blabla
}}
</pre>
{{#formlink:form=Multiple instances  
{{#formlink:form=Multiple instances  
|target={{FULLPAGENAME}}/new  
|target={{FULLPAGENAME}}/new  
|link text=Test for new page
|link text=Test for new page
|Multiple instance container[Comments]=Test - https://sandbox.semantic-mediawiki.org  
|Multiple instance container[Comments]=Test - https://sandbox.semantic-mediawiki.org  
|Instance[Comments][1]=Alright, no URL
|Instance[1][Comments]=Alright, no URL
|Instance[Comments][2]=https://sandbox.semantic-mediawiki.org  
|Instance[2][Comments]=https://sandbox.semantic-mediawiki.org  
|Instance[Comments][3]=Blabla
|Instance[3][Comments]=Blabla
}}
}}


==Issue 1==
==Issue==
URL gets parsed as something like  
URL gets parsed as something like  
<pre><a target="_blank" rel="nofollow noreferrer noopener" class="external free" href="https://sandbox.semantic-mediawiki.org">https://sandbox.semantic-mediawiki.org</a></pre>
<pre><a target="_blank" rel="nofollow noreferrer noopener" class="external free" href="https://sandbox.semantic-mediawiki.org">https://sandbox.semantic-mediawiki.org</a></pre>


==Issue 2==
Same issue with autoedit
Nothing gets passed to the multiple-instance templates


[[Category:Page Forms examples]]
[[Category:Page Forms examples]]

Dernière version du 2 décembre 2017 à 12:51

{{#formlink:form=Multiple instances 
|target={{FULLPAGENAME}}/new 
|link text=Test for new page
|Multiple instance container[Comments]=Test - https://sandbox.semantic-mediawiki.org 
|Instance[1][Comments]=Alright, no URL
|Instance[2][Comments]=https://sandbox.semantic-mediawiki.org 
|Instance[3][Comments]=Blabla
}}

Test for new page

Issue

URL gets parsed as something like

<a target="_blank" rel="nofollow noreferrer noopener" class="external free" href="https://sandbox.semantic-mediawiki.org">https://sandbox.semantic-mediawiki.org</a>

Same issue with autoedit

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