Merge "DifferenceEngine: use a fake title when there's no real title"

This commit is contained in:
jenkins-bot 2018-09-05 12:18:34 +00:00 committed by Gerrit Code Review
commit a5b5217300

View file

@ -308,6 +308,11 @@ class DifferenceEngine extends ContextSource {
return $slots;
}
public function getTitle() {
// T202454 avoid errors when there is no title
return parent::getTitle() ?: Title::makeTitle( NS_SPECIAL, 'BadTitle/DifferenceEngine' );
}
/**
* Set reduced line numbers mode.
* When set, line X is not displayed when X is 1, for example to increase readability and