jdlrobson/WikipediaMobile — comment on commit 11abc04bc031773c0b3ee570d2927d313f67fc22
File: assets/www/js/langlinks.js line 23
By jdlrobson:

instead of resorting to regular expressions like this one (and ones that live elsewhere) could we not make use of url.split(".") or can urls passed to this function point to other entities e.g. external links? In the current form we restrict use of this app to only Wikipedia.org based ones...