Last modified: 2014-02-28 20:51:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18692, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16692 - Make *.wap.wikipedia.org URLs redirect to *.mobile.wikipedia.org
Make *.wap.wikipedia.org URLs redirect to *.mobile.wikipedia.org
Status: RESOLVED FIXED
Product: Wikimedia Mobile
Classification: Unclassified
WAP mobile gateway (Other open bugs)
--
All All
: Normal enhancement (vote)
: ---
Assigned To: Rob Halsell
http://en.wap.wikipedia.org/
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-17 21:36 UTC by Brion Vibber
Modified: 2014-02-28 20:51 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2008-12-17 21:36:06 UTC
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.
Comment 1 Danny B. 2008-12-18 00:42:35 UTC
Note: wap is ISO 639-3 language code for Wapishana language, thus should not be used for anything else according to the current system.
Comment 2 Brion Vibber 2008-12-18 00:47:51 UTC
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.
Comment 3 Rob Halsell 2009-01-09 19:49:10 UTC
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.
Comment 4 Leinad 2009-01-10 17:32:28 UTC
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.
Comment 5 Rob Halsell 2009-01-12 17:22:36 UTC
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!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links