Subject UtfNormal::cleanUp() to the same tests as UtfNormal::toNFC()
[lhc/web/wiklou.git] / extensions / MakeDBError.php
1 <?php
2
3 $wgExtensionFunctions[] = "wfMakeDBErrorExt";
4
5 function wfMakeDBErrorExt() {
6
7 require_once( "includes/SpecialPage.php" );
8
9 class MakeDBErrorPage extends UnlistedSpecialPage
10 {
11 function MakeDBErrorPage() {
12 UnlistedSpecialPage::UnlistedSpecialPage("MakeDBError");
13 }
14
15 function execute( $par ) {
16 $this->setHeaders();
17 wfQuery( "test", DB_READ );
18 }
19 }
20
21 SpecialPage::addPage( new MakeDBErrorPage );
22
23 } # End of extension function
24
25 ?>