Community Wishlist Survey 2022/Wikisource/Ability to perform batch tasks on all (or selected) pages in a work

From Meta, a Wikimedia project coordination wiki

Ability to perform batch tasks on all (or selected) pages in a work

  • Problem: Sometimes we need to make an identical change to a large number of pages in a a work. At present, the only solution is to ask a bot editor to make the change.
  • Proposed solution: Something akin to VisualFileChange.js on Wikimedia Commons.
  • Who would benefit: Wikisource editors
  • More comments:
  • Phabricator tickets: T289506
  • Proposer: Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:31, 15 January 2022 (UTC)[reply]


  • You may also be interested in AutoWikiBrowser. It can find and replace texts in several pages, add code to the beginning or end of several pages, add/remove/substitute categories on several pages, etc. — ElioPrrl (talk) 20:24, 15 January 2022 (UTC)[reply]
  • @Pigsonthewing: Thank you for your proposal. Would you mind being a bit more specific about what kind of changes you are referring to? Thanks DMaza (WMF) (talk) 16:01, 19 January 2022 (UTC)[reply]
    • I'm thinking initially of complex find & replace actions (as I said, like those in Commons 'perform batch task'). For example, I recently had a work with something like {{rh||LOREM IPSUM DOLOR SIT AMET|}} on half the pages and {{rh||{{uc|Lorem Ipsum Dolor Sit Amet}}|}} on the other half, and I wanted to standardise them to the latter. In another example, suppose one transcriber had used {{ls}} in half the pages, and another transcriber had just used "s". We might want to replace all the templates with plain text. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:19, 19 January 2022 (UTC)[reply]
  • Just a side note, this can be done easily with WP:JWB and some basic knowledge of RegExp. AFAIK, JWB works on all public Wikimedia wikis as long as the pages are technically edit-able and you have AWB access. NguoiDungKhongDinhDanh 22:00, 30 January 2022 (UTC)[reply]