At the moment, Discourse provides staff the option to rebuild the HTML of a post. Could this be expanded to be done in an entire topic? We recently had to rebuild the HTML of a large topic, which was quite tedious as it takes 3 clicks per post to rebuild (hidden post options, post wrench, rebuild).
I think this could be done via the console for all posts on a site:
./launcher enter app
Best wait for a dev to confirm though.
This will rebake all the posts of the forum. There’s currently no way to specify a
Right - and as you said it requires console access, something that not all sites have. Happy to see @zogstrip say “currently”, hopefully this is something that could end up on a roadmap eventually .
I believe the last time @techapj worked on this, he made it so the rebake goes in reverse chronological order, that is, it rebakes NEWEST posts first. That is usually what you want, because if you have a lot of topics, you want the stuff people are actually reading (aka the newer topics) to be corrected earlier.
I did this for a special friend of ours by manually patching the rake task on server with my unoptimized hack. It got the work done but since the code was not optimized, I did not commit it to our source code.
I’ll add it on my list to come up with a good solution for this. Done via:
I’ve split off a separate topic for this project as I’m moving into another direction as the original post: