]> git.proxmox.com Git - pve-docs.git/commit
mediawiki: make docs include plugin tags robuster for new MW version
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Jul 2019 15:22:35 +0000 (17:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Jul 2019 15:22:38 +0000 (17:22 +0200)
commit3e5c0174862a0a526252399c681bafc51eedc275
tree5bf249a78bef83b76644d30253eeb1464b1450ba
parent02114e68c2464a67e274090bf8cc0a510bb096a5
mediawiki: make docs include plugin tags robuster for new MW version

Some (new) mediawiki versions can convert '<' and '>' to '&lt;' or
'&gt;', this resulted in a situation where our encoded tag did not
get detected by the decode logic, and thus a visitor only saw
something like the following:

> <--- @PVEDOCHACK@
> PCEtLSBhc2NpaWRvYyBIRUFERVIgLS0+DQo8c2NyaXB0IHR5.....
> @PVEDOCHACK@ -->

The word "HACK" was a bit unfortunate too, as it could be interpreted
as in the docs got hacked, by unknowing people. So change that too to
'PVEDOCS_BASE64'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/tree/pve-docs-mediawiki/pvedocs-include.php