PLATFORM-644: Fix DPL fatal error in tasks

This solves a reference to $wgTitle in DPL which is not a Title object in tasks. The parsed article's title should be used instead.

https://wikia-inc.atlassian.net/browse/PLATFORM-644

/cc @Wikia/platform-team