Index: trunk/extensions/ArticleFeedback/ArticleFeedback.php |
— | — | @@ -10,6 +10,10 @@ |
11 | 11 | * @version 0.1.0 |
12 | 12 | */ |
13 | 13 | |
| 14 | +/* XXX: Survey setup */ |
| 15 | + |
| 16 | +require_once( $dir . '../SimpleSurvey/SimpleSurvey.php' ); |
| 17 | + |
14 | 18 | /* Configuration */ |
15 | 19 | |
16 | 20 | // If the number of page revisions (since users last rating) is greater than this then consider the |
— | — | @@ -89,7 +93,3 @@ |
90 | 94 | // API Registration |
91 | 95 | $wgAPIListModules['articlefeedback'] = 'ApiQueryArticleFeedback'; |
92 | 96 | $wgAPIModules['articlefeedback'] = 'ApiArticleFeedback'; |
93 | | - |
94 | | -/* XXX: Survey setup */ |
95 | | - |
96 | | -require_once( $dir . '../SimpleSurvey/SimpleSurvey.php' ); |