Last modified: 2007-12-01 15:07:24 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 T13947, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11947 - ZH lonelypagestext like deadendpagestext; also variants bug
ZH lonelypagestext like deadendpagestext; also variants bug
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.12.x
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-12 04:25 UTC by Dan Jacobson
Modified: 2007-12-01 15:07 UTC (History)
1 user (show)

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


Attachments

Description Dan Jacobson 2007-11-12 04:25:20 UTC
In the ZH translations, lonelypagestext is written as if it is
deadendpagestext. the "variants" expose it...

$ cd mediawiki-1.11.0/languages/messages
$ egrep '(dead|lonely).*text' *En* *Zh_??.*|rev|sort|rev
MessagesEn.php:'lonelypagestext'                 => 'The following pages are not linked from other pages in this wiki.',
MessagesEn.php:'deadendpagestext'                => 'The following pages do not link to other pages in this wiki.',
MessagesZh_tw.php:'deadendpagestext'        => '以下頁面沒有被連結到這個wiki中的其它頁面:',
MessagesZh_cn.php:'deadendpagestext'        => '以下页面没有被链接到这个wiki中的其它页面:',
MessagesZh_tw.php:'lonelypagestext'         => '以下頁面沒有連結這個wiki中的其它頁面。',
MessagesZh_cn.php:'lonelypagestext'         => '以下页面没有链接这个wiki中的其它页面。',

I would overwrite deadendpagestext with the clearer contents of
lonelypagestext. I.e., UNIX
$ mv lonelypagestext deadendpagestext

OK, what now to use for lonelypagestext? This exposes a much greater bug:
$ cat k
while read x
do
  echo $x
  w3m -dump http://zh.wikipedia.org/w/index.php?title=Special:Lonelypages\&$x|
    egrep wiki\|本站|grep -v http
done<<EOF
variant=zh-tw
variant=zh-cn

uselang=en
$ sh k
variant=zh-tw
以下頁面沒有連結這個wiki中的其它頁面。 <WRONG, dead not lonely
variant=zh-cn
以下页面没有链接这个wiki中的其它页面。 <WRONG, dead not lonely

以下页面尚未被本站的其他页面链接。  <CORRECT
uselang=en
The following pages are not linked from other pages in this wiki.

That's right, only one line is correct. So there is problems in the
variant system, which mostly coughs up the bad lonelypages line which
reads like the deadpages line.
Comment 1 Shinjiman 2007-11-25 11:06:36 UTC
Just summarise them, that would be a incorrect translation for those messages.

And the Chinese translation of lonelypagestext should be "以下页面尚未被本站的其他页面链接。"?

If it is, that would only the translation messages issue, and it does not related to the "variant" of the software.
Comment 2 Shinjiman 2007-11-26 13:37:04 UTC
The changes for those two messages with incorrect translation (deadendpagestext and lonelypagestext) is included in the patch inside the attchment 4383 for the bug 12058.
Comment 3 Shinjiman 2007-12-01 15:07:24 UTC
I think that that was fixed in r27848, please reopen the bug if still the issue still exists.

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


Navigation
Links