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

Tim Starling <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Tim Starling <[email protected]> 2011-12-13 04:57:58 
UTC ---
The test cases I've checked all involve <gallery>. One of them has a gallery
which uses a mixture of Bild: and Datei: namespaces:

<https://de.wikipedia.org/w/index.php?title=Haleakal%C4%81-Nationalpark&oldid=96185932&action=edit>

The imagelinks table row for the image with Datei: is correct, but the one with
Bild: has the prefix. 

mysql> select il_to from imagelinks,page where page_id=il_from and
page_namespace=0 and page_title='Haleakalā-Nationalpark';
+-----------------------------------------+
| il_to                                   |
+-----------------------------------------+
| Bild:Kipahulu_coast.jpg                 |
| Bild:Panorama_Haleakala.jpg             |
| Bild:Panorama_Haleakala2.jpg            |
| Commons-logo.svg                        |
| Haleakala_National_Park_map_2008.08.jpg |
| Haleakala_crater.jpg                    |
| Maui_moku_map_2.jpg                     |
+-----------------------------------------+


It's consistent with the namespaceAliases item in the localisation cache being
empty, but the namespaceNames being correct. If Bild is not a recognised
namespace, then normal image links would be converted to pagelinks entries, but
in a gallery they get put in the imagelinks table. Sure enough:

mysql> select pl_namespace,pl_title from pagelinks,page where page_id=pl_from
and page_namespace=0 and page_title='Haleakalā-Nationalpark';

...
|            0 | Bild:USA_Hawaii_location_map.svg          |
...

Probably shares a root cause with bug 31576.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to