01.01.03.01.-0042

Aus Stadtarchiv Butzbach
Version vom 13. September 2021, 13:00 Uhr von Archium (Diskussion | Beiträge) (Dateninitialisierung)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Edit an article from the command line, text is from stdin

Usage: php edit.php [--autosummary|--bot|--conf|--createonly|--dbgroupdefault|--dbpass|--dbuser|--globals|--help|--memory-limit|--minor|--no-rc|--nocreate|--profiler|--quiet|--remove|--server|--slot|--summary|--user|--wiki] <title>

Generic maintenance parameters:

   --help (-h): Display this help message
   --quiet (-q): Whether to suppress non-error output
   --conf: Location of LocalSettings.php, if not default
   --wiki: For specifying the wiki ID
   --globals: Output globals at the end of processing for debugging
   --memory-limit: Set a specific memory limit for the script, "max"
       for no limit or "default" to avoid changing it
   --server: The protocol and server name to use in URLs, e.g.
       http://en.wikipedia.org. This is sometimes necessary because server name
       detection may fail in command line scripts.
   --profiler: Profiler output format (usually "text")

Script dependent parameters:

   --dbuser: The DB user to use for this script
   --dbpass: The password to use for this script
   --dbgroupdefault: The default DB group to use.

Script specific parameters:

   --autosummary (-a): Enable autosummary
   --bot (-b): Bot edit
   --createonly: Only create new pages
   --minor (-m): Minor edit
   --no-rc (-r): Do not show the change in recent changes
   --nocreate: Don't create new pages
   --remove: Remove a slot (requires --slot).
   --slot: Slot role name
   --summary (-s): Edit summary
   --user (-u): Username

Arguments:

   <title>: Title of article to edit