Don't fatal when context doesn't know the title
Don't fatal when context doesn't know the title

Not sure exactly how the fatal was being triggered, but getTitle()
is documented to return either null or Title, so we should actually
guard for null values.

Bug: T104689
Change-Id: Ic45bbcc71291dc473cd65a48d1840a78d5b64ae1

wikimedia/mediawiki-extensions-Thanks,wikimedia/mediawiki-extensions-Thanks,wikimedia/mediawiki-extensions-Thanks