Page MenuHomePhabricator

DPL3: ⧼hitcounters-nviews⧽ shown instead of counter values
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • select articles based on hitcounters
{{#dpl:
 |category=Artikel
 |rowcolformat=width=100%
 |mode=ordered
 |ordermethod=counter
 |order=descending
 |addpagecounter=true
 |count=20
}}

What happens?:

⧼hitcounters-nviews⧽ shown instead of counter values

What should have happened instead?:
hitcounter values to be shown

Workaround
The issue could be fixed after adding manually this line to HitCounters/i18n/en.json

"hitcounters-nviews": "$1 views",

respectively this line to HitCounters/i18n/de.json

"hitcounters-nviews": "$1 Artikel",

Permanent fix
To implement this solution to further DPL3 extension versions instead applying the workaround

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
MW1.39 with the lastest version of 'DynamicPageList3' and 'HitCounters' extensions installed

Event Timeline

Assuming this task is about the MediaWiki-extensions-HitCounters code project, hence adding that project tag so other people can also find this task when searching via projects