class SpecialForgeRedir extends SpecialPage {
var $dstappendself = false;
- function getTitle() {
+ function getTitle($subpage="") {
return 'SpecialForgeRedir';
}
- function getRedirect() {
+ function getRedirect($subpage="") {
return $this;
}
// The root location for images
if (!isset($params['h1'])) {
- $params['h1'] = $params['title'];
+ $params['h1'] = util_ifsetor($params['title'], "!! title not set !!");
}
- if (!$params['title']) {
+ if (!util_ifsetor($params['title'])) {
$params['title'] = forge_get_config('forge_name');
} else {
$params['title'] = $params['title'] . " - forge_get_config('forge_name') ";