r42822 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42821‎ | r42822 | r42823 >
Date:18:03, 30 October 2008
Author:ashley
Status:old
Tags:
Comment:
load AJAX functions here instead of hacking MW core, as per the discussion on http://www.mediawiki.org/wiki/Extension_talk:SocialProfile
Modified paths:
  • /trunk/extensions/SocialProfile/SocialProfile.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/SocialProfile.php
@@ -70,6 +70,10 @@
7171 $wgSpecialPageGroups['ViewRelationshipRequests'] = 'users';
7272 $wgSpecialPageGroups['ViewRelationships'] = 'users';
7373
 74+// Necessary AJAX functions
 75+require_once("$IP/extensions/SocialProfile/UserBoard/UserBoard_AjaxFunctions.php");
 76+require_once("$IP/extensions/SocialProfile/UserRelationship/Relationship_AjaxFunctions.php");
 77+
7478 // What to display on social profile pages by default?
7579 $wgUserProfileDisplay['board'] = true;
7680 $wgUserProfileDisplay['foes'] = true;

Status & tagging log