Index: trunk/extensions/ApprovedRevs/ApprovedRevs_body.php |
— | — | @@ -192,4 +192,16 @@ |
193 | 193 | |
194 | 194 | wfRunHooks( 'ApprovedRevsRevisionUnapproved', array( $parser, $title ) ); |
195 | 195 | } |
| 196 | + |
| 197 | + public static function addCSS() { |
| 198 | + global $wgOut, $egApprovedRevsScriptPath; |
| 199 | + $link = array( |
| 200 | + 'rel' => 'stylesheet', |
| 201 | + 'type' => 'text/css', |
| 202 | + 'media' => "screen", |
| 203 | + 'href' => "$egApprovedRevsScriptPath/ApprovedRevs.css" |
| 204 | + ); |
| 205 | + $wgOut->addLink( $link ); |
| 206 | + } |
| 207 | + |
196 | 208 | } |