Add public keywords to QueryPage subclasses
[lhc/web/wiklou.git] / includes / specials / SpecialLinkSearch.php
index b22467c..dc882d4 100644 (file)
@@ -80,7 +80,7 @@ class LinkSearchPage extends QueryPage {
                return false;
        }
 
-       function execute( $par ) {
+       public function execute( $par ) {
                $this->initServices();
 
                $this->setHeaders();
@@ -148,7 +148,7 @@ class LinkSearchPage extends QueryPage {
                $hiddenFields = array(
                        'title' => $this->getPageTitle()->getPrefixedDBkey(),
                );
-               $htmlForm = HTMLForm::factory( 'inline', $fields, $this->getContext() );
+               $htmlForm = HTMLForm::factory( 'ooui', $fields, $this->getContext() );
                $htmlForm->addHiddenFields( $hiddenFields );
                $htmlForm->setSubmitTextMsg( 'linksearch-ok' );
                $htmlForm->setWrapperLegendMsg( 'linksearch' );
@@ -218,7 +218,7 @@ class LinkSearchPage extends QueryPage {
                return $params;
        }
 
-       function getQueryInfo() {
+       public function getQueryInfo() {
                $dbr = wfGetDB( DB_SLAVE );
                // strip everything past first wildcard, so that
                // index-based-only lookup would be done