resourceloader: Set a Title on context-created messages
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 15 Sep 2016 22:11:59 +0000 (15:11 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 15 Sep 2016 22:11:59 +0000 (15:11 -0700)
commit3be4e98a92c7fbe37f9635f2d61933f22d538ebb
tree7a4712af5b68e338d380c936df5e55458413e0bc
parent2979f6e7cf5077fed46ea6edd3056031aa0a558f
resourceloader: Set a Title on context-created messages

Ensure that messages created using ResourceLoaderContext::msg() have a
title set so they don't trigger the GlobalTitleFail log. We use a dummy
title since there is no real title we can use here, and the cache
doesn't vary on a title anyways. This particular title was picked
especially for Roan.

This patch should quiet the GlobalTitleFail logs for
MFResourceLoaderParsedMessageModule and VisualEditorDataModule.

Change-Id: I502faa22776e1cb34a6ef17be96567f121c80081
includes/resourceloader/ResourceLoaderContext.php