I have an extension that checks the page text and if a specific text isn't there it will add it. I'm usingthe hooks
$wgHooks['ParserFirstCallInit'][] = 'AdsSetup';
$wgHooks['EditPage::showEditForm:initial'][] = 'CheckHasTag';
The extension runs if I go to each page, edit and then click 'save page', however, I have hundreds of pages on my wiki.
How do I force an edit page and save on all the pages so the extension will run without me having to go to each page individually?
Topic on Project:Support desk/Flow
If your hook works as a pre-save transform (but I don't think so) regardless if it's used through the GUI, then pywikibot/touch.py should work.
I would like to only re-save pages in the 'main' namespace, and not all of them. Is this the best tool for this? It looks quite complex to install and run.
You could use JavaScript to load forms and submit them automatically.