Difference between revisions of "wikiget"
From Free Pascal wiki
Jump to navigationJump to search (Try to create the page for wikiget) |
m (Tweaked English) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
== Introduction == | == Introduction == | ||
− | Wikiget is a console utility to download the Lazarus wiki. Maybe it also works for other MediaWikis sites. You | + | |
+ | Wikiget is a console utility to download the Lazarus wiki. Maybe it also works for other MediaWikis sites. You find it in the basic installation of Lazarus in the directory LazarusDir/components/wiki. | ||
== Using wikiget == | == Using wikiget == | ||
<code>wikiget -h</code> | <code>wikiget -h</code> | ||
+ | |||
Shows all parameters and examples. | Shows all parameters and examples. | ||
− | === | + | === Command line parameters === |
− | --dir=<directory> : directory | + | |
− | --images=<directory> : directory | + | :--dir=<directory> : directory in which to store the files. Default: |
− | --baseurl=<URL> : URL of the wiki. Default: http://wiki.freepascal.org/ | + | :--images=<directory> : directory in which to store the images. Default: images |
− | --page=<pagename> : download this wiki page. Can be given multiple times. | + | :--baseurl=<URL> : URL of the wiki. Default: http://wiki.freepascal.org/ |
− | --allmissing : download all wiki pages, if file not already there. | + | :--page=<pagename> : download this wiki page. Can be given multiple times. |
− | --recent=<days> : download pages again if changed in the last days on the site. includes --allmissing. | + | :--allmissing : download all wiki pages, if page file not already there. |
− | --ignore-recent=<minutes> : do not download again files younger than this on disk. combine with --recent. Default: | + | :--recent=<days> : download pages again if changed in the last days on the site. includes --allmissing. |
− | --shownotusedpages : show | + | :--ignore-recent=<minutes> : do not download again files younger than this on disk. combine with --recent. Default: |
− | --deletenotusedpages : delete the files in the output directory that are not used. | + | :--shownotusedpages : show unused files in the output directory. |
− | --shownotusedimages : show | + | :--deletenotusedpages : delete the files in the output directory that are not used. |
− | --deletenotusedimages : delete the files in the images directory that are not used. | + | :--shownotusedimages : show inused files in the images directory. |
− | --nowrite : do not write files, just print what would be written. | + | :--deletenotusedimages : delete the files in the images directory that are not used. |
+ | :--nowrite : do not write files, just print what would be written. |
Latest revision as of 10:46, 4 March 2020
Introduction
Wikiget is a console utility to download the Lazarus wiki. Maybe it also works for other MediaWikis sites. You find it in the basic installation of Lazarus in the directory LazarusDir/components/wiki.
Using wikiget
wikiget -h
Shows all parameters and examples.
Command line parameters
- --dir=<directory> : directory in which to store the files. Default:
- --images=<directory> : directory in which 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 page 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 unused files in the output directory.
- --deletenotusedpages : delete the files in the output directory that are not used.
- --shownotusedimages : show inused 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.