Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/67470


Change subject: Use getPrefixedDBkey() for template profile call.
......................................................................

Use getPrefixedDBkey() for template profile call.

Change-Id: Iac5183635984aa9261c1e85e32f6bb173ec513ae
---
M includes/parser/Parser.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/70/67470/1

diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php
index 840e174..28cde7f 100644
--- a/includes/parser/Parser.php
+++ b/includes/parser/Parser.php
@@ -3323,7 +3323,7 @@
                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' );

-- 
To view, visit https://gerrit.wikimedia.org/r/67470
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac5183635984aa9261c1e85e32f6bb173ec513ae
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to