Last modified: 2012-11-09 10:15:25 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 T23382, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21382 - Leading question marks in lists have preceding space (&nbsp)
Leading question marks in lists have preceding space (&nbsp)
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.21.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-01 23:21 UTC by Subfader
Modified: 2012-11-09 10:15 UTC (History)
2 users (show)

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


Attachments

Description Subfader 2009-11-01 23:21:45 UTC
Leading question marks in lists are replaced by &nbsp? because the french like it that way.
The solution fopr this is very bad. Instead of adding a hardcoded leading blank the <li> tag should get an own class. This way the french can style it how they want and the rest of the world is happy too.
Comment 1 Subfader 2009-11-01 23:27:40 UTC
**in ordered lists that is...
http://www.mediawiki.org/wiki/User:Subfader/List
Comment 2 Brion Vibber 2009-11-08 10:20:55 UTC
I suspect the proper behavior here is just to actually strip the whitespace between the list markup and the following text.
Comment 3 Subfader 2009-11-08 12:27:46 UTC
On IRC the devs told me the nbsp is instered because french wikipedia wants it this way. But the rest of the world is unable to remove it.
Comment 4 Subfader 2010-04-29 23:17:53 UTC
This should be fixed. fr WP should install an extension for that.

Another bad example added: http://www.mediawiki.org/wiki/User:Subfader/List
Comment 5 Subfader 2011-04-23 16:39:34 UTC
bump
Comment 6 Subfader 2011-04-23 16:40:16 UTC
could anyone at least tell me where the parser adds the extra blank so I can fix it manually??
Comment 7 Subfader 2011-07-03 17:44:50 UTC
So where is it created?  Someone a hint please?
Comment 8 Subfader 2011-08-24 10:29:51 UTC
bump
Comment 9 Subfader 2011-12-29 19:46:11 UTC
* ?

returns wrong output:
<li> ?
</li>

This would be correct:
<li>?
</li>

This blank was only added for French Wikipedia. They should use an extension instead of forcing MediaWiki to produce wrong output. Nobody cares?

I don't see how you can axcept wrong output in the software which only is correct in French (if at all...).
Comment 10 Krinkle 2012-01-02 15:25:11 UTC
Where do the French need this for ? Perhaps it's no longer used.
Comment 11 Subfader 2012-01-02 15:37:25 UTC
I don't know. Some dev told me so on IRC some years ago when I started this bug report.

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


Navigation
Links