Page MenuHomePhabricator

Prop proofread is not working on Wikisource
Closed, InvalidPublic

Description

Followed this instrunctions:
https://www.mediawiki.org/wiki/Extension:ProofreadPage/Index_pagination_API

This is my test query:
https://pl.wikisource.org/wiki/Specjalna:%C5%9Arodowisko_testowe_API#action=query&format=json&prop=proofread&list=proofreadpagesinindex&formatversion=2&prppiititle=Indeks%3APL%20Dumas%20-%20Sylwandira.djvu

Expected to have at least some proofread properties like in the docs:

{
    "pageid": 23,
    "ns": 250,
    "title": "Page:Sandbox.djvu/1",
    "proofread": {
        "quality": 3,
        "quality_text": "Proofread"
    }
},

But I got none of proofread props:

{
	"pageoffset": 11,
	"pageid": 801322,
	"title": "Strona:PL Dumas - Sylwandira.djvu/11"
}

Raw url for the query:
https://pl.wikisource.org/w/api.php?action=query&format=json&prop=proofread&list=proofreadpagesinindex&formatversion=2&prppiititle=Indeks%3APL%20Dumas%20-%20Sylwandira.djvu

The index is mostly red (pages have initial text), partially yellow. See:
https://pl.wikisource.org/wiki/Indeks:PL_Dumas_-_Sylwandira.djvu

Simpler index same results:

BTW. I noticed that pageoffset is also wrong:

{"pageoffset":11,"pageid":801322,"title":"Strona:PL Dumas - Sylwandira.djvu/11"}

I assume pageoffset was supposed to be the same as mw.config.values.prpFormattedPageNumber and it is not.

obraz.png (909×1 px, 787 KB)

Event Timeline

BTW. I noticed that pageoffset is also wrong:

Look at the index, notice "tyt" and "cenz". It seems it is raw number of page. Another example: when you click "11" you get "21".

Formatted page number refers to the number displayed on the pagelist, pageoffset is the raw page number that can be used to get the position of the page inside the djvu/pdf file.

OK. Works as a generator.