HomePhabricator

ArchCom RFC Meeting WD48: T114662: Per-language URLs for multilingual wiki pages (2016-11-30, #wikimedia-office)
ActivePublic

Hosted by daniel on Nov 30 2016, 10:00 PM - Nov 30 2016, 11:00 PM.

Description

Agenda

  • Location: #wikimedia-office IRC channel
  • Meeting type: TBD
  • Time: Weekly, Wednesday 21:00 UTC (2pm PDT, 23:00 CEST)
    • This time is the standard as of this writing (in March 2016), but may change as we make adjustments to accommodate daylight savings/summer time adjustments for the participants. By default, we intend for this meeting to be held Wednesday 2pm San Francisco time.
  • Topic: T114662: RFC: Per-language URLs for multilingual wiki pages.
    • Need: we want anon visitors to browse Wikidata and other multilingual wikis in their language
    • Problem: Serving different renderings for the same URL messes with web caches.
    • Solution: Force uslang based on some part of the URL path, similar to how language variants are handled
      • Problem: we have to purge all per-language URLs of a page from the web caches when the page changes.

Other meetings

Recurring Event

Event Series
This event is an instance of E66: ArchCom RFC Meeting Wxx: <topic TBD> (<see "Starts" field>, #wikimedia-office), and repeats every week.

Event Timeline

daniel renamed this event from ArchCom RFC Meeting Wxx: <topic TBD> (<see "Starts" field>, #wikimedia-office) to ArchCom RFC Meeting WD48: T114662: Per-language URLs for multilingual wiki pages (2016-11-30, #wikimedia-office).Nov 26 2016, 9:11 PM
daniel updated the event description. (Show Details)
daniel added projects: I18n, Varnish.

IRC meeting on #wikimedia-office at 22:00 UTC on 2016-11-30

Full log: https://tools.wmflabs.org/meetbot/wikimedia-office/2016/wikimedia-office.2016-11-30-22.00.log.html

Minutes: RFC: Per-language URLs for multilingual wiki pages (TimStarling, 22:01:20)

  • LINK: https://phabricator.wikimedia.org/T114662 (DanielK_WMDE, 22:01:54)
  • LINK: https://phabricator.wikimedia.org/E384 (DanielK_WMDE, 22:02:03)
  • LINK: https://commons.wikimedia.org/wiki/MediaWiki:AnonymousI18N.js (legoktm, 22:07:30)
  • YairRand notes that we may need /w-en/ etc too, for action=edit at least (DanielK_WMDE, 22:08:11)
  • LINK: https://phabricator.wikimedia.org/T149419 (DanielK_WMDE, 22:09:19)
  • <DanielK_WMDE> subbu: re default path for a default language: i think that when we first try this, the default path should stay as it is now. eventually, the default path can trigger a redirect to the apprpriate language path <subbu> wfm. (DanielK_WMDE, 22:13:33)
  • we can use subdomains instead of pathes, but it's probably harder to get right (DanielK_WMDE, 22:14:13)
  • competing RFC T149419 proposes to split the cache on a cookie, instead of the url. (DanielK_WMDE, 22:14:42)
  • LINK: https://github.com/varnish/varnish-modules/blob/master/docs/vmod_xkey.rst (DanielK_WMDE, 22:17:29)
  • vernish xkey could be used to purge all language versions (renderings) of a page in one go (DanielK_WMDE, 22:19:28)
  • perhaps could have experimental option to use xkey for regular page purges, and enable it on a small wiki (DanielK_WMDE, 22:21:46)
  • LINK: https://wikitech.wikimedia.org/wiki/XKey has some docs (legoktm, 22:25:07)
  • LINK: https://wikitech.wikimedia.org/wiki/XKey (DanielK_WMDE, 22:25:37)
  • "We currently do not support setting the same XKey on very large numbers of objects. In practice something on the order of 1-100 objects attached to a given XKey is reasonable." (DanielK_WMDE, 22:26:40)
  • <TimStarling> action item to corner bblack and make him say that? (DanielK_WMDE, 22:27:02)
  • <TimStarling> the patch would be to CdnCacheUpdate (DanielK_WMDE, 22:34:32)
  • ask ops about impact of cache fragementation (x20?) (DanielK_WMDE, 22:35:42)
  • <TimStarling> think we can go ahead with [xkey support in CdnCacheUpdate] without ops approval (DanielK_WMDE, 22:38:20)
  • <TimStarling> basically use the language-neutral URL as the xkey (DanielK_WMDE, 22:40:37)
  • gwicke would prefer subdomains instead of pathes to select the language (DanielK_WMDE, 22:45:01)
  • <TimStarling> can use the actual uselang parameter for /w/index.php (DanielK_WMDE, 22:48:00)
  • Gabriel would like to see some details on how language selection would affect API responses (both PHP and REST) (gwicke_freenode, 22:55:25)
  • <TimStarling> [use PathRouter, which is hookable; the hook is WebRequestPathInfoRouter] (DanielK_WMDE, 22:55:44)
  • LINK: https://phabricator.wikimedia.org/T146965 (DanielK_WMDE, 23:02:18)