There is the example . https://lcw.a2hosted.com/index.php?title=Template:CC_BY-SA_4.0_wiki&diff=2671&oldid=2670 And also https://wiki.52poke.com/index.php?title=%E5%AE%9D%E5%8F%AF%E6%A2%A6_%E6%97%85%E9%80%94_%E7%AC%AC8%E9%9B%86&diff=prev&oldid=2248458 i have no idea where go wrong.
Topic on Project:Support desk/Flow
Appearance
Please provide a clearer description of a problem. Maybe you see something somewhere, but that does not mean that the same thing happens also for someone else.
sorry, my expression is not good.Can you see the photo imgur.com/a/oQMUIAH,thanks.
What are you expecting to see for that diff? It doesn't look wrong to me, on first glance.
Please describe what you expect, and describe what happens instead. A small image without context does not help. :)
| }}<noinclude>{{doc}}</noinclude><includeonly>[[Category:转移自 |
}}<noinclude>{{doc}}</noinclude><includeonly>[[Category:转移自 中文維基百科 的作品]]</includeonly> |
as you can see there is space between 自中. expect: <nowiki>[/<nowiki>[Category:转移自中文維基百科的作品]]
Looking at the right hand side, the new text in the page is [[Category:转移自中文維基百科的作品]] but the diff has an extra space character on either side of the highlighted text: [[Category:转移自 中文維基百科 的作品]]. The same is happening on the left hand side's highlighted text. I'm not pretending to speak Chinese, or whatever this language is - just pointing out the extra spaces, which I don't think I've seen on English wikis.
Zh has some segmentation code for diffs that only apply to that language. Maybe there is a bug in it.
This is the bug that I fixed in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/935823 . I was able to reproduce it locally by reverting that change. It doesn't affect Wikimedia websites since we use wikidiff2 which has its own system for Chinese segmentation. The solution is to either apply that patch to your wiki, or wait for MediaWiki 1.41, or install wikidiff2.
Thanks a lot.