Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -92,7 +92,7 @@ |
93 | 93 | /** |
94 | 94 | * @static |
95 | 95 | */ |
96 | | - function validTypes() { |
| 96 | + public static function validTypes() { |
97 | 97 | global $wgLogTypes; |
98 | 98 | return $wgLogTypes; |
99 | 99 | } |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | /** |
102 | 102 | * @static |
103 | 103 | */ |
104 | | - function isLogType( $type ) { |
| 104 | + public static function isLogType( $type ) { |
105 | 105 | return in_array( $type, LogPage::validTypes() ); |
106 | 106 | } |
107 | 107 | |
— | — | @@ -122,7 +122,7 @@ |
123 | 123 | * @todo handle missing log types |
124 | 124 | * @static |
125 | 125 | */ |
126 | | - function logHeader( $type ) { |
| 126 | + static function logHeader( $type ) { |
127 | 127 | global $wgLogHeaders; |
128 | 128 | return wfMsg( $wgLogHeaders[$type] ); |
129 | 129 | } |
— | — | @@ -130,7 +130,7 @@ |
131 | 131 | /** |
132 | 132 | * @static |
133 | 133 | */ |
134 | | - function actionText( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false, $translate=false ) { |
| 134 | + static function actionText( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false, $translate=false ) { |
135 | 135 | global $wgLang, $wgContLang, $wgLogActions; |
136 | 136 | |
137 | 137 | $key = "$type/$action"; |
— | — | @@ -235,7 +235,7 @@ |
236 | 236 | * Create a blob from a parameter array |
237 | 237 | * @static |
238 | 238 | */ |
239 | | - function makeParamBlob( $params ) { |
| 239 | + static function makeParamBlob( $params ) { |
240 | 240 | return implode( "\n", $params ); |
241 | 241 | } |
242 | 242 | |
— | — | @@ -243,7 +243,7 @@ |
244 | 244 | * Extract a parameter array from a blob |
245 | 245 | * @static |
246 | 246 | */ |
247 | | - function extractParams( $blob ) { |
| 247 | + static function extractParams( $blob ) { |
248 | 248 | if ( $blob === '' ) { |
249 | 249 | return array(); |
250 | 250 | } else { |