Use getPrefixedDBkey() for template profile call.
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 7 Jun 2013 17:42:59 +0000 (10:42 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 7 Jun 2013 17:42:59 +0000 (10:42 -0700)
Change-Id: Iac5183635984aa9261c1e85e32f6bb173ec513ae

includes/parser/Parser.php

index 840e174..28cde7f 100644 (file)
@@ -3323,7 +3323,7 @@ class Parser {
                if ( !$found && $title ) {
                        if ( !Profiler::instance()->isPersistent() ) {
                                # Too many unique items can kill profiling DBs/collectors
-                               $titleProfileIn = __METHOD__ . "-title-" . $title->getDBkey();
+                               $titleProfileIn = __METHOD__ . "-title-" . $title->getPrefixedDBkey();
                                wfProfileIn( $titleProfileIn ); // template in
                        }
                        wfProfileIn( __METHOD__ . '-loadtpl' );