From DoomWiki.org

m (Custom things mapping: covered as yet)
(.ini scripts: describe extraCoopBot.php)
(11 intermediate revisions by the same user not shown)
Line 39: Line 39:
 
Conversely, for maps without [[deathmatch start]]s, the Deathmatch header is removed (unless the section is not empty).<br/>
 
Conversely, for maps without [[deathmatch start]]s, the Deathmatch header is removed (unless the section is not empty).<br/>
 
Optionally provides interactive comparison between old and new contents of the pertaining section or page, prior to submitting the edit.
 
Optionally provides interactive comparison between old and new contents of the pertaining section or page, prior to submitting the edit.
 +
 +
=== extraCoopBot.php ===
 +
Uses DMMPST's logging of additional Things existing in [[cooperative]] (for [[Thing#Boom flags|Boom]] or [[Thing#Hexen Flags|Hexen]] flags) or [[multiplayer]] mode when compared to single-player mode to add categories {{cat|Levels with extra monsters in co-op}} and/or {{cat|Levels with extra equipment in co-op}}.<br/>
 +
Always provides interactive comparison between old and new contents of the page, prior to submitting the edit.
  
 
=== uploadmapBot.php ===
 
=== uploadmapBot.php ===
Line 104: Line 108:
 
=== textmapStats.php ===
 
=== textmapStats.php ===
 
Processes an extracted TEXTMAP lump with regular expressions and a little code to generate statistics in [[Template:Mapdata]] format, along with formatted lists of secret sector numbers and deathmatch spawn points (if any). Useful for [[UDMF]] maps, which DMMPST doesn't support.
 
Processes an extracted TEXTMAP lump with regular expressions and a little code to generate statistics in [[Template:Mapdata]] format, along with formatted lists of secret sector numbers and deathmatch spawn points (if any). Useful for [[UDMF]] maps, which DMMPST doesn't support.
 +
 +
=== textmapExtra.php ===
 +
Processes an extracted TEXTMAP lump with regular expressions and some code to collect monster and equipment counts for single-player and cooperative modes, and lists those {{cat|Levels with extra monsters in co-op|where the}} {{cat|Levels with extra equipment in co-op|counts differ}}. Again, useful for UDMF maps.
  
 
=== listWikiLinks.php ===
 
=== listWikiLinks.php ===
Line 118: Line 125:
 
Conversely, '''unlinkArticle.php''' removes any wikilinks.<br/>
 
Conversely, '''unlinkArticle.php''' removes any wikilinks.<br/>
 
Both always provide interactive comparison between old and new contents of the page, prior to submitting the edit.
 
Both always provide interactive comparison between old and new contents of the page, prior to submitting the edit.
 +
 +
=== appearMaps.sh ===
 +
From the archived things tables, collects/sorts the maps with the highest count of a given [[thing]] and emits a prettytable. Because [[Holy Hell]] MAP05 is a superset of MAP01-04, the latter are skipped from the table.
 +
 +
=== top100MemMaps.php ===
 +
Processes the maps list of the [[Top 100 Most Memorable Maps]] and appends a sentence about the map's place to each page's intro section (taking a trailing 'level stub' into account). Also checks for the presence of the Top100 category.
  
 
=== And more? ===
 
=== And more? ===
Line 134: Line 147:
 
So, to help, please provide such descriptions (or provide a quick mapping table on the WAD's talk page) for the following WADs that I already processed previously:
 
So, to help, please provide such descriptions (or provide a quick mapping table on the WAD's talk page) for the following WADs that I already processed previously:
  
<div style="-moz-column-width: 20em; column-width: 20em;">
+
<div style="-webkit-column-width: 20em; -moz-column-width: 20em; column-width: 20em;">
 
* [[Aliens TC]]
 
* [[Aliens TC]]
 
* [[Caverns of Darkness]]
 
* [[Caverns of Darkness]]
Line 162: Line 175:
 
Going forward, the same is welcome for WADs I am skipping for now because the overview information does not appear to be sufficiently descriptive and complete. This includes:
 
Going forward, the same is welcome for WADs I am skipping for now because the overview information does not appear to be sufficiently descriptive and complete. This includes:
  
<div style="-moz-column-width: 20em; column-width: 20em;">
+
<div style="-webkit-column-width: 20em; -moz-column-width: 20em; column-width: 20em;">
 
* [[The Adventures of MassMouth]], [[Massmouthmas]], [[MassMouth 2]]
 
* [[The Adventures of MassMouth]], [[Massmouthmas]], [[MassMouth 2]]
 
* [[The Alfonzone]]
 
* [[The Alfonzone]]
Line 184: Line 197:
 
* [[Operation Body Count]]
 
* [[Operation Body Count]]
 
* [[Operation Overlord]]
 
* [[Operation Overlord]]
 +
* [[Operation Sea Wolf]]
 
* [[Pirate Doom]]
 
* [[Pirate Doom]]
 
* [[Project Einherjar]]
 
* [[Project Einherjar]]
 
* [[Psychophobia]]
 
* [[Psychophobia]]
 +
* [[Realms of Dr. Chaos]]
 +
* [[Splatterhouse 3D]]
 
* [[STRAIN]]
 
* [[STRAIN]]
 
* [[Strange Aeons]]
 
* [[Strange Aeons]]
 
* [[Stronghold: On the Edge of Chaos]]
 
* [[Stronghold: On the Edge of Chaos]]
 
* [[Temple of the Lizard Men 2]]
 
* [[Temple of the Lizard Men 2]]
 +
* [[Total Chaos]]
 
* [[Twilight Warrior]]
 
* [[Twilight Warrior]]
 
* [[The Twilight Zone II: Final Dreams]]
 
* [[The Twilight Zone II: Final Dreams]]
Line 202: Line 219:
  
 
== WADs covered so far ==
 
== WADs covered so far ==
The lists below show the single-level and multi-level WADs that have so far been covered (created and/or updated) via XymphBot and its .ini files. Map counts per WAD and various totals are included (''state of 2018-11-12 11:08 CST'').
+
The lists below show the single-level and multi-level WADs that have so far been covered (created and/or updated) via XymphBot and its .ini files. Map counts per WAD and various totals are included (''state of 2019-05-17 16:28 CDT'').
  
 
===Single-level WADs===
 
===Single-level WADs===
Line 225: Line 242:
 
* [[Breach]]
 
* [[Breach]]
 
* [[Brigandine]]
 
* [[Brigandine]]
 +
* [[The C.P.U.]]
 
* [[Call of Dooty]] *
 
* [[Call of Dooty]] *
 
* [[The Call of Ktulu]]
 
* [[The Call of Ktulu]]
 +
* [[The Castle of Blood]]
 
* [[Castle of Eternal Carrot in the Sky]]
 
* [[Castle of Eternal Carrot in the Sky]]
 
* [[Castle of the Renegades]] (Doom II)
 
* [[Castle of the Renegades]] (Doom II)
Line 244: Line 263:
 
* [[Congestion Control]]
 
* [[Congestion Control]]
 
* [[Containment Area]]
 
* [[Containment Area]]
 +
* [[The Corruption of Substation Alpha]]
 
* [[Crestfallen]]
 
* [[Crestfallen]]
 
* [[CROSS.WAD]]
 
* [[CROSS.WAD]]
Line 250: Line 270:
 
* [[Crusader (WAD)]]
 
* [[Crusader (WAD)]]
 
* [[The Cursed Generation]]
 
* [[The Cursed Generation]]
 +
* [[The D.M.Z.]]
 
* [[Dante's Gate]]
 
* [[Dante's Gate]]
 
* [[Dark Tide]]
 
* [[Dark Tide]]
 +
* [[Darker]]
 
* [[Day of the Acolyte]] *
 
* [[Day of the Acolyte]] *
 
* [[Dead.air]]
 
* [[Dead.air]]
Line 257: Line 279:
 
* [[Decade]]
 
* [[Decade]]
 
* [[The Deimos Subway]]
 
* [[The Deimos Subway]]
 +
* [[Demonastery]]
 
* [[DemWAD01]]
 
* [[DemWAD01]]
 +
* [[Device One]]
 
* [[Diabolos]]
 
* [[Diabolos]]
 
* [[Dickie 10]]
 
* [[Dickie 10]]
 
* [[Diopatra]]
 
* [[Diopatra]]
 +
* [[Disturbia]]
 +
* [[Doom City]]
 +
* [[Doom Must Fall]]
 
* [[Doom Raider: Crypt of the Vile]]
 
* [[Doom Raider: Crypt of the Vile]]
 
* [[Doom2 Map14 Homage]]
 
* [[Doom2 Map14 Homage]]
Line 269: Line 296:
 
* [[Drip Feed]]
 
* [[Drip Feed]]
 
* [[The Dying End]]
 
* [[The Dying End]]
 +
* [[Dystopia]]
 
* [[E1M10: Sewers (Xbox Doom)]]
 
* [[E1M10: Sewers (Xbox Doom)]]
 
* [[E2M1ED.WAD]]
 
* [[E2M1ED.WAD]]
 
* [[Eden]]
 
* [[Eden]]
 +
* [[The Enemy Inside]]
 
* [[Escape from Castle Chezcrea]]
 
* [[Escape from Castle Chezcrea]]
 
* [[Europa 1]]
 
* [[Europa 1]]
Line 282: Line 311:
 
* [[Eyedea]]
 
* [[Eyedea]]
 
* [[The Farside of Titan]]
 
* [[The Farside of Titan]]
 +
* [[The Final Geometry]]
 
* [[Forsaken Overlook]]
 
* [[Forsaken Overlook]]
 +
* [[Fortress of Doom]]
 
* [[FORTRESS.WAD]]
 
* [[FORTRESS.WAD]]
 
* [[Frozen Time]]
 
* [[Frozen Time]]
 
* [[Fuel Devourer]] *
 
* [[Fuel Devourer]] *
 +
* [[The Fury]]
 
* [[The Given]]
 
* [[The Given]]
 
* [[Grove]]
 
* [[Grove]]
Line 300: Line 332:
 
* [[High/Low 4]]
 
* [[High/Low 4]]
 
* [[High/Low 5]]
 
* [[High/Low 5]]
 +
* [[The Hive]]
 
* [[Hollow Minds]]
 
* [[Hollow Minds]]
 
* [[Holy Hell]]
 
* [[Holy Hell]]
Line 314: Line 347:
 
* [[Invasion... Level 2: The Upper Decks]]
 
* [[Invasion... Level 2: The Upper Decks]]
 
* [[Invasion: The Siege]]
 
* [[Invasion: The Siege]]
 +
* [[Jade Earth]]
 
* [[Jägermörder 1: Chemical Lab]]
 
* [[Jägermörder 1: Chemical Lab]]
 
* [[Jägermörder 2: Terra Nova]]
 
* [[Jägermörder 2: Terra Nova]]
Line 325: Line 359:
 
* [[L'agonie Finale]]
 
* [[L'agonie Finale]]
 
* [[Lake4]]
 
* [[Lake4]]
 +
* [[Man on the Moon]] *
 
* [[MAP33: Betray (Xbox Doom II)]]
 
* [[MAP33: Betray (Xbox Doom II)]]
 
* [[MarkRoom]]
 
* [[MarkRoom]]
Line 344: Line 379:
 
* [[Nickel Electroplate Facility]]
 
* [[Nickel Electroplate Facility]]
 
* [[Nightfall]]
 
* [[Nightfall]]
 +
* [[No Chance]]
 
* [[Nostromo's Run]]
 
* [[Nostromo's Run]]
 
* [[Not Another E1 Wad]]
 
* [[Not Another E1 Wad]]
 
* [[Not Another E3 Wad]]
 
* [[Not Another E3 Wad]]
 
* [[Null Space]]
 
* [[Null Space]]
 +
* [[Odessa 1]]
 +
* [[Odessa 11]]
 +
* [[Odessa 12]]
 +
* [[Odessa 13]]
 
* [[Odessa 14]]
 
* [[Odessa 14]]
 +
* [[Odessa 2]]
 +
* [[Odessa 3]]
 +
* [[Odessa 6]]
 +
* [[Odessa 7]]
 +
* [[Odessa 9]]
 
* [[Ogro Power Facility]]
 
* [[Ogro Power Facility]]
 +
* [[Omelet Face]]
 
* [[Oniria]] *
 
* [[Oniria]] *
 
* [[Oniria 2]]
 
* [[Oniria 2]]
Line 364: Line 410:
 
* [[Plasmaplant]]
 
* [[Plasmaplant]]
 
* [[Polygon Base]]
 
* [[Polygon Base]]
 +
* [[Port Glacia]]
 
* [[Punisher]]
 
* [[Punisher]]
 
* [[Putrefier]]
 
* [[Putrefier]]
Line 369: Line 416:
 
* [[RCK2]]
 
* [[RCK2]]
 
* [[Realm of the Green Soul]]
 
* [[Realm of the Green Soul]]
 +
* [[Recant]]
 
* [[Reconstruction / Decomposition]]
 
* [[Reconstruction / Decomposition]]
 
* [[Red Rock]]
 
* [[Red Rock]]
Line 378: Line 426:
 
* [[RRWARD03]]
 
* [[RRWARD03]]
 
* [[RRWARD04]]
 
* [[RRWARD04]]
 +
* [[Rule the World!]]
 
* [[Ruma]]
 
* [[Ruma]]
 
* [[Run Buddy]]
 
* [[Run Buddy]]
 +
* [[Runaway Train]]
 
* [[Sapidus]]
 
* [[Sapidus]]
 
* [[Saturnine Chapel]]
 
* [[Saturnine Chapel]]
Line 400: Line 450:
 
* [[Tantrum 2]]
 
* [[Tantrum 2]]
 
* [[Tech Gone Bad]]
 
* [[Tech Gone Bad]]
 +
* [[TEKRKBRN]]
 
* [[Temple of Chaos 2 - Warped Reality]] *
 
* [[Temple of Chaos 2 - Warped Reality]] *
 
* [[Their Selfish Realms]]
 
* [[Their Selfish Realms]]
Line 408: Line 459:
 
* [[ToxicHole]]
 
* [[ToxicHole]]
 
* [[Tremor]]
 
* [[Tremor]]
 +
* [[Triple-Play]]
 
* [[Trouble on Titan]]
 
* [[Trouble on Titan]]
 +
* [[UAC Invasion: The Supply Depot]] *
 
* [[UCA]]
 
* [[UCA]]
 +
* [[Umbra of Fate]]
 
* [[Under Neith]]
 
* [[Under Neith]]
 
* [[The Unholy Trinity]]
 
* [[The Unholy Trinity]]
Line 423: Line 477:
 
* [[Vrack 3]]
 
* [[Vrack 3]]
 
* [[The Wailing Horde]]
 
* [[The Wailing Horde]]
 +
* [[The Warlock's Hearth]]
 
* [[Warphouse]]
 
* [[Warphouse]]
 
* [[Wasteland: Dead Base]]
 
* [[Wasteland: Dead Base]]
Line 482: Line 537:
 
* [[Alien Vendetta]] (35)
 
* [[Alien Vendetta]] (35)
 
* [[Aliens TC]] (11)
 
* [[Aliens TC]] (11)
 +
* [[All Hell is Breaking Loose]] (5) *
 
* [[Aloha999]] (8)
 
* [[Aloha999]] (8)
 
* [[Ancient Aliens]] (32) *
 
* [[Ancient Aliens]] (32) *
 +
* [[Army of Darkness TC]] (10) *
 
* [[Artica]] (2)
 
* [[Artica]] (2)
 
* [[The Artifact (WAD)]] (3)
 
* [[The Artifact (WAD)]] (3)
 
* [[ASDoom]] (9)
 
* [[ASDoom]] (9)
 +
* [[ASDOOMII: The Final Countdown]] (8)
 +
* [[Back to Hell]] (9)
 
* [[Back to Saturn X]] E1 (27)
 
* [[Back to Saturn X]] E1 (27)
 
* [[Back to Saturn X]] E2 (27)
 
* [[Back to Saturn X]] E2 (27)
Line 513: Line 572:
 
* [[Crimson Canyon]] (12)
 
* [[Crimson Canyon]] (12)
 
* [[Cringe]] (9)
 
* [[Cringe]] (9)
 +
* [[Crumpets]] (9)
 
* [[Crusades]] (9)
 
* [[Crusades]] (9)
 
* [[Curse of D'Sparil]] (9)
 
* [[Curse of D'Sparil]] (9)
 
* [[Daedalus: Alien Defense]] (31)
 
* [[Daedalus: Alien Defense]] (31)
 
* [[Dark 7]] (7)
 
* [[Dark 7]] (7)
 +
* [[Dark Hell]] (9)
 
* [[The Darkening Episode 2]] (12)
 
* [[The Darkening Episode 2]] (12)
 
* [[The Darkening]] (11)
 
* [[The Darkening]] (11)
Line 557: Line 618:
 
* [[Eternity (WAD)]] (8)
 
* [[Eternity (WAD)]] (8)
 
* [[The Evil Unleashed]] (9)
 
* [[The Evil Unleashed]] (9)
 +
* [[Eviternity]] (32) *
 +
* [[Eye of the Beholder]] (9) *
 +
* [[Eye of the Beholder II]] (7)
 
* [[Fava Beans]] (9)
 
* [[Fava Beans]] (9)
 
* [[The Final Gathering]] (5)
 
* [[The Final Gathering]] (5)
 
* [[A Fistful of Doom]] (2)
 
* [[A Fistful of Doom]] (2)
 
* [[For Whom the Bell Tolls]] (2)
 
* [[For Whom the Bell Tolls]] (2)
 +
* [[Forest Valley]] (5)
 
* [[Full On]] (5)
 
* [[Full On]] (5)
 
* [[Galaxia]] (2)
 
* [[Galaxia]] (2)
Line 585: Line 650:
 
* [[Infinity]] (8)
 
* [[Infinity]] (8)
 
* [[Interception]] (32)
 
* [[Interception]] (32)
 +
* [[The Invaders]] (6)
 
* [[Japanese Community Project]] (32)
 
* [[Japanese Community Project]] (32)
 
* [[Jenesis]] (34) *
 
* [[Jenesis]] (34) *
Line 598: Line 664:
 
* [[Mano Laikas]] (32)
 
* [[Mano Laikas]] (32)
 
* [[Mars War]] (32)
 
* [[Mars War]] (32)
 +
* [[Maskim Xul]] (3) *
 
* [[Master Levels for Doom II]] (21)
 
* [[Master Levels for Doom II]] (21)
 
* [[Mayan Mishap]] (5) *
 
* [[Mayan Mishap]] (5) *
Line 632: Line 699:
 
* [[The Plutonia Experiment]] (32)
 
* [[The Plutonia Experiment]] (32)
 
* [[Plutonia: Revisited Community Project]] (32)
 
* [[Plutonia: Revisited Community Project]] (32)
 +
* [[Preacher]] (10) *
 
* [[Project - Kate]] (3) *
 
* [[Project - Kate]] (3) *
 
* [[Rage Doom]] (19)
 
* [[Rage Doom]] (19)
 +
* [[Raven series]] (11)
 
* [[The Realm of Parthoris]] (10)
 
* [[The Realm of Parthoris]] (10)
 
* [[The Rebirth]] (32) *
 
* [[The Rebirth]] (32) *
Line 647: Line 716:
 
* [[Scythe X]] (10)
 
* [[Scythe X]] (10)
 
* [[Serenity]] (8)
 
* [[Serenity]] (8)
 +
* [[Sin City (1995 WAD)]] (9)
 
* [[SkePLand]] (3)
 
* [[SkePLand]] (3)
 
* [[Slaughter Until Death]] (9)
 
* [[Slaughter Until Death]] (9)
 
* [[SlayeR (WAD)]] (11)
 
* [[SlayeR (WAD)]] (11)
 +
* [[Slugfest]] (10)
 
* [[Sony PlayStation]] (59)
 
* [[Sony PlayStation]] (59)
 
* [[Speed of Doom]] (33)
 
* [[Speed of Doom]] (33)
Line 663: Line 734:
 
* [[Swim With The Whales]] (4)
 
* [[Swim With The Whales]] (4)
 
* [[The Talosian Incident]] (20)
 
* [[The Talosian Incident]] (20)
 +
* [[Tangerine Nightmare]] (10) *
 
* [[Threshold of Pain]] (12)
 
* [[Threshold of Pain]] (12)
 
* [[THT: Threnody]] (20)
 
* [[THT: Threnody]] (20)
Line 672: Line 744:
 
* [[UAC Ultra]] (11) *
 
* [[UAC Ultra]] (11) *
 
* [[Ultimate Doom]] (36)
 
* [[Ultimate Doom]] (36)
 +
* [[Ultimate Doom the Way id Did]] (9)
 
* [[Unholy Realms]] (32)
 
* [[Unholy Realms]] (32)
 
* [[Vae Victus 2]] (7)
 
* [[Vae Victus 2]] (7)
Line 681: Line 754:
 
* [[Xmas Doom]] (3)
 
* [[Xmas Doom]] (3)
 
* [[Yak World]] (2)
 
* [[Yak World]] (2)
 +
* [[Ye Olde Smudge Wad]] (3)
 
* [[ZPack - Random Maps for ZDoom]] (31) *
 
* [[ZPack - Random Maps for ZDoom]] (31) *
 
</div>
 
</div>
  
 
+
===Statistics===
 
{| {{prettytable}}
 
{| {{prettytable}}
 
! !! Total
 
! !! Total
 
|-
 
|-
| '''Overall map pages''' ||style="text-align: right;"| '''5466'''
+
| '''Overall map pages''' ||style="text-align: right;"| '''5678'''
 
|-
 
|-
| [[#Single-level WADs|Single-level WAD]] map pages ||style="text-align: right;"| '''239'''
+
| [[#Single-level WADs|Single-level WAD]] map pages ||style="text-align: right;"| '''277'''
 
|-
 
|-
| [[#Multi-level WADs|Multi-level WAD]] map pages ||style="text-align: right;"| '''5227'''
+
| [[#Multi-level WADs|Multi-level WAD]] map pages ||style="text-align: right;"| '''5401'''
 
|-
 
|-
| WADs with a [[#Custom things mapping|custom things mapping]] file * ||style="text-align: right;"| '''52'''
+
| WADs with a [[#Custom things mapping|custom things mapping]] file * ||style="text-align: right;"| '''61'''
 
|-
 
|-
| {{cat|Navboxes for map articles}} ||style="text-align: right;"| '''623'''
+
| {{cat|Navboxes for map articles}} ||style="text-align: right;"| '''648'''
 
|-
 
|-
 
| Distinct links to [[Compet-n]] ||style="text-align: right;"| '''346'''
 
| Distinct links to [[Compet-n]] ||style="text-align: right;"| '''346'''
 
|-
 
|-
| Distinct links to [[Doomed Speed Demos Archive|DSDA]] ||style="text-align: right;"| '''349'''
+
| Distinct links to [[Doomed Speed Demos Archive|DSDA]] ||style="text-align: right;"| '''384'''
 +
|-
 +
| .ini files ||style="text-align: right;"| '''274'''
 
|}
 
|}

Revision as of 09:38, 5 June 2019

XymphBot is an account for use in MediaWiki API queries. It is owned by Xymph, and used via bot scripts written in PHP based on the Wikimate library. After a coding and testing period, it commenced automated edits in October 2016.

The overall goal of these scripts is to put as much computer-creatable content into map pages as feasible, and check that existing content is as complete and consistent as possible, so that human contributors can focus more on crafting creative prose like background information, walkthroughs, trivia and other map-specific content. Also, I like alliteration. :)

Configuration

The starting point for all scripts is a .ini file that specifies settings and a series of map pages. Typically the list includes all levels in an IWAD or megawad, but combining single-level PWADs in one list is also possible.

The settings for all maps include the various input and output paths, the relevant IWAD, an optional PWAD, the type of DMMPST output and any DMMPST flags, an optional pattern for map view filenames, an optional flag defining whether to put the "notally=1" parameter into the map spots template (for Hexen and Strife levels), the WAD ID for Compet-n and DSDA links, and the WAD's author(s).

The settings per map are the episode and mission, the path to the Doom Wiki page, and optional overrides of that map's PWAD, DMMPST output type and flags, author(s), and script-specific actions.

An optional navboxes section defines the number and style of navboxes (Doom-like, standard Doom II-like or Doom II episodic grouping), and the paths, optional episode names, and map ranges for each navbox.

The .ini file can easily be generated from a list of levels in wikicode (e.g. Doom II's) copy/pasted into a file, and passing it through the wiki2ini.php script. This extracts the list of required map settings and prefixes it with the general settings, so that only a few manual edits remain necessary to result in a .ini file usable by the scripts.

.ini scripts

skeletonBot.php

Checks map pages' section headers against the reference map skeleton and shows differences in ordering, spelling, and formatting.

conventionsBot.php

Checks map pages for a wide variety of spelling, linking and formatting conventions.

secretsBot.php

Compares DMMPST's list of secret sectors against those in map pages' Secrets sections (or Official subsections) and updates its formatting if necessary, or adds the list if such a section is empty.

pspawnsBot.php

Compares DMMPST's list of DM/CTF player spawns with facings (directions) against those in map pages' "Player spawns" sections and updates their formatting if necessary, or adds the list if such a section is empty.

dmmpstBot.php

Uses DMMPST's output to replace map pages' Statistics, Map data or Things sections.
Optionally provides interactive comparison between old and new contents of the pertaining section, prior to submitting the edit.
Alternatively creates new map pages with DMMPST's full skeleton output.

dmsectionBot.php

Uses DMMPST's output to add "Player spawns" and Things subsections (with a short introduction sentence) to the Deathmatch sections for separate arenas within larger maps. The things tables are generated from WADs with the pertaining levels (linedefs and things) cropped down to just the arenas.
For regular maps without separate arenas, only the "Player spawns" subsection is added, along with the Deathmatch section header (before the Statistics section) if not yet present.
Conversely, for maps without deathmatch starts, the Deathmatch header is removed (unless the section is not empty).
Optionally provides interactive comparison between old and new contents of the pertaining section or page, prior to submitting the edit.

extraCoopBot.php

Uses DMMPST's logging of additional Things existing in cooperative (for Boom or Hexen flags) or multiplayer mode when compared to single-player mode to add categories Levels with extra monsters in co-op and/or Levels with extra equipment in co-op.
Always provides interactive comparison between old and new contents of the page, prior to submitting the edit.

uploadmapBot.php

Uploads new or updated map view images with description text, of which the exact phrasing about scale or size and cropping is determined from image sets generated via Omgifol drawmaps. New images are uploaded according to the map view pattern.
Always provides interactive viewing of (old and) new contents of the description, prior to submitting the image and description.

uploadmapDmBot.php

Performs the same tasks as uploadmapBot.php, but for deathmatch (arena) map views with spawn points. The images are generated from WADs with the pertaining linedefs cropped down to just the arenas, but their things left intact (because cropping them in SLADE 3 changes their order, which would result in incorrect spawn points numbering).

mapviewBot.php

Checks and updates the map view (link, dimensions, caption, and map spots template) in map pages' Walkthrough sections. Newly uploaded images are linked according to the map view pattern.
Always provides interactive comparison between old and new contents of the map view lines, prior to submitting the edit.

mapviewDmBot.php

Performs the same tasks as mapviewBot.php, but in Analysis sections for deathmatch maps or in Deathmatch sections for arenas within larger maps, and without the spots template.

navboxBot.php

Checks and adds the navbox line in map pages' intro sections, updates or strips the nocat option in the map template, and strips the skeleton preamble comment.
Always provides interactive comparison between old and new contents of the intro lines, prior to submitting the edit.

navboxGen.php

Generates one or multiple navboxes for Doom/Doom II/Heretic map pages based on the navboxes settings, and adds or replaces them in the template space.
Always provides interactive viewing of (old and) new contents of each navbox, prior to submitting the edit.

galleryBot.php

Checks and updates the gallery in map pages' "Areas / screenshots" sections. Adds the gallery container (and section) if it's not yet present. Applies the standard parameters and trims unneeded image attributes, if any. Also cleans up some minor page issues, if necessary.
Always provides interactive comparison between old and new contents of the page, prior to submitting the edit.

demolinkBot.php

Checks and updates Compet-n and DSDA links in map pages' "External links" sections, or adds them if applicable. Also standardizes formatting of categories and H2 headers.
Always provides interactive comparison between old and new contents of the page, prior to submitting the edit.

authorBot.php

Adds one or more authors to map pages' intro sections (optionally omitting wikilinks), along with each corresponding author's levels category at the end. Optionally removes the default skeleton text about custom music.
Always provides interactive comparison between old and new contents of the page, prior to submitting the edit.
If the page already deviates from the skeleton text, then instead shows the initial intro line and all trailing categories.

comparisonBot.php

Checks and updates the map view gallery for comparing PC maps with console counterpart(s) on the latter's map pages: adds the PSX variant if not yet included, appends platform indicators to map captions, and redimensions the gallery per the aspect ratio of the PC image so that its area approximates 90000 px2.
Always provides interactive comparison between old and new contents of the page, prior to submitting the edit.

mapperMaps.php

In a mapper's article, finds the multi-level WADs and their pertaining maps that are covered in the .ini collection, checks consistency of their names (using approximate matching to detect typos) and authorship both ways, and (re)links them via the {{maplinkgen}} template.
If needed, italicizes a parenthesized string after an individual map entry (usually cooperating authors). Also, formats bullet indentation consistently, and erases trailing whitespace and extraneous empty lines throughout the page. Further, (re)formats DEFAULTSORT and any categories towards the end of the page, one per line.
Always provides interactive comparison between old and new contents of the page, prior to submitting the edit.
Lastly, lists any maps attributed in the .ini collection that were not found on the mapper's page, suitably formatted for manual addition.
All this can performed on one named page, or on a list of pages loaded from a file. Auxiliary script listCategory.php generates such a list from the Mappers category.

createMapper.php

From the author registration in the .ini collection, generates the text for a manually createable stub page of a mapper, with preformatted name, alias, DEFAULTSORT (if needed) and category. Organizes their covered projects / contributions by year (optionally with annual section headers), with formatted lists of co-authors per map where applicable.

addCategoryBot.php

Appends a new category to all or selected map pages. Optionally inserts it before an existing category.
Always provides interactive comparison between old and new contents of the page, prior to submitting the edit.

Miscellaneous scripts

These scripts don't work on a .ini file and its series of map pages as such, but perform other convenient tasks.

coveredWads.php

Collects and lists the names of all single- and multi-level WADs covered by the aforementioned .ini files and scripts, and totals the number of maps included in them. Also totals the number of navboxes created/updated by navboxGen.php, the number of custom things mapping files, and the number of distinct links covered by demolinkBot.php. Its output is the entire "WADs covered so far" section below.

articleSort.php

Finds article, category and template pages whose titles start with an article ("A"/"An"/"The") and shows whether they contain a DEFAULTSORT tag, named map template, category sortkey, or none. Its output is the entire "Pages starting with an article" page. Thanks to Ryan W for the idea.

textmapStats.php

Processes an extracted TEXTMAP lump with regular expressions and a little code to generate statistics in Template:Mapdata format, along with formatted lists of secret sector numbers and deathmatch spawn points (if any). Useful for UDMF maps, which DMMPST doesn't support.

textmapExtra.php

Processes an extracted TEXTMAP lump with regular expressions and some code to collect monster and equipment counts for single-player and cooperative modes, and lists those where the counts differ. Again, useful for UDMF maps.

listWikiLinks.php

Collects links to Wikipedia by templates, interwiki links and direct links, along with the DoomWiki pages they're linked from, in the following namespaces: main, Doom Wiki, Help, File, Category, and Template. Its output is the entire "List of Wikipedia links" page. Requested by Ryan W.

listInterLinks.php

Collects direct links to sites for which Interwikis are defined, along with the DoomWiki pages they're linked from, in the following namespaces: main, Doom Wiki, Help, File, Category, and Template. Its output is the entire "List of Interwiki links" page. Thanks to Gez for the idea.

listExternLinks.php

Collects direct links to sites for which external link templates are defined, along with the DoomWiki pages they're linked from, in the following namespaces: main, Doom Wiki, Help, File, and Category. Its output is the entire "List of templatable links" page. Thanks to Gez for the idea.

linkArticle.php

Performs a search for the specified string in the main and Category namespaces, then in each of the resulting articles wikilinks the first occurrence of the string, if not already linked.
Conversely, unlinkArticle.php removes any wikilinks.
Both always provide interactive comparison between old and new contents of the page, prior to submitting the edit.

appearMaps.sh

From the archived things tables, collects/sorts the maps with the highest count of a given thing and emits a prettytable. Because Holy Hell MAP05 is a superset of MAP01-04, the latter are skipped from the table.

top100MemMaps.php

Processes the maps list of the Top 100 Most Memorable Maps and appends a sentence about the map's place to each page's intro section (taking a trailing 'level stub' into account). Also checks for the presence of the Top100 category.

And more?

Ideas for future scripts, anyone?

How can you help?

Create overview pages for all WADs to be covered (e.g. Top 100 WADs of All Time, Cacowards, List of notable WADs) with information as accurate and complete as feasible, especially the episodic structure (if any), the list of levels, and the use of custom monsters/weapons (see below).

And after a series of skeleton pages has been created, edit them to add any music and other introductory information, and of course walkthrough and secrets descriptions, speedrunning records, and whatever else you can contribute.

Custom things mapping

For custom things, a description or table of thing types and the new monster/weapon names is particularly helpful, and can be used to provide a mapping file to DMMPST that automatically incorporates the customizations into the Things table. An initial discussion and example mapping was presented for Valiant.

The mapping file ideally links to description(s) of the custom thing(s) on the WAD's overview page. This can be a simple one-liner but preferably contains a brief entry per thing that mentions which original thing is replaced by which custom one, and may be even more elaborate.

So, to help, please provide such descriptions (or provide a quick mapping table on the WAD's talk page) for the following WADs that I already processed previously:

and verify the correctness of Valiant's mapping file. Then I can (re)generate the Things tables on all pertaining map pages.

Going forward, the same is welcome for WADs I am skipping for now because the overview information does not appear to be sufficiently descriptive and complete. This includes:

and (m?)any more I haven't gotten around to yet.

WADs covered so far

The lists below show the single-level and multi-level WADs that have so far been covered (created and/or updated) via XymphBot and its .ini files. Map counts per WAD and various totals are included (state of 2019-05-17 16:28 CDT).

Single-level WADs

Multi-level WADs

Statistics

Total
Overall map pages 5678
Single-level WAD map pages 277
Multi-level WAD map pages 5401
WADs with a custom things mapping file * 61
Navboxes for map articles 648
Distinct links to Compet-n 346
Distinct links to DSDA 384
.ini files 274