diff -r 8fae8fb3cbb1 -r 679916c80599 includes/namespaces/default.php --- a/includes/namespaces/default.php Sun Aug 30 00:05:33 2009 -0400 +++ b/includes/namespaces/default.php Fri Sep 11 09:57:42 2009 -0400 @@ -435,7 +435,7 @@ // Page format is XHTML. This means we want to disable functionality that MCE takes care of, while still retaining // the ability to wikilink, the ability to use images, etc. Basically, RENDER_INLINEONLY disables all behavior in // the rendering engine/Text_Wiki that conflicts with MCE. - $text = '?>' . RenderMan::render($text, RENDER_WIKI_DEFAULT | RENDER_INLINEONLY); + $text = '?>' . RenderMan::render($text, RENDER_INLINE); } } else @@ -533,11 +533,13 @@ } } - public function error_404($userpage = false) + public function error_404() { global $db, $session, $paths, $template, $plugins; // Common objects global $lang, $output; + $userpage = $this->namespace == 'User'; + @header('HTTP/1.1 404 Not Found'); $msg = ( $pp = $paths->sysmsg('Page_not_found') ) ? $pp : '{STANDARD404}';