From: Charles Melbye Date: Mon, 12 Jan 2009 22:52:09 +0000 (+0000) Subject: Fix a problem with a protected class method that brought up an error, and also X-Git-Tag: 1.31.0-rc.0~43449 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=2774c33be8701b59ad8118d3fb3b873ceba79472;p=lhc%2Fweb%2Fwiklou.git Fix a problem with a protected class method that brought up an error, and also fixed a typo in the release notes. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c16d887d2e..3a3f53aedf 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -29,7 +29,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Added "Advanced search" link to the search form * Special:Upload can now have a custom upload message instead of uploadtext by passing "uploadmsg" parameter in the url -* (bug 9947) Add PROTECTIONLEVEL parser funtion to return the protection level +* (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level for the current page for a given action * Added "__\" magic word to eat up all whitespace and newlines to the next non-whitespace character, to facilitate writing readable template code where diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 767e3daf42..ac4de97d89 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -593,7 +593,7 @@ class RecentChange return $trail; } - protected function getIRCLine() { + public function getIRCLine() { global $wgUseRCPatrol, $wgUseNPPatrol, $wgRC2UDPInterwikiPrefix, $wgLocalInterwiki; // FIXME: Would be good to replace these 2 extract() calls with something more explicit