On Feb 19, 2008 3:25 AM, Roan Kattouw roan.kattouw@home.nl wrote:
This more or less exists already in the API:
http://en.wikipedia.org/w/api.php?action=parse&text=%5B%5Bhello%5D%5D&am...
Roan Kattouw (Catrope)
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
The problem with this is that it needs a install of Mediawiki with database working. The database too must have the necessary template pages in it. If we try to use the the api from the official website then we need a working internet connection for that (at least during parsing the XML file, not always) plus it is pointless as the XML file too contains the template information.
------Un related to above issue------ One major problem with all current implementation is that they try to abandon unresolvable things, like the pictures. It is a little complicated but what can be done is make a list of unresolved issues while indexing the dump like the list of pictures. When rendering the page if the pic is not in local disk then resolve it to online link and parallely also downlaod the pic to local disk. Next time no need to give link for online content.