5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-02-14 01:57:32 +03:00

update for our new mediawiki installation

This commit is contained in:
Dietmar Maurer 2016-08-11 12:41:14 +02:00
parent 9c41b54dc5
commit a45b098f98
4 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,3 @@
debian/tree/pve-docs-mediawiki/pvedocs-include.php /etc/mediawiki-extensions/extensions-available/
debian/tree/pve-docs-mediawiki/pvedocs-include.php /usr/lib/pve-docs/
debian/tree/pve-docs-mediawiki/pve-docs-mediawiki-import /usr/bin/
debian/tree/pve-docs-mediawiki/pve-docs.conf /etc/apache2/sites-available/

View File

@ -21,3 +21,4 @@ mediawiki and updates predefined pages with content from this package:
Authentification credientials are read from '/root/.pve-docs'.
The format is 'username:password'.
require_once("/usr/lib/pve-docs/pvedocs-include.php");

View File

@ -13,7 +13,7 @@ my $config_fn = "/root/.pve-docs"; # format 'username:pw'
my $fh = IO::File->new("$config_fn") ||
die "Please configure the mediawiki user/passswd in '$config_fn'\n";
my $api_url = "http://localhost/api.php";
my $api_url = "http://localhost/mediawiki/api.php";
my $config = <$fh>;
chomp $config;

View File

@ -3,7 +3,7 @@
# see http://www.mediawiki.org/wiki/Manual:Parser_functions
$wgExtensionCredits['parserhook'][] = array(
'name' => "PVE Documenation Pages",
'name' => "PVE Documentation Pages",
'description' => "Display PVE Documentation Pages",
'author' => "Dietmar Maurer",
);