Index: trunk/extensions/MoodBar/ApiQueryMoodBarComments.php |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | ApiResult::setContent( $r, $row->mbf_comment ); |
96 | 96 | } |
97 | 97 | if ( isset( $prop['formatted'] ) ) { |
98 | | - $r['formatted'] = SpecialMoodBarFeedback::formatListItem( $row ); |
| 98 | + $r['formatted'] = SpecialFeedbackDashboard::formatListItem( $row ); |
99 | 99 | } |
100 | 100 | return $r; |
101 | 101 | } |
Index: trunk/extensions/MoodBar/MoodBar.alias.php |
— | — | @@ -11,5 +11,5 @@ |
12 | 12 | /** English (English) */ |
13 | 13 | $specialPageAliases['en'] = array( |
14 | 14 | 'MoodBar' => array( 'MoodBar' ), |
15 | | - 'MoodBarFeedback' => array( 'MoodBarFeedback' ), |
| 15 | + 'FeedbackDashboard' => array( 'FeedbackDashboard' ), |
16 | 16 | ); |
Index: trunk/extensions/MoodBar/SpecialFeedbackDashboard.php |
— | — | @@ -1,10 +1,10 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * Special:MoodBarFeedback. Special page for viewing moodbar comments. |
| 4 | + * Special:FeedbackDashboard. Special page for viewing moodbar comments. |
5 | 5 | */ |
6 | | -class SpecialMoodBarFeedback extends SpecialPage { |
| 6 | +class SpecialFeedbackDashboard extends SpecialPage { |
7 | 7 | public function __construct() { |
8 | | - parent::__construct( 'MoodBarFeedback' ); |
| 8 | + parent::__construct( 'FeedbackDashboard' ); |
9 | 9 | } |
10 | 10 | |
11 | 11 | public function getDescription() { |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | $filterType = ''; |
21 | 21 | $id = intval( $par ); |
22 | 22 | if ( $id > 0 ) { |
23 | | - // Special:MoodBarFeedback/123 is an ID/permalink view |
| 23 | + // Special:FeedbackDashboard/123 is an ID/permalink view |
24 | 24 | $filters = array( 'id' => $id ); |
25 | 25 | $filterType = 'id'; |
26 | 26 | } else { |
— | — | @@ -127,7 +127,7 @@ |
128 | 128 | //$links = Linker::userToolLinks( $row->mbf_user_id, $username ); |
129 | 129 | $links = $GLOBALS['wgUser']->getSkin()->userToolLinks( $row->mbf_user_id, $username ); // 1.17wmf1 compat |
130 | 130 | $comment = htmlspecialchars( $row->mbf_comment ); |
131 | | - $permalinkURL = htmlspecialchars( SpecialPage::getTitleFor( 'MoodBarFeedback', $row->mbf_id )->getLinkURL() ); |
| 131 | + $permalinkURL = htmlspecialchars( SpecialPage::getTitleFor( 'FeedbackDashboard', $row->mbf_id )->getLinkURL() ); |
132 | 132 | $permalinkText = wfMessage( 'moodbar-feedback-permalink' )->escaped(); |
133 | 133 | $continueData = wfTimestamp( TS_MW, $row->mbf_timestamp ) . '|' . intval( $row->mbf_id ); |
134 | 134 | |
Index: trunk/extensions/MoodBar/MoodBar.php |
— | — | @@ -33,8 +33,8 @@ |
34 | 34 | // Special pages |
35 | 35 | $wgAutoloadClasses['SpecialMoodBar'] = dirname(__FILE__).'/SpecialMoodBar.php'; |
36 | 36 | $wgSpecialPages['MoodBar'] = 'SpecialMoodBar'; |
37 | | -$wgAutoloadClasses['SpecialMoodBarFeedback'] = dirname( __FILE__ ) . '/SpecialMoodBarFeedback.php'; |
38 | | -$wgSpecialPages['MoodBarFeedback'] = 'SpecialMoodBarFeedback'; |
| 37 | +$wgAutoloadClasses['SpecialFeedbackDashboard'] = dirname( __FILE__ ) . '/SpecialFeedbackDashboard.php'; |
| 38 | +$wgSpecialPages['FeedbackDashboard'] = 'SpecialFeedbackDashboard'; |
39 | 39 | |
40 | 40 | // User rights |
41 | 41 | $wgAvailableRights[] = 'moodbar-view'; |