From ba6b4c048e434ddc495e96976a9f12aea208449c Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 9 Sep 2004 12:11:10 +0000 Subject: [PATCH] I had a fix for this bug sitting in my working copy for over a week without getting around to committing. I see someone else has fixed it for me, but I like my way better :-) Sure, it's still a special case, but it's less special. --- includes/OutputPage.php | 1 + includes/SpecialContributions.php | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 777039a881..c208e650ac 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -387,6 +387,7 @@ class OutputPage { $this->sendCacheControl(); # Perform link colouring $this->transformBuffer(); + $this->replaceLinkHolders( $this->mSubtitle ); # Disable temporary placeholders, so that the skin produces HTML $sk->postParseLinkColour( false ); diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index ededb4376d..d90540fb2f 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -44,11 +44,6 @@ function wfSpecialContributions( $par = '' ) { $id = User::idFromName( $nt->getText() ); - # These links are not in the body, so we can't use the delayed link colouring. - # Disable it and enable it again later. - $pPLC=$sk->postParseLinkColour(); - $sk->postParseLinkColour( false ); - if ( 0 == $id ) { $ul = $nt->getText(); } else { @@ -60,8 +55,6 @@ function wfSpecialContributions( $par = '' ) { $ul .= " (" . $sk->makeLinkObj( $talk, $wgLang->getNsText(Namespace::getTalk(0)) ) . ")"; } - # Enable delayed link colouring again. - $sk->postParseLinkColour( $pPLC ); if ( $target == 'newbies' ) { # View the contributions of all recently created accounts -- 2.20.1