Manual:Pywikibot/listpages.py/de

listpages.py is a script used to print a list of pages, as defined by page generator parameters.

Optionally, it also prints page content to STDOUT or save it to a file in the current directory.

Konkrete Argumente
Custom format can be applied to the following items extrapolated from a page object:


 * site - erhalten von page._link._site.
 * title - erhalten von page._link._title.
 * loc_title - erhalten von page._link.canonical_title.
 * can_title - erhalten von page._link.ns_title. based either the canonical namespace name or on the namespace name in the language specified by the -trans parameter; a default value '******' will be used if no ns is found.
 * onsite - erhalten von pywikibot.Site(outputlang, self.site.family).
 * trs_title - erhalten von page._link.ns_title(onsite=onsite). If selected format requires trs_title, outputlang must be set.