Index: trunk/extensions/Wikilog/WikilogItemPager.php |
— | — | @@ -490,12 +490,14 @@ |
491 | 491 | case 'wlw_title': |
492 | 492 | $page = $this->mCurrentItem->mParentTitle; |
493 | 493 | $text = $this->mCurrentItem->mParentName; |
494 | | - return $this->getSkin()->makeKnownLinkObj( $page, $text ); |
| 494 | + return $this->getSkin()->link( $page, $text, array(), array(), |
| 495 | + array( 'known', 'noclasses' ) ); |
495 | 496 | |
496 | 497 | case 'wlp_title': |
497 | 498 | $page = $this->mCurrentItem->mTitle; |
498 | 499 | $text = $this->mCurrentItem->mName; |
499 | | - $s = $this->getSkin()->makeKnownLinkObj( $page, $text ); |
| 500 | + $s = $this->getSkin()->link( $page, $text, array(), array(), |
| 501 | + array( 'known', 'noclasses' ) ); |
500 | 502 | if ( !$this->mCurrentRow->wlp_publish ) { |
501 | 503 | $draft = wfMsg( 'wikilog-draft-title-mark' ); |
502 | 504 | $s = Xml::wrapClass( "$s $draft", 'wl-draft-inline' ); |
— | — | @@ -505,7 +507,8 @@ |
506 | 508 | case 'wlp_num_comments': |
507 | 509 | $page = $this->mCurrentItem->mTitle->getTalkPage(); |
508 | 510 | $text = $this->mCurrentItem->getNumComments(); |
509 | | - return $this->getSkin()->makeKnownLinkObj( $page, $text ); |
| 511 | + return $this->getSkin()->link( $page, $text, array(), array(), |
| 512 | + array( 'known', 'noclasses' ) ); |
510 | 513 | |
511 | 514 | case '_wl_actions': |
512 | 515 | if ( $this->mCurrentItem->mTitle->quickUserCan( 'edit' ) ) { |
— | — | @@ -570,7 +573,7 @@ |
571 | 574 | private function authorLink( $name ) { |
572 | 575 | $skin = $this->getSkin(); |
573 | 576 | $title = Title::makeTitle( NS_USER, $name ); |
574 | | - return $skin->makeLinkObj( $title, $name ); |
| 577 | + return $skin->link( $title, $name ); |
575 | 578 | } |
576 | 579 | |
577 | 580 | /** |
Index: trunk/extensions/Wikilog/WikilogMainPage.php |
— | — | @@ -46,6 +46,7 @@ |
47 | 47 | public $mWikilogIcon = false; |
48 | 48 | public $mWikilogLogo = false; |
49 | 49 | public $mWikilogAuthors = false; |
| 50 | + public $mWikilogUpdated = false; |
50 | 51 | public $mWikilogPubdate = false; |
51 | 52 | |
52 | 53 | /** |
— | — | @@ -172,7 +173,7 @@ |
173 | 174 | ); |
174 | 175 | } |
175 | 176 | $s .= Xml::tags( 'div', array( 'class' => 'wl-title' ), |
176 | | - $skin->makeKnownLinkObj( $this->mTitle ) ); |
| 177 | + $skin->link( $this->mTitle, null, array(), array(), array( 'known', 'noclasses' ) ) ); |
177 | 178 | |
178 | 179 | $st =& $this->mWikilogSubtitle; |
179 | 180 | if ( is_array( $st ) ) { |
— | — | @@ -221,14 +222,11 @@ |
222 | 223 | global $wgWikilogFeedClasses; |
223 | 224 | |
224 | 225 | // Uses messages 'wikilog-post-count-published', 'wikilog-post-count-drafts', 'wikilog-post-count-all' |
225 | | - $s = $skin->makeKnownLinkObj( |
226 | | - $this->mTitle, |
227 | | - wfMsgExt( |
228 | | - "wikilog-post-count-{$type}", |
229 | | - array( 'parsemag' ), |
230 | | - $num |
231 | | - ), |
232 | | - "view=archives&show={$type}" |
| 226 | + $s = $skin->link( $this->mTitle, |
| 227 | + wfMsgExt( "wikilog-post-count-{$type}", array( 'parsemag' ), $num ), |
| 228 | + array(), |
| 229 | + array( 'view' => "archives", 'show' => $type ), |
| 230 | + array( 'knwon', 'noclasses' ) |
233 | 231 | ); |
234 | 232 | if ( !empty( $wgWikilogFeedClasses ) ) { |
235 | 233 | $f = array(); |
— | — | @@ -237,7 +235,7 @@ |
238 | 236 | wfMsg( "feed-{$format}" ), |
239 | 237 | array( 'class' => "feedlink", 'type' => "application/{$format}+xml" ), |
240 | 238 | array( 'view' => "archives", 'show' => $type, 'feed' => $format ), |
241 | | - 'known' |
| 239 | + array( 'known', 'noclasses' ) |
242 | 240 | ); |
243 | 241 | } |
244 | 242 | $s .= ' (' . implode( ', ', $f ) . ')'; |
Index: trunk/extensions/Wikilog/WikilogCommentsPage.php |
— | — | @@ -328,8 +328,10 @@ |
329 | 329 | ); |
330 | 330 | } else { |
331 | 331 | $loginTitle = SpecialPage::getTitleFor( 'Userlogin' ); |
332 | | - $loginLink = $this->mSkin->makeKnownLinkObj( $loginTitle, |
333 | | - wfMsgHtml( 'loginreqlink' ), 'returnto=' . $wgTitle->getPrefixedUrl() ); |
| 332 | + $loginLink = $this->mSkin->link( $loginTitle, |
| 333 | + wfMsgHtml( 'loginreqlink' ), array(), |
| 334 | + array( 'returnto' => $wgTitle->getPrefixedUrl() ) |
| 335 | + ); |
334 | 336 | $message = wfMsg( 'wikilog-posting-anonymously', $loginLink ); |
335 | 337 | $fields[] = array( |
336 | 338 | Xml::label( wfMsg( 'wikilog-form-name' ), 'wl-name' ), |