r36399 - Code Review

From MediaWiki.org

Jump to: navigation, search
Repository:MediaWiki
Revision:r36398 | r36399 (on ViewVC) | r36400 >
Date:19:21, 17 June 2008
Author:ashley
Status:ok
Tags:
Comment:Fix some paths. Patch by Jlerner.
Modified paths:

Diff [purge]

Index: trunk/extensions/SocialProfile/SocialProfile.php
===================================================================
--- trunk/extensions/SocialProfile/SocialProfile.php	(revision 36398)
+++ trunk/extensions/SocialProfile/SocialProfile.php	(revision 36399)
@@ -45,7 +45,7 @@
 $wgUserProfileDisplay['friends'] = true;
 
 $wgExtensionCredits['other'][] = array(
-        'name' => 'WikiaUserProfile',
+        'name' => 'SocialProfile',
         'author' => 'Wikia, Inc. (Aaron Wright, David Pean)',
         'url' => 'http://www.mediawiki.org/wiki/Extension:SocialProfile',
         'description' => 'A set of Social Tools for MediaWiki',
@@ -113,9 +113,9 @@
 
 $wgUserProfileDirectory = "$IP/extensions/SocialProfile/UserProfile";
 
-$wgUserBoardScripts = "/extensions/SocialProfile/UserBoard";
-$wgUserProfileScripts = "/extensions/SocialProfile/UserProfile";
-$wgUserRelationshipScripts = "/extensions/SocialProfile/UserRelationship";
+$wgUserBoardScripts = "$wgScriptPath/extensions/SocialProfile/UserBoard";
+$wgUserProfileScripts = "$wgScriptPath/extensions/SocialProfile/UserProfile";
+$wgUserRelationshipScripts = "$wgScriptPath/extensions/SocialProfile/UserRelationship";
 
 require_once("$IP/extensions/SocialProfile/YUI/YUI.php");
 require_once( "{$wgUserProfileDirectory}/UserProfile.php" );
Views
Toolbox