Hi. In earlier versions of Mediawiki ive got modification which prevented displaying title header on Main Page. Unfortunately after update to 1.9rc2 this stopped working. Now im looking for similar hack, working on 1.9, which prevents from displaying title header on Main Page and if it is possible also some other pages.
Best regards, Dinth
Hi,
Don't know if you're still looking for this hack, but here is one (for main page at least):
if ( $this->data['title'] != wfMsgForContent('mainpage') ){ show header }
instead of the old one : if ( $this->haveData('title') != wfMsgForContent('mainpage') )
haveData( $str ) function seems to have changed. All it used to do was returning $this->data[$str], now its a little bit different.
if you want to do it with several pages, you might try creating a table with title of the pages and then search for $this->data['title'] in that table : if it's in don't display, otherwise display.
Dinth wrote:
In earlier versions of Mediawiki ive got modification which prevented displaying title header on Main Page. Unfortunately after update to 1.9rc2 this stopped working. Now im looking for similar hack, working on 1.9, which prevents from displaying title header on Main Page and if it is possible also some other pages.
mediawiki-l@lists.wikimedia.org