X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobSpecification.php;h=d8447951436bf01f057a8c129b2d218b97b71287;hb=2632183a49f6f8845fdbd77bceaccb6aafe4003f;hp=616c6d6ab9bd7e80f20042e3402f1d5b8bcb9b7d;hpb=9ba3fca2d8adc56787c8efc32c41424cb212e387;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobSpecification.php b/includes/jobqueue/JobSpecification.php index 616c6d6ab9..d844795143 100644 --- a/includes/jobqueue/JobSpecification.php +++ b/includes/jobqueue/JobSpecification.php @@ -128,7 +128,7 @@ class JobSpecification implements IJobSpecification { $this->type = $type; $this->params = $params; - $this->title = $title ?: Title::makeTitle( NS_SPECIAL, 'Badtitle/' . get_class( $this ) ); + $this->title = $title ?: Title::makeTitle( NS_SPECIAL, 'Badtitle/' . static::class ); $this->opts = $opts; } @@ -216,7 +216,7 @@ class JobSpecification implements IJobSpecification { 'opts' => $this->opts, 'title' => [ 'ns' => $this->title->getNamespace(), - 'key' => $this->title->getDbKey() + 'key' => $this->title->getDBkey() ] ]; }