Smazaný obsah Přidaný obsah
PalicaBOT (diskusia | príspevky)
Bez shrnutí editace
Palica (diskusia | príspevky)
en text - postupne prelozim
Riadok 1:
Interwiki robot controlled by [[User:Palica]].
PalicaBOT is a bot, but with user interaction. It was written by [[:en:User:Rob Hooft|Rob Hooft]], and is on sk: operated by [[User:Palica|Palica]]. It is being used for resolving [[Wikipedia:Disambiguation|Disambiguation]] problems more quickly than would be possible by hand. It is also being used for Interwiki links. The same code is also being used by [[User:IW-BOT|IW-BOT]], operated by [[User:Maros|Maros]].
 
==Disambiguation==
The working of the robot is thus:
:# The robot loads (the edit page of) a page, chosen by the operator, and looks which links exist on that page. It provides them to the operator in a list, with a number for each link. In general, this page will be a [[Wikipedia:Disambiguation|disambiguation page]].
:# The robot loads the page with pages that link to that page
:# The robot goes over these pages, loads their edit page, and for each of them, shows me the title of the page and the text (original wiki source) of about 60 signs in an area before and after the link.
:# The operator chooses and types in one of the numbers of the list, or one of a number of auxiliary actions (end the session, show more context before making a decision, do nothing, show the list again, give another option)
:# The robot changes the link on the page into a similar link, piped to the page that the operator has chosen.
On the User talk page is an example.
 
==Interwiki==
For the interwiki-links, the bot does the following:
:# The robot loads (the edit page of) the Slovak page.
:# It checks all interwikilinks on that page, and saves them. Possibly it also gets additional ideas for interwikilinks from the operator
:# It checks those pages, the pages those pages redirect to, the pages that those pages have interwikilinks to, etcetera, and remembers all of those that actually exist (and are not redirects)
:# If it did not find the same language twice, depending on the settings, it changes the page, or first asks the operator for permission to change the page.
:# If it did find the same language twice, depending on the settings, it does nothing, or it asks the operator to make a choice between the various options.
 
==Open source==
The code for PalicaBOT is open, and available on sourceforge. Anyone who is interested in looking at, changing or running the bot can find the code on [http://cvs.sourceforge.net/viewcvs.py/pywikipediabot/pywikipedia/ SourceForge]. Before using it, however, it is good to check [http://sourceforge.net/projects/pywikipediabot/ here], contact Rob Hooft and/or other developers and subscribe to the project's [http://sourceforge.net/mail/?group_id=93107 mailing list], as well as asking permission of the population of the MediaWiki project where you are running it.
 
 
[[Category:Wikipédia boti|{{PAGENAME}}]]