mad url redesign / item lookup idea
for the wiki, the url needs to identify a resource the code operates on then.
usually we used to give a name to identify a wiki item (and default to latest revision). or, a name plus a revision, to identify a specific revision.
the indexing layer (using whoosh) then uses this data to look up the revid we need to give to the backend.
we could generalize this idea so that the url just gives SOMETHING we can give to whoosh to identify the object(s) we want.
itemid:... revid:... name_exact:... (default)
(every unique key would work to indentify a single object)
if the lookup gives more than one result, we maybe could show a selection, so the user can choose what he wanted, e.g.:
tags:... userid:... (revs edited by this userid) language:... (all items in that language) content:... (show all items with that content itemlinks:... itemtransclusions:...