Index: trunk/extensions/MarkAsHelpful/MarkAsHelpful.php |
— | — | @@ -8,6 +8,10 @@ |
9 | 9 | die(); |
10 | 10 | } |
11 | 11 | |
| 12 | +// Configuration |
| 13 | +// TODO: document |
| 14 | +$wgMarkAsHelpfulType = array(); |
| 15 | + |
12 | 16 | // Extension credits that will show up on Special:Version |
13 | 17 | $wgExtensionCredits['other'][] = array( |
14 | 18 | 'path' => __FILE__, |
Index: trunk/extensions/MarkAsHelpful/MarkAsHelpful.hooks.php |
— | — | @@ -29,7 +29,7 @@ |
30 | 30 | /** |
31 | 31 | * Runs MarkAsHelpful schema updates# |
32 | 32 | * |
33 | | - * @param $updater DatabasEUpdater |
| 33 | + * @param $updater DatabaseUpdater |
34 | 34 | */ |
35 | 35 | public static function onLoadExtensionSchemaUpdates( $updater = null ) { |
36 | 36 | $updater->addExtensionTable( 'mark_as_helpful', dirname( __FILE__ ) . '/sql/mark_as_helpful.sql' ); |
Index: trunk/extensions/MarkAsHelpful/api/ApiMarkAsHelpful.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | |
15 | 15 | $isAbleToMark = true; |
16 | 16 | |
17 | | - // Gives other extension the last chance to speicfy mark as helpful permission rules |
| 17 | + // Gives other extension the last chance to specify mark as helpful permission rules |
18 | 18 | wfRunHooks( 'onMarkItemAsHelpful', array( $params['mahaction'], $params['type'], $params['item'], $wgUser, &$isAbleToMark ) ); |
19 | 19 | |
20 | 20 | if ( !$isAbleToMark ) { |