--- a/plugins/SpecialPageFuncs.php Sat Oct 20 21:44:13 2007 -0400
+++ b/plugins/SpecialPageFuncs.php Fri Oct 26 19:28:54 2007 -0400
@@ -109,6 +109,17 @@
exit;
}
+ if ( substr($urlname, 0, 8) == 'Project:' )
+ {
+ $template->header();
+
+ echo '<h3>The page could not be created.</h3><p>The page title can\'t start with "Project:" because this prefix is reserved for a parser shortcut.</p>';
+
+ $template->footer();
+ $db->close();
+
+ exit;
+ }
$tn = $paths->nslist[$_POST['namespace']] . $urlname;
if ( isset($paths->pages[$tn]) )