https://bugzilla.wikimedia.org/show_bug.cgi?id=31732

--- Comment #7 from Bawolff <bawolff...@gmail.com> 2011-11-09 22:03:28 UTC ---
(In reply to comment #6)
> (In reply to comment #4)
> > File:Fresco with Trompe l'oeuil - Andrea Pozzo -Jesuit Church Vienna.jpg
> > 
> > has page_namespace of 6 (NS_FILE) and a page_id of 2602773, but several of 
> > its
> > categorylinks have a cl_type of "page" instead of "file":
> > 
> 
> Are the those affected pages using Media: links by any chance?

I'm unclear how you can have a category link in the media namespace(?).

It looks almost like a failure of the schema update script ("page" is the
default cl_type if not set otherwise, and the categorylinks didn't have a
cl_collation entry, cl_sortkey still has namespace, etc. )


For reference, this is what a relavent entry in the categorylinks table looked
like (taken from toolserver):

          cl_from: 2602773
            cl_to: Andrea_Pozzo
       cl_sortkey: File:Fresco with Trompe l'oeuil - Andrea Pozzo -Jesuit
Church Vienna.jpg
     cl_timestamp: 2011-07-07 15:01:48
cl_sortkey_prefix: 
     cl_collation: 
          cl_type: page

On the other hand 2011-07-07 15:01:48 is after the categorylinks schema update.
On the other hand, the image wasn't edited anywhere remotely near that date, so
I still think its just an artifact of updateCollations.php doing something
wrong for one individual file.

------

Note, I did some dummy edits to [[commons:File:Fresco with Trompe l'oeuil -
Andrea Pozzo -Jesuit Church Vienna.jpg]] since there's no sense in forcing
commons to live with the bug while we think of what to do about it (I still
feel MediaWiki should handle the situation more gracefully). To reproduce you
simply have to manually change the cl_type from "file" to "page" on some
categorylink entry on your test wiki.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to