Extension talk:NoTitle/LQT Archive 1

Doesn't work for 1.10. 66.31.209.239 23:55, 6 June 2007 (UTC)

Confirmed. Someone please fix this or look at it! I'd love to have a working version. Changing the stylesheet is such a crude solution to this problem and it affects all pages instead of selective ones. 216.99.65.63 18:35, 2 August 2007 (UTC)
 * Problem solved, it still uses CSS but it works for 1.10 now, just look under Known Problems and use that php instead of the normal script. I've only tested on version 1.10 so far so if someone wants to try it out on a lower MW version plz let me know how it goes! --Diploid

Error Messages (1.10)
Works sometimes on 1.10, but not on all pages. Errors:

Notice: Undefined variable: action in /var/www/bkwiki/extensions/NoTitle/NoTitle.php on line 38

Notice: Undefined variable: action in /var/www/bkwiki/extensions/NoTitle/NoTitle.php on line 38

Notice: Undefined property: ParserOptions::$mHideTitle in /var/www/bkwiki/extensions/NoTitle/NoTitle.php on line 46

Notice: Undefined variable: action in /var/www/bkwiki/extensions/NoTitle/NoTitle.php on line 38

-- Bjoern, 14. Jul 2007 00:02


 * I had this same problem, try my patch at the bottom of the page, it fixed it for me.
 * --Diploid 18:50, 14 August 2007 (UTC)

How to disable caching?
This extension is used on the http://uncyclopedia.info main page, and it seems that once a huge cache (APC) was added to the site, the page title started displaying whenever the user hit reload/refresh in the webbrowser.

I've kludged around this problem by using the random selection algorithm (or any other tag or item that forces a cache disable) on the affected MW1.11 pages, but perhaps this extension itself should be patched to turn off the parser cache on any page on which it is invoked? --Carlb 12:29, 16 July 2007 (UTC)
 * There is a better way: craft an extension that looks for a 'magic word' in the hook 'OutputPageBeforeHTML' and triggers code in the hook 'SkinTemplateOutputPageBeforeExec' to blank the title (can't really remove the HTML completely without a code hack); parser cache friendly solution. Jean-Lou Dupont 18:50, 2 August 2007 (UTC)
 * Use Extension:PageFunctions if you wish to change the page's title whilst respecting parser caching. Jean-Lou Dupont 19:05, 2 August 2007 (UTC)


 * Easy way - just add one line $parser->disableCache; right after the mHideTitle=true; is set. That fixes this bug. Tested and working on uncyclopedia.info under APC and MW1.11alpha --Carlb 17:43, 5 August 2007 (UTC)

Doesn't work for 1.11. 81.53.23.145 12:49, 2 September 2007 (UTC)

Bug with 1.11
Doesn't seam to work with the latest mediawiki version... any idea when this will be fixed ? : ) Here is what I get: MediaWiki internal error.

Original exception: exception 'MWException' with message 'Detected bug in an extension! Hook NoTitle::addMagicWordId failed to return a value; should return true to continue hook processing or false to abort.' in SERVERPATH/mediawiki/includes/Hooks.php:133 XApple 11:59, 25 November 2007 (UTC)