Last modified: 2011-03-13 18:06:37 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 T20777, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18777 - Always use [[Special:Preferences|{{int:preferences}}]]
Always use [[Special:Preferences|{{int:preferences}}]]
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.16.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-12 22:19 UTC by Dan Jacobson
Modified: 2011-03-13 18:06 UTC (History)
1 user (show)

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


Attachments

Description Dan Jacobson 2009-05-12 22:19:09 UTC
Please just use |{{int:preferences}}]] instead of
 $ cd messages; perl -nlwe 'for(/\Q[[Special:Preferences\E.*\]/g){print}' MessagesEn.php
 [[Special:Preferences|{{SITENAME}} preferences]]
 [[Special:Preferences|account preferences]]
 [[Special:Preferences|user preferences]]
 [[Special:Preferences|user preferences]]
 [[Special:Preferences|preferences]]
 [[Special:Preferences|your user preferences]]
 [[Special:Preferences|user preferences]]
 Same for other languages too. Speaking of which,
 $ perl -nlwe "if(/'welcome/../',$/)"'{$h{$ARGV}.=$_}END{for(keys %h){$q++ if $h{$_}!~/SITENAME/}print $q}' *
 36
 of them mention {{SITENAME}} in the welcome string. Perhaps don't.
 $ perl -nlwe "if(/'welcome/../',$/)"'{$h{$ARGV}.=$_}END{for(keys %h){$q++ if $h{$_}!~/Preferences/}print $q}' *
 94
 of them give a link. The rest should too.

 OK, let's have a look at a few:
 $ perl -nlwe "if(/'welcome/../',$/){print}" *Zh*
 'welcomecreation'            => '== 欢迎, $1! ==

  您的账户已经建立,不要忘记设置[[Special:Preferences|{{SITENAME}}的个人参数]]。',
 'welcomecreation'            => '<h2>歡迎,$1!</h2><p>您的帳號已經建立,不要忘記設置[[Special:Preferences|{{SITENAME}}個人參數]]。</p>',
 'welcomecreation'            => '<h2>歡迎,$1!</h2><p>您的帳號已經建立,不要忘記設置{{SITENAME}}個人參數。</p>',
 We observe wide variation.
Comment 1 Niklas Laxström 2009-05-13 07:26:12 UTC
Plain words are easier for translators and don't cause problems with grammar. The rest seems just to random things piggy-bagged in the bug report, which are just about the fact that not all translations are maintained and 100% up-to-date. 

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


Navigation
Links