How to remove a standard text in category page!

Fragment of a discussion from Project:Support desk
Jump to: navigation, search

Yes I tried to find it there. I havn't found it yet. If you know where it is let me know!

213.87.134.4016:30, 4 June 2012

You should really do that with CSS. Tim surely did not want to tell you that it would be better to edit the PHP files (which it is not).

88.130.94.19017:54, 4 June 2012

No, it is kinda better to edit the PHP files if you are not upgrading with SVN or Git because CSS needs to be loaded and this takes its time even it's quite short. The easiest way is of course CSS. You can disable it in MediaWiki:Common.css.

Tim (SVG)18:40, 4 June 2012

@Tim: Ah, so you just assumed that the thread starter doesn't use SVN or Git. And that he/she knows to keep track of core hacks and knows where, when and how to re-apply them after every update and upgrade (be it with SVN/Git, or through zips/tarballs, or through some package manager).

Please never recommend hacking core PHP files again. Especially not to a relatively new developer with the software or with development in general.


If you must use PHP, create an Extension and investigate the power of Hooks or maybe create a custom skin

Or if it is possible with a bit of CSS, use Site CSS on the wiki.

Krinkle (talk)09:31, 5 June 2012

@Krinkle: I assume(d) that every runner of a wiki who uses Git or SVN knows that files either shouldn't be edited or should be deleted before upgrading the wiki.

Tim (SVG)12:05, 7 June 2012
 
 
Edited by another user.
Last edit: 09:19, 5 June 2012

I have tried to hide this part using css, but I guess it is not possible to hide this <div id="mw-pages">, because it hides all content of the category

213.87.134.4020:24, 4 June 2012