<div class="gmail_quote">On Fri, Apr 1, 2011 at 07:14, Yuvi Panda <span dir="ltr"><<a href="mailto:yuvipanda@gmail.com">yuvipanda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
After talking with Srikanth for a bit more, I was able to quickly<br>
hackup this mediawiki extension[1] that does exactly the same thing<br>
<a href="http://tawp.in" target="_blank">tawp.in</a> does now, but in the same domain. So you'll have URLs like<br>
<a href="http://ta.wikipedia.org/wiki/Special:ShortUrl/262" target="_blank">http://ta.wikipedia.org/wiki/Special:ShortUrl/262</a>. While definitely<br>
longer than <a href="http://tawp.in/r/262" target="_blank">http://tawp.in/r/262</a>, it can be made much shorter via a<br>
simple apache mod_rewrite so <a href="http://ta.wikipedia.org/r/262" target="_blank">http://ta.wikipedia.org/r/262</a> also works.<br>
The advantage of having it as an extension is, ofcourse, that the<br>
wikipedia is no longer dependent on code run on a 3rd party server (in<br>
this case, <a href="http://tawp.in" target="_blank">tawp.in</a>).<br>
<br>
[1]: <a href="http://www.mediawiki.org/wiki/Extension:ShortUrl" target="_blank">http://www.mediawiki.org/wiki/Extension:ShortUrl</a></blockquote><div><br></div><div>Now that is *really quick*. It would definitely be useful for not just wikipedia, any non latin mediawiki can use this.There was a request on tamil wikipedia for tamil wikinews as well. I think polishing this and making it available on all non latin wiki will help :) </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Feedback welcome :)<br></blockquote><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">Feedback from mediawiki extn perspective : Options to set the "ShortURL" to be displayed on client side will help. For instance I could install this on mediawiki server, but for shortname sake I may still want the short domain name to be used (I might use mod_rewrite in the short domain). Also base 36 will not be able to cater larger wiki's like en.wiki. This should be made configurable. Probably the simplest way to display in client side is to add a line to Toolbox page. (This will make it "standardized") and also makes it load faster since there wont be an additional js download and will work even when non js browsers. ( #facepalm to me for having spent a long time trying to bring it on right spot on the UI [and still its buggy on FA pages]) </div>
<div><br></div><div>Please post to Wikitech-I to get more technical feedback :) </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
P.S. My first ever mediawiki extension. I've verified it works, but<br>
testing would be welcome too :)<br></blockquote><div><br></div><div>Welcome to Mediawiki. We need more love from geeks like you :) especially for a lot of indic solutions. Feel free to mail this list with any ideas you may have.</div>
<div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><br clear="all">Regards<br>Srikanth.L<br><a href="http://srik.me/" target="_blank">http://srik.me</a><br><div> </div></div>