Index: trunk/phase3/includes/Article.php |
— | — | @@ -1085,13 +1085,15 @@ |
1086 | 1086 | * desired, does nothing. |
1087 | 1087 | */ |
1088 | 1088 | public function showPatrolFooter() { |
1089 | | - global $wgOut, $wgRequest; |
| 1089 | + global $wgOut, $wgRequest, $wgUser; |
1090 | 1090 | $rcid = $wgRequest->getVal( 'rcid' ); |
1091 | 1091 | |
1092 | 1092 | if( !$rcid || !$this->mTitle->exists() || !$this->mTitle->quickUserCan( 'patrol' ) ) { |
1093 | 1093 | return; |
1094 | 1094 | } |
1095 | 1095 | |
| 1096 | + $sk = $wgUser->getSkin(); |
| 1097 | + |
1096 | 1098 | $wgOut->addHTML( |
1097 | 1099 | "<div class='patrollink'>" . |
1098 | 1100 | wfMsgHtml( |