Added placeholders for text injection by hooks to EditPage.php
[lhc/web/wiklou.git] / includes / SpecialUnwatchedpages.php
index 51403b4..66e5c09 100644 (file)
@@ -39,14 +39,14 @@ class UnwatchedpagesPage extends QueryPage {
 
        function sortDescending() { return false; }
 
-       function formatResult( $result ) {
+       function formatResult( $skin, $result ) {
                global $wgContLang;
 
                $nt = Title::makeTitle( $result->namespace, $result->title );
                $text = $wgContLang->convert( $nt->getPrefixedText() );
 
-               $plink = Linker::makeKnownLinkObj( $nt, htmlspecialchars( $text ) );
-               $wlink = Linker::makeKnownLinkObj( $nt, wfMsgHtml( 'watch' ), 'action=watch' );
+               $plink = $skin->makeKnownLinkObj( $nt, htmlspecialchars( $text ) );
+               $wlink = $skin->makeKnownLinkObj( $nt, wfMsgHtml( 'watch' ), 'action=watch' );
 
                return wfSpecialList( $plink, $wlink );
        }