Last modified: 2013-01-26 22:30:26 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 T46201, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44201 - Category page containing duplicate pagelink for source language
Category page containing duplicate pagelink for source language
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
REL1_19-branch
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-21 10:16 UTC by MWUser
Modified: 2013-01-26 22:30 UTC (History)
4 users (show)

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


Attachments
Duplicate category listing (10.49 KB, image/png)
2013-01-21 10:16 UTC, MWUser
Details

Description MWUser 2013-01-21 10:16:19 UTC
Created attachment 11657 [details]
Duplicate category listing

Hi,
How do I get rid of the duplicate listing in a Category page 
of all pages in source language? 
First you see the page with no suffix and then the same page with /en(source language)suffix. See attached picture.

ex:

M
----------------------
Mypage
Mypage/en <--REMOVE HOW??

The page /en is not editable so I cant remove the category there.
Bug?

Thanks for all help, 
Karin
Comment 1 Nemo 2013-01-21 10:23:18 UTC
How are you adding the category to that page?

Docs explain what's currently supported in Translate: <https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_administration#Markup_examples> (in short, all in same category or template wizardry that you have to find out yourself).
Comment 2 MWUser 2013-01-22 09:07:43 UTC
It doesn´t matter if I put the </translate> tags above or after the category as this:

Mypage

<translate>
this is all text in my page....

[[MyCategory]]
</translate>

OR

<translate>
this is all text in my page....

</translate>

[[MyCategory]]

A copy of the page for the source language (in my case english)is still created like: Mypage/en. This means that in MyCategory I end up with 2 pages (for the source language, not a problem for other languages) one source page and one copy with suffix "/en". Why is a copy of the page for source language created? I am not going to translate it.
Hope you understand my problem.
//Karin
Comment 3 Nemo 2013-01-22 09:17:40 UTC
Yes, I know it works like that, it's also explained in the docs linked above.
What I don't understand is what categorization system/scheme you're using.
Comment 4 MWUser 2013-01-22 12:26:59 UTC
Translation by adding language suffix: Category:Cars/fi
I have one category for each language.
Ex
Cars/sv
Cars/fi
Cars/ru
Comment 5 Nemo 2013-01-26 22:30:26 UTC
Again, when I've asked in the past I was told this isn't going to be supported (not even by examples in the documentation). 
You have to do it on your own with templates, like [[mw:Template:Langcat]] (in use on translatewiki.net too).

Maybe in the future this will be rethought, but this is the situation.

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


Navigation
Links