Last modified: 2011-03-13 18:05:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10786 - The dutch localisation uses some wrong quotes
The dutch localisation uses some wrong quotes
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
PC Windows XP
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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
 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:

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',

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.