2016-11-22

Looks like the InterWiki links at MediaWiki don’t work anymore.

https://www.mediawiki.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap

We’ll need to

  1. Notify MediaWiki that the InterWiki prefix is now https://www.emacswiki.org/emacs/
  2. Add redirects to support the old link format of http://www.emacswiki.org/cgi-bin/wiki.pl?

AaronHawley

No, we actually have tons of redirects for old URLs and this one just slipped through the cracks. I’ve fixed it, hopefully. 😊

The relevant nginx config:

rewrite "^/(?:cgi-bin/)?(?:emacs(?:-[a-z][a-z])+|emacs\.pl|wiki|wiki\.pl)/(.*)" "/emacs/$1" permanent;
rewrite "^/cgi-bin/wiki.pl"     "/emacs" permanent; # https://www.emacswiki.org/emacs/2016-11-22
rewrite "^/cgi-bin/emacs/(.*)"  "/emacs/$1" permanent;

Test:

Thanks for reporting little details such as this one!

Alex Schroeder