Index: trunk/extensions/MoodBar/SpecialMoodBarFeedback.php |
— | — | @@ -124,7 +124,8 @@ |
125 | 125 | ); |
126 | 126 | $timeMsg = wfMessage( 'ago' )->params( $time )->escaped(); |
127 | 127 | $username = htmlspecialchars( $row->user_name === null ? $row->mbf_user_ip : $row->user_name ); |
128 | | - $links = Linker::userToolLinks( $row->mbf_user_id, $username ); |
| 128 | + //$links = Linker::userToolLinks( $row->mbf_user_id, $username ); |
| 129 | + $links = $GLOBALS['wgUser']->getSkin()->userToolLinks( $row->mbf_user_id, $username ); // 1.17wmf1 compat |
129 | 130 | $comment = htmlspecialchars( $row->mbf_comment ); |
130 | 131 | $permalinkURL = htmlspecialchars( SpecialPage::getTitleFor( 'MoodBarFeedback', $row->mbf_id )->getLinkURL() ); |
131 | 132 | $permalinkText = wfMessage( 'moodbar-feedback-permalink' )->escaped(); |
Index: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.js |
— | — | @@ -133,7 +133,8 @@ |
134 | 134 | reqData['mbcuser'] = formState.username; |
135 | 135 | } |
136 | 136 | |
137 | | - $.ajax( mw.util.wikiScript( 'api' ), { |
| 137 | + $.ajax( { |
| 138 | + 'url': mw.util.wikiScript( 'api' ), |
138 | 139 | 'data': reqData, |
139 | 140 | 'success': function( data ) { |
140 | 141 | // Remove the spinner and restore the "More" link |