From Wikipedia, the free encyclopedia
Sauðkindin (contributions: 100, 500, 5000) is a robot opreated by me, Ævar Arnfjörð Bjarmason, that runs on the Danish, English, Faroese, Icelandic and Swedish Wikipedias. It mainly runs the pywikipediabot robot framework but occationally the Anura robot framework which I'm the co-author of.
It mostly updates interwiki links and when doing so its home Wikipedia is most often the Icelandic Wikipedia, occationally the Faroese Wikipedia and very rarely the English Wikipedia, all three of which it has a bot flag on. It has an account on the Danish and Swedish Wikipedias to add links back to the home wikipedia when it finds that they're missing, it also has a bot flag on those.
If you have any complaints or comments regarding the operation of the bot please direct them to my talk page.
__ _ .-:' `; `-._ (_, ) ,'o ( )> (__/ ) ( ) `-'._.--._.-' || ||
Búa til user-config.py með þessu í:
# -*- coding: utf-8 -*- console_encoding='utf-8' mylang = 'is' usernames['wikipedia']['is'] = u'Sauðkindin' usernames['wikipedia']['fo'] = u'Sauðkindin' usernames['wikipedia']['en'] = u'Jumbuck'
minthrottle = 0.2 maxthrottle = 1 put_throttle = 10 noisysleep = 0.2 colorized_output = False
Fara yfir allt:
python interwiki.py -start:A -autonomous -always
Uppfæra ára og dagatenglana:
python interwiki.py -years -autonomous -always python interwiki.py -days -autonomous -always
Spyrja um þýðingar á síðum sem ekki eru með tungumálatengla (array er hversu margar síður hún tekur áður en vistað er)
python interwiki.py -untranslatedonly -array:1 -start:A -showpage
Ná þarf í nýjustu cur töfluna af gagnagrunnsniðurhleðslusvæði Íslensku Wikipedia, afpakka henni með bzip2 og gefa nafn hennar með -sql: valmöguleikanum.
Breyta ljótu wikisniði
python replace.py -regex "{{msg:(.*?)}}" "{{\\1}}" python replace.py -regex "\[\[[Cc]ategory:(.*?)\]\]" "[[Flokkur:\\1]]"
„,“ tekið úr á milli mánaðardags og árs.
python replace.py -regex "\[{2}(\d{1,2}. [^\]]*)\]{2},\s*\[{2}(\d{1,4})\]{2}" "\[{2}\\1"
2 „-“ breytt í „–“ í dagaspani.
python replace.py -regex "(\[{2}\d{1,2}. [^\]]*\]{2}\s*\[{2}\d{1,4}\]{2}) - (\[{2}\d{1,2}. [^\]]*\]{2}\s*\[{2}\d{1,4}\]{2})" "\\1 \\2
Eins og s/"([^"]*)"/„$1“/g í Perl, breytir enskum gæsalöppum í íslenskar.
python replace.py -regex "\"([^\"]*)\"" "„\\1“" python replace.py -regex "\ \"([^\"]*)\"\ " " „\\1“ "
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.