Page MenuHomePhabricator

Set up DNS for abstract.wikipedia.org to be recognised
Closed, ResolvedPublic

Event Timeline

Jdforrester-WMF added a project: DNS.

Hello there, SRE Service Ops. Tagging you in on this, though this might need Traffic/other SRE involvement.

This is typically done as part of a new wiki creation process, but Traffic is happy to help as required.

This is typically done as part of a new wiki creation process, but Traffic is happy to help as required.

Yup, I'm more thinking about if any special config is needed for a non-language sub-domain of wikipedia.org.

Yea, it is. Languages would typically be added to dns/templates/helpers/langlist.tmpl but it feels like adding a non-language to the "list of languages" would be wrong.

Change #1227706 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/dns@master] add abstract.wikipedia.org to section for wikis not covered by langlist

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

I would think it belongs into the section for Wikis with mobile site (alphabetic order), which are not covered by langlist.tmpl.

https://gerrit.wikimedia.org/r/c/operations/dns/+/1227706/1/templates/wikipedia.org

Note that there is also a section for Wikis without mobile site (alphabetic order), which are not covered by langlist.tmpl right below. But nowadays there should be no mobile sites anymore at all.. soo all of this should be merged?

Yes, I should have clarified better, sorry. There is nothing special about langlist.tmpl as such. It just lists the language editions, which are then iterated over in:

; All languages will automatically be included here.
{% include "helpers/lang-wiki.tmpl" %}

So putting them where you did, (wikis without mobile) is perfectly fine IMO and so is putting them under ; Other non-wiki websites, including redirects for wiki sites. While the .m domains are no longer around, we are still keeping the redirects so it's probably best not to merge them I think.

{% from "helpers/langlist.tmpl" import langs %}
{% for lang in langs -%}
{{ lang }}   1D IN CNAME dyna.wikimedia.org.
{{ lang }}.m 1D IN CNAME dyna.wikimedia.org.
{% endfor -%}

So this is what we are setting when iterating over the language editions and this is what we are setting for the other stuff below, so there is no difference. But yes, not putting abstract in langlist makes sense.

Change #1227706 merged by Dzahn:

[operations/dns@master] add abstract.wikipedia.org to section for wikis not covered by langlist

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

abstract.wikipedia.org has been added to DNS