[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Andre Klapper changed: What|Removed |Added Keywords||shell Priority|Unprioritized |Normal Severity|normal |enhancement -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Sam Reed (reedy) changed: What|Removed |Added CC||bawolff...@gmail.com Component|Site requests |Categories Product|Wikimedia |MediaWiki -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Bartosz Dziewoński changed: What|Removed |Added CC||matma@gmail.com Blocks||45443, 30673 --- Comment #1 from Bartosz Dziewoński --- I'll have to look into it; not sure if it's possible, and if it is, I'll have to figure out how to configure it. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #2 from Bartosz Dziewoński --- Also, there is a patch underway to make setting different collations on a per-category basis possible, see bug 44667 (it's a part of that branch). You might want to wait until it's available, to be able to set V=W for Swedish-language categories, and "normal" sorting for the rest. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #3 from Bawolff (Brian Wolff) --- Icu seems to support making custom collations at run time (based on docs). However php's intl extension doesnt seem to expose this. So we are probably left with hacking it over top (aka turn w to v before feeding it to icu). Or somehow getting upstream to make a sv historical collation (they already have 2 sv collations - reformed and normal) however that would probably be a difficult process I imagine. I suppose third option is getting php upstream to expose custom collation maling methods To clarify, when you say sort the same way do you mean totally identical, or just primary identical? (The sort algorithm has 3 levels. We check the primary level first ( ie different letters: A vs B) if there is a tie on that level for all letters then we move on to check accents (roughly). If there is a tie again we move on to checking case distinction. In your case it sounds like you would want V and W to be the same on the primary level but different on the secondary level - is that the case? (Which might be a moot point since the hack over top solution would only allow making them identical.) -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Bawolff (Brian Wolff) changed: What|Removed |Added Keywords|shell | --- Comment #4 from Bawolff (Brian Wolff) --- -shell. Needs new code written before shell can do anything. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #5 from Ronnie --- (In reply to comment #3) > Icu seems to support making custom collations at run time (based on docs). > However php's intl extension doesnt seem to expose this. So we are probably > left with hacking it over top (aka turn w to v before feeding it to icu). Or > somehow getting upstream to make a sv historical collation (they already > have 2 > sv collations - reformed and normal) however that would probably be a > difficult > process I imagine. I suppose third option is getting php upstream to expose > custom collation maling methods > > To clarify, when you say sort the same way do you mean totally identical, or > just primary identical? (The sort algorithm has 3 levels. We check the > primary > level first ( ie different letters: A vs B) if there is a tie on that level > for > all letters then we move on to check accents (roughly). If there is a tie > again > we move on to checking case distinction. In your case it sounds like you > would > want V and W to be the same on the primary level but different on the > secondary > level - is that the case? (Which might be a moot point since the hack over > top > solution would only allow making them identical.) If there are two pages with the defaultsort "Vallenberg" and "Wallenberg", I think "V" should be sorted before "W" as if "W" was a diacritic of "V", but it is not critical. Earlier "W" was just regarded as another way of writing "V". The letter "W" was almost only used in names and foreign words. Then somebody invented 'World Wide Web', and you know the rest of the story better than me... -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #6 from Ronnie --- (In reply to comment #2) > Also, there is a patch underway to make setting different collations on a > per-category basis possible, see bug 44667 (it's a part of that branch). You > might want to wait until it's available, to be able to set V=W for > Swedish-language categories, and "normal" sorting for the rest. Can be a good idea, but is is not essential. I think for example V=W content-namespaces, but normal Swedish settings for other namespaces, like User: and Project:. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #7 from Ronnie --- Can You meanwhile fix the ABC...ZÄÅÖ-problem (to ÅÄÖ) like you did for sv.wikipedia? -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Bartosz Dziewoński changed: What|Removed |Added Depends on||46036 --- Comment #8 from Bartosz Dziewoński --- (In reply to comment #7) > Can You meanwhile fix the ABC...ZÄÅÖ-problem (to ÅÄÖ) like you did for > sv.wikipedia? If you mean in exactly the same way as for sv.wikipedia (including the accented letters behavior change), then yes, but this is currently blocked by bug 46036. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Bug 46058 depends on bug 46036, which changed state. Bug 46036 Summary: Upgrade to ICU 4.8 for WMF https://bugzilla.wikimedia.org/show_bug.cgi?id=46036 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #9 from Bawolff (Brian Wolff) --- (In reply to comment #3) > Icu seems to support making custom collations at run time (based on docs). > However php's intl extension doesnt seem to expose this. So we are probably > left with hacking it over top (aka turn w to v before feeding it to icu). Or > somehow getting upstream to make a sv historical collation (they already > have 2 > sv collations - reformed and normal) however that would probably be a > difficult > process I imagine. I suppose third option is getting php upstream to expose > custom collation maling methods > > To clarify, when you say sort the same way do you mean totally identical, or > just primary identical? (The sort algorithm has 3 levels. We check the > primary > level first ( ie different letters: A vs B) if there is a tie on that level > for > all letters then we move on to check accents (roughly). If there is a tie > again > we move on to checking case distinction. In your case it sounds like you > would > want V and W to be the same on the primary level but different on the > secondary > level - is that the case? (Which might be a moot point since the hack over > top > solution would only allow making them identical.) I'm sorry, I made a mistake looking at the available collations. intl supports a "standard" collation (vs "reformed" which is what sv.wikipedia is using). The standard collation has rules: "&D<<đ<<<Đ<<ð<<<Ð" "&t<<<þ/h" "&T<<<Þ/H" "&v<
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Bawolff (Brian Wolff) changed: What|Removed |Added Keywords||patch-in-gerrit --- Comment #10 from Bawolff (Brian Wolff) --- for record, the change in MW (would still need a wmf config change to enable): gerrit change 55498 -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #11 from Bartosz Dziewoński --- Gerrit change #55498 merge, this should now be possible to do. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Bartosz Dziewoński changed: What|Removed |Added CC||tom...@twkozlowski.net Component|Categories |Site requests Version|unspecified |wmf-deployment Product|MediaWiki |Wikimedia -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Bartosz Dziewoński changed: What|Removed |Added Keywords|patch-in-gerrit |shell -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #12 from Gerrit Notification Bot --- Change 75351 had a related patch set uploaded by Reedy: Category sorting order for sv.wikisource https://gerrit.wikimedia.org/r/75351 -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 --- Comment #13 from Gerrit Notification Bot --- Change 75351 merged by jenkins-bot: Category sorting order for sv.wikisource https://gerrit.wikimedia.org/r/75351 -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46058] sorting order in categories for sv.wikisource
https://bugzilla.wikimedia.org/show_bug.cgi?id=46058 Sam Reed (reedy) changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #14 from Sam Reed (reedy) --- reedy@tin:/a/common/php-1.22wmf11$ mwscript maintenance/updateCollation.php --wiki=svwikisource --previous-collation=uppercase Fixing collation for 82831 rows. Selecting next 1 rows... processing...1 done. Selecting next 1 rows... processing...2 done. Selecting next 1 rows... processing...3 done. Selecting next 1 rows... processing...4 done. Selecting next 1 rows... processing...5 done. Selecting next 1 rows... processing...6 done. Selecting next 1 rows... processing...7 done. Selecting next 1 rows... processing...8 done. Selecting next 1 rows... processing...82831 done. 82831 rows processed -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l