mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Change nameSpace to all lowercase everywhere.
Makes it consistent with MW's spelling of the term.
This commit is contained in:
@ -69,12 +69,12 @@ class Target {
|
||||
*
|
||||
* The parameters may be taken from database rows, for example.
|
||||
*
|
||||
* @param Int $nameSpace Name space of the target page
|
||||
* @param Int $namespace Name space of the target page
|
||||
* @param String &$title Title of the target page
|
||||
*/
|
||||
public function __construct( $nameSpace, $title, Config &$config ) {
|
||||
// print "\n>>>nameSpace=$nameSpace;title=$title<<<\n";
|
||||
$this->title = \Title::makeTitleSafe( $nameSpace, $title );
|
||||
public function __construct( $namespace, $title, Config &$config ) {
|
||||
// print "\n>>>namespace=$namespace;title=$title<<<\n";
|
||||
$this->title = \Title::makeTitleSafe( $namespace, $title );
|
||||
$this->titleValue = $this->title->getTitleValue();
|
||||
$this->config = $config;
|
||||
|
||||
|
Reference in New Issue
Block a user