We could support a new field in each handler of mobile.php to configure content links. By default, when the link is clicked it would open a new page with the contents, but we could add some flags to allow opening the page in the "root" of the app or to navigate to a module entry page.
So it would be something like:
links => array(
pattern <- A RegExp to check if a URL should be treated.
method <- The method to use in the opened page.
urlparams <- List of params to get from the URL, like: array('id', 'hash')
fixedparams <- List of fixed params, like: array(myparam => 'value'). I don't know if this makes sense.
priority <- Optional
checkallusers <- Optional