A wfProfileOut was missing (which messed up profiling sometimes). Thanks to Owen...
authorSean Colombo <sean_colombo@users.mediawiki.org>
Tue, 11 Jan 2011 22:20:56 +0000 (22:20 +0000)
committerSean Colombo <sean_colombo@users.mediawiki.org>
Tue, 11 Jan 2011 22:20:56 +0000 (22:20 +0000)
includes/Linker.php

index d28e093..30a4b00 100644 (file)
@@ -159,6 +159,7 @@ class Linker {
        public function link( $target, $text = null, $customAttribs = array(), $query = array(), $options = array() ) {
                wfProfileIn( __METHOD__ );
                if ( !$target instanceof Title ) {
+                       wfProfileOut( __METHOD__ );
                        return "<!-- ERROR -->$text";
                }
                $options = (array)$options;