SemanticMediaWiki/SemanticResultFormats

[Valuerank] does not recognize new #userparam syntax

開放

#624 建立於 2020年12月7日

 (2 則留言) (1 個反應) (0 位負責人)JavaScript (87 個分叉)auto 404
buggood first issue

倉庫指標

星標
 (52 顆星)
PR 合併指標
 (平均合併 8天 22小時) (30 天內合併 10 個 PR)

描述

Setup

  • MW version: 1.35.0-rc.2 (5f6c9d1)21 août 2020 à 16:32
  • DB (MySQL etc.): MariaDB | 10.1.47-MariaDB-0ubuntu0.18.04.1
  • PHP version: 7.2.24-0ubuntu0.18.04.7 (apache2handler)
  • SMW version: 3.2.2 (b75e296)
  • SRF version: 3.2.0 (ecbf369)
  • Browsers and versions (if applicable):

Issue

According the documentation, since SMW 3.x the new sytax for usage of the userparam feature in templates is {{{#userparam}}} instead of {{{userparam}}} . Whilt this is working in general template format (plainlist), it is not working in template formats of other result formats (tested now only in valuerank).

Steps to reproduce

Expected result:

usage of {{{#userparam}}} in a template should work. It does not render.

Observed result:

template calls do not render in the userparam, but display {{{#userparam}}} If you use the old syntax {{{userparam}}} it works as expected

貢獻者指南