Last modified: 2012-03-03 18:48:37 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 T36728, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34728 - Categories added to user pages by Babel in pt.wiktionary
Categories added to user pages by Babel in pt.wiktionary
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Sam Reed (reedy)
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-26 12:09 UTC by Malafaya
Modified: 2012-03-03 18:48 UTC (History)
3 users (show)

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


Attachments

Description Malafaya 2012-02-26 12:09:07 UTC
The Babel extensions is currently not adding categories to user pages.

Please add the following Babel configuration variables for pt.wiktionary:

$wgBabelCategoryNames = array(
'0' => '!Usuário %code%-0',
'1' => '!Usuário %code%-1',
'2' => '!Usuário %code%-2',
'3' => '!Usuário %code%-3',
'4' => '!Usuário %code%-4',
'5' => '!Usuário %code%-5',
'N' => '!Usuário %code%-M'
);

Thank you!
Comment 1 Malafaya 2012-02-26 12:12:14 UTC
I just noticed I had requested this before in bug 33319 (actually, I had that impression but you never know). Something must have happened probably with the MW1.19 upgrade. Please, check.
Comment 2 Mark A. Hershberger 2012-02-26 21:13:58 UTC
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php shows

    'ptwiki' => array(
        '0' => false,
        '1' => 'Usuário %code%-1',
        '2' => 'Usuário %code%-2',
        '3' => 'Usuário %code%-3',
        '4' => false,
        '5' => false,
        'N' => 'Usuário %code%',
    ),
    // bug 34219
/*    'ptwiktionary' => array(
        '0' => '!Usuário %code%-0',
        '1' => '!Usuário %code%-1',
        '2' => '!Usuário %code%-2',
        '3' => '!Usuário %code%-3',
        '4' => '!Usuário %code%-4',
        '5' => '!Usuário %code%-5',
        'N' => '!Usuário %code%-M',
    ),
*/


I think you should read the comments on Bug 34219.  Closing this one WONTFIX so we can resolve Bug 34219.
Comment 3 Malafaya 2012-02-27 12:49:37 UTC
I didn't tunderstand the relation. Bug 34219 was submitted by me and is related to the auto-creation of categories (category pages), not with the inclusion of user pages in categories (adding categories to user pages). We want the categories to be added to user pages but we don't want the extension to auto-create the categories themselves, because the text is not suitable (namely, the language names are not good).

Do you mean that we either must have both features enabled or none?
Comment 4 Malafaya 2012-02-27 12:53:11 UTC
If we must chose between both or none, then we prefer both. Could you please uncomment the categories configuration, please?
Comment 5 Mark A. Hershberger 2012-02-27 17:56:57 UTC
I've asked Sam Reedy to weigh in since he is the one charged with making these sort of changes.
Comment 6 Mark A. Hershberger 2012-02-27 18:23:49 UTC
s/Sam Reedy/Sam Reed/; # sorry, Sam!
Comment 7 Robin Pepermans (SPQRobin) 2012-02-27 20:24:13 UTC
(In reply to comment #3)
> Do you mean that we either must have both features enabled or none?

Indeed, Babel is coded so that you either have categories (which are then auto-created), or no categories at all. A workaround is to block the user that creates the categories.
Comment 8 Sam Reed (reedy) 2012-02-27 20:31:39 UTC
(In reply to comment #7)
> (In reply to comment #3)
> > Do you mean that we either must have both features enabled or none?
> 
> Indeed, Babel is coded so that you either have categories (which are then
> auto-created), or no categories at all. A workaround is to block the user that
> creates the categories.

Malafaya, do you want me to reinstate the config changes, and then you can have the bot/user blocked locally?
Comment 9 Malafaya 2012-02-28 11:29:38 UTC
Sam,

yes, please. I'll block the Babel auto creation user locally. Thanks again!
Comment 10 Sam Reed (reedy) 2012-03-03 18:48:37 UTC
Done

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


Navigation
Links