Module talk:Signpost: Difference between revisions

Content deleted Content added
m Added missing </p> tag.
Line 62:
:::::::*[[User:JPxG/sandbox99#All_arb_reports_since_2015,_sortable_by_7-day_views]]
:::::::There's no way to query pageviews in wikitext (because they have to be dynamically loaded from a different API); it has to be done by an external application. The only thing we have that can do this is the Vega graphing extension; it might theoretically be possible to use a grotesque hack like rendering a Vega embed for pageview data in some way that displayed a wikitext error message that embedded the pageview count in it... but even if that worked, it would require viewers' browsers to perform thousands of queries to the pageview API every time they tried to load a table like the ones above (for data that isn't really going to change ever, like "pageviews between January and February 2017"). '''[[User:JPxG|jp]]'''×'''[[User talk:JPxG|g]]''' 22:47, 11 January 2023 (UTC)
{{dedent|:::::::}}{{ping|JPxG}} I made a [https://github.com/jp-x-g/wegweiser/pull/1 pull request] to Wegweiser to use the same Lua table format as SignpostTagger. Does that look like an acceptable way of making the diffs cleaner in the index modules? <p>As for the question of why page view data is necessary, I understand that you want to display the page view data in wikitext, and that using the page view API for this directly would be impractical. The thing I'm not understanding is why you want to add page view data to wikitext in the first place. Are you planning to add a page view counter on article pages? Or are you planning to use the data in some other way? Best — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr.&nbsp;Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪&nbsp;talk&nbsp;♪]]</sup> 05:02, 22 January 2023 (UTC)</p>
 
== Fleshing ==