Hello,
I am quite raw to pywikipedia, I need to get list of cat articles
it works ok on wikipedia, but not on the wiki of my interest though it gets/writes page text from this wiki ok for me http://studento.vikis.lt/wiki/index.php/Kategorija:Programa configs: http://popmokslas.projektas.lt/etc/pywikipedia/
import catlib cat = catlib.Category(site,u'Programa') print cat
for page in cat.articles(recurse = True): print page
outputs: [[Kategorija:Programa]] Getting [[Kategorija:Programa]]...
the same with pagegenerators.CategorizedPageGenerator(cat)
--- Any ideas? Thanks in advance
Jurgis Pralgauskis ha scritto:
for page in cat.articles(recurse = True): print page
outputs: [[Kategorija:Programa]] Getting [[Kategorija:Programa]]...
the same with pagegenerators.CategorizedPageGenerator(cat)
Any ideas?
---- # Which version of MediaWiki is used? def version(self, code): # Replace with the actual version being run on your wiki return '1.13alpha' ----
Try to replace "1.13alpha" with "1.7" in studento_family.py file:
Thanks, woked :)
On Sat, Jan 17, 2009 at 2:12 PM, Francesco Cosoleto cosoleto@free.fr wrote:
Jurgis Pralgauskis ha scritto:
for page in cat.articles(recurse = True): print page
outputs: [[Kategorija:Programa]] Getting [[Kategorija:Programa]]...
the same with pagegenerators.CategorizedPageGenerator(cat)
Any ideas?
# Which version of MediaWiki is used? def version(self, code): # Replace with the actual version being run on your wiki return '1.13alpha'
Try to replace "1.13alpha" with "1.7" in studento_family.py file:
-- Francesco Cosoleto | http://cosoleto.free.fr
"Dunque nessuno indietro si volti, verso le navi, dopo che ha udito l'appello, ma andate avanti, l'un l'altro incitatevi, se mai l'Olimpio Zeus, che il fulmine avventa, ci voglia concedere di rintuzzare l'assalto, di ricacciare i nemici in città ". (Omero)
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l