Change nameSpace to all lowercase everywhere.

Makes it consistent with MW's spelling of the term.
This commit is contained in:
Daniel Kraus
2017-08-31 13:56:42 +02:00
parent 352add204f
commit 6bf1d3f072
6 changed files with 25 additions and 25 deletions

View File

@ -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;