Page MenuHomePhabricator

Special:IndexPages: Add a sort by the number of page remaining to correct
Closed, ResolvedPublic

Description

On fr.ws we talk about improving Special:IndexPages, two things are needed, first add a sort by the number of page remaining to correct, second add a checkbox allowing to count only transcluded page, this talk is at https://fr.wikisource.org/wiki/Wikisource:Scriptorium/Octobre_2013#Une_autre_petite_liste.

The first is needed because we want take care more about correcting pages which are transcluded in main: than page not already transcluded. Quit possible this should be the default sort but we didn't talk about changing the default.

The second is needed in such case https://fr.wikisource.org/w/index.php?title=Sp%C3%A9cial%3AIndexPages&limit=50&key=Diderot+Encyclopedie&order=quality , where it's difficult to see in which volume it remains page to correct and the new sort will allow to get them from the top of the list.


Version: master
Severity: enhancement

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:20 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz57198.
bzimport added a subscriber: Unknown Object (MLST).

Obviously I used first and second in a reversed way in the two last paragraph.

Hi Philippe, please split this into two bug reports as only one issue should be filed in one bug report (see https://www.mediawiki.org/wiki/How_to_report_a_bug ).

Change 443207 had a related patch set uploaded (by Candalua; owner: Candalua):
[mediawiki/extensions/ProofreadPage@master] Special:IndexPages: sort by the number of page remaining to correct

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

Candalua subscribed.

I uploaded a patch for the first point, "Add a sort by the number of page remaining to correct".

The second point is not easily doable and anyway, as Aklapper pointed out, it should be covered by opening a separate task.

Change 443207 merged by jenkins-bot:
[mediawiki/extensions/ProofreadPage@master] Special:IndexPages: sort by the number of page remaining to correct

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

The change is live, it is now possible to sort by the number of pages that need to be validated.

Thanks, though not certain that we have it right.

To note that what we seem to have achieved is to support the display of the number of pages to be moved from proofread -> validated, rather than the total number of pages remaining to be validated. Nor does it account for where pages have not been started at all, so thirty "red linked" pages count as zero pages to be validated. Here I am looking at https://en.wikisource.org/w/index.php?title=Special%3AIndexPages&limit=500&key=&order=toValidate&sortascending=1

I would have thought the more realistic example of what we are seeking is

number of pages to be validated = total page count - (pages validated + pages without text)

I am guessing that we are looking to utilise this to identify works that we are trying to finish, so if we sort out the above would there also be a means to exclude pages where "to validate = 0" so we can set a permanent url to display those that need that last bit of effort to complete the works.

Thanks, though not certain that we have it right.

To note that what we seem to have achieved is to support the display of the number of pages to be moved from proofread -> validated, rather than the total number of pages remaining to be validated.

There seems to be a misunderstanding. To "validate" a page means exactly to move it from "proofread" to "validated" status. And this is what has been done, as this is what was asked. A possible application can be: I want to launch a "validation of the month" contest, and I need a list of books with lots of pages ready to be validated.

Now what you are asking is a different thing, that I would call "total number of pages remaining to be proofread and/or validated", i.e. pages where some kind of work (transcription, formatting, validation...) needs to be done. This looks easy to do, so I'll see if I can add a further option using your formula.

I'm not sure if it's possible to exclude books with 0 of such pages, but I'll look into it.

Change 445440 had a related patch set uploaded (by Candalua; owner: Candalua):
[mediawiki/extensions/ProofreadPage@master] Special:IndexPages: sort by the number of pages with work to do

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

Change 445440 merged by jenkins-bot:
[mediawiki/extensions/ProofreadPage@master] Special:IndexPages: sort by the number of pages with work to do

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

Thanks, though not certain that we have it right.

To note that what we seem to have achieved is to support the display of the number of pages to be moved from proofread -> validated, rather than the total number of pages remaining to be validated.

There seems to be a misunderstanding. To "validate" a page means exactly to move it from "proofread" to "validated" status. And this is what has been done, as this is what was asked. A possible application can be: I want to launch a "validation of the month" contest, and I need a list of books with lots of pages ready to be validated.

Now what you are asking is a different thing, that I would call "total number of pages remaining to be proofread and/or validated", i.e. pages where some kind of work (transcription, formatting, validation...) needs to be done. This looks easy to do, so I'll see if I can add a further option using your formula.

I'm not sure if it's possible to exclude books with 0 of such pages, but I'll look into it.

What has been produced is the ability to sort based on the number of pages in a work that are proofread. After that it is a matter of interpretative language, and I wasn't criticising more commenting, and the difference our technical jargon.

If someone asked me in book X how any pages are left to be validated, are they asking how many are proofread stage? or are they asking me how many are left to be moved to validated? In a 100 page work there are 10 pages edited, nine are validated and 1 proofread, and 90 are untouched, to say that a work has one page left to validated is a little weird.