5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-02-26 21:57:25 +03:00

22 Commits

Author SHA1 Message Date
Thomas Lamprecht
100fc6011b mediawiki: update README for external extension path
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-28 16:36:14 +02:00
Thomas Lamprecht
d2a0a9cc74 mediawiki: load JS helper in plugin instead of including it in the html out
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-28 16:03:59 +02:00
Thomas Lamprecht
51b093821f mediawiki: transform into new-style add-on
The core 'LanguageGetMagic' hook we used originally was was removed
completely in version 1.33.0 (after being deprecated in 1.16.0).

So transform into the new style, again adapted from:
https://www.mediawiki.org/wiki/Manual:Parser_functions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-28 14:26:26 +02:00
Thomas Lamprecht
60598f4ce3 mediawiki: bring doc includer again in line with the HTMLets plug it bases on
We probably always wanted to use a real HTML comment as "tag" here,
but it seems the '!' was forgotten. With older mediawiki it still
worked, but 1.31 got stricter and thus it was converted to HTML
entities.

Bring the plugin again in line with the HTMLets MediaWiki
extension[0] it based on in the first place.

[0]: 11e5ef1ea2/HTMLets.php (140)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-26 08:52:08 +02:00
Thomas Lamprecht
b275db163b fixup: TOC JS script is already in html pages for mediawiki
not required, it's shipped by the docs files themself

This reverts commit 02114e68c2464a67e274090bf8cc0a510bb096a5.
2019-07-25 18:05:30 +02:00
Thomas Lamprecht
d95c639783 mediawiki: add a bit to README
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-25 17:30:26 +02:00
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
b489b02c74 new file pve-docs-mediawiki-import.in
And use auto-generated data from link-refs.json.

Also avoid strange file names.
2016-10-10 09:16:19 +02:00
Dietmar Maurer
f9599fd507 pve-docs-mediawiki-import: fix syntax error 2016-10-08 14:31:41 +02:00
Dietmar Maurer
e2c8ae0fd2 pve-docs-mediawiki-import: import new pve-disk-health-monitoring page 2016-10-07 10:06:59 +02:00
Dietmar Maurer
bc1c71d47e move system requirements into separate file, move to chapter Installation 2016-10-05 10:33:26 +02:00
Dietmar Maurer
86f58817c0 cleanup: getting-help.adoc is no longer part of sysadmin.adoc 2016-10-05 10:26:01 +02:00
Dietmar Maurer
5c6cf7acda add pve-usbstick.adoc, fix mediawiki importer 2016-10-05 09:57:47 +02:00
Dietmar Maurer
11e7e157db also update 'Get support' page 2016-09-16 10:51:03 +02:00
Dietmar Maurer
8b849dc378 include/improve new LVM page 2016-09-12 12:18:27 +02:00
Dietmar Maurer
8c80c3fc31 use/install separate wiki pages for sysadmin.adoc includes 2016-09-12 10:42:02 +02:00
Dietmar Maurer
a45b098f98 update for our new mediawiki installation 2016-08-11 12:55:38 +02:00
Dietmar Maurer
7cb0d9a3ef update mediawiki README 2016-08-09 08:17:07 +02:00
Dietmar Maurer
cfabc2e9b3 add new pve-docs-mediawiki package 2016-08-09 07:55:35 +02:00