Page MenuHomePhabricator

Make "Quick Facts" sentence-case
Closed, ResolvedPublic

Description

In the Wikipedia mobile app, infoboxes are collapsed with the label "Quick Facts". This should be changed to sentence-case "Quick facts," with a lowercase f, both for compatibility with the Wikipedia Manual of Style and for consistency with the sentence-case "More information" used to collapse tables.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Hello!

Thank you for marking this as a good first task for newcomers. I’m interested in contributing and would like to work on updating the infobox collapse label from "Quick Facts" to "Quick facts" as described.

Could you please confirm if there are any specific code files or locations I should look at to implement this change? Also, any tips on setting up the development environment for the Wikipedia Android app would be very helpful.

Looking forward to contributing! Thank you for your support.

Does the language used in the apps fall under policies of one specific wiki? It used to have an lower f for two years (it seems?), the F has been capitalised in 2017. Perhaps clear consensus about the sentence is needed.

Dbrant subscribed.

Could you please confirm if there are any specific code files or locations I should look at to implement this change? Also, any tips on setting up the development environment for the Wikipedia Android app would be very helpful.

The code that contains this string is not part of the Android app, but rather part of the backend service that serves content to all native apps (Android and iOS).
Here is the precise location of the string that needs to be updated:
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/mobileapps/+/refs/heads/master/i18n/en.json#10

If you like, you can checkout that repository, update the string, and make a patch in Gerrit.

Does the language used in the apps fall under policies of one specific wiki? It used to have an lower f for two years (it seems?), the F has been capitalised in 2017. Perhaps clear consensus about the sentence is needed.

I don't think any wiki-specific consensus is necessary -- Sentence-case should be the proper form for that string, and would make it consistent with all the other strings in that collection.

Thank you very much for the clarification and the precise location of the string. Your guidance helped me navigate the codebase and successfully submit the fix. I really appreciate your support.

Change #1177416 had a related patch set uploaded (by Shadabgdg; author: Shadabgdg):

[mediawiki/services/mobileapps@master] Fix info-box-title string to sentence case 'Quick facts' for style consistency

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

Change #1177416 merged by jenkins-bot:

[mediawiki/services/mobileapps@master] Fix info-box-title string to sentence case 'Quick facts' for style consistency

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

(Note that this change will not appear right away for all articles. Since articles are pregenerated and cached by the backend, the change will be seen when an article expires in cache (or the next time an article is edited). Example updated and not-yet-updated article)