Skip to content

Commit 7711625

Browse files
forgot autoload
1 parent a736bbf commit 7711625

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
File renamed without changes.

TalkRight.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
# Extension credits
1717
$GLOBALS['wgExtensionCredits']['other'][] = array(
1818
'name' => 'TalkRight',
19-
'version' => '1.5.1',
20-
'author' => array('P.Levêque', 'Marc Noirot', 'James Montalvo'),
19+
'version' => '1.5.0',
20+
'author' => array('P.Leveque', 'Marc Noirot', 'James Montalvo'),
2121
'description' => 'Adds a <tt>talk</tt> permission independent from article edition',
2222
'url' => 'http://www.mediawiki.org/wiki/Extension:Talkright',
2323
);
@@ -26,5 +26,8 @@
2626
$GLOBALS['wgHooks']['AlternateEdit'][] = 'TalkRight::alternateEdit';
2727
$GLOBALS['wgHooks']['ParserBeforeStrip'][] = 'TalkRight::giveEditRightsWhenViewingTalkPages';
2828

29+
# Autoload
30+
$GLOBALS['wgAutoloadClasses']['TalkRight'] = __DIR__ . '/TalkRight.class.php';
31+
2932
# Global 'talk' right
3033
$GLOBALS['wgAvailableRights'][] = 'talk';

0 commit comments

Comments
 (0)