Thread:Talk:Requests for comment/New sites system/First-class data or index/reply

I'm a bit confused by apparently having to decide between either having it as first class data or as index. Seems like we can easily make it work as either depending on the use case.

This is what I propose:


 * The site table is first class by default but can act like an index
 * All interaction with the table is done through an interface that knows if it's an index or not using some new wiki configuration

That would be all in the initial patchset. We would follow up with:


 * Wikidata makes use of this interface and modifies the wiki config to indicate the site config is behaving as an index

Other people could write editing UIs or whatever on top of it without having to modify the site interface and without even having to care the info is coming from the table or some random other source.