Index: trunk/extensions/PageSchemas/PS_Tabs.php |
— | — | @@ -1,22 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | /** |
5 | | - * Static class with methods to create and handle the push tab. |
6 | | - * |
7 | | - * @since 0.1 |
8 | | - * |
9 | | - * @file _Tab.php |
| 5 | + |
| 6 | +* @file PSTabs.php |
10 | 7 | * @ingroup |
11 | 8 | * |
12 | 9 | * @author ankit |
13 | 10 | */ |
14 | 11 | final class PSTabs { |
15 | 12 | |
16 | | - |
17 | 13 | public static function displayTabs( $obj, &$content_actions ) { |
18 | 14 | global $wgUser; |
19 | | - |
20 | | - // Make sure that this is not a special page, the page has contents, and the user can push. |
| 15 | + |
21 | 16 | $title = $obj->getTitle(); |
22 | 17 | if ( |
23 | 18 | $title->getNamespace() == NS_CATEGORY |