refs #1650 : enhancement - use numerical URL setting to decide mode
 change link

 - Imported from http://pat.im/1068
 - Creating and using mobile version of uri.permalink can be the best solution. But
 /i will be deprecated with 1.10.