r95096 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95095‎ | r95096 | r95097 >
Date:16:33, 20 August 2011
Author:jeroendedauw
Status:deferred
Tags:lamecommitsummary 
Comment:
fu r95095 - rem dead code
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php
@@ -62,9 +62,6 @@
6363 case SMW_HEADER_TOOLTIP:
6464 self::requireResource( 'ext.smw.tooltips' );
6565 break;
66 - case SMW_HEADER_SORTTABLE:
67 - self::requireResource( 'ext.smw.sorttable' );
68 - break;
6966 case SMW_HEADER_STYLE:
7067 self::requireResource( 'ext.smw.style' );
7168 break;
@@ -108,10 +105,6 @@
109106 self::requireHeadItem( SMW_HEADER_STYLE );
110107 self::$mHeadItems['smw_tt'] = '<script type="text/javascript" src="' . $smwgScriptPath . '/skins/SMW_tooltip.js"></script>';
111108 break;
112 - case SMW_HEADER_SORTTABLE:
113 - self::requireHeadItem( SMW_HEADER_STYLE );
114 - self::$mHeadItems['smw_st'] = '<script type="text/javascript" src="' . $smwgScriptPath . '/skins/SMW_sorttable.js"></script>';
115 - break;
116109 case SMW_HEADER_STYLE:
117110 global $wgContLang;
118111
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
@@ -75,13 +75,6 @@
7676 'ext.smw.style'
7777 )
7878 );
79 - $wgResourceModules['ext.smw.sorttable'] = $moduleTemplate + array(
80 - 'scripts' => 'SMW_sorttable.js',
81 - 'dependencies' => array(
82 - 'mediawiki.legacy.wikibits',
83 - 'ext.smw.style'
84 - )
85 - );
8679
8780 // Register special pages aliases file
8881 $wgExtensionAliasesFiles['SemanticMediaWiki'] = $smwgIP . 'languages/SMW_Aliases.php';
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php
@@ -36,7 +36,6 @@
3737
3838 // Constants for identifying javascripts as used in SMWOutputs.
3939 define( 'SMW_HEADER_TOOLTIP', 2 );
40 -define( 'SMW_HEADER_SORTTABLE', 3 );
4140 define( 'SMW_HEADER_STYLE', 4 );
4241
4342 // Constants for denoting output modes in many functions: HTML or Wiki?
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
@@ -94,13 +94,6 @@
9595 'ext.smw.style'
9696 )
9797 );
98 - $wgResourceModules['ext.smw.sorttable'] = $moduleTemplate + array(
99 - 'scripts' => 'SMW_sorttable.js',
100 - 'dependencies' => array(
101 - 'mediawiki.legacy.wikibits',
102 - 'ext.smw.style'
103 - )
104 - );
10598
10699 // Register special pages aliases file
107100 $wgExtensionAliasesFiles['SemanticMediaWiki'] = $smwgIP . 'languages/SMW_Aliases.php';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95095use MediaWikis native table sort stuffjeroendedauw16:31, 20 August 2011

Status & tagging log