Commit Graph

6 Commits

Author SHA1 Message Date
Thomas Lamprecht
3e5c017486 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>
2019-07-25 17:22:38 +02:00
Dietmar Maurer
208f75bc96 pvedocs-include.php: avoid to use javascript
Use a ParserAfterTidy hook to avoid JS. This hack was
found in the htmlet tag extension.
2016-10-17 10:09:40 +02:00
Dietmar Maurer
349e8c55b5 fix typo 2016-10-17 10:09:40 +02:00
Dietmar Maurer
599714d655 pvedocs-include.php: add new mediawiki tag <pvehide>
We can use this tag to add content which is not shown
on the final page, but included in the mediawiki search.
2016-10-17 09:06:43 +02:00
Dietmar Maurer
a45b098f98 update for our new mediawiki installation 2016-08-11 12:55:38 +02:00
Dietmar Maurer
cfabc2e9b3 add new pve-docs-mediawiki package 2016-08-09 07:55:35 +02:00