Module talk:Signpost: Difference between revisions

Content deleted Content added
Line 21:
:::- Profit!
::Parenthetically: when contemplating this, it got me to thinking that it might be a good idea to automatically run this after each issue is published (i.e. it seems like a lot of work, and rather error-prone, for people to manually insert index entries for each article, rather than simply adding tags manually). Let me know what you think of this, and if it's a good idea to go forward with running it for each issue. '''[[User:JPxG|jp]]'''×'''[[User talk:JPxG|g]]''' 22:48, 16 November 2022 (UTC)
:::{{ping|JPxG}} Yes, this sounds like a good idea. I suspect that it will be easier to get the Signpost article metadata from the HTML rather than from the wikitext. We can insert IDs into the elements we need to parse, as I did [[Special:Diff/1121383686|here]] for the article authors, which then allowed me to write the [[Special:Diff/1121423877|author-parsing code]] without too much trouble. <p>I see article subheadings on [[Wikipedia:Wikipedia Signpost]], but I don't see them on article pages or anywhere in the archives. Would it be acceptable to leave these out of the index modules? Adding these would also mean adding them to [[WP:SPT]], and I would prefer to keep things simple if the subheadings are not used all that much. Also, I couldn't find any mention of departments in the Signpost articles I checked - do you have any examples of the department metadata that you mentioned?</p> <p>Also, yes, this script, or a variant of it, should be run after each article is published (or we could probably just run it daily). It is not that much of a stretch from running a script on a user's computer to running a script every day automatically on [[wikitech:Portal:Toolforge|Toolforge]]. 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> 00:12, 17 November 2022 (UTC)</p>
 
== Hello everyone, and also bug? ==