From: Aaron Schulz Date: Thu, 17 Jul 2008 04:37:59 +0000 (+0000) Subject: private -> protected (bug 14490) X-Git-Tag: 1.31.0-rc.0~46477 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=4bfb7b6b9811a65d43456a4f60a173209804f589;p=lhc%2Fweb%2Fwiklou.git private -> protected (bug 14490) --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 0dfe42164f..d5a4383029 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -212,7 +212,7 @@ class EditPage { * @param $preload String: the title of the page. * @return string The contents of the page. */ - private function getPreloadedText($preload) { + protected function getPreloadedText($preload) { if ( $preload === '' ) return ''; else { @@ -508,7 +508,7 @@ class EditPage { * * @return bool */ - private function previewOnOpen() { + protected function previewOnOpen() { global $wgRequest, $wgUser; if( $wgRequest->getVal( 'preview' ) == 'yes' ) { // Explicit override from request @@ -660,7 +660,7 @@ class EditPage { /** * Show all applicable editing introductions */ - private function showIntro() { + protected function showIntro() { global $wgOut, $wgUser; if( $this->suppressIntro ) return; @@ -693,7 +693,7 @@ class EditPage { * * @return bool */ - private function showCustomIntro() { + protected function showCustomIntro() { if( $this->editintro ) { $title = Title::newFromText( $this->editintro ); if( $title instanceof Title && $title->exists() && $title->userCanRead() ) { @@ -1449,7 +1449,7 @@ END * * @param string $text The HTML to be output for the preview. */ - private function showPreview( $text ) { + protected function showPreview( $text ) { global $wgOut; $wgOut->addHTML( '
' ); @@ -2247,7 +2247,7 @@ END * * @param OutputPage $out */ - private function showDeletionLog( $out ) { + protected function showDeletionLog( $out ) { global $wgUser; $loglist = new LogEventsList( $wgUser->getSkin(), $out ); $pager = new LogPager( $loglist, 'delete', false, $this->mTitle->getPrefixedText() );