As a Wikisource user, I want the references bug fixed, so that I can see internal links within the book (rather than needing to leave the book & have internet access).
Background: References in a few ebooks are an external link, taking you to the wikisource website, rather than an internal link, taking you to the footnote in the ebook. So far, it has only happened for ebooks where the reference is in the article itself, not transcluded in a <pages> element. These are pretty rare though, so perhaps it is a coincidence. This happens in wsexport-test, but not production. This is potentially due to our work in T264788.
Examples:
- Example 1:
- Test Version (click on the first footnote on the second page; it redirects to external link): https://wsexport-test.wmflabs.org/?lang=en&page=Nicene_and_Post-Nicene_Fathers%3A_Series_II%2FVolume_X%2FSelections_from_Letters%2FEpistle_XVII&format=epub-3&fonts=
- Observed behavior: Opens a browser at url https://en.wikisource.org/wiki/Nicene_and_Post-Nicene_Fathers:_Series_II/Volume_X/Selections_from_Letters/Epistle_XVII#cite_note-1
- Prod Version (click on the first footnote on the second page; it redirects to internal link/a footnote inside the ebook, as expected): https://wsexport.wmflabs.org/?lang=en&page=Nicene_and_Post-Nicene_Fathers%3A_Series_II%2FVolume_X%2FSelections_from_Letters%2FEpistle_XVII&format=epub-3&fonts=
- Example 2:
- Example 3:
Acceptance Criteria:
- Restore previous behavior, so that footnotes links are internal (rather than external) in ebook exports