I used the magic word [https://dcwwiki.org/index.php?title=Main_Page&diff=prev&oldid=415 here] and it has hidden the PAGEBANNER. Why?
Extension talk:NoTitle/Flow
Appearance
@TheAafi (DCW): You might need to add $wgWPBDisplaySubtitleAfterBannerSkins = ['wmau'];
. See Extension:WikidataPageBanner#Parameters_to_the_Template:PAGEBANNER_function for more.
This helps. Thank you @Samwilson. I was able to achieve a lot with this edit. However, the appearance of "Main page title" just below the pagebanner is worrying. How do I get rid of it? Best regards,
@TheAafi (DCW): I think the way we've done that on the WMAU site is via CSS, in your case it'd be something like this in MediaWiki:WMAU.css:
.page-Main_Page .mw-displaytitle-subtitle {
display: none;
}
Thanks. I achieved this by making some edits and removing DisplayTitle Exension from the site.
MediaWiki 1.38+
The displayed title of the main page can be changed using the MediaWiki messages MediaWiki:mainpage-title and MediaWiki:mainpage-title-loggedin.
This extension is not specific to the main page
From the debug log:
- [error] [ZTl95kXoJAIplA@5iIZu3wAAAJc] /wiki/Main_Page PHP Deprecated: Use of ParserOutput::getProperty was deprecated in MediaWiki 1.38. [Called from NoTitle::onOutputPageParserOutput]
Is there an update for 1.39.x?
in extensions/NoTitle/includes/NoTitle.php replace getProperty with getPageProperty
How to rename "main_page" and default customize tab name.
Hmm, perhaps the HideTitle extension provides a way out.
That one requires the whole BlueSpice framework. If you run usual MediaWiki, this does not seem to be a way out. :(
Fortunatelly, this works in 1.29:
$wgRestrictDisplayTitle = false; (in LocalSettings)
and then use {{DISPLAYTITLE:new title}} on any page
This post was hidden by Uvas magicas (history)
Have you tried to run the latest version of this extension? I can't maintain a testing environment for every possible wiki version and configuration. So, I was hoping you might list your Mediawiki Version and whether it worked or not? If it doesn't work, I can work on fixing it. Thanks a lot!
I have just tested it on a 1.19.3 instance. I does not work as expected. After doing an &action=purge
the title gets hidden. However after going to another page and than returning to the page with the hidden title it gets shown again until I do a purge once again.
Thanks a lot, kgh. I've injected a tiny bit of JavaScript to hopefully fix that for cached pages. The fix is on Github.
Hi Tony, I will test tomorrow. Lot's of things in the pipeline today. Cheers
I just did the testing and I still found a problem. The title gets hidden automatically the first time I access the respective page without having to purge it. After going to another page and than returning to the page with the hidden title it gets shown until I do a purge.
Hey, same problem here. Got a MW 1.20.2. After purge the title is hidden but it comes back and i don't know why. i'm using the lastest version from github.
maybe there is a problem with other extensions? i'm also using the vektor extension i think there is the problem
greetings from germany torferde :)
so, more input:
after ?action=purge on the mainpage the title is gone.
when i expand/collapse the navigationbar, the Extension:Vektor make the title on the mainpage show :(
in the head section of the html document are some css style definitions - i don't understand yet - i think the problem is in the cache key from the other extension
Doesn't work for me either. I used to put
{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}
instead but that doesn't work anymore after upgrading.
Never mind, after adding $wgRestrictDisplayTitle = false; (and waiting several minutes) both methods seem to work.
la ultima versión (4.0.0) funciona en mediawiki 1.29+
This post was hidden by 189.217.121.126 (history)
This post was hidden by 189.217.121.126 (history)
This post was hidden by 189.217.121.126 (history)
esta extensión me fue muy útil porque como instale mediawiki 1.32 y al ver la página principal tenia __NOTITLE__ y cuando instale esta extensión funciono, el titulo no volvio a aparecer por eso espero que le den mantenimiento porque cuando lánzen mediawiki 1.32 esta extensión sera utíl
I am running Mediawiki 1.24.1 on a shared hosting Apache environment with Vector Skin enabled. "No Title" works beautifully with native url, but when you activate short URL's per Manual:Short URL/Apachethen "No Title" seems to not like it. This may also be causing your issues with this extension not working properly, or I should say, the extension works as intended, but when you change the URL to short URL's, the extension does not play well with that. Functions properly with http://your_domain/mediawiki/index.php?title=Main_Page Functions poorly with http://your_domain/wiki/Main_Page
I've just upgraded to 1.20.2 (from 1.15) and the NO_TITLE extension does not work.
I tried those suggest CSS fixes. They work. However I have 100s of pages all with __NO_TITLE__ in them - which displays a line "1. NO_TITLE on the top of every page. This looks very ugly.
I would like to get this extension working to the point where at least NO_TITLE is recognized by the wiki so it doesnt display this ugly text.
Any ideas here?
I placed the code on the page.
Try using Extension:Replace Text to remove all of the __NOTITLE__ tags from your site.
Hi.
I've just upgraded a site to 1.23.2 and __NOTITLE__ no longer appears to work. I'm running version 0.2.0 with the standard Vector skin.
Any ideas?
Thanks.
Did you set $wgRestrictDisplayTitle
to "false"?
Yes, I have this set and the page title still displays.
Just successfully tested this extension on << MW 1.23.3 - PHP 5.4.4 - MySQL 5.5.38 >> with Vector. Just added the magic word and the magic started to happen. Probably where is something in the water with you custom skin? Edit: Ah, you are testing with Vector, too. That's really obnoxious.
Well, there is indeed something in the water. When I e.g. switch to another skin the title reappears for all skins, even for Vector which was working ok before. You will have to touch the page to hide the title again which makes this extension basically unusable. Have not tested any cache related implications but this is bad enough.
Thanks for the info. I'll find another way for now.
Was happy to find this extension, but sad to see that it was not functional. As kgh discovered it appears to work at first but not when a page is revisited. When it fails, it appears that the killTitle() method parameter $text contains the page's footer text rather than the content, hence the style override never happens. If the method is triggered, one would expect the associated text to contain the magic word. Somewhere, somehow, page content is being cached, even though I have no caching enabled. The style override still works, so its just a matter of the conditional triggering properly. Tested this with MW 1.23.5, Apache 2.2.15, PHP 5.3.3, and MySQL 5.1.73 on CentOS 6.6. If I have some time, I'll try to dig a bit deeper.
Hi.
I've just tried this again after a git pull and it now works! Somebody has obviously fixed it. Thank you :)
Well that's interesting since there were no changes except for code styling in the meantime.
Actually, it still doesn't work properly. Weird behaviour in fact as you discovered.
If you edit and save the page, the title does not show, but if you navigate away and then back the title shows again. If you then click Refresh the title disappears again. Navigate away and then back the title shows again.
I have no caching enabled.
I'll go back to using per page CSS to show/hide.
Thanks.