in CMS by (14.5k points)
0 like 0 dislike
3.7k views

I did turn on optional DMOZ-like category browser to be shown under the list of categories an article belong. But there line broke tag appeard. How to put away line broke after mw-normal-catlinks section in catlinks block (#catlinks, .catlinks) when enable $wgUseCategoryBrowser option in MediaWiki CMS?

1 Answer

0 like 0 dislike
by (14.5k points) edited by

Go to: "[MediaWiki]/includes/skins/Skin.php" and in line ~470-540 (do find exact by keywords $wgUseCategoryBrowser, mw-normal-catlinks, etc) change next string:

$s .= '<br /><hr />';

to

$s .= '<hr />';

I.e. you need to change value from <br /><hr /> to <hr /> - same value but without <br /> line break tag.

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.