Only scrub HTML on blueprints
On all the pages of the website that we wrote lately and that needed some special look, we had to disable the htmlscrubber plugin of ikiwiki through the htmlscrubber_skip configuration variable of ikiwiki.
Custom style sheets are useful to customize specific pages while preventing local.css to go wild.
I'm tired of editing htmlscrubber_skip each time and having to ask our sysadmins to edit it. See #16540 for a painful example of that.
htmlscrubber was initially enabled on all the website because all pages were publicly editable. Now that only blueprints are editable, I propose to only disable htmlscrubber on all the website except blueprints.
#2 Updated by sajolida about 1 month ago
- File 0001-Test-for-web-16901-only-scrub-blueprints.patch View added
- Status changed from In Progress to Needs Validation
- Assignee deleted (
- Feature Branch set to web/16901-only-scrub-blueprints
Here is a branch.
You can test it with the patch in attachment. Pages that are not scrubbed turn red. Pages that are scrubbed don't turn red :)
Once the branch has been validated we should ask our sysadmins to apply this change on the production website.