X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryBacklinksprop.php;h=b338ed67741d72f8ac3945618e7b44738327f0bf;hb=fa321e46322048e4d22c660a02d683a03b960f55;hp=ef02d095c8d4cc823ebd071acf2c413a9ee7b89b;hpb=394b04a0b208ee0f196ad73520c7cf6ed726b557;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryBacklinksprop.php b/includes/api/ApiQueryBacklinksprop.php index ef02d095c8..b338ed6774 100644 --- a/includes/api/ApiQueryBacklinksprop.php +++ b/includes/api/ApiQueryBacklinksprop.php @@ -2,8 +2,6 @@ /** * API module to handle links table back-queries * - * Created on Aug 19, 2014 - * * Copyright © 2014 Wikimedia Foundation and contributors * * This program is free software; you can redistribute it and/or modify @@ -421,7 +419,7 @@ class ApiQueryBacklinksprop extends ApiQueryGeneratorBase { $settings = self::$settings[$this->getModuleName()]; $name = $this->getModuleName(); $path = $this->getModulePath(); - $title = isset( $settings['exampletitle'] ) ? $settings['exampletitle'] : 'Main Page'; + $title = $settings['exampletitle'] ?? 'Main Page'; $etitle = rawurlencode( $title ); return [