r77333 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77332‎ | r77333 | r77334 >
Date:16:43, 26 November 2010
Author:fde
Status:deferred
Tags:
Comment:
Added message for user group rights page
Corrected wrong version
Fixed that extension is displayed in the semantic extension group
Modified paths:
  • /trunk/extensions/SemanticProjectManagement/SemanticProjectManagement.php (modified) (history)
  • /trunk/extensions/SemanticProjectManagement/includes/SPM_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticProjectManagement/includes/SPM_Messages.php
@@ -5,8 +5,6 @@
66 * @addtogroup Extensions
77 */
88
9 -// FIXME: Can be enabled when new style magic words are used (introduced in r52503)
10 -// require_once( dirname( __FILE__ ) . '/SRF_Magic.php' );
119
1210 $messages = array();
1311
@@ -17,7 +15,7 @@
1816 'spm_printername_wbs' => 'MS Project export',
1917 'spm-name' => 'Semantic Project Management',
2018 'semanticprojectmanagement-desc' => 'Project Management Formats for Semantic MediaWiki inline queries',
21 - 'semanticprojectmanagement' => 'Semantic Project Management'
22 - # 'right-SPMsetup' => '', FIXME: Add a description of this user right. It is shown at [[Special:ListGroupRights]]
 19+ 'semanticprojectmanagement' => 'Semantic Project Management',
 20+ 'right-SPMsetup' => 'Edit basic semantic project management settings'
2321 );
2422
Index: trunk/extensions/SemanticProjectManagement/SemanticProjectManagement.php
@@ -32,9 +32,9 @@
3333 die( 'Not an entry point.' );
3434 }
3535
36 -define( 'SPM_VERSION', '0.3.1' );
 36+define( 'SPM_VERSION', '1.5' );
3737
38 -$wgExtensionCredits['specialpage'][] = array(
 38+$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array(
3939 'path' => __FILE__,
4040 'name' => 'Semantic Project Management',
4141 'version' => SPM_VERSION,

Status & tagging log