From DoomWiki.org
Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 109: | Line 109: | ||
For all map pages' "Speedrunning" sections, collects the current [[DSDA]] record via {{dwforums|106189|their API}} in all standard Doom, Heretic or Hexen categories plus the optional ones (''NoMo'', ''NoMo 100S'', ''Stroller'' & ''Collector''), and compiles the table with intro line for the "Current records" subsection -- similar to ''srUpdMapRecs.php'' for [[User:Xymph/Speedrunners#Compet-n record tables|Compet-n map record tables]]. Links to each category are not duplicated.<br> | For all map pages' "Speedrunning" sections, collects the current [[DSDA]] record via {{dwforums|106189|their API}} in all standard Doom, Heretic or Hexen categories plus the optional ones (''NoMo'', ''NoMo 100S'', ''Stroller'' & ''Collector''), and compiles the table with intro line for the "Current records" subsection -- similar to ''srUpdMapRecs.php'' for [[User:Xymph/Speedrunners#Compet-n record tables|Compet-n map record tables]]. Links to each category are not duplicated.<br> | ||
If an existing "Miscellaneous demos" table contains entries, prompts whether to preserve at least one of them. If so, updates the download link(s) to {{tl|dsdaftp}} for the old DSDA site; if not, drops the section.<br> | If an existing "Miscellaneous demos" table contains entries, prompts whether to preserve at least one of them. If so, updates the download link(s) to {{tl|dsdaftp}} for the old DSDA site; if not, drops the section.<br> | ||
− | An intermediate step checks the "Secrets" section or "Official" subsection for bulleted or bolded entries, and uses that for the next ''NM 100S'' check. But a secret exit or the absence of monsters & secrets | + | An intermediate step checks the "Secrets" section or "Official" subsection for bulleted or bolded entries, and uses that for the next ''NM 100S'' check. But a secret exit or the absence of monsters & secrets is flagged for pertaining maps in the .ini file.<br> |
For a map without secrets, skips the ''NM 100S'' category -- but if a record exists in that category and not in ''NM Speed'', then lists the former in the latter row. For a map without monsters and secrets, drops all categories except ''UV Speed'' -- and ''Pacifist'' if cross-listed into ''UV Speed''. In both cases an explanation line is added at the start of the "Speedrunning" section (replacing an existing line if present).<br> | For a map without secrets, skips the ''NM 100S'' category -- but if a record exists in that category and not in ''NM Speed'', then lists the former in the latter row. For a map without monsters and secrets, drops all categories except ''UV Speed'' -- and ''Pacifist'' if cross-listed into ''UV Speed''. In both cases an explanation line is added at the start of the "Speedrunning" section (replacing an existing line if present).<br> | ||
If no records are in the table at all, an "(absence of)" attribute is added in the datestamp line, and the default edit summary is a Verify; otherwise it's an Update.<br> | If no records are in the table at all, an "(absence of)" attribute is added in the datestamp line, and the default edit summary is a Verify; otherwise it's an Update.<br> | ||
Always provides interactive comparison between old and new contents of the section, prior to submitting the edit. | Always provides interactive comparison between old and new contents of the section, prior to submitting the edit. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== Miscellaneous scripts == | == Miscellaneous scripts == | ||
Line 188: | Line 183: | ||
=== srDsdaFeed.php === | === srDsdaFeed.php === | ||
− | Parses DSDA's [https://dsdarchive.com/feed HTML feed pages] from today back to a given start date to collect WADs covered on the wiki that got new/updated records, and lists the corresponding .ini files for updating the maps | + | Parses DSDA's [https://dsdarchive.com/feed HTML feed pages] from today back to a given start date to collect WADs covered on the wiki that got new/updated records, and lists the corresponding .ini files for updating the maps' record tables via [[#dsdaMapBot.php|dsdaMapBot.php]]. |
=== collectDLlinks.php === | === collectDLlinks.php === |