Page MenuHomePhabricator

Make *.wap.wikipedia.org URLs redirect to *.mobile.wikipedia.org
Closed, ResolvedPublic

Description

Since we've deprecated the wap.wikipedia.org hostnames (for one thing it's not accurate, we don't actually support WAP as an access protocol!) in favor of *.mobile.wikipedia.org, it might be nice to issue HTTP redirects so people see the new name.

Downside: higher latency for people actually using the old URLs.

Upside: better visibility for new URLs and better cachingness.

Should be a simple matter of tweaking Apache configuration so a separate vhost handles the one and does redirects to the other.


Version: --
Severity: enhancement
URL: http://en.wap.wikipedia.org/

Details

Reference
bz16692

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 10:23 PM
bzimport set Reference to bz16692.
brion created this task.Dec 17 2008, 9:36 PM

Note: wap is ISO 639-3 language code for Wapishana language, thus should not be used for anything else according to the current system.

Right, that's why wap.wikipedia.org specifically is not set -- it needs to be reserved for the language code.

But the *.wap.wikipedia.org subdomains do not conflict, and already exist, hence the need to redirect them.

RobH added a comment.Jan 9 2009, 7:49 PM

This has been completed. I had to enable the mod-rewrite on the server in question, and made a new config file for the wap virtual host.

danny.leinad wrote:

Hmmm, I'm not sure is it working fine...
For example, when I'm choosing pl.wap.wikipedia.org, I'm redirecting into mobile.wikipedia.org and when I try find article I see results from en.wiki.

When pl.wap.wikipedia.org not redirected, I could immediately get results from pl.wiki.

IMHO When I choose pl.wap.wikipedia.org Apache configuration should redirect me into pl.mobile.wikipedia.org.

RobH added a comment.Jan 12 2009, 5:22 PM

Leinad,

You are indeed correct! Sorry about that, I was missing the coditional statement. Now it should be functioning properly. Thanks for noticing the mistake!