Physikerwelt has uploaded a new change for review. https://gerrit.wikimedia.org/r/157503
Change subject: Fix: Profiler instance ...................................................................... Fix: Profiler instance Profiler is an abstract class. Chose factory method to get an instance. Change-Id: I38c70d6e29c8c6d5b26c2675d8813d9b463cb027 --- M dumpHTML.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DumpHTML refs/changes/03/157503/1 diff --git a/dumpHTML.php b/dumpHTML.php index 762ebf2..0ac3238 100644 --- a/dumpHTML.php +++ b/dumpHTML.php @@ -46,7 +46,7 @@ function wfSetupDump() { global $wgProfileToDatabase, $wgProfileSampleRate; // Override disabled profiling in maintenance scripts - Profiler::setInstance( new Profiler() ); + Profiler::setInstance( Profiler::instance() ); $wgProfileToDatabase = false; $wgProfileSampleRate = 1; } -- To view, visit https://gerrit.wikimedia.org/r/157503 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I38c70d6e29c8c6d5b26c2675d8813d9b463cb027 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/DumpHTML Gerrit-Branch: master Gerrit-Owner: Physikerwelt <w...@physikerwelt.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits