The Signpost (talk · chat) |
---|
|
|
|
Recent changes: main · talk |
|
Hi. I am jp×g, writing at 22:29, 24 October 2022 (UTC). The following document will be my attempt to summarize, in an understandable way, how the Signpost works on a purely technical level (i.e. the electrical system that causes Signpost content to go from writers' keyboards to your eyeballs). What is this machine and what does it do? This document is mostly, and perhaps entirely, of interest to people such as me (an editor-in-chief attempting to make sense of a very old legacy system which he has inherited from generations past). Feel free to stop reading now, because this is going to be boring!
Looks like: Wikipedia:Wikipedia Signpost
There is only one main page: it shows the current issue. Its contents are automatically overwritten each month with the new issue's release; they're overwritten by content generated by the Signpost Publishing Script as part of the publication process.
Templates used by this page are:
{{Wikipedia:Wikipedia Signpost/Templates/Issue|1}}
returned 2022-09-30
, {{Wikipedia:Wikipedia Signpost/Templates/Issue|2}}
returned Volume 18, Issue 9
, and {{Wikipedia:Wikipedia Signpost/Templates/Issue|3}}
returned 2022-08-31
.<div>
s for the main page.<div>
s for the main article page, and opens <div>
s for the footer.<div>
s.Looks like: Wikipedia:Wikipedia Signpost/Archives/2022-03-27
There is one of these for each Signpost issue. They (as far as I can tell) are not transcluded anywhere. Their wikitext source is extremely short, and looks like this:
{{Signpost archive|2022-02-27|2022-03-27|2022-04-24}}
A closer look at {{Signpost archive}}, whose output is essentially identical in formatting to the main page (but for dates other than the current issue):
<div>
s for the content (while setting fonts, sizes and line heights for it).<div>
s for the content and transcludes the footer.Looks like: Wikipedia:Wikipedia Signpost/2022-03-27
There is one of these for each issue. These are transcluded on yearly archive pages (like Wikipedia:Wikipedia Signpost/Archives/2022). They're also transcluded by the monthly archive pages (i.e. Wikipedia:Wikipedia Signpost/Archives/2022-03-27 transcludes all of Wikipedia:Wikipedia Signpost/2022-03-27 via {{Signpost archive}}). They consist of a bunch of lines like this (one for every article that month):
{{Template:Signpost/item|{{{1}}}|11|2022-03-27|Arbitration report|Skeptics given heavenly judgement, whirlwind of Discord drama begins to spin for tropical cyclone editors|0.2 MB}}
This invokes Template:Signpost/item, which is its whole own can of worms. The {{{1}}} here allows a pass-through from another template, which is sort of complicated, so I will explain it like this:
{{Wikipedia:Wikipedia Signpost/2022-03-27|2}}
{{Wikipedia:Wikipedia Signpost/2022-03-27}}
Note the difference: the issue page is getting called with 2
as its first parameter from the monthly archive page, and with nothing as its first parameter from the yearly archive page. This means that different parameters are being passed from the monthly archive page to Template:Signpost/item, causing different display modes to be selected.
Wikipedia:Wikipedia Signpost/Single, when viewed directly, automatically transcludes all stories from the current issue for reading on a single page. When transcluded as a template with the date of any archived issue as parameter, it does the same for that issue; this is used to generate archival single-edition pages (example: Wikipedia:Wikipedia Signpost/Single/2022-10-31).