Index: trunk/phase3/includes/Article.php |
— | — | @@ -1019,8 +1019,7 @@ |
1020 | 1020 | $sql="SELECT old_text FROM old WHERE old_namespace=0 and old_title='" . wfStrencode($wgTitle->getPrefixedDBkey())."' ORDER BY inverse_timestamp LIMIT 1"; |
1021 | 1021 | $res=wfQuery($sql,$fname); |
1022 | 1022 | if( $old=wfFetchObject($res)) { |
1023 | | - |
1024 | | - $skin=new Skin(); |
| 1023 | + $skin=$wgUser->getSkin(); |
1025 | 1024 | $wgOut->addHTML("<B>".wfMsg("historywarning")); |
1026 | 1025 | $wgOut->addHTML( $skin->historyLink() ."</B><P>"); |
1027 | 1026 | } |