Page MenuHomePhabricator

Investigate if www.m.wikipedia.org needs to stay around
Closed, ResolvedPublic

Description

It seems to be one of the few valid DNS domains allowed by this rewrite:

# Send www.de.wikipedia.org -> de.wikipedia.org 
RewriteCond %{HTTP_HOST} ^www\.([a-z-]+)\.wikipedia\.org$
RewriteRule ^(.*)$ %{ENV:RW_PROTO}://%1.wikipedia.org$1 [R=301,L]

I'm trying to remove those rewrites (for other projects too) in https://gerrit.wikimedia.org/r/#/c/256441/

Is www.m.wikipedia.org actually used?

Event Timeline

Reedy raised the priority of this task from to Needs Triage.
Reedy updated the task description. (Show Details)
Reedy added projects: Mobile, SRE.
Reedy subscribed.

Change 256441 had a related patch set uploaded (by Reedy):
Remove www.([a-z-] ) rewrites

https://gerrit.wikimedia.org/r/256441

If i got it right then ~ 0.000272% of all hits in /srv/log/webrequest/sampled-1000.json on oxygen have been to www.m.wikipedia.org . a random example showed Opera Mini on Android using Special:Search for some reason

14:25 < mutante> hello mobile team, when cleaning up Apache config in a different matter (old redirects for stuff like www.de.wikipedia.org that dont exist anymore) we noticed that we have a "www.m." (as opposed to languages), but only for wikipedia.org and not for any other projects. It would be nice to know if we
could a) delete www.m.wikipedia.org (because it is maybe no different from the "desktop" URL) or b) it should actually be added for other projects c) we want "www" at all on mobile as opposed to "naked domain"

14:25 < mutante> this might somehow be related to the "move portals to gerrit" work
14:26 < mutante> if this was a wiki it would be about mobile frontend extension, but no clue with portal pages

14:28 < niedzielski> mutante dbrant mdholloway: i don't know of any place where android is using m.wikipedia.org
14:39 < niedzielski> mutante: yeah i don't think we point to www.m.wikipedia.org anywhere. everything's either lang.m.wikipedia.org, lang.wikipedia.org, or www.wikipedia.org AFAIK

Change 256597 had a related patch set uploaded (by Dzahn):
delete www.m.wikipedia.org

https://gerrit.wikimedia.org/r/256597

fgiunchedi triaged this task as Medium priority.Dec 3 2015, 10:37 AM
fgiunchedi subscribed.
fgiunchedi renamed this task from Investiage if www.m.wikipedia.org needs to stay around to Investigate if www.m.wikipedia.org needs to stay around.Dec 3 2015, 10:42 AM
fgiunchedi set Security to None.

Change 256441 merged by Giuseppe Lavagetto:
Remove www.([a-z-] ) rewrites

https://gerrit.wikimedia.org/r/256441

[17:31:10] <_joe_> Reedy: actually, this is strange, uhm
[17:31:46] <Reedy> ?
[17:31:49] <_joe_> Reedy: that rewrite for www.m does work on apache
[17:32:03] <_joe_> but it's varnish that decides to serve the desktop wikipedia in that case...
[17:32:08] <Reedy> Haha
[17:32:31] <_joe_> so no effect anyways, let's go

So if it's been removed from Apache now, do we delete it from DNS?

Change 256597 merged by Dzahn:
delete www.m.wikipedia.org

https://gerrit.wikimedia.org/r/256597

investigation concluded, no it does not need to stay around

Dzahn removed a project: Patch-For-Review.