mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-15 11:45:23 +00:00
Merge "Set visiblity for functions on SpecialCiteThisPage"
This commit is contained in:
commit
e21d42795e
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
class SpecialCiteThisPage extends SpecialPage {
|
class SpecialCiteThisPage extends SpecialPage {
|
||||||
function __construct() {
|
public function __construct() {
|
||||||
parent::__construct( 'CiteThisPage' );
|
parent::__construct( 'CiteThisPage' );
|
||||||
}
|
}
|
||||||
|
|
||||||
function execute( $par ) {
|
public function execute( $par ) {
|
||||||
global $wgUseTidy;
|
global $wgUseTidy;
|
||||||
|
|
||||||
// Having tidy on causes whitespace and <pre> tags to
|
// Having tidy on causes whitespace and <pre> tags to
|
||||||
|
@ -59,7 +59,6 @@ class SpecialCiteThisPage extends SpecialPage {
|
||||||
Xml::closeElement( 'label' ) .
|
Xml::closeElement( 'label' ) .
|
||||||
Xml::closeElement( 'form' )
|
Xml::closeElement( 'form' )
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue