Extension:TemplateProfiler

Purpose
Profiling templates to make your Wiki faster. Requires minimal hacking of the parser.

Usage
add ?action=profile to the page url

Installation

 * 1) Open your   file.
 * 2) Find the line that contains   in the   function.
 * 3) Insert the following line before that line:
 * 4) Scroll down to the end of the function.   Find the line that contains   a few lines before the end of the function.
 * 5)  Insert the following line before that line:
 * 6) Save and close Parser.php
 * 7) Copy the code into a file named TemplateProfiler.php in your extensions directory.
 * 8) Copy the css to the end of your Mediawiki:Common.css
 * 9) Add the following line to the end of your LocalSettings.php file

Code
");		return; 	}

function getTitle($titleText) {		if (!$this->IsTemplate($titleText)) return $titleText; $title = Title::newFromText($titleText,NS_TEMPLATE)->getFullText; return "$title"; } }