On 25 May 2010 15:30, Platonides Platonides@gmail.com wrote:
church.of.emacs.ml wrote:
However, you'd have to worry that each distant wiki uses only a fair amount of the home wiki server's resources. E.g. set a limit of inclusions (that limit would have to be on the home-wiki-server-side) and disallow infinite loops (they're always fun).
Infinite loops could only happen if both wikis can fetch from the other one. A simple solution would be to pass with the query who requested it originally. If the home wiki calls a different wiki, it would blame the one who asked for it (or maybe building a wiki + template path).
or request can have something like a deep counter, to stop request that need more than N iterations. So if you get a request with deep > 20, you can ignore that request. This don't stop a evil wiki passing a false deep level, but the idea of interwiki is a network built on top of the www of wikis you trusth, so you will not add a evil wiki