http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95069
Revision: 95069
Author: ankitgarg833
Date: 2011-08-20 07:54:21 +0000 (Sat, 20 Aug 2011)
Log Message:
-----------
minor fix.
Modified Paths:
--------------
trunk/extensions/PageSchemas/PS_Tabs.php
Modified: trunk/extensions/PageSchemas/PS_Tabs.php
===================================================================
--- trunk/extensions/PageSchemas/PS_Tabs.php 2011-08-20 07:31:42 UTC (rev
95068)
+++ trunk/extensions/PageSchemas/PS_Tabs.php 2011-08-20 07:54:21 UTC (rev
95069)
@@ -1,22 +1,17 @@
<?php
/**
- * Static class with methods to create and handle the push tab.
- *
- * @since 0.1
- *
- * @file _Tab.php
+
+* @file PSTabs.php
* @ingroup
*
* @author ankit
*/
final class PSTabs {
-
public static function displayTabs( $obj, &$content_actions ) {
global $wgUser;
-
- // Make sure that this is not a special page, the page has
contents, and the user can push.
+
$title = $obj->getTitle();
if (
$title->getNamespace() == NS_CATEGORY
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs