Last modified: 2010-05-15 15:48: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 T11358, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9358 - Missing escape of single quote generates error
Missing escape of single quote generates error
Status: RESOLVED DUPLICATE of bug 8727
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.9.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-21 09:00 UTC by kris_beyers@hotmail.com
Modified: 2010-05-15 15:48 UTC (History)
0 users

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


Attachments

Description kris_beyers@hotmail.com 2007-03-21 09:00:03 UTC
Hi

In the file MessageNl.php (and possible also for other languages), table ta contains a 
couple of Arrays, each containing an escaped single quote in the readable text (like 
after the word Pagina).
Example: ta[\'pt-watchlist\'] = new Array(\'l\',\'Pagina\'s die op mijn volglijst 
staan\');
Where this should be an escape of a slash followed with an escape of the single quote.
ta['pt-watchlist'] = new Array('l','Pagina\\\'s die op mijn volglijst staan');

Firefox error message when opening first page of MediaWiki:
Fout: missing ) after argument list
Bronbestand: http://localhost/index.php?title=-&action=raw&gen=js
Regel: 16, Kolom: 44
Broncode:
 ta['pt-watchlist'] = new Array('l','Pagina's die op mijn volglijst staan');

Remark: when submitting this error, I got a message about wrong Keywords and to hit 
back.. With result, all text was gone.

With kind regards,
Kris
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-03-21 16:27:55 UTC
This is fixed in trunk and will no longer be a problem after the next branch in a couple of weeks.

*** This bug has been marked as a duplicate of 8727 ***

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


Navigation
Links