https://lakeus.xyz/index.php?title=User:Lakejason0/Archive&feed=atom&action=history User:Lakejason0/Archive - 版本历史 2024-03-29T15:34:32Z 本wiki上该页面的版本历史 MediaWiki 1.41.1 https://lakeus.xyz/wiki/User:Lakejason0/Archive?diff=6040&oldid=prev Lakejason0:​// Edit via Wikiplus 2021-08-06T16:12:45Z <p>// Edit via Wikiplus</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="zh"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">←上一版本</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">2021年8月6日 (五) 16:12的版本</td> </tr><tr> <td colspan="2" class="diff-lineno">第70行:</td> <td colspan="2" class="diff-lineno">第70行:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Also, the new VisualEditor still doesn't support LanguageConverter functionality, which become a blocker to make 2017 editors became the default editor on WMF zh sites.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Also, the new VisualEditor still doesn't support LanguageConverter functionality, which become a blocker to make 2017 editors became the default editor on WMF zh sites.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>And then it was moved to subdirectory of /language again.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>And then it was moved to subdirectory of <ins style="font-weight: bold; text-decoration: none;">{{cd|</ins>/language<ins style="font-weight: bold; text-decoration: none;">}}</ins> again.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Then, what will going next?</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Then, what will going next?</div></td> </tr> </table> Lakejason0 https://lakeus.xyz/wiki/User:Lakejason0/Archive?diff=6039&oldid=prev Lakejason0:​创建页面,内容为“{{DISPLAYTITLE:The History of LanguageConverter on Wikipedia-zh}} == History == At first, Wikipedia-zh write one article in two pages — one for Simplified Han scri…” 2021-08-06T16:11:44Z <p>创建页面,内容为“{{DISPLAYTITLE:The History of LanguageConverter on Wikipedia-zh}} == History == At first, Wikipedia-zh write one article in two pages — one for Simplified Han scri…”</p> <p><b>新页面</b></p><div>{{DISPLAYTITLE:The History of LanguageConverter on Wikipedia-zh}}<br /> == History ==<br /> At first, Wikipedia-zh write one article in two pages — one for Simplified Han script (writing system) ({{cd|zh-Hans}}), another for Traditional Han script ({{cd|zh-Hant}}) and placed a link to different version (page) at the top of the page.<br /> <br /> However, with the increasing articles, the community acknowledged that it will be hard to maintain different variants on different pages, and need to sync back and forth across different articles. Templates, help pages also need to be &quot;doubled&quot;, and manual conversion costs a lot of time, especially with long content, source code and/or syntax.<br /> <br /> {{q|so something like there are 2 systems of writing?}}<br /> {{q|Yes.&lt;br&gt;But with some common parts.}}<br /> <br /> === Beginning ===<br /> {{q|I was always wondering why there is that language region switcher. Has it something with China mainland or?}}<br /> {{q|No.&lt;br&gt;Something with Wikipedia-zh.}}<br /> {{q|You mean variant menu + LanguageConverter, right?}}<br /> {{q|yes}}<br /> <br /> Keep moving on: Then, the proposal for &quot;making a content converter in MediaWiki&quot; came out.<br /> <br /> &quot;With a content converter, we can easily making both writing system display at the same place.&quot;<br /> <br /> There were many kinds of solutions take into the discussion.<br /> <br /> And the first implement is more like a plugin or extension. It is using the simplest way: replace.<br /> <br /> It also only provides two variants: Simplified script and Traditional script.<br /> <br /> Then, the community discovered a big issue:<br /> <br /> character-by-character conversion doesn&#039;t fit the need of reading with &quot;native terms&quot;.<br /> <br /> This also created another barrier reading the article even after the conversion.<br /> <br /> Thus, the term conversion functionality is added to the converter.<br /> <br /> Example: lift (BrE) &lt;=&gt; elevator (ArE); web log &lt;=&gt; blog.<br /> <br /> And we now have the design and the functionality requirements of the feature.<br /> <br /> As it is a key feature, LanguageConverter then being added/implemented into MediaWiki core. It is first binded to the {{cd|Language}} PHP class.<br /> <br /> As the local term functionality is part of the feature, {{cd|zh-Hans-CN}}, {{cd|zh-Hans-SG}}, {{cd|zh-Hant-TW}}, {{cd|zh-Hant-HK}} are now valid variants in the converter.<br /> <br /> But it&#039;s not the same scope nowadays.<br /> <br /> {{cd|zh-Hans-SG}} was a combination of Singapore Simplified Chinese and Malaysia Simplified Chinese.<br /> <br /> {{cd|zh-Hant-HK}} was a combination of Hong Kong Traditional Chinese and Macau Traditional Chinese.<br /> <br /> I didn&#039;t remember the order, but:<br /> <br /> These 2 variants then divided to 4 variants: {{cd|zh-Hans-MY}} and {{cd|zh-Hant-MO}} are being added/split.<br /> <br /> So now, combining with &quot;unconverted&quot;, &quot;Simplified Han script&quot;, &quot;Traditional Han script&quot;, we have 9 variants in zh:<br /> &lt;poem&gt;<br /> {{cd|zh}}: unconverted<br /> {{cd|zh-hans}} / {{cd|zh-Hans}}: Simplified Han script<br /> {{cd|zh-hant}} / {{cd|zh-Hant}}: Traditional Han script<br /> {{cd|zh-cn}} / {{cd|zh-Hans-CN}}: Mainland China Simplified Chinese<br /> {{cd|zh-sg}} / {{cd|zh-Hans-SG}}: Singapore Simplified Chinese<br /> {{cd|zh-my}} / {{cd|zh-Hans-MY}}: Malaysia Simplified Chinese<br /> {{cd|zh-tw}} / {{cd|zh-Hant-TW}}: Taiwan Traditional Chinese<br /> {{cd|zh-hk}} / {{cd|zh-Hant-HK}}: Hong Kong Traditional Chinese<br /> {{cd|zh-mo}} / {{cd|zh-Hant-MO}}: Macau Traditional Chinese<br /> &lt;/poem&gt;<br /> And guess what happend next?<br /> <br /> LanguageConverter have been split to another independent class in core MediaWiki.<br /> <br /> Those converter files have been moved twice.<br /> <br /> Also, the new VisualEditor still doesn&#039;t support LanguageConverter functionality, which become a blocker to make 2017 editors became the default editor on WMF zh sites.<br /> <br /> And then it was moved to subdirectory of /language again.<br /> <br /> Then, what will going next?<br /> <br /> [ To be continued ]</div> Lakejason0