Skip to content
zverok edited this page Aug 7, 2015 · 3 revisions

Core codebase is written in a fashion allowing to use Infoboxer with any WikiMedia-based engine, including Wikipedia in other languages, wikia.com projects and much more.

Though, some of "tastiest" hi-level navigation features are wiki- and locale-dependent. For example, page.infobox is just a selection of templates with name /^Infobox/, which will be named different for other-language wikis; and each language version of Wikipedia uses different templates with different logic.

From the very beginning of the project I've been aware of this, so everything local about different wikis are going into infoboxer/wikis folder. For now, there's only en.wikipedia.org.rb, but basing on this file as an example, you can easily (I hope) define your own handlers. If it would be handlers for Wikipedia in your language -- please, send it to me as a patch/pull request, it would be really appreciated!

TODO: Not enough information!!!

NB: Wikipedia has local strings in many essential markup parts, like [[File: (which means start of embedded media) -- this also can look like [[Fichier: at fr.wikipedia.org or [[Файл: at ru.wikipedia.org. But Infoboxer gracefully handling this inside (by receiving list of files with the page from the API, and from them determining prefixes), so, nothing to bother about here.