Manual:Pywikibot/generate user files.py/el

From mediawiki.org
This page is a translated version of the page Manual:Pywikibot/generate user files.py and the translation is 25% complete.
Outdated translations are marked like this.

To Generate user files.py είναι ένα Pywikibot σκριπτ που χρησιμοποιείται στη δημιουργία ενός ή δύο αρχείων χρήστη:

  1. user-config.py
  2. user-fixes.py

This script has to be invoked via the pwb wrapper script.

Αποτέλεσμα

Παράδειγμα αποτελέσματος με τη χρήση windows:

You can abort at any time by pressing ctrl-c

Your default user directory is "C:\pywikibot"
 1: commons
 2: i18n
 3: incubator
 4: lyricwiki
 5: mediawiki
 6: meta
 7: omegawiki
 8: osm
 9: outreach
10: species
11: strategy
12: test
13: vikidia
14: wikia
15: wikiapiary
16: wikibooks
17: wikidata
18: wikimania
19: wikimediachapter
20: wikinews
21: wikipedia
22: wikiquote
23: wikisource
24: wikitech
25: wikiversity
26: wikivoyage
27: wiktionary
28: wowwiki
Select family of sites we are working on, just enter the number or name (default: wikipedia):


Καθολικές παράμετροι διαθέσιμες για όλα τα μποτ

Αυτέ οι επιλογές θα παραβιάσουν τις ρυθμίσεις στην παραμετροποίηση στο user-config.py

Global options
Parameter Περιγραφή Config variable
-dir:PATH Read the bot's configuration data from directory given by PATH, instead of from the default directory.  
-config:file The user config filename. Default is user-config.py. user-config.py
-lang:xx Καθορίστε τη γλώσσα του wiki στο οποίο θέλετε να δουλέψετε. xx θα πρέπει να είναι ο κωδικός της γλώσσας. mylang
-family:xyz Καθορίστε την οικογένεια του wiki που θέλετε να δουλέψετε, π.χ. wikipedia, wiktionary, commons, wikitravel, …. This will override the configuration in user-config.py. family
-user:xyz Συνδεθείτε ως χρήστης 'xyz' αντί για το προεπιλεγμένο όνομα χρήστη. usernames
-daemonize:xyz Immediately return control to the terminal and redirect stdout and stderr to file xyz. (only use for bots that require no input from stdin).  
-help Εμφάνιση κειμένου βοήθειας για το σκριπτ που καλείται.  
-log Ενεργοποίηση αρχείου καταγραφής. Τα αρχεία καταγραφής θα αποθηκευτούν στον υποκατάλογο logs. log
-log:xyz Ενεργοποίηση αρχείου καταγραφής, με τη χρήση του 'xyz' ως ονόματος αρχείου. logfilename
-nolog Απενεργοποίηση του αρχείου καταγραφής (αν είναι ενεργοποιημένο από προεπιλογή).  
-maxlag Ορίζει νέα παράμετρο maxlang σε έναν αριθμό δευτερολέπτων. Defer bot edits during periods of database server lag. Default is set by config.py maxlag
-putthrottle:n
-pt:n
-put_throttle:n
Καθορίστε τον ελάχιστο χρόνο (σε δευτερόλεπτα) που το μποτ θα περιμένει ανάμεσα στην αποθήκευση σελίδων. put_throttle
-debug:item
-debug
Enable the log file and include extensive debugging data for component "item" (for all components if the second form is used). debug_log
-verbose
-v
Have the bot provide additional console output that may be useful in debugging. verbose_output
-cosmeticchanges
-cc
Toggles the cosmetic_changes setting made in config.py or user-config.py to its inverse and overrules it. All other settings and restrictions are untouched. cosmetic_changes
-simulate Απενεργοποιεί την εγγραφή στον διακομιστή. Useful for testing and debugging of new code (if given, doesn't do any real changes, but only shows what would have been changed). simulate
-<config var>:n You may use all given numeric config variables as option and modify it with command line.