in CMS by (14.1k points)
0 like 0 dislike
905 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.1k points)

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

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

to

$s .= '<hr />';

I.e. you need 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.