Module talk:Signpost: Difference between revisions

Content deleted Content added
Fleshing: new section
Line 41:
 
:{{ping|JPxG}} What will the data be used for? My first reaction is that unless you need to make the data available via a template, you could use the [[wikitech:Analytics/AQS/Pageviews|Pageviews API]] to get the data dynamically and not have to worry about storing it in the index modules. If we do need to store the data in the index modules, [[WP:SPT]] will need to be updated; with the current way that it is written, it will delete all the extra view fields when it changes any tags (see [[Special:Diff/1131885112|this diff]] for an example). Also, rather than using fields like <code>views30</code>, <code>views60</code> etc., I would prefer that the page view statistics are put into their own subtable, like <syntaxhighlight lang="lua" inline>views = {[7] = 642, [30] = 1966, [60] = 2279, [90] = 2419}</syntaxhighlight>. The data would be more structured this 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> 06:51, 6 January 2023 (UTC)
 
== Fleshing ==
 
The current version of Wegweiser, while not perfect, now has the ability to pull article lists from the PrefixIndex API and generate skeleton entries (no tags, but date and subpage) in the indices. I filled them out from 2005 to present, which added some several hundred articles previously unindexed (i.e. 2017 only had a couple articles in the index for some reason). '''[[User:JPxG|jp]]'''×'''[[User talk:JPxG|g]]''' 01:33, 7 January 2023 (UTC)