Index: branches/robchurch/logs/includes/BlockLogFormatter.php |
— | — | @@ -50,6 +50,9 @@ |
51 | 51 | global $wgUser; |
52 | 52 | $skin = $wgUser->getSkin(); |
53 | 53 | |
| 54 | + if( substr( $target->getText(), 0, 1 ) == '#' ) |
| 55 | + return $target->getText(); |
| 56 | + |
54 | 57 | $tools[] = $skin->makeLinkObj( $target->getTalkPage(), wfMsgHtml( 'talkpagelinktext' ) ); |
55 | 58 | $tools[] = $skin->makeKnownLinkObj( |
56 | 59 | SpecialPage::getTitleFor( 'Contributions', $target->getText() ), wfMsgHtml( 'contribslink' ) ); |
Index: branches/robchurch/logs/includes/LogPage.php |
— | — | @@ -91,9 +91,8 @@ |
92 | 92 | return wfMsg( $wgLogHeaders[$type] ); |
93 | 93 | } |
94 | 94 | |
| 95 | + |
95 | 96 | /** |
96 | | - * @static |
97 | | - */ |
98 | 97 | static function actionText( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false, $translate=false ) { |
99 | 98 | global $wgLang, $wgContLang, $wgLogActions; |
100 | 99 | |
— | — | @@ -171,7 +170,7 @@ |
172 | 171 | $rv = str_replace( "]]", "", $rv ); |
173 | 172 | } |
174 | 173 | return $rv; |
175 | | - } |
| 174 | + }*/ |
176 | 175 | |
177 | 176 | /** |
178 | 177 | * Insert a new log row, updating recent changes if |