Filtered format: send #rownumber parameter to template
Setup
- MW version: 1.31.0
- MySQL: 5.6.43-84.3
- PHP version: 7.1.29
- SMW version: 3.0.2
- SRF version: 3.0.0
Enhancement
Thanks to @s7eph4n, list/template format have introduced the (awesome) #rownumber parameter to templates [0]. I suggest to make it availabble to the filtered format as well. The use case is exactly the same for the list/template format. For instance, type "wiki" in the first box at [1] and hit the button "Run query" (the result is using the list/template format). Then, compare the result list to [2] (using the filtered format). As you can see, there is no numbered result, because #rownumber is not implemented in the filtered format.
[0] https://gist.github.com/s7eph4n/277e7804fe04954df7d1e15ae874b0d0#standard-parameters-passed-to-templates-set-by-the-template-introtemplate-outrotemplate-parameter [1] http://wikincat.org/wiki/Especial:Executar_consulta/AdvancedSearch [2] http://wikincat.org/wiki/Wikis_(Ciência_da_computação)