Page MenuHomePhabricator

Install MobileFrontend on wikitech
Closed, ResolvedPublic

Description

I think there is no reason why it shouldn't and would make it easier for mobile device users to work with wikitech.

There should be a m.wikitech entry in dns, too, in order to enable MF.

Event Timeline

Florian raised the priority of this task from to Needs Triage.
Florian updated the task description. (Show Details)
Florian subscribed.

Yes, let's add the DNS entry. I once suggested to generate the .m. entries in DNS from a template for all wikis in wikimedia.org but it was pointed out how not all wikis have MF enabled. The default is to enable it though and there were only 2 exceptions then, Wikidata and Wikitech.. m.wikidata.org exists meanwhile

ref: https://gerrit.wikimedia.org/r/#/c/171769/
ref: http://m.wikidata.org

'wmgMobileFrontend' => array(
'default' => true,
'labswiki' => false,
'wikidata' => false, // Disabled due to lack of mobile domain setup
),

Note that wikidata now already has MF enabled, just not automatic redirection while mobile support is being worked on. The workflow is:

  • add DNS entries
  • Enable MobileFrontend
  • Test
  • Enable automatic redirection when we're confident that it works reasonably
gerritbot subscribed.

Change 189761 had a related patch set uploaded (by MaxSem):
Add a mobile subdomain for wikitech

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

Patch-For-Review

Change 189761 merged by Dzahn:
Add a mobile subdomain for wikitech

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

Aklapper removed a project: Patch-For-Review.

Since the DNS part is done i'm going to remove that project tag.

wikitech.m.wikimedia.org has address 208.80.154.236
wikitech.m.wikimedia.org has IPv6 address 2620:0:861:ed1a::1:c

Looks like MobileFrontend is enabled on the site now as well... I guess we need some apache config changes to point wikitech.m.wm.o to the right place?

Looks like MobileFrontend is enabled on the site now as well... I guess we need some apache config changes to point wikitech.m.wm.o to the right place?

It would also require being put behind Varnish (currently, it's being exposed directly), which goes against the requirement of this wiki being accessible in all but the most severe outages.

Varnish breaking would be a severe outage, wouldn't it? We'd still have wikitech-static.

I also think that's what we have wikitech-static for. But if we decline this, then fine, then we should just delete the DNS entry,

I'm not quite sure what is needed/desired here. When I browse to wikitech.wikimedia.org on my phone I get the MobileFrontend/Minerva version of the wiki. Once there I can login using my 2fa protected account. I can even edit pages.

I don't think a m.whatever domain is really necessary at all unless it is technically needed for Varnish cache optimization or something.

MaxSem claimed this task.

Yup, let's close this task. MF is up and running, if Varnish will ever be needed, MF can easily be set up to support that.

for completeness: we deleted wikitech.m from DNS today.

[radon:~] $ host wikitech.m.wikimedia.org
Host wikitech.m.wikimedia.org not found: 3(NXDOMAIN)