Last modified: 2011-04-30 01:21:45 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 T24913, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22913 - Escaped space   appears in the user interface of history pages.
Escaped space   appears in the user interface of history pages.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.15.x
All Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-20 19:59 UTC by Miraceti
Modified: 2011-04-30 01:21 UTC (History)
2 users (show)

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


Attachments

Description Miraceti 2010-03-20 19:59:50 UTC
After a new and pure MW 1.15.2 non-English is installed and a few changes of any page are made, a history page of the page contains for example (this is for Finnish) following:

(Viimeisimmät | Ensimmäiset) Näytä [20 | 50 | 100 | 250 | 500] kerralla. ← 2 uudempaa  |  2 vanhempaa →

In case of English Mediawiki installation, the line looks like:

(Latest | Earliest) View (newer 2) (older 2) (20 | 50 | 100 | 250 | 500)

(Note: limit=2 was used as a parameter in URL to achieve these results.)

An identical problem appears also in the Special:UserList, so it looks like a more general problem.

The problem was detected also in in cs, de, fi, sv, ru.

PHP version: 5.2.11 (cgi)
Comment 1 Dashiva 2010-03-20 20:03:44 UTC
The message is 'viewprevnext', used with wfMsgHtml in Pager.php (ReverseChronologicalPager::getNavigationBar). The English value is 'View ($1) ($2) ($3)', which works fine. The affected languages include a {{int:pipe-separator}}, which contains  , which then is escaped by the wfMsgHtml call.
Comment 2 Miraceti 2010-03-20 20:04:48 UTC
I have got also Mediawiki 1.15.1 for tests. This version apparently does not features this bug. However, it is running on a different machine (PHP 5.2.12-pl0-gentoo). I am tweaking it a lot, so I could fixed it by mistake, but I am pretty sure the bug was not there in the beginning either.
Comment 3 Dashiva 2010-03-20 20:14:22 UTC
(1.15.1 used a literal pipe instead of pipe-separator, so no entities were included.)
Comment 4 Alexandre Emsenhuber [IAlex] 2010-04-05 10:40:58 UTC
Fixed in r64608.

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


Navigation
Links