Page MenuHomePhabricator

Blank entry in Special:IndexPages
Closed, ResolvedPublic

Description

On the Latin Wikisource Special:IndexPages has an entry that is blank. It moves around (erratically) as changes are made such as deletions or additions of indices. It is mentioned here: http://la.wikisource.org/wiki/Vicifons:Scriptorium#Index_clean_up and can be seen here: http://la.wikisource.org/wiki/Specialis:IndexPages, currently at #17. Phe was looking in to this at one point but I don't think he ever got anywhere with it.


Version: unspecified
Severity: normal

Details

Reference
bz32590
TitleReferenceAuthorSource BranchDest Branch
builds-api: bump to 0.0.104-20231113143657-f8b48e05repos/cloud/toolforge/toolforge-deploy!128raymond-ndibebump_builds-apimain
[build.start]: handle harbor timeout errorrepos/cloud/toolforge/builds-api!55raymond-ndibehandle_harbor_request_timeoutsmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:06 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz32590.
bzimport added a subscriber: Unknown Object (MLST).

Note that there is also one here: https://wikisource.org/wiki/Special:IndexPages
Looking at the source, you can see

<!-- Invalid title Index:-->

or on la.wikisource

<!-- Invalid title Liber:-->

This text comes from https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ProofreadPage/SpecialProofreadPages.php?view=markup#l124

It looks like pages are being created without a title?

Perhaps related to Bug 32551 - Descriptionless files

So I see one entry in pr_index which has page id 0:

pr_page_idpr_countpr_q0pr_q1pr_q2pr_q3pr_q4
035590120

The rest all look normal. Since there's no date or anything I don't know how we can track it down further. One could look around for bizarre rc entries I guess, although as it's now November and this was noticed in August, there may be nothing to be found.

(In reply to comment #2)

Perhaps related to Bug 32551 - Descriptionless files

This doesn't seem likely, I think that problem was due to uploads during a update of servers, the likelihood that this was occurring on any of la.ws, el.ws, or he.ws, let alone all of them, is remote. It would be highly likely that no one was even logged in at any given time for those small projects.

Looking through el.ws I noticed [[s:el:Σελίδα:Σύνταγμα της Κριτικής Πολιτείας 1907.djvu/1]]. The page is in pagespace but it's a soft redirect and doesn't have an index. No chance it's related is there?

Is this still an issue. I don't see blank lines in the links given above.

(In reply to Bawolff (Brian Wolff) from comment #8)

Is this still an issue. I don't see blank lines in the links given above.

Yup. I can consistently replicate the blank entry using the settings Order by: Index status, Sort ascending & any offset...

... but I've seen it at various points in the outputs of the other settings as well.

What complicates the matter is the use of tables in each list-item - causing a slight offset between a bullet number it's content - giving rise to the possibility that 1 item is somewhow getting "clipped" in the resulting output (e.g. an offset of 20 items per page only shows 19 items.

<li><!-- Invalid title :--></li>

So there's a very blank title.

Which I guess makes sense because the query does array( 'LEFT JOIN', 'page_id=pr_page_id' ) to figure out what the page_namespace/page_title is.

Obvious solution would be to change that to an inner join, which would just skip all entries with invalid pr_id's.

Change 150386 had a related patch set uploaded by Brian Wolff:
Make Special:IndexPages not show invalid page ids

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

Change 150386 merged by jenkins-bot:
Make Special:IndexPages not show invalid page ids

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

Well if that merge was suppose to patch the current test2.wikipedia.org testbed, it didn't work.

https://test2.wikipedia.org/wiki/Special:IndexPages

This change is not deployed on test2 yet. It should be deployed as part of 1.24wmf17 the August 15 on test2.