Difference between revisions of "wikiget"

From Free Pascal wiki
Jump to navigationJump to search
(Try to create the page for wikiget)
 
m (formatting)
Line 10: Line 10:
  
 
=== Commandline parameter ===
 
=== Commandline parameter ===
--dir=<directory>    : directory where to store the files. Default:  
+
:--dir=<directory>    : directory where to store the files. Default:  
--images=<directory>  : directory where to store the images. Default: images
+
:--images=<directory>  : directory where to store the images. Default: images
--baseurl=<URL>      : URL of the wiki. Default: http://wiki.freepascal.org/  
+
:--baseurl=<URL>      : URL of the wiki. Default: http://wiki.freepascal.org/  
--page=<pagename>    : download this wiki page. Can be given multiple times.
+
:--page=<pagename>    : download this wiki page. Can be given multiple times.
--allmissing          : download all wiki pages, if file not already there.
+
:--allmissing          : download all wiki pages, if file not already there.
--recent=<days>      : download pages again if changed in the last days on the site. includes --allmissing.
+
:--recent=<days>      : download pages again if changed in the last days on the site. includes --allmissing.
--ignore-recent=<minutes> : do not download again files younger than this on disk. combine with --recent. Default:  
+
:--ignore-recent=<minutes> : do not download again files younger than this on disk. combine with --recent. Default:  
--shownotusedpages    : show not used files in the output directory.
+
:--shownotusedpages    : show not used files in the output directory.
--deletenotusedpages  : delete the files in the output directory that are not used.
+
:--deletenotusedpages  : delete the files in the output directory that are not used.
--shownotusedimages  : show not used files in the images directory.
+
:--shownotusedimages  : show not used files in the images directory.
--deletenotusedimages : delete the files in the images directory that are not used.
+
:--deletenotusedimages : delete the files in the images directory that are not used.
--nowrite            : do not write files, just print what would be written.
+
:--nowrite            : do not write files, just print what would be written.

Revision as of 17:35, 20 January 2015

Deutsch (de) | English (en)

Introduction

Wikiget is a console utility to download the Lazarus wiki. Maybe it also works for other MediaWikis sites. You found it in the basic installation of Lazarus in the directory LazarusDir/components/wiki.

Using wikiget

wikiget -h Shows all parameters and examples.

Commandline parameter

--dir=<directory> : directory where to store the files. Default:
--images=<directory> : directory where to store the images. Default: images
--baseurl=<URL> : URL of the wiki. Default: http://wiki.freepascal.org/
--page=<pagename> : download this wiki page. Can be given multiple times.
--allmissing : download all wiki pages, if file not already there.
--recent=<days> : download pages again if changed in the last days on the site. includes --allmissing.
--ignore-recent=<minutes> : do not download again files younger than this on disk. combine with --recent. Default:
--shownotusedpages : show not used files in the output directory.
--deletenotusedpages : delete the files in the output directory that are not used.
--shownotusedimages : show not used files in the images directory.
--deletenotusedimages : delete the files in the images directory that are not used.
--nowrite : do not write files, just print what would be written.