Last modified: 2012-02-27 20:21:12 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 T36219, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34219 - Disable Babel autocreation of categories at the Portuguese Wiktionary
Disable Babel autocreation of categories at the Portuguese Wiktionary
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n, shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-05 23:54 UTC by Malafaya
Modified: 2012-02-27 20:21 UTC (History)
3 users (show)

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


Attachments

Description Malafaya 2012-02-05 23:54:34 UTC
Please, disable the autocreation of categories by the Babel extension at the Portuguese Wiktionary (pt.wiktionary). The current text is no good for us, so it's better to be warned of a missing category.
Thanks.
Comment 1 Beta16 2012-02-06 08:31:26 UTC
You can customize the text by changing the following messages in your project:
* [[:wikt:pt:MediaWiki:Babel-autocreate-text-main]]
* [[:wikt:pt:MediaWiki:Babel-autocreate-text-levels]]
Comment 2 Malafaya 2012-02-06 11:32:23 UTC
The problem here is the language name, which isn't or can't be localized.
Comment 3 Robin Pepermans (SPQRobin) 2012-02-06 11:41:11 UTC
For your information, the language names are taken from CLDR, which contains relatively few language names for Portuguese: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/cldr/CldrNames/CldrNamesPt.php?view=markup
Comment 4 Sam Reed (reedy) 2012-02-06 15:10:43 UTC
(In reply to comment #3)
> For your information, the language names are taken from CLDR, which contains
> relatively few language names for Portuguese:
> http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/cldr/CldrNames/CldrNamesPt.php?view=markup

^ Fixing upstream would be a much better long term solution for this...
Comment 5 Sam Reed (reedy) 2012-02-06 15:17:23 UTC
Done for the moment

Please see http://cldr.unicode.org/index/bug-reports and look at helping them flesh out the data :)
Comment 6 Malafaya 2012-02-06 15:55:58 UTC
(In reply to comment #3)
> For your information, the language names are taken from CLDR, which contains
> relatively few language names for Portuguese:
> http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/cldr/CldrNames/CldrNamesPt.php?view=markup

I downloaded the core.zip file from CLDR and inside common/main, the pt.xml file contains more than 500 language names. It's possible that you're probably using just the pt-PT.xml, which seems to just contain the exceptions to the base pt.xml file.
Comment 7 Sam Reed (reedy) 2012-02-27 20:21:12 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > For your information, the language names are taken from CLDR, which contains
> > relatively few language names for Portuguese:
> > http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/cldr/CldrNames/CldrNamesPt.php?view=markup
> 
> I downloaded the core.zip file from CLDR and inside common/main, the pt.xml
> file contains more than 500 language names. It's possible that you're probably
> using just the pt-PT.xml, which seems to just contain the exceptions to the
> base pt.xml file.

Similar looks to be for pt-br

It would seem that cldr doesn't honour fallbacks then... ie It should pull in pt.xml, and then overwrite any duplicate keys with from the pt-pt file to CldrNamesPt.php and pt-br file to CldrNamesPt_br.php

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


Navigation
Links