Community Wishlist Survey 2017/Wiktionary/Context-dependent sort key
Context-dependent sort key
- Problem: In most Wiktionary projects, words of different languages share a page if their spellings are identical. Currently, the magic word DEFAULTSORT works for an entire page, which means we cannot define a default sort key for each language in the same page. That is an issue especially for Chinese and Japanese. They share characters but their sort keys are totally different (pinyin for Chinese, hiragana for Japanese). If it is allowed to define a default sort key for each section, it will be much easier to correctly categorize pages.
- Who would benefit: Editors of Wiktionary, especially those who edit Chinese and Japanese entries.
- Proposed solution: Introduction of a new magic word, say, SECTIONSORT, that works for all categories after it up to the next usage of the same magic word. SECTIONSORT should override DEFAULTSORT if both are defined. The use of SECTIONSORT without a sort key should clear the previous sort key (and should not define an empty sort key).
- More comments:
- Phabricator tickets:
- Proposer: TAKASUGI Shinji (talk) 04:21, 14 November 2017 (UTC)
- Translations: none yet
Discussion
edit- This is a crucial issue in doing a dictionary to have wrong classifications for the entries. This problem is here since the beginning of Wiktionary and may be solve in a year, so I think it is a great suggestion for this survey Noé (talk) 09:34, 21 November 2017 (UTC)
- Yes, because the current solution is neither easy nor elegant. PS: it concerns many languages (ex: Swedish vs Norwegian, Russian vs Ossetian, etc.). JackPotte (talk) 11:06, 21 November 2017 (UTC)
- to me this just looks completely wrong. We have language specific versions of a wiki, linking to multiple translations of a term, and then expect to do multilingual sorting in categories... That's not what a wiki page is supposed to do.. This is an example of using the wrong hammer to solve your problem I think. Someone needs to take a deep look at technology for wiktionary and draw up a plan to make this more sustainable. —TheDJ (talk • contribs) 15:13, 29 November 2017 (UTC)
- The Latin Wiktionary separates each language section (cf. wikt:la:de (fr), wikt:la:de (nl)) but all other Wiktionary projects combine different language entries in one page if they share the same spelling. — TAKASUGI Shinji (talk) 10:00, 2 December 2017 (UTC)
- IMHO the sort problem (at least in wiktionaries) is not a "page" problem but a category problem. We should be more directed to create "category" sort keys (which probably will solve allmost all problems) and not a new section key. General categories (ex. categories for "pages with errors") should have no key but categories for specific languages (or dialects of a language) should include a (say) CATSORT key.--Xoristzatziki (talk) 20:39, 9 December 2017 (UTC)
- You can specify a sort key for a category now. That is not a problem. In the case of Wiktionary, each entry often has quite a few categories. See wikt:en:日本 for example. Japanese categories should use a sort key of にほん, while Korean categories should use a sort key of 일본. Specifying an appropriate sort key for each category is possible but redundant and very tiresome. — TAKASUGI Shinji (talk) 05:33, 11 December 2017 (UTC)
@TAKASUGI Shinji: Vote is over now. Twenty votes, it's quite good. Should we put forward this proposal in Phabricator? I think a ticket could be a way to keep track of this request and may be appealing for a dev in the future. What do you think? Noé (talk) 07:08, 18 December 2017 (UTC)
- Yes, that’s a very good idea. Actually I’m not sure about the procedure on Phabricator. What should I do now? — TAKASUGI Shinji (talk) 08:39, 18 December 2017 (UTC)
- It's quite easy. In Phabricator, you can get an access with your wiki account and then on the top-right corner there is a link "Create task" where you can describe your idea. If I am right, there is two places with names: "subscribers" is for you and I, "assigned to" is for people that take responsability of coding it. There is "tag" where I usually put "Wiktionary" but as your proposal is wider, you may let it blank and someone with a better understanding of Phabricator could fill it. For the specific writing, I am still not very confident, so try to be as specific as possible. I am still a beginner on this platform, so I am sorry if I give you vague advices. Well, people are nice there anyway. Noé (talk) 09:02, 18 December 2017 (UTC)
- Thank you very much. I have created a task: phab:T183747. — TAKASUGI Shinji (talk) 13:47, 28 December 2017 (UTC)
- It's quite easy. In Phabricator, you can get an access with your wiki account and then on the top-right corner there is a link "Create task" where you can describe your idea. If I am right, there is two places with names: "subscribers" is for you and I, "assigned to" is for people that take responsability of coding it. There is "tag" where I usually put "Wiktionary" but as your proposal is wider, you may let it blank and someone with a better understanding of Phabricator could fill it. For the specific writing, I am still not very confident, so try to be as specific as possible. I am still a beginner on this platform, so I am sorry if I give you vague advices. Well, people are nice there anyway. Noé (talk) 09:02, 18 December 2017 (UTC)
Voting
edit- Support It is simple but very important to structure Wiktionaries pages. Noé (talk) 18:22, 27 November 2017 (UTC)
- Support Goldzahn (talk) 23:39, 27 November 2017 (UTC)
- Support --Liuxinyu970226 (talk) 13:32, 28 November 2017 (UTC)
- Support Consulnico (talk) 15:28, 28 November 2017 (UTC)
- Support Jc86035 (talk) 15:42, 28 November 2017 (UTC)
- Support Otourly (talk) 16:38, 28 November 2017 (UTC)
- Support Thomas Obermair 4 (talk) 23:29, 28 November 2017 (UTC)
- Support Libcub (talk) 06:05, 29 November 2017 (UTC)
- Support Donald Trung (Talk 🤳🏻) (My global lock 🔒) (My global unlock 🔓) 13:35, 29 November 2017 (UTC)
- Support Problem to be solvedǃ In addition to this problem, I have a feeling that SECTIONSORT may be useful for other usages or other wiki projects, once it is enabled. Yapparina (talk) 12:12, 30 November 2017 (UTC)
- Support Gato Preto (talk) 14:58, 30 November 2017 (UTC)
- Support Pamputt (talk) 18:55, 1 December 2017 (UTC)
- Support ~Cybularny Speak? 13:42, 2 December 2017 (UTC)
- Support Suzukaze-c (talk) 02:41, 3 December 2017 (UTC)
- Support Assassas77 (talk) 11:18, 3 December 2017 (UTC)
- Support Lmaltier (talk) 06:56, 4 December 2017 (UTC)
- Support Lyokoï (talk) 19:00, 4 December 2017 (UTC)
- Support JAn Dudík (talk) 07:59, 6 December 2017 (UTC)
- Support Urhixidur (talk) 17:22, 8 December 2017 (UTC)
- Weak oppose --Xoristzatziki (talk) 20:39, 9 December 2017 (UTC)
- Support Psychoslave (talk) 09:03, 11 December 2017 (UTC)