From: Tim Starling Date: Thu, 9 Sep 2004 12:11:10 +0000 (+0000) Subject: I had a fix for this bug sitting in my working copy for over a week without getting... X-Git-Tag: 1.5.0alpha1~2038 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=ba6b4c048e434ddc495e96976a9f12aea208449c;p=lhc%2Fweb%2Fwiklou.git 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. --- 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