Last modified: 2009-07-08 22:38:23 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 T19712, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17712 - uselang=en translation string vs. zh-tw
uselang=en translation string vs. zh-tw
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.16.x
All All
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Philip Tzou
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-28 00:03 UTC by Dan Jacobson
Modified: 2009-07-08 22:38 UTC (History)
2 users (show)

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


Attachments
script to run the test easily (208 bytes, text/plain)
2009-06-19 22:52 UTC, Dan Jacobson
Details

Description Dan Jacobson 2009-02-28 00:03:03 UTC
Why does this give this different result if one adds uselang=en?

set 'http://radioscanningtw.jidanni.org/index.php?title=bla&action=edit&redlink=1'
for i in '' '&uselang=en'
do lynx -dump --listonly $1$i|perl -MURI::Escape -nwle 'print uri_unescape($_);'
done|grep 說

   8. http://radioscanningtw.jidanni.org/index.php?title=使用說明:說明
   8. http://radioscanningtw.jidanni.org/index.php?title=使用說明:目錄

I mean if you are going to give a zh-tw result, you might as well give the same.
Comment 1 Niklas Laxström 2009-02-28 16:30:44 UTC
The link should always be from content language. My guess is that the language converter is doing some things here.
Comment 2 Siebrand Mazeland 2009-02-28 20:13:15 UTC
Assigning to Philip.
Comment 3 Dan Jacobson 2009-02-28 20:48:03 UTC
(In reply to comment #1)
> The link should always be from content language. My guess is that the language
> converter is doing some things here.
The problem might be in Title.php. The Messages*.php files are fine.
Comment 4 Dan Jacobson 2009-06-19 22:52:02 UTC
Created attachment 6241 [details]
script to run the test easily

I didn't do anything special in LocalSettings.php other than $wgLanguageCode='zh-tw'.
Comment 5 Shinjiman 2009-07-08 19:58:06 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > The link should always be from content language. My guess is that the language
> > converter is doing some things here.
> The problem might be in Title.php. The Messages*.php files are fine.

The actual issue is in the Messages*.php file. The 'newarticletext' has a hardcoded link on there.
It should be link to the message 'helppage'.
It is not an issue for the Language Converter.

Fixed in r52941.
Comment 6 Niklas Laxström 2009-07-08 22:38:23 UTC
Thank you for digging it up.

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


Navigation
Links