-2
我在“选择显示”窗体中存在默认标记的问题。如何强制MediaWiki评估具有高优先级的功能?
<div id="test-a">
{{#show: MyPage | ?MyAttribute}}
{|class="formtable"
! A:
| {{{field|input type = text|default= {{#show SomePage | ?SomeAttribute}} }}}
|-
! B:
| {{{field|input type = text|default= {{#show SomeOtherPage | ?SomeOtherAttribute}} }}}
|}
</div>
不是评估#show命令,字段得到默认为 “{{#show SomePage的?| SomeAttribute}}” 和 “{{#show SomeOtherPage |?SomeOtherAttribute}}”。
如何强制链接到MediaWiki来评估#show功能不管是什么?
我们可以得到一个链接,看看这个行动...你的细节似乎缺乏...你运行哪个版本的MW?它是一个语义MW安装吗?你已经安装了什么扩展? – ShoeMaker 2012-04-29 02:19:56
'#show'后面缺少一些':'。 – Tgr 2013-03-02 11:34:33