Last modified: 2011-03-13 18:05:07 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 T12786, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10786 - The dutch localisation uses some wrong quotes
The dutch localisation uses some wrong quotes
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.9.x
PC Windows XP
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-03 07:51 UTC by Tom Maaswinkel
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments

Description Tom Maaswinkel 2007-08-03 07:51:55 UTC
When you load any page with the Dutch localisation enabled you get the following error:

Error: missing ) after argument list
Sourcefile: http://localhost/index.php?title=-&action=raw&gen=js
Rule: 16, Column: 44
Sourcecode:
 ta['pt-watchlist'] = new Array('l','Pagina's die op mijn volglijst staan');

As you can see there's written "Pagina's" using a single quote, that's also used to tell the javascript it's a string. This should be changed into \' or "Pagina's die op mijn volglijst staan"
Comment 1 Raimond Spekking 2007-08-03 08:06:31 UTC
It seems to be correct in 1.9.3: http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_9_3/phase3/languages/messages/MessagesNl.php?view=markup

But the syntax of tooltips/access keys changed in 1.10.0, they are not longer stored in monobook.js. Every tooltip has its own message: 
'tooltip-pt-watchlist'            => 'Pagina',

http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_10_1/phase3/languages/messages/MessagesNl.php?view=markup

What else the problem in 1.9.3 is/was, it does not longer exists :-)
Comment 2 Tom Maaswinkel 2007-08-03 08:08:09 UTC
To bad (one way or another) we can't download the 1.10.1 version from the web... one way or another our filters block that file....
Comment 3 Tom Maaswinkel 2007-08-03 08:11:11 UTC
Ok, with your help I've found the error and solved it:
at line 1490 it says
ta[\'pt-watchlist\'] = new Array(\'l\',\'Pagina\'s die op mijn volglijst staan\');
this should be
ta[\'pt-watchlist\'] = new Array(\'l\',\'Pagina\\\'s die op mijn volglijst staan\');
Since it will otherwise go wrong when this PHP is printed out as javascript!
Comment 4 Rob Church 2007-08-06 02:38:21 UTC
Not an issue in 1.10.1, nor trunk.

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


Navigation
Links