Index: trunk/extensions/SemanticGallery/SemanticGallery.php |
— | — | @@ -19,10 +19,6 @@ |
20 | 20 | 'descriptionmsg' => 'semanticgallery-desc', |
21 | 21 | ); |
22 | 22 | |
23 | | - //$wgHooks['LanguageGetMagic'][] = 'semanticGallery_Magic'; |
24 | | - |
25 | | - //$wgParser->setFunctionHook('semantic-gallery', 'semanticGallery_Render'); |
26 | | - |
27 | 23 | require_once('SG_ResultPrinter.php'); |
28 | 24 | |
29 | 25 | // global variable introduced in SMW 1.2.2 |
— | — | @@ -33,19 +29,6 @@ |
34 | 30 | SMWQueryProcessor::$formats['gallery'] = 'SemanticGallery_ResultPrinter'; |
35 | 31 | } |
36 | 32 | |
37 | | -/* |
38 | | -function semanticGallery_Magic( &$magicWords, $langCode ) |
39 | | -{ |
40 | | - $magicWords['semantic-gallery'] = array(0, 'semantic-gallery'); |
41 | 33 | |
42 | | - return true; |
43 | | -} |
44 | | - |
45 | | -function semanticGallery_Render($input, $args, $parser) |
46 | | -{ |
47 | | - //return $gallery->toHTML(); |
48 | | -} |
49 | | -*/ |
50 | | - |
51 | 34 | # vim:set tabstop=4 noexpandtab shiftwidth=4: |
52 | 35 | ?> |