Last modified: 2014-08-02 07:40:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34590, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32590 - Blank entry in Special:IndexPages
Blank entry in Special:IndexPages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ProofreadPage (Other open bugs)
unspecified
All All
: High normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: Wikisource
  Show dependency treegraph
 
Reported: 2011-11-22 20:32 UTC by Doug
Modified: 2014-08-02 07:40 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Doug 2011-11-22 20:32:17 UTC
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.
Comment 1 Mark A. Hershberger 2011-11-22 22:05:07 UTC
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?
Comment 2 Mark A. Hershberger 2011-11-22 22:06:05 UTC
Perhaps related to Bug 32551 - Descriptionless files
Comment 3 Ariel T. Glenn 2011-11-22 22:47:20 UTC
So I see one entry in pr_index which has page id 0:

| pr_page_id | pr_count | pr_q0 | pr_q1 | pr_q2 | pr_q3 | pr_q4 |
|          0 |        3 |    55 |     9 |     0 |    12 |     0 | 

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.
Comment 4 Mark A. Hershberger 2011-11-22 23:49:34 UTC
More on https://id.wikisource.org, https://ca.wikisource.org, https://de.wikisource.org, https://el.wikisource.org, https://en.wikisource.org, https://fr.wikisource.org,  https://es.wikisource.org, https://it.wikisource.org

None on https://br.wikisource.org, https://da.wikisource.org, https://eo.wikisource.org, https://fa.wikisource.org, https://he.wikisource.org, https://hr.wikisource.org, https://hu.wikisource.org, https://hy.wikisource.org 

Tired of looking now, but on there seem to be no examples on wikisources with fewer texts (except elwikis).  But I imagine that is because they have fewer editors on those sites.

https://el.wikisource.org is a good example because there are so few sources.
Comment 5 Doug 2012-04-09 15:00:29 UTC
(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.
Comment 6 Doug 2012-04-16 06:48:16 UTC
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?
Comment 8 Bawolff (Brian Wolff) 2014-06-24 18:34:22 UTC
Is this still an issue. I don't see blank lines in the links given above.
Comment 9 George Orwell III 2014-07-29 20:18:18 UTC
(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...

* https://en.wikisource.org/w/index.php?title=Special:IndexPages&limit=20&offset=0&key=&order=quality&sortascending=1


... but I've seen it at various points in the outputs of the other settings as well.
Comment 10 George Orwell III 2014-07-29 20:40:10 UTC
 
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.
Comment 11 Bawolff (Brian Wolff) 2014-07-29 20:41:16 UTC
<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.
Comment 12 Gerrit Notification Bot 2014-07-29 20:50:10 UTC
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
Comment 13 Gerrit Notification Bot 2014-08-01 18:47:14 UTC
Change 150386 merged by jenkins-bot:
Make Special:IndexPages not show invalid page ids

https://gerrit.wikimedia.org/r/150386
Comment 14 George Orwell III 2014-08-02 06:43:28 UTC
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
Comment 15 Tpt 2014-08-02 07:40:35 UTC
This change is not deployed on test2 yet. It should be deployed as part of 1.24wmf17 the August 15 on test2.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links