Last modified: 2006-05-24 19:05:54 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 6061 - apostrophe and buttons
apostrophe and buttons
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-05-23 21:18 UTC by Pablo Saratxaga
Modified: 2006-05-24 19:05 UTC (History)
1 user (show)

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


Description Pablo Saratxaga 2006-05-23 21:18:44 UTC
When an apostrophe appears in a text for a button, everything after the
apostrophe is lost.

For example, mediawiki:savefile in Walloon is "Schaper l' fitchî" (note the
That text is displayed in a button when uploading a file with warnings.

The html of the rendered page is as follow:

...  <input tabindex='2' type='submit' name='wpUpload' value='Schaper l' fitchî'
/> ...

Here you see what the problem is, the text in the value= field is enclosed in
single quotes, and the the single quote in the text itself isn't escaped.
As a result, the button only shows "Schaper l" instead of "Schaper l' fitchî".

All text that is to be displayed in the rendered page  that way should be
escaped for apostrophes.
Comment 1 Niklas Laxström 2006-05-24 19:05:54 UTC
Fixed in trunk in r14365.

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