Page MenuHomePhabricator

Enable Extension:WikidataPageBanner on Russian Wikivoyage
Closed, ResolvedPublic

Description

We would like to have Extension:WikidataPageBanner enabled on Russian Wikivoyage. The community discussion is here:
https://ru.wikivoyage.org/wiki/Wikivoyage:Пивная_путешественников#Extension:Pagebanner
and we have reached consensus for giving this new format of pagebanners a try.

Thanks in advance!

Event Timeline

Atsirlin raised the priority of this task from to Medium.
Atsirlin updated the task description. (Show Details)
Atsirlin subscribed.

Change 234942 had a related patch set uploaded (by Glaisher):
Enable WikidataPageBanner extension on Russian Wikivoyage

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

  • I have added translations to the traslatewiki.
  • We don't need the Russian magic word, we are not going to use it. If this Russian magic word is compulsory, take

{{PAGEBANNER}} --> {{БАННЕР}}

  • Sorry, I could not understand what should be added to P948. There are no Wikivoyage pages so far, so English Wikivoyage seems to have the extension activated without going through this step

Nothing needs to be done about P948. It will just be used as the source of the banner if it can :-)

@Glaisher will you be able to get this patch SWATed [1] or do you need assistance? (I might be able to do this 4pm Wednesday if necessary)

[1] https://wikitech.wikimedia.org/wiki/Deployments

@Glaisher will you be able to get this patch SWATed [1] or do you need assistance? (I might be able to do this 4pm Wednesday if necessary)

I won't be available for today's evening SWAT (missed morning already) but I /might/ be able to get it done on Wednesday morning. If this doesn't happen by then, please do try to get it deployed on evening if you are available. Thanks.

Change 234942 merged by jenkins-bot:
Enable WikidataPageBanner extension on Russian Wikivoyage

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

Thanks! The extension is enabled, although there are some problems with the extension itself. I will contact the authors

Thanks! The extension is enabled, although there are some problems with the extension itself. I will contact the authors

You can file new tasks on Phabricator under Wikidata-Page-Banner project.

Shoot. One of the config variables got forgotten. There's a config variable that makes sections toggle on a certain heading depth ($wgMFMobileFormatterHeadings). As a result banners will be collapsed on mobile and other sections will not be.

Maybe we should apply this setting to all wikivoyage projects?
https://gerrit.wikimedia.org/r/#/c/234330/2/wmf-config/InitialiseSettings.php

Change 235489 had a related patch set uploaded (by Alex Monk):
Set wmgMFMobileFormatterHeadings value to drop h1 on all wikivoyages

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

Change 235489 merged by jenkins-bot:
Set wmgMFMobileFormatterHeadings value to drop h1 on all wikivoyages

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