[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Benchmark script for parse operations This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Author: | Tim Starling <[email protected]> |
File Size: | 174 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file maintenance/Maintenance.php |
BenchmarkParse:: (5 methods):
__construct()
execute()
getRevIdForTime()
runParser()
onFetchTemplate()
Class: BenchmarkParse - X-Ref
Maintenance script to benchmark how long it takes to parse a given title at an optionally__construct() X-Ref |
No description |
execute() X-Ref |
No description |
getRevIdForTime( Title $title, $timestamp ) X-Ref |
Fetch the ID of the revision of a Title that occurred param: Title $title param: string $timestamp return: bool|string Revision ID, or false if not found or error |
runParser( Revision $revision ) X-Ref |
Parse the text from a given Revision param: Revision $revision |
onFetchTemplate( Parser $parser, Title $title, &$skip, &$id ) X-Ref |
Hook into the parser's revision ID fetcher. Make sure that the parser only uses revisions around the specified timestamp. param: Parser $parser param: Title $title param: bool &$skip param: string|bool &$id return: bool |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |