r51911 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51910‎ | r51911 | r51912 >
Date:16:14, 15 June 2009
Author:kim
Status:deferred
Tags:
Comment:
new scripted: supported extensions by gerard
Modified paths:
  • /trunk/testing/installer/installfiles/extensions/EditToolbar.install (added) (history)
  • /trunk/testing/installer/installfiles/extensions/EditToolbar.install/EditToolbar.php.settings (added) (history)
  • /trunk/testing/installer/installfiles/extensions/EditToolbar.install/download.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/EditToolbar.install/info (added) (history)
  • /trunk/testing/installer/installfiles/extensions/EditToolbar.install/is_installed.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/EditToolbar.install/license+info.txt (added) (history)
  • /trunk/testing/installer/installfiles/extensions/EditToolbar.install/uninstall.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/EditToolbar.install/update.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install/SocialProfile.php.settings (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install/download.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install/info (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install/is_installed.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install/license+info.txt (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install/setup.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install/uninstall.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/SocialProfile.install/update.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install (added) (history)
  • /trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/UsabilityInitiative.php.settings (added) (history)
  • /trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/download.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/info (added) (history)
  • /trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/is_installed.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/license+info.txt (added) (history)
  • /trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/uninstall.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/update.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install/download.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install/info (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install/is_installed.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install/license+info.txt (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install/timeline.php (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install/timeline.php.settings (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install/uninstall.sh (added) (history)
  • /trunk/testing/installer/installfiles/extensions/timeline.install/update.sh (added) (history)

Diff [purge]

Index: trunk/testing/installer/installfiles/extensions/SocialProfile.install/setup.sh
@@ -0,0 +1,4 @@
 2+#!/bin/sh
 3+
 4+php $DESTINATION_DIR/$NAME/install.php
 5+
Property changes on: trunk/testing/installer/installfiles/extensions/SocialProfile.install/setup.sh
___________________________________________________________________
Added: svn:executable
16 + *
Index: trunk/testing/installer/installfiles/extensions/SocialProfile.install/info
@@ -0,0 +1,3 @@
 2+SocialProfile
 3+=============
 4+http://www.mediawiki.org/wiki/Extension:SocialProfile
Index: trunk/testing/installer/installfiles/extensions/SocialProfile.install/update.sh
@@ -0,0 +1,8 @@
 2+#!/bin/sh
 3+
 4+cd $DESTINATION_DIR/$NAME
 5+if test -n "$REVISION"; then
 6+ svn update -r $REVISION
 7+else
 8+ svn update
 9+fi
Property changes on: trunk/testing/installer/installfiles/extensions/SocialProfile.install/update.sh
___________________________________________________________________
Added: svn:executable
110 + *
Index: trunk/testing/installer/installfiles/extensions/SocialProfile.install/license info.txt
@@ -0,0 +1 @@
 2+The files in this directory are (c) 2008-2009 Gerard Meijssen - MIT license
\ No newline at end of file
Index: trunk/testing/installer/installfiles/extensions/SocialProfile.install/SocialProfile.php.settings
@@ -0,0 +1,35 @@
 2+<?PHP
 3+
 4+require_once("$IP/extensions/SocialProfile/SocialProfile.php");
 5+$wgExtraNamespaces[NS_USER_PROFILE] = 'User_profile';
 6+$wgExtraNamespaces[NS_USER_WIKI] = 'UserWiki';
 7+
 8+$wgUserProfileDisplay['friends'] = true;
 9+$wgUserProfileDisplay['foes'] = true;
 10+
 11+$wgUserBoard = true;
 12+$wgUserProfileDisplay['board'] = true;
 13+
 14+$wgUserProfileDisplay['stats'] = true;
 15+
 16+$wgUserStatsPointValues['edit'] = 50; // Points awarded on a main namespace edit
 17+$wgUserStatsPointValues['vote'] = 0; // Points awarded for voting for an article
 18+$wgUserStatsPointValues['comment'] = 0; // Points awarded for leaving a comment
 19+$wgUserStatsPointValues['comment_plus'] = 0; // Points awarded if your comment gets a thumbs up
 20+$wgUserStatsPointValues['comment_ignored'] = 0; // Points awarded if another user ignores your comments
 21+$wgUserStatsPointValues['opinions_created'] = 0; // Points awarded for writing a blog article
 22+$wgUserStatsPointValues['opinions_pub'] = 0; // Points awarded for having that article hit the "Blogs" page
 23+$wgUserStatsPointValues['referral_complete'] = 0; // Points awarded for recruiting a new user
 24+$wgUserStatsPointValues['friend'] = 0; // Points awarded for adding a friend
 25+$wgUserStatsPointValues['foe'] = 0; // Points awarded for adding a foe
 26+$wgUserStatsPointValues['gift_rec'] = 0; // Points awarded for receiving a gift
 27+$wgUserStatsPointValues['gift_sent'] = 0; // Points awarded for giving a gift
 28+$wgUserStatsPointValues['points_winner_weekly'] = 0; // Points awarded for having the most points for a week
 29+$wgUserStatsPointValues['points_winner_monthly'] = 0; // Points awarded for having the most points for a month
 30+$wgUserStatsPointValues['user_image'] = 1000; // Points awareded for adding your first avatar
 31+$wgUserStatsPointValues['poll_vote'] = 0; // Points awarded for taking a poll
 32+$wgUserStatsPointValues['quiz_points'] = 0; // Points awarded for answering a quiz question
 33+$wgUserStatsPointValues['quiz_created'] = 0; // Points awarded for creating a quiz question
 34+$wgNamespacesForEditPoints = array(0); // Array of namespaces for that can earn you points. Use numerical keys. Default is 0 -- only main namespace edits can earn a user points.
 35+
 36+?>
Index: trunk/testing/installer/installfiles/extensions/SocialProfile.install/download.sh
@@ -0,0 +1,10 @@
 2+#!/bin/sh
 3+
 4+repository="$EXTENSIONS_SVN/$NAME"
 5+
 6+cd $DESTINATION_DIR
 7+if test -n "$REVISION"; then
 8+ svn checkout -r $REVISION $repository
 9+else
 10+ svn checkout $repository
 11+fi
Property changes on: trunk/testing/installer/installfiles/extensions/SocialProfile.install/download.sh
___________________________________________________________________
Added: svn:executable
112 + *
Index: trunk/testing/installer/installfiles/extensions/SocialProfile.install/uninstall.sh
@@ -0,0 +1,4 @@
 2+#!/bin/sh
 3+
 4+cd $DESTINATION_DIR
 5+rm -rf $NAME
Property changes on: trunk/testing/installer/installfiles/extensions/SocialProfile.install/uninstall.sh
___________________________________________________________________
Added: svn:executable
16 + *
Index: trunk/testing/installer/installfiles/extensions/SocialProfile.install/is_installed.sh
@@ -0,0 +1,3 @@
 2+#!/bin/sh
 3+
 4+test -d $DESTINATION_DIR/$NAME && echo "true" || echo "false"
Property changes on: trunk/testing/installer/installfiles/extensions/SocialProfile.install/is_installed.sh
___________________________________________________________________
Added: svn:executable
15 + *
Index: trunk/testing/installer/installfiles/extensions/timeline.install/uninstall.sh
@@ -0,0 +1,4 @@
 2+#!/bin/sh
 3+
 4+cd $DESTINATION_DIR
 5+rm -rf $NAME
Property changes on: trunk/testing/installer/installfiles/extensions/timeline.install/uninstall.sh
___________________________________________________________________
Added: svn:executable
16 + *
Index: trunk/testing/installer/installfiles/extensions/timeline.install/is_installed.sh
@@ -0,0 +1,3 @@
 2+#!/bin/sh
 3+
 4+test -d $DESTINATION_DIR/$NAME && echo "true" || echo "false"
Property changes on: trunk/testing/installer/installfiles/extensions/timeline.install/is_installed.sh
___________________________________________________________________
Added: svn:executable
15 + *
Index: trunk/testing/installer/installfiles/extensions/timeline.install/info
@@ -0,0 +1,2 @@
 2+EasyTimeline:
 3+http://www.mediawiki.org/wiki/Extension:EasyTimeline
Index: trunk/testing/installer/installfiles/extensions/timeline.install/timeline.php.settings
@@ -0,0 +1,9 @@
 2+<?PHP
 3+
 4+require_once("$IP/extensions/timeline/Timeline.php");
 5+#Ploticus and perl have to be installed
 6+
 7+#$wgTimelineSettings->ploticusCommand = "/usr/bin/ploticus";
 8+#$wgTimelineSettings->perlCommand = "/usr/bin/perl";
 9+
 10+?>
Index: trunk/testing/installer/installfiles/extensions/timeline.install/update.sh
@@ -0,0 +1,8 @@
 2+#!/bin/sh
 3+
 4+cd $DESTINATION_DIR/$NAME
 5+if test -n "$REVISION"; then
 6+ svn update -r $REVISION
 7+else
 8+ svn update
 9+fi
Property changes on: trunk/testing/installer/installfiles/extensions/timeline.install/update.sh
___________________________________________________________________
Added: svn:executable
110 + *
Index: trunk/testing/installer/installfiles/extensions/timeline.install/license info.txt
@@ -0,0 +1 @@
 2+The files in this directory are (c) 2008-2009 Gerard Meijssen - MIT license
\ No newline at end of file
Index: trunk/testing/installer/installfiles/extensions/timeline.install/timeline.php
@@ -0,0 +1,9 @@
 2+<?PHP
 3+
 4+require_once("$IP/extensions/timeline/Timeline.php");
 5+#Ploticus and perl have to be installed
 6+
 7+#$wgTimelineSettings->ploticusCommand = "/usr/bin/ploticus";
 8+#$wgTimelineSettings->perlCommand = "/usr/bin/perl";
 9+
 10+?>
Index: trunk/testing/installer/installfiles/extensions/timeline.install/download.sh
@@ -0,0 +1,10 @@
 2+#!/bin/sh
 3+
 4+repository="$EXTENSIONS_SVN/$NAME"
 5+
 6+cd $DESTINATION_DIR
 7+if test -n "$REVISION"; then
 8+ svn checkout -r $REVISION $repository
 9+else
 10+ svn checkout $repository
 11+fi
Property changes on: trunk/testing/installer/installfiles/extensions/timeline.install/download.sh
___________________________________________________________________
Added: svn:executable
112 + *
Index: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/info
@@ -0,0 +1,3 @@
 2+UsabilityInitiative:
 3+====================
 4+http://www.mediawiki.org/wiki/Extension:UsabilityInitiative
Index: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/update.sh
@@ -0,0 +1,8 @@
 2+#!/bin/sh
 3+
 4+cd $DESTINATION_DIR/$NAME
 5+if test -n "$REVISION"; then
 6+ svn update -r $REVISION
 7+else
 8+ svn update
 9+fi
Property changes on: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/update.sh
___________________________________________________________________
Added: svn:executable
110 + *
Index: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/license info.txt
@@ -0,0 +1 @@
 2+The files in this directory are (c) 2008-2009 Gerard Meijssen - MIT license
\ No newline at end of file
Index: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/UsabilityInitiative.php.settings
@@ -0,0 +1,8 @@
 2+<?PHP
 3+
 4+require_once("$IP/extensions/UsabilityInitiative/UsabilityInitiative.php");
 5+require_once("$IP/extensions/UsabilityInitiative/EditWarning/EditWarning.php");
 6+require_once("$IP/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php");
 7+require_once("$IP/extensions/UsabilityInitiative/PrefStats/PrefStats.php");
 8+
 9+?>
Index: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/download.sh
@@ -0,0 +1,10 @@
 2+#!/bin/sh
 3+
 4+repository="$EXTENSIONS_SVN/$NAME"
 5+
 6+cd $DESTINATION_DIR
 7+if test -n "$REVISION"; then
 8+ svn checkout -r $REVISION $repository
 9+else
 10+ svn checkout $repository
 11+fi
Property changes on: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/download.sh
___________________________________________________________________
Added: svn:executable
112 + *
Index: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/uninstall.sh
@@ -0,0 +1,4 @@
 2+#!/bin/sh
 3+
 4+cd $DESTINATION_DIR
 5+rm -rf $NAME
Property changes on: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/uninstall.sh
___________________________________________________________________
Added: svn:executable
16 + *
Index: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/is_installed.sh
@@ -0,0 +1,3 @@
 2+#!/bin/sh
 3+
 4+test -d $DESTINATION_DIR/$NAME && echo "true" || echo "false"
Property changes on: trunk/testing/installer/installfiles/extensions/UsabilityInitiative.install/is_installed.sh
___________________________________________________________________
Added: svn:executable
15 + *
Index: trunk/testing/installer/installfiles/extensions/EditToolbar.install/info
@@ -0,0 +1,5 @@
 2+InputBox
 3+========
 4+http://www.mediawiki.org/wiki/Extension:InputBox
 5+
 6+The Inputbox extension is a MediaWiki extension which adds already created HTML forms to wiki pages.
Index: trunk/testing/installer/installfiles/extensions/EditToolbar.install/update.sh
@@ -0,0 +1,8 @@
 2+#!/bin/sh
 3+
 4+cd $DESTINATION_DIR/$NAME
 5+if test -n "$REVISION"; then
 6+ svn update -r $REVISION
 7+else
 8+ svn update
 9+fi
Property changes on: trunk/testing/installer/installfiles/extensions/EditToolbar.install/update.sh
___________________________________________________________________
Added: svn:executable
110 + *
Index: trunk/testing/installer/installfiles/extensions/EditToolbar.install/license info.txt
@@ -0,0 +1 @@
 2+The files in this directory are (c) 2008-2009 Gerard Meijssen - MIT license
\ No newline at end of file
Index: trunk/testing/installer/installfiles/extensions/EditToolbar.install/EditToolbar.php.settings
@@ -0,0 +1,5 @@
 2+<?PHP
 3+
 4+require_once("$IP/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php");
 5+
 6+?>
Index: trunk/testing/installer/installfiles/extensions/EditToolbar.install/download.sh
@@ -0,0 +1,10 @@
 2+#!/bin/sh
 3+
 4+repository="$EXTENSIONS_SVN/UsabilityInitiative/$NAME"
 5+
 6+cd $DESTINATION_DIR/UsabilityInitiative
 7+if test -n "$REVISION"; then
 8+ svn checkout -r $REVISION $repository
 9+else
 10+ svn checkout $repository
 11+fi
Property changes on: trunk/testing/installer/installfiles/extensions/EditToolbar.install/download.sh
___________________________________________________________________
Added: svn:executable
112 + *
Index: trunk/testing/installer/installfiles/extensions/EditToolbar.install/uninstall.sh
@@ -0,0 +1,4 @@
 2+#!/bin/sh
 3+
 4+cd $DESTINATION_DIR/UsabilityInitiative
 5+rm -rf $NAME
Property changes on: trunk/testing/installer/installfiles/extensions/EditToolbar.install/uninstall.sh
___________________________________________________________________
Added: svn:executable
16 + *
Index: trunk/testing/installer/installfiles/extensions/EditToolbar.install/is_installed.sh
@@ -0,0 +1,3 @@
 2+#!/bin/sh
 3+
 4+test -d $DESTINATION_DIR/UsabilityInitiative/$NAME && echo "true" || echo "false"
Property changes on: trunk/testing/installer/installfiles/extensions/EditToolbar.install/is_installed.sh
___________________________________________________________________
Added: svn:executable
15 + *

Status & tagging log