Last modified: 2010-05-15 15:33:08 UTC
I accessed a wikipage in a special namespace. Trying to return to some kind of
index-page i removed the part after the colon an got an PHP Error:
Fatal error: Call to a member function on a non-object in
/usr/local/apache/common-local/php-1.4/index.php on line 50
I tried it with
Hm. I guess the title code is trying to look up a page with no name (just a
namespace) and failing, and the display code is not checking for this condition.
Testing reveals that other invalid pages behave the same, e.g.
The line in question just needs a check like "if(!$wgTitle)", initialising some
"invalid pagename" text, which I have a feeling we already have for other purposes.
Broken code in the variant handling. I've reverted the change again pending correct fixes in that code.