Module talk:Signpost: Difference between revisions

Content deleted Content added
Line 102:
{{ping|Mr. Stradivarius}} I have a working modification for the module, currently located at [[Module:Sandbox/JPxG]], which is capable of using the author/pageview metadata in list/table generation. I don't want to just slap it into the main module without any notice, so I am letting you know here. This version (which you can see the test cases for at the [[Module:Sandbox/JPxG/doc|doc page]]) allows for returning the author, as well as viewsSeven, viewsFifteen [...] up to viewsOneEighty. Below I'll embed a use case, which is a table of the view counts for yesterday's issue:
{{User:JPxG/sandboxbollocks}}
<nowiki>{{User talk:JPxG/sandbox99
| rowformat = {{Wikipedia:Wikipedia Signpost/Templates/Article list maker/Pageviews|date=${date}|subpage=${subpage}|title=${title}|viewsseven=${viewsSeven}}}
| sortdir = descending
| startdate = 2023-01-15
| enddate = 2023-12-01
}}</nowiki>
}}
|}
Anyway, I don't see this conflicting with any other use of the module, and it hasn't broken in the period of me testing it, so I will add these changes to the main module, unless you have an objection or want to do it better (I don't think this is the best-written code, as I am not a "Lua guy"). '''[[User:JPxG|jp]]'''×'''[[User talk:JPxG|g]]''' 05:05, 17 January 2023 (UTC)