-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