Index: trunk/extensions/PageSchemas/PageSchemas.classes.php |
— | — | @@ -138,9 +138,8 @@ |
139 | 139 | return $text; |
140 | 140 | } |
141 | 141 | |
142 | | - static function parsePageSchemas($class_schema_xml) { |
143 | | - |
144 | | - global $wgTitle; |
| 142 | + static function parsePageSchemas($class_schema_xml) { |
| 143 | + global $wgTitle; |
145 | 144 | if($wgTitle->getNamespace() == NS_CATEGORY){ |
146 | 145 | $text = "<p>Schema description:</p>\n"; |
147 | 146 | $text .= "<table class=\"pageSchema\">\n"; |
— | — | @@ -159,7 +158,7 @@ |
160 | 159 | $text .= "</table>\n"; |
161 | 160 | }else{ |
162 | 161 | $text = ""; |
163 | | - } |
| 162 | + } |
164 | 163 | return $text; |
165 | 164 | } |
166 | 165 | static function parseFormElem( $form_xml ) { |