Manual:Pywikibot/table2wiki.py
From MediaWiki.org
< Manual:Pywikibot(Redirected from Manual:Pywikipediabot/table2wiki.py)
Language: | English • polski |
---|
This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.
![]() |
Pywikibot scripts |
---|
Table2wiki.py is part of the Pywikipedia bot framework.
Converts HTML-tables to MediaWiki's language.
Examples[edit | edit source]
Example of the simplest syntax:
- table2wiki.py "article name"
In this example, only 1 article is changed.
The process can also take place automatically, to do this a xml dump is needed:
table2wiki.py -xml:20050406_cur_table.xml -lang:en
-xml = name of the xml dump.
Note: Every change needs to be checked. This bot can make mistakes.