3 $wgExtensionFunctions[] = "wfMakeDBErrorExt";
5 function wfMakeDBErrorExt() {
7 require_once( "includes/SpecialPage.php" );
9 class MakeDBErrorPage
extends UnlistedSpecialPage
11 function MakeDBErrorPage() {
12 UnlistedSpecialPage
::UnlistedSpecialPage("MakeDBError");
15 function execute( $par ) {
17 wfQuery( "test", DB_READ
);
21 SpecialPage
::addPage( new MakeDBErrorPage
);
23 } # End of extension function