fix for bug 149: Special:Recentchanges: Link that adds &from= to URL discards &limit...
[mediawiki.git] / extensions / MakeDBError.php
blobce87f3d3c0a2103ee1c9832c31d3a073d226af86
1 <?php
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 ) {
16 $this->setHeaders();
17 wfQuery( "test", DB_READ );
21 SpecialPage::addPage( new MakeDBErrorPage );
23 } # End of extension function