in CMS by (15.1k points)
0 like 0 dislike

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 (15.1k 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 />';


$s .= '<hr />';

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

Please log in or register to answer this question.