Content deleted Content added
→Adding authorship: comment |
|||
Line 13:
Apologies for the extremely slowpoke.jpg followup on this, but I think author tags would be a very good idea, and implementing them here would save me a large amount of work versus implementing them separately in an independent module. As one example, they would allow us to link authors' bylines to lists of their articles, as basically all modern news outlets do. and I am willing to assist in modifying the script / module (or assist with harmonization of input data on the ''Signpost'' pages themselves, automation to update old indices etc) if additional work is required. '''[[User:JPxG|jp]]'''×'''[[User talk:JPxG|g]]''' 15:53, 4 November 2022 (UTC)
:{{ping|EpicPupper|JPxG}} I have updated [[Module:Signpost]] and [[WP:SPT]] to support adding authorship. The index modules can now have an "authors" table, which you can see some examples of at [[Module:Signpost/index/2019]]. To really make this useful, though, we need to add author data for all 4000 Signpost articles, or at least a significant subset. I plan on writing a script that can do this automatically when I next find some free time. Best — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 06:54, 12 November 2022 (UTC)
::{{ping|Mr. Stradivarius}} Excellent! One loves to see it. I think we are aligned on automatically filling out article information, to the point that I was already beginning to write it when I saw this. My thinking is a simple Python script that runs on a user's computer and does the following:
:::- Retrieves Signpost article pages as wikitext from the server
:::- Parses out departments, headlines, subheadings, author information (and potentially other metadata)
:::- Retrieves the Signpost module indices
:::- Integrates the scraped metadata (either by upserting, or only inserting where fields are blank)
:::- ???
:::- 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)
== Hello everyone, and also bug? ==
|