summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/FluxBBAuthPlugin.php6
-rw-r--r--extensions/FunnyQuestion/FunnyQuestion.php8
2 files changed, 7 insertions, 7 deletions
diff --git a/extensions/FluxBBAuthPlugin.php b/extensions/FluxBBAuthPlugin.php
index e48c431c..fa54d807 100644
--- a/extensions/FluxBBAuthPlugin.php
+++ b/extensions/FluxBBAuthPlugin.php
@@ -4,13 +4,13 @@ $wgHooks['isValidPassword'][] = 'FluxBBAuthPlugin::isValidPassword';
$wgExtensionCredits['other'][] = array(
'name' => 'FluxBBAuthPlugin',
- 'version' => '1.1',
+ 'version' => '1.2',
'description' => 'Use FluxBB accounts in MediaWiki',
'author' => 'Pierre Schmitz',
- 'url' => 'https://users.archlinux.de/~pierre/'
+ 'url' => 'https://pierre-schmitz.com/'
);
-require_once('includes/AuthPlugin.php');
+require_once(__DIR__.'/../includes/AuthPlugin.php');
class FluxBBAuthPlugin extends AuthPlugin {
diff --git a/extensions/FunnyQuestion/FunnyQuestion.php b/extensions/FunnyQuestion/FunnyQuestion.php
index 8929211e..8db54617 100644
--- a/extensions/FunnyQuestion/FunnyQuestion.php
+++ b/extensions/FunnyQuestion/FunnyQuestion.php
@@ -2,10 +2,10 @@
$wgExtensionCredits['other'][] = array(
'name' => 'FunnyQuestion',
- 'version' => '2.1',
+ 'version' => '2.2',
'description' => 'Challenge-response authentication',
'author' => 'Pierre Schmitz',
- 'url' => 'https://www.archlinux.de'
+ 'url' => 'https://pierre-schmitz.com/'
);
global $wgFunnyQuestions;
@@ -18,8 +18,8 @@ $wgFunnyQuestionTimeout = 3600;
$wgFunnyQuestionWait = 2;
$wgFunnyQuestionRemember = 3600*24;
-$wgAutoloadClasses['FunnyQuestion'] = dirname(__FILE__) . '/FunnyQuestion.body.php';
-$wgExtensionMessagesFiles['FunnyQuestion'] = dirname( __FILE__ ) . '/FunnyQuestion.i18n.php';
+$wgAutoloadClasses['FunnyQuestion'] = __DIR__ . '/FunnyQuestion.body.php';
+$wgExtensionMessagesFiles['FunnyQuestion'] = __DIR__ . '/FunnyQuestion.i18n.php';
if ($wgGroupPermissions['*']['edit']) {
$wgHooks['EditPage::showEditForm:fields'][] = 'FunnyQuestion::addFunnyQuestionToEditPage';