[Pywikipedia-l] Anarchopedia family

Guillaume esperanza at no-log.org
Wed Nov 5 17:16:10 UTC 2008


Done, we have API enabled now on all projects.
You can update the file
Just a last remark : we must have 2 letter codes for interwiki links
([[fr:Accueil]], 3 letters doesn't work ([[fra:Accueil]] and with the
current code it erases all 2 letters code for 3 letters codes.
How can we fix that in the code ?

Le mercredi 05 novembre 2008 à 19:06 +0800, Nicolas Dumazet a écrit :
> Hoi,
> 
> $wgEnableAPI = true; is not sufficient in your case to activate API.
> Just look at http://fra.anarchopedia.org/api.php : your url rewrite
> rules assume that we're trying to access the wikipage entitles
> "api.php" which is wrong. You have to add some exception here.
> 
> MediaWiki dev guru's particularly dislike the case when you put
> mediawiki in site root (
> http://www.mediawiki.org/wiki/Manual:Short_URL#URL_like_-_example.com.2FPage_title
> , http://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory )
> but oh well... this is too late, and you should be able to sort this
> out by yourself :)
> 
> When enabled,  http://fra.anarchopedia.org/api.php should display
> something close as http://fr.wikipedia.org/w/api.php . please tell me
> when it's working, I'll update the family file in the repository :)
> 
> 2008/11/5 Guillaume <esperanza at no-log.org>:
> > Thanks for your contributions.
> > Here it's an updated family.py with integration of these 4 languages.
> > I also activated API (just with $wgEnableAPI= true; ?)
> >
> >
> >
> >
> >
> > Le mercredi 05 novembre 2008 à 11:46 +0800, Nicolas Dumazet a écrit :
> >> Hello !
> >>
> >> I tried updating your family file in r6059
> >>
> >> 2008/11/5 Guillaume <esperanza at no-log.org>:
> >> > Update for anarchopedia-family.py
> >> > New
> >> >      self.namespaces[4] = {
> >> >          'fa': u'آنارکوپدیا',
> >> >          'he': u'אנרכופדיה',
> >> >          'fi': u'Anarkopedia',
> >> >          'lv': u'Anarhopēdija',
> >> >
> >>
> >> I'm not sure about these 4 languages codes, because no 3 letters
> >> equivalents seem to have been defined in the family file, e.g. as of
> >> now pywikipedia does not know that http://fa.anarchopedia.org/ does
> >> exist. ?!
> >>
> >> Another problem is that no names are defined in namespace 5 for a lot
> >> of wikis... you might want to fix this :)
> >>
> >> If you have an updated family file that you use, please attach it here
> >> / or on a new bug on the sourceforge bugtracker so my job is easier =)
> >>
> >> Thanks,
> >
> > _______________________________________________
> > Pywikipedia-l mailing list
> > Pywikipedia-l at lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> >
> >
> 
> 
> 




More information about the Pywikipedia-l mailing list