Please enable ShortUrl extension on chapter-wiki of Wikimedia Bangladesh. The chapter's committee is aware of this config change and have no issue with it. We've discussed it in our private mailing list. Thanks.
|operations/mediawiki-config : master||Enable Extension:ShortURL on bd.wikimedia|
|operations/puppet : production||Follow-up Ifa2cc187: Add ShortUrl support on wikimedia.org docroot sites|
|operations/puppet : production||mediawiki::web: Add ShortUrl support on wikimedia.org docroot sites|
|operations/puppet : production||mediawiki::web: use Rewrites for ShortUrl extension|
|operations/mediawiki-config : master||Enable ShortURL on Wikimedia Bangladesh chapter wiki|
I deployed this patch as part of morning SWAT on 2016-09-19. I merged the patch to enable ShortUrl, and then pulled that change to mw1099 for testing.
I Created tables using /srv/mediawiki/php-1.28.0-wmf.18/extensions/ShortUrl/schemas/shorturls.sql
I was able to verify the table was created:
mysql:wikiadmin@db1075 [bdwikimedia]> show tables like 'shorturls'; +-----------------------------------+ | Tables_in_bdwikimedia (shorturls) | +-----------------------------------+ | shorturls | +-----------------------------------+ 1 row in set (0.00 sec)
I then ran the populateShortUrlTable script:
thcipriani@terbium:~$ mwscript extensions/ShortUrl/populateShortUrlTable.php --wiki=bdwikimedia 100 titles done 200 titles done 300 titles done 400 titles done 500 titles done 600 titles done 662 titles done Done
After those steps the sidebar link appeared and there were no errors present; however, shorturls were returning 404. After discovering the 404s, I reverted the patch to enable the ShortUrl extension and dropped the shorturl table.
This revert was made before the patch ever reached all of production, it was only ever deployed to mw1099.
I think something like mod_rewrite causes this errors. When I setup /wiki/ shortcut only in MediaWiki it doesn't work (on wiki without any connection to WMF) and it gives 404s. This is similar I think (the shortcut URL can be redirected to /shortcutResolver.php?id=sth) but without any rewrite rules the webserver can't find it in the disc so it throw 404.
Checking again. Sorry for being impatient, we've recently started to use that wiki for WMBD's documentation purpose and sharing the long broken URLs of those docs are kinda hard and irritating to see.
It's out of our hands, no one here can help you. Those kinds of changes need to be approved by operations these days. Someone else (preferably someone with server rights like deployment) can try scheduling it for puppet swat (where hopefully someone with the appropriate rights will review it), but I can't attend those.
Actually, I might be able to get to the puppet swat on Tuesday 1st of November or Tuesday 13th of December (or any Tuesday/Thursday after that until the 12th of January).
No promises though - other things might come up for me before then, and those dates are a long way off the current deployment calendar.
Change 311647 abandoned by Giuseppe Lavagetto:
Follow-up Ifa2cc187: Add ShortUrl support on wikimedia.org docroot sites
I am abandoning this as I merged a similar change but using the RewriteRule and not the ProxyPass (which fails because of the way the extension works)