Page MenuHomePhabricator

Showing [0] instead of [a], [b], etc. in {{Notelist}} footnotes created using {{efn}}
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Open the Wikipedia iOS app (e.g., version 7.7.5.5231).
  • Visit an article that uses {{efn}} in the main content and {{Notelist}} in the Notes section.

Examples:

https://en.wikipedia.org/wiki/Age_of_Discovery#Notes

https://en.wikipedia.org/wiki/GWR_locomotive_numbering_and_classification#Notes

https://en.wikipedia.org/wiki/Donald_Trump#Notes

What happens?:
Inline footnote labels appear correctly as [a], [b], etc.

Pop-up previews when tapping a footnote also show the correct label.

But in the {{Notelist}} section, all footnotes are shown as [0], instead of matching their proper alphabetical labels.

Clicking items in the Notelist still jumps to the correct part of the article.

What should have happened instead?:
The Notes section should display the correct alphabetical footnote labels ([a], [b], etc.), consistent with their inline and pop-up representations.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Wikipedia iOS app version 7.7.5 (5231)

Affected on iOS 16.7.11 and iOS 18.4.1
Other information (browser name/version, screenshots, etc.):
One user confirmed the issue still appears in the latest version (7.7.5) after reinstalling the app.

Another user on-wiki (Verbarson) confirmed the same behavior with multiple article examples.

The issue does not occur in Safari or desktop browsers — only in the iOS app.

image (43).png (2×1 px, 387 KB)

image (44).png (2×1 px, 376 KB)

Details

Event Timeline

Change #1156807 had a related patch set uploaded (by Dbrant; author: Dbrant):

[mediawiki/services/mobileapps@master] Fix counting of lower-alpha notes.

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

Change #1156807 merged by Cooltey:

[mediawiki/services/mobileapps@master] Fix counting of lower-alpha notes.

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

ABorbaWMF subscribed.

Fixed on 2.7.50537-r-2025-06-23

Tested on Pixel 6 on Android 15. Tested the original articles and several others. Notes are correctly listed.

Looks good on 7.7.7 (5432)

Tested on iPhone on iOS 18.6 and iPad on iPadOS 18.5. Tested articles listed in this ticket and some other articles.