r104378 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104377‎ | r104378 | r104379 >
Date:23:23, 27 November 2011
Author:bkaempgen
Status:deferred (Comments)
Tags:
Comment:
== SWB - 2011-11-27 ==
* Incoming links work now
* beautifications
* language
* ...
Modified paths:
  • /trunk/extensions/SemanticWebBrowser/SWB_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWebBrowser/SWB_Settings.php
@@ -1,7 +1,7 @@
22 <?php
33
44 /**
5 - * @author Anna Kantorovitch and Benedikt K�mpgen
 5+ * @author Anna Kantorovitch and Benedikt Kämpgen
66 * @file SWB_Settings
77 * @ingroup SWB
88 */
@@ -14,20 +14,18 @@
1515 # between including this file and the call to enableSemantics().#
1616 # Exceptions that need to be set before are documented below. #
1717 #################################################################
18 -$swbgIP = dirname( __FILE__ ) . '/../SemanticWebBrowser/';
 18+$swbgIP = dirname( __FILE__ ) . '/';
1919
20 -
2120 // TODO: description does not look nice.
2221 $wgExtensionCredits['semantic'][] = array(
23 - 'path' => __FILE__,
24 - 'name' => 'Semantic Web Browser',
25 - 'version' => '0.2',
26 - 'author' => 'Benedikt Kaempgen, Anna Kantorovitch.',
27 - 'url' => 'http://semantic-mediawiki.org',
28 - 'descriptionmsg' => 'This extension adds a special page (and later a factbox) Browse Wiki and Semantic Web.'
 22+ 'path' => __FILE__,
 23+ 'name' => 'Semantic Web Browser',
 24+ 'version' => '0.2',
 25+ 'author' => 'Benedikt Kaempgen, Anna Kantorovitch.',
 26+ 'url' => 'http://semantic-mediawiki.org',
 27+ 'descriptionmsg' => 'This extension adds a special page (and later a factbox) Browse Wiki and Semantic Web.'
2928 );
3029
31 -
3230 /**
3331 * The toolbox of each content page show a link to browse the semantic web
3432 *of that page using Special:Browse Wiki & Semantic Web
@@ -35,8 +33,7 @@
3634
3735 $swbgToolboxBrowseSemWeb = true;
3836
39 -
4037 // load global constants and setup functions
41 -require_once( $swbgIP.'includes/SWB_Setup.php' );
 38+require_once( $swbgIP.'SemanticWebBrowser.php' );
4239
4340 ?>
\ No newline at end of file

Comments

#Comment by Nikerabbit (talk | contribs)   08:48, 29 November 2011

Tabs are not so good for non-line beginning indentation. We don't use ?> at the end of the file. Author field accepts an array of authors.