User "Fomafix" posted a comment on MediaWiki.r92153.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/92153#c19624
Commit summary:

r92054 : Remove leftover space

Comment:

Now a line break for word wrapping between the categories is not possible any 
more. The line can only wrapped in spaces in the category text.

A possible solution would be <source lang="css">#catlinks li { display: 
inline-block; }</source> But then a line break in the spaces in the category 
text is not possible anymore. The separating border would be always in the 
beginning of the next line.

An other solution would be to insert <code>U+200B</code> ''Zero-Width Space''. 
When the Zero-With Space is inserted between 
<code><nowiki></li></nowiki></code> and <code><nowiki><li></nowiki></code> the 
separator border would be at the beginning of the next line. When the Zero-With 
Space is inserted after <code><nowiki><li></nowiki></code> the separator border 
would be at the end of the last line. 

The Zero-With Space can also be inserted by CSS: <source lang="css">#catlinks 
li:before { content: "\200b"; }</source> The separator border would be at the 
end of the last line.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to