Skip to content

Commit

Permalink
forgot autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontalvo3 committed Jun 6, 2014
1 parent a736bbf commit 7711625
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
File renamed without changes.
7 changes: 5 additions & 2 deletions TalkRight.php
Expand Up @@ -16,8 +16,8 @@
# Extension credits
$GLOBALS['wgExtensionCredits']['other'][] = array(
'name' => 'TalkRight',
'version' => '1.5.1',
'author' => array('P.Levêque', 'Marc Noirot', 'James Montalvo'),
'version' => '1.5.0',
'author' => array('P.Leveque', 'Marc Noirot', 'James Montalvo'),
'description' => 'Adds a <tt>talk</tt> permission independent from article edition',
'url' => 'http://www.mediawiki.org/wiki/Extension:Talkright',
);
Expand All @@ -26,5 +26,8 @@
$GLOBALS['wgHooks']['AlternateEdit'][] = 'TalkRight::alternateEdit';
$GLOBALS['wgHooks']['ParserBeforeStrip'][] = 'TalkRight::giveEditRightsWhenViewingTalkPages';

# Autoload
$GLOBALS['wgAutoloadClasses']['TalkRight'] = __DIR__ . '/TalkRight.class.php';

# Global 'talk' right
$GLOBALS['wgAvailableRights'][] = 'talk';

0 comments on commit 7711625

Please sign in to comment.