Change some more to parent::
authorSam Reed <reedy@users.mediawiki.org>
Sun, 25 Jul 2010 21:02:56 +0000 (21:02 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 25 Jul 2010 21:02:56 +0000 (21:02 +0000)
includes/RevisionDelete.php
includes/Skin.php
includes/SpecialPage.php
includes/media/Bitmap_ClientOnly.php
maintenance/installExtension.php
maintenance/language/StatOutputs.php

index 14a82dd..7a540a0 100644 (file)
@@ -938,7 +938,7 @@ class RevDel_ArchiveList extends RevDel_RevisionList {
  */
 class RevDel_ArchiveItem extends RevDel_RevisionItem {
        public function __construct( $list, $row ) {
-               RevDel_Item::__construct( $list, $row );
+               parent::__construct( $list, $row );
                $this->revision = Revision::newFromArchiveRow( $row,
                        array( 'page' => $this->list->title->getArticleId() ) );
        }
@@ -1246,7 +1246,7 @@ class RevDel_ArchivedFileList extends RevDel_FileList {
  */
 class RevDel_ArchivedFileItem extends RevDel_FileItem {
        public function __construct( $list, $row ) {
-               RevDel_Item::__construct( $list, $row );
+               parent::__construct( $list, $row );
                $this->file = ArchivedFile::newFromRow( $row );
        }
 
index a50d3f9..f000fbf 100644 (file)
@@ -838,7 +838,7 @@ CSS;
                        $parenttree = $this->mTitle->getParentCategoryTree();
                        # Skin object passed by reference cause it can not be
                        # accessed under the method subfunction drawCategoryBrowser
-                       $tempout = explode( "\n", Skin::drawCategoryBrowser( $parenttree, $this ) );
+                       $tempout = explode( "\n", $this->drawCategoryBrowser( $parenttree, $this ) );
                        # Clean out bogus first entry and sort them
                        unset( $tempout[0] );
                        asort( $tempout );
@@ -863,7 +863,7 @@ CSS;
                                $return .= "\n";
                        } else {
                                # grab the others elements
-                               $return .= Skin::drawCategoryBrowser( $parent, $skin ) . ' &gt; ';
+                               $return .= $this->drawCategoryBrowser( $parent, $skin ) . ' &gt; ';
                        }
                        # add our current element to the list
                        $eltitle = Title::newFromText( $element );
index b2ea317..ca58b7f 100644 (file)
@@ -915,7 +915,7 @@ class SpecialPage {
 class UnlistedSpecialPage extends SpecialPage
 {
        function UnlistedSpecialPage( $name, $restriction = '', $function = false, $file = 'default' ) {
-               SpecialPage::SpecialPage( $name, $restriction, false, $function, $file );
+               parent::SpecialPage( $name, $restriction, false, $function, $file );
        }
 }
 
@@ -926,7 +926,7 @@ class UnlistedSpecialPage extends SpecialPage
 class IncludableSpecialPage extends SpecialPage
 {
        function IncludableSpecialPage( $name, $restriction = '', $listed = true, $function = false, $file = 'default' ) {
-               SpecialPage::SpecialPage( $name, $restriction, $listed, $function, $file, true );
+               parent::SpecialPage( $name, $restriction, $listed, $function, $file, true );
        }
 }
 
index 9801f9b..d14876c 100644 (file)
@@ -2,7 +2,7 @@
 
 class BitmapHandler_ClientOnly extends BitmapHandler {
        function normaliseParams( $image, &$params ) {
-               return ImageHandler::normaliseParams( $image, $params );
+               return parent::normaliseParams( $image, $params );
        }
 
        function doTransform( $image, $dstPath, $dstUrl, $params, $flags = 0 ) {
index 17b50c9..94dcfd7 100644 (file)
@@ -74,7 +74,7 @@ class InstallerRepository {
 class LocalInstallerRepository extends InstallerRepository {
 
        function LocalInstallerRepository ( $path ) {
-               InstallerRepository::InstallerRepository( $path );
+               parent::InstallerRepository( $path );
        }
 
        function printListing( ) {
@@ -114,7 +114,7 @@ class LocalInstallerRepository extends InstallerRepository {
 class WebInstallerRepository extends InstallerRepository {
 
        function WebInstallerRepository ( $path ) {
-               InstallerRepository::InstallerRepository( $path );
+               parent::InstallerRepository( $path );
        }
 
        function printListing( ) {
@@ -160,7 +160,7 @@ class WebInstallerRepository extends InstallerRepository {
 class SVNInstallerRepository extends InstallerRepository {
 
        function SVNInstallerRepository ( $path ) {
-               InstallerRepository::InstallerRepository( $path );
+               parent::InstallerRepository( $path );
        }
 
        function printListing( ) {
index f1e935b..c1d6101 100644 (file)
@@ -66,7 +66,7 @@ class wikiStatsOutput extends statsOutput {
                $blue = '00';
                $color = $red . $green . $blue;
 
-               $percent = statsOutput::formatPercent( $subset, $total, $revert, $accuracy );
+               $percent = parent::formatPercent( $subset, $total, $revert, $accuracy );
                return 'bgcolor="#' . $color . '"|' . $percent;
        }
 }