X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fpod2x;h=64ccf882e7a91b09371cbf96791f06c51491b87b;hp=ad5b65b8e245cabc9fef0a442d3c2d45cfc2f9f5;hb=3f2a7b01b59902faed5767d81e2959e131bdbdfd;hpb=4d34b448450a3a0c6cc42c6cb81d4f1b90b6eef7 diff --git a/bin/pod2x b/bin/pod2x index ad5b65b8e..64ccf882e 100755 --- a/bin/pod2x +++ b/bin/pod2x @@ -6,13 +6,14 @@ my $mw_username = 'ivan'; chomp( my $mw_password = `cat .mw-password` ); my $site_perl = "./FS"; -#my $html = "Freeside:1.7:Documentation:Developer"; -my $html = "Freeside:1.9:Documentation:Developer"; +my $html = "Freeside:5:Documentation:Developer"; foreach my $dir ( $html, - map "$html/$_", qw( bin FS FS/UI FS/part_export FS/part_pkg + map "$html/$_", qw( bin FS + FS/cdr FS/cust_main FS/cust_pkg FS/detail_format FS/part_event FS/part_event/Condition FS/part_event/Action + FS/part_export FS/part_pkg FS/pay_batch FS/ClientAPI FS/Cron FS/Misc FS/Report FS/Report/Table FS/TicketSystem FS/UI FS/SelfService @@ -43,6 +44,7 @@ foreach my $file ( use WWW::Mediawiki::Client; my $mvs = WWW::Mediawiki::Client->new( 'host' => 'www.freeside.biz', + 'protocol' => 'https', 'wiki_path' => 'mediawiki/index.php', 'username' => $mw_username, 'password' => $mw_password, @@ -59,12 +61,11 @@ $c->setup({ 'wiki' => { 'host' => 'www.freeside.biz', 'path' => 'mediawiki', + #'has_query' => 1, + } }) or die "Mediawiki->setup failed"; -#Also, the 'wiki' section may specify the 'ssl' key (boolean 0/1) if the server uses an SSL connection. Section 'tmp' and key 'msgcache' specify path to the MediaWiki messages cache. -#Options 'has_query' and 'has_filepath' in 'wiki' section enable experimental optimized interfaces. Set has_query to 1 if there is query.php extension (this should reduce traffic usage and servers load). Set has_filepath to 1 if there is Special:Filepath page in target wiki (affects only filepath() and download() functions). - my @files; if ( @ARGV ) { @files = @ARGV;