Last modified: 2013-12-29 13:12:50 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 T46864, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44864 - Translatable category is added to all its translation pages
Translatable category is added to all its translation pages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Seb35
https://www.mediawiki.org/wiki/Catego...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-11 05:55 UTC by Nemo
Modified: 2013-12-29 13:12 UTC (History)
7 users (show)

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


Attachments

Description Nemo 2013-02-11 05:55:33 UTC
[[mw:Category:MediaWiki_Introduction/fi]] shows:
Categories    MediaWiki Introduction    Top level/fi    Documentation/fi
The /fi categories are added by {{Langcat}}, but "MediaWiki Introduction" comes from nowhere: the template doesn't add it, as Special:ExpandTemplates proves, and removing <languages/> doesn't solve it (nor dummy edits).
The wrong category is not shown with permalinks https://www.mediawiki.org/?oldid=636378
Comment 1 Niklas Laxström 2013-02-11 07:05:13 UTC
https://www.mediawiki.org/wiki/Category:MediaWiki_Introduction does not list it as a subcategory.
Comment 2 Niklas Laxström 2013-02-11 07:07:48 UTC
Why is that category a translatable page if there is nothing to translate?
Comment 3 Nemo 2013-02-11 07:09:47 UTC
(In reply to comment #1)
> https://www.mediawiki.org/wiki/Category:MediaWiki_Introduction does not list
> it
> as a subcategory.

Sure, the bug is only about what's shown on the category page. I don't know if this makes it more or less broken (breakage is shown in less places but inconsistency confuses users).

(In reply to comment #2)
> Why is that category a translatable page if there is nothing to translate?

To use <languages/> and encourage addition of descriptions. It's a test for a wider use on all mediawiki.org categories.
Comment 4 Paul Kaganer 2013-02-11 08:35:12 UTC
(In reply to comment #2)
> Why is that category a translatable page if there is nothing to translate?

Note: By way, if category have no translatable strings, upper caption is "This page is a translated version of a page and the translation is 0% complete". In my opinion, should be "100%".
Comment 5 Nemo 2013-02-11 08:47:59 UTC
Split comment 4 to bug 44867.
Comment 6 Siebrand Mazeland 2013-02-26 18:22:43 UTC
Marking this as lowest priority. Using the Translatable Page feaeture for "category translation" is out of product scope, as is fixing issues in that area at the moment.
Comment 7 Nemo 2013-02-27 08:43:47 UTC
(In reply to comment #6)
> Marking this as lowest priority. Using the Translatable Page feaeture for
> "category translation" is out of product scope, as is fixing issues in that
> area at the moment.

Sigh. Worst news of the day after Italian elections... gotta get accustomed to it.
Any idea on who we can ask for suggestions on how to work around this deficiency? It's quite a critical requirement for Meta, mediawiki.org and Meta communities.
Comment 8 Niklas Laxström 2013-06-09 18:24:18 UTC
The permalink and the normal category view of that page have the same pages for me. I am assuming this has been fixed.
Comment 9 Nemo 2013-06-09 18:41:08 UTC
(In reply to comment #8)
> The permalink and the normal category view of that page have the same pages
> for
> me. I am assuming this has been fixed.

I see:

Categories (++):

    MediaWiki Introduction
    Top level/fi
    Documentation/fi
    (+)
Comment 10 Seb35 2013-12-28 14:47:46 UTC
I wonder if it is a bug, since it behaves exactly as it should ;-) apart the header message on [[mw:Category:MediaWiki Introduction/kl]] says: "This page is a translated version of a page and the translation is 0% complete." (NB: one word is missing: the name of the original page "Category:MediaWiki Introduction").

The header message tpt-translation-intro is intrepreted as wikitext, so the "[[Category:MediaWiki Introduction]]" is interpreted as it. If you set up a translation on an image (File:) you get the image displayed -- by comparison the translation of Category: pages (quite perfect imho) is a lot nicer than the translation of File: pages (perhaps even it should be hard-disabled on File: pages imho, at least for now).

The solution for this bug is then to escape the link with a colon at the start, following what is done on MediaWiki:Translate-tag-page-desc.

I am about to submit the corresponding Gerrit patch. I have some questions on it; I comment these on Gerrit since it’s linked to the resolution.
Comment 11 Gerrit Notification Bot 2013-12-28 14:58:17 UTC
Change 104204 had a related patch set uploaded by Seb35:
Escape special namespaces in some messages

https://gerrit.wikimedia.org/r/104204
Comment 12 Gerrit Notification Bot 2013-12-29 12:06:09 UTC
Change 104204 merged by jenkins-bot:
Escape special namespaces in some messages

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

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


Navigation
Links