Page MenuHomePhabricator

Text layer of DjVu doesn't appear in Page if it is linked from an index page
Closed, ResolvedPublic

Description

Text layer of DjVu files doesn't appear in Page namespace if a page is linked from an index page. If the page is not related to any index, the text appears in the edit window. Test examples from plwikisource below.

https://pl.wikisource.org/w/index.php?title=Strona:Wsp%C3%B3%C5%82czesni_poeci_polscy.djvu/106&action=edit&redlink=1

https://pl.wikisource.org/w/index.php?title=Strona:Wsp%C3%B3%C5%82czesni_poeci_polscy.djvu/0106&action=edit&redlink=1


Version: unspecified
Severity: normal

Details

Reference
bz58156

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:30 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz58156.
bzimport added a subscriber: Unknown Object (MLST).
Ankry created this task.Dec 7 2013, 2:39 PM
Phe added a comment.Dec 7 2013, 2:43 PM

It's more likely to the way the extension retrieve the text layer, the right name to access it is /13 not /013, in previous proofread release the extension was able to retrieve the text layer using the name /013 but look like it cannot nowadays.

Ankry added a comment.Dec 7 2013, 5:39 PM

I does not look so.

/0013 also works as well as /0100, while /100 does not.

/013 and /100 are related to
https://pl.wikisource.org/wiki/Indeks:Wsp%C3%B3%C5%82czesni_poeci_polscy
index page.

/13, /0013 and /0100 does not belong to any index.

I think it is related to the fact that index name is not the same as djvu file name and/or it is not created using the <pagelist> tag.

Probably, similar problem to https://bugzilla.wikimedia.org/show_bug.cgi?id=57972

Tpt added a comment.Dec 7 2013, 5:57 PM

(In reply to comment #2)

I think it is related to the fact that index name is not the same as djvu
file
name and/or it is not created using the <pagelist> tag.

Yes, it's the cause of the issue https://gerrit.wikimedia.org/r/#/c/100138/ resolve it.

Tpt added a comment.Dec 11 2013, 8:15 AM

Patch deployed

GOIII moved this task from Backlog to Done on the ProofreadPage board.Jun 12 2016, 3:55 AM