Index: trunk/phase3/includes/FeedUtils.php |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | $actiontext = wfMsgHtml('rev-deleted-event'); |
65 | 65 | } else { |
66 | 66 | $actiontext = LogPage::actionText( $row->rc_log_type, $row->rc_log_action, |
67 | | - $titleObj, $wgUser->getSkin(), LogPage::extractParams($row->rc_params,true,true) ); |
| 67 | + $titleObj, RequestContext::getMain()->getSkin(), LogPage::extractParams($row->rc_params,true,true) ); |
68 | 68 | } |
69 | 69 | } |
70 | 70 | return self::formatDiffRow( $titleObj, |
— | — | @@ -88,13 +88,12 @@ |
89 | 89 | global $wgFeedDiffCutoff, $wgLang, $wgUser; |
90 | 90 | wfProfileIn( __METHOD__ ); |
91 | 91 | |
92 | | - $skin = $wgUser->getSkin(); |
93 | 92 | # log enties |
94 | 93 | $completeText = '<p>' . implode( ' ', |
95 | 94 | array_filter( |
96 | 95 | array( |
97 | 96 | $actiontext, |
98 | | - $skin->formatComment( $comment ) ) ) ) . "</p>\n"; |
| 97 | + Linker::formatComment( $comment ) ) ) ) . "</p>\n"; |
99 | 98 | |
100 | 99 | //NOTE: Check permissions for anonymous users, not current user. |
101 | 100 | // No "privileged" version should end up in the cache. |