Brief description of project
editI am trying to implement a Wikirace website in which I modify the article content to make the article more suitable for playing the game. This involves:
- Removing citations
- Remove reference subsections
- Removing category links
- Visually disabling all external links
- Removing templates like portals
- (Generally) removing parts of Wikipedia that can make the game trivial.
This involves rendering my processing wikitext into HTML. I've tried to use expand templates and to use substitution or pre-save transform but these have not worked. What would be the best way to do this? Please let me know if you have a solution (I am sadly incapable of downloading a copy of the Wikipedia database, as I do not have the resources).
My last resort is to create user sub-pages from the wikitext, and extract the underlying HTML from them. I am aware that this goes against the intended use case, however any generated articles will be kept up only for as long as the game is active.
If you have any questions, solutions, or objections, please detail them below. Many thanks Jamezofchez (talk) 15:49, 27 December 2023 (UTC)