Last modified: 2014-10-09 19:02:15 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 T44288, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42288 - Categorize {{#babel}} on sv-wikt
Categorize {{#babel}} on sv-wikt
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
wmf-deployment
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Dereckson
https://sv.wiktionary.org/w/index.php...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-20 11:38 UTC by Dan Wolff
Modified: 2014-10-09 19:02 UTC (History)
2 users (show)

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


Attachments

Description Dan Wolff 2012-11-20 11:38:25 UTC
I'd like to enable categorization of {{#babel}} for sv-wikt.

{{#babel|sv}}
should categorize into: "Kategori:Användare sv" and "Kategori:Användare sv-N"

while {{#babel|fi-0}}
should categorize into: "Kategori:Användare fi" and "Kategori:Användare fi-0"

etc.
Comment 1 Dereckson 2012-11-20 14:07:59 UTC
Please discuss the matter on the svenskspråkiga Wiktionary's most appropriated place, like [[sv:wikt:Wiktionary:Bybrunnen]].

We would like especially to know if your community wishes to uses categories till level 4 or 5.

[ +shellpolicy ]
Comment 2 Andre Klapper 2012-12-20 14:59:37 UTC
Dan: Could you paste a link to the discussion on the local wiki, please?
Comment 3 Dan Wolff 2012-12-20 15:28:40 UTC
There has been very little discussion thus far, probably because the community is very small and the people who are active now are not particularly interested in structural changes, like this one.

It seems like Dodde and I (Skalman) agree that we want to:
* use sv-N for mother tongue
* use levels 0-4 (not include level 5; like en-wikt)
* categorize users under: "Kategori:Wiktionary:Användare <langcode>" and "Kategori:Wiktionary:Användare <langcode>-<level>", e.g.:
** "Kategori:Wiktionary:Användare sv" and "Kategori:Wiktionary:Användare sv-N"

The only difference from our current {{babel}} system is that this would add a "Wiktionary:" prefix to the categories.

Discussion can be found at:
https://sv.wiktionary.org/w/index.php?title=Wiktionary:Bybrunnen&oldid=1497087#.7B.7B.23babel.7D.7D_ist.f._.7B.7Bbabel.7D.7D
Comment 4 Dereckson 2012-12-20 21:21:49 UTC
Thank you for the follow-up.

I will prepare your configuration change later this evening.
Comment 5 Dereckson 2012-12-21 11:35:51 UTC
Your configuration change is ready.

Gerrit change #39747.

Note: deployment will be slowed down in December, so if not deployed in the next few days, you can expect it early January.
Comment 6 Dereckson 2012-12-22 18:35:25 UTC
Deployed.
Comment 7 Dan Wolff 2012-12-22 20:09:49 UTC
Alright, it seems to work, but not exactly as I expected.

I expected that writing {{#babel|sv-5}} would result in the exact same thing as sv-4, since the -5 is supposed to be disabled. Instead it only seems like the -5 *category* is disabled.

Is that how it's supposed to work, or is there a bug in here? If it's an expected result, I'll ignore it and you may close the bug again.
Comment 8 Dereckson 2012-12-22 20:12:47 UTC
This is by feature: this setting controls the categories to create automatically.

Render yy-5 as yy-4 would mean print an information different than the information expected by the user.
Comment 9 Dan Wolff 2012-12-22 20:16:07 UTC
Alright! Re-closing the bug. Thanks for your help.
Comment 10 Dereckson 2012-12-22 20:19:06 UTC
You're welcome.

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


Navigation
Links