protected
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 26 Apr 2008 04:00:03 +0000 (04:00 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 26 Apr 2008 04:00:03 +0000 (04:00 +0000)
includes/SpecialNewpages.php

index ca3a79a..617c055 100644 (file)
@@ -300,11 +300,11 @@ class NewPagesForm {
        /**
         * Quickie hack... strip out wikilinks to more legible form from the comment.
         */
-       function stripComment( $text ) {
+       protected function stripComment( $text ) {
                return preg_replace( '/\[\[([^]]*\|)?([^]]+)\]\]/', '\2', $text );
        }
 
-       function feedItemAuthor( $row ) {
+       protected function feedItemAuthor( $row ) {
                return isset( $row->rc_user_text ) ? $row->rc_user_text : '';
        }