^_^ yay, now I can query http://*.wikia.com/api.php?action=query&meta=siteinfo&siprop=general|namespaces and http://*.lang.wikia.com/api.php?action=query&meta=siteinfo&siprop=general|namespaces with a bot to grab all the data I'll need to make Pywikipediabot run without the use of family files for Wikia... That is... when I actually get back to working with python things... lol
~Daniel Friesen(Dantman) of The Gaiapedia, Wikia Graphical Entertainment Project, and Wiki-Tools.com Inez Korczyński wrote: > DanTMan pisze: > >> John Q.? Someone else? >> Do you think we could get a wgLanguageCode or languageCode attribute in >> the <general /> element in the API: >> http://www.wikia.com/api.php?action=query&meta=siteinfo&siprop=general|namespaces >> > > Hi, > > I just did it. > There is new attribute in "general" node called "languagecode". > > Examples: > http://beidipedia.wikia.com/api.php?action=query&meta=siteinfo&siprop=general > http://www.wikia.com/api.php?action=query&meta=siteinfo&siprop=general > > Inez > > >> I was considering modifying pywikipediabot at some point to be able run >> on wikia without using family files by grabbing >> the data needed from the api, and just using a wikia_* family with a >> lang. But there's no way to check out the content language of the wiki >> to verify it or set the default namespaces right or various other things >> without using an extremely >> complex and touchy method which requires the grabbing of multiple API >> pages to list every Wikia's domain, and search for wiki with >> www.*.wikia.com and www.lang.*.wikia.com to grab it's ID, then grab the >> configuration variables from the API. >> >> > > _______________________________________________ > Wikia-l mailing list > [email protected] > http://lists.wikia.com/mailman/listinfo/wikia-l > > _______________________________________________ Wikia-l mailing list [email protected] http://lists.wikia.com/mailman/listinfo/wikia-l
