feat: add Stella Sora, from the wiki's front page rather than its banner list
This wiki publishes the same schedule twice and the fuller surface is the worse one. /wiki/Banner_List has 55 clean rows with full wall clocks and states no timezone anywhere on the page; the front page's Current Banners module emits the same instants as real <time datetime="...-07:00"> elements. The two agree exactly, which is strong evidence the list is UTC and is still only evidence — so we read the surface that says what it means and pay four live banners instead of a full history for it. If an editor ever states the zone on Banner_List, that page becomes the better source immediately. Two ways this could have failed silently. The template writes its BEM underscores as __, so a selector written against the class name a browser shows matches nothing at all; and banner names are red links to ?action=edit&redlink=1, which Miraheze's robots.txt disallows, so a href carrying a query is refused and the page URL stands in. No resetOffsets, and here the source did state an offset: -07:00, which is US Pacific and therefore shifts twice a year. That is the Fate/Grand Order gap arriving through a page that looks like it answered the question. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
4dff14087f
commit
ecbf9c0422
@@ -133,6 +133,16 @@ const SOURCES: SourceSpec[] = [
|
||||
url: "https://iopwiki.com/wiki/GFL2_Events",
|
||||
parserId: "iopwiki",
|
||||
},
|
||||
{
|
||||
id: "stellasora-stellasorawiki-events",
|
||||
game: "stellasora",
|
||||
// The front page, and deliberately not `/wiki/Banner_List`: the list has
|
||||
// full coverage and states no timezone anywhere, while this module emits
|
||||
// the same instants as `<time datetime>` with the offset in the markup.
|
||||
// See `parsers/stellasora.ts` for why coverage loses that argument.
|
||||
url: "https://stellasora.miraheze.org/wiki/Main_Page",
|
||||
parserId: "stellasorawiki",
|
||||
},
|
||||
];
|
||||
|
||||
function toAdapter(spec: SourceSpec): Adapter {
|
||||
|
||||
Reference in New Issue
Block a user