2010/8/3 Mingli Yuan <mingli.yuan(a)gmail.com>om>:
It uses API call to get pageId by the title, and then
convert pageId by base
36 to the short url. It is quite simple.
To reduce the frequency of API call, a simple cache was used. So far, only
Chinese and English were supported.
Why would you reduce the page ID in length with base 36? They're,
what, 10 digits?
Roan Kattouw (Catrope)