Community Wishlist Survey 2020/Wikibooks/Deletion of subpages

Deletion of subpages

  • Problem: Wikibooks are currently structured mostly on subpages where the [[Book]] is the main page of the book or cover, and [[Book/$subpage]] hosts most of the contents. If we have to delete a Book, we have to manually fetch and delete all of its subpages one by one, which is very tedious if the Book has a large number of subpages. While it might be possible to do this via scripting or a bot, that is not affordable for every administrator out there; so it'd be better if MediaWiki could do this without the need to recourse to external tools.
  • Who would benefit: Administrators; Wikibooks, Wikisource.
  • Proposed solution: I propose that when we open the delete tab, the form let us see and select a list of subpages to delete them altogether with the main page.
  • More comments: Would also benefit Wikisource, given that they use similar structures for handling contents.
  • Phabricator tickets: task T236469
  • Proposer: —MarcoAurelio (talk) 10:55, 25 October 2019 (UTC)Reply[reply]


  • Might be useful for Wikisource too (books with many subpages). JAn Dudík (talk)
  • Useful for any Wikimedia project. Urhixidur (talk) 14:15, 25 October 2019 (UTC)Reply[reply]
  • useful for all Wikimedia projects. phab:T32893 may be a more easier task to implement. MER-C (talk) 15:01, 25 October 2019 (UTC)Reply[reply]
  • Translate extension already does this for translatable pages. I'd imagine it would be not too difficult to port this code to MediaWiki core. --Nikerabbit (talk) 09:52, 30 October 2019 (UTC)Reply[reply]