Krinkle created this task. Krinkle added projects: Performance-Team, MediaWiki-extensions-WikibaseClient. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. |
TASK DESCRIPTION
To generate the content and/or version of the mediawiki.jqueryMsg module, ResourceLoader is currently indirectly invoking the Parser.
This is adding undesirable performance overhead and generally seems like something that was likely unintentional.
It is coming from WikibaseClient's ResourceLoaderJqueryMsgModuleMagicWords hook.
Flame graph:
F25024603: Screen Shot 2018-08-16 at 21.20.03.png
# function doResourceLoaderJqueryMsgModuleMagicWords { $magicWords['WBREPONAME'] = $this->getRepoName( $lang );
# function getRepoName { $message = new Message( $repoSiteName ); $message->inLanguage( $lang ); if ( $message->exists() ) { return $message->parse();
TASK DETAIL
EMAIL PREFERENCES
To: Krinkle
Cc: Aklapper, Krinkle, Imarlier, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Vali.matei, Wikidata-bugs, aude, Mbch331
Cc: Aklapper, Krinkle, Imarlier, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Vali.matei, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs