Gives the way the page title is actually displayed.

@link http://www.mediawiki.org/wiki/API:Query_-_Properties#info_.2F_in
@param bool $force Force use of API, won't use cached copy (default: false)
@return string
512951
public function get_displaytitle( $force = false ) {

		if( !$force ) {
			return $this->displaytitle;
		}

		$tArray = array(
			'action' => 'query',
			'prop'   => 'info',
			'inprop' => 'displaytitle',
			'titles' => $this->title,
		);

		pecho( "Getting the title formatting for {$this->title}..\n\n", PECHO_NORMAL );

		$tRes = $this->wiki->apiQuery( $tArray );

		if( isset( $tRes['query']['pages'][$this->pageid]['displaytitle'] ) ) {
			$this->displaytitle = $tRes['query']['pages'][$this->pageid]['displaytitle'];
		} else $this->displaytitle = null;

		return $this->displaytitle;
	}
541712
public function prefix($forceBase = false)
    {
        if (!is_string($this->prefix)) {
            return '/';
        }
        $pattern = trim($this->prefix, '/');

        if ($this->domain === null && $forceBase === true) {
            $pattern = trim($this->basePrefix, '/') . "/{$pattern}";
            $pattern = trim($pattern, '/');
        }
        empty($pattern) && $pattern = '/';
        return $pattern;
    }
1370483
public function display()
    {
        if (!$this->isVisible())
            return "";

        $content = \mpf\web\helpers\Html::get()->tag('span', $this->getIcon() . $this->translate($this->label), $this->labelHtmlOptions);
        $submenu = "";
        if (count($this->items)) {
            $this->htmlOptions['class'] = (isset($this->htmlOptions['class']) ? $this->htmlOptions['class'] . ' ' : '') . 'm-menu-dropdown';
            $anySelected = false;
            $anyVisible = false;
            foreach ($this->items as $item) {
                /* @var $item Label */
                $submenu .= $item->display();
                $anySelected = $anySelected || $item->isSelected();
                $anyVisible = $anyVisible || $item->isVisible();
            }
            if ($anyVisible)
                $submenu = \mpf\web\helpers\Html::get()->tag('ul', $submenu);
            else
                $submenu = "";
            if ($anySelected) {
                if (isset($this->htmlOptions['class'])) {
                    $this->htmlOptions['class'] .= ' selected';
                } else {
                    $this->htmlOptions['class'] = 'selected';
                }
            }
        }
        return \mpf\web\helpers\Html::get()->tag('li', $content . $submenu, $this->htmlOptions);
    }
996434
private function indexCode($force = false) {
        if (!$this->index_code || $force) {
            foreach ($this->index as $word => $code) {
                $this->index_code[$code] = $word;
            }
        }
    }
479720
public function get_preload( $force = false ) {

		if( !$force ) {
			return $this->preload;
		}

		$tArray = array(
			'action' => 'query',
			'prop'   => 'info',
			'inprop' => 'preload',
			'titles' => $this->title,
		);

		pecho( "Getting the preload text for {$this->title}..\n\n", PECHO_NORMAL );

		$tRes = $this->wiki->apiQuery( $tArray );

		if( isset( $tRes['query']['pages'][$this->pageid]['preload'] ) ) {
			$this->preload = $tRes['query']['pages'][$this->pageid]['preload'];
		} else $this->preload = null;

		return $this->preload;
	}
1183851
public function getTitle($page = NULL, $action = NULL) {
    $plugin = $this->customerPagesManager->createInstance($this->customerPagesPlugin);
    $page_id = $plugin->getPageId();
    $pages = $plugin->getPages();
    $page_config = $pages[$page_id];
    $title = isset($page_config['title']) ? $page_config['title'] : $page_id;

    if ($action == 'edit' && isset($page_config['edit_title'])) {
      $title = $page_config['edit_title'];
    }

    if (!$page) {
      $title = $this->t('Account');
    }

    return $title;
  }
116967
public function toString($forcePair = false)
    {
        $content = $this->content;

        $content = $content . $this->hint;

        return HtmlBuilder::create($this->name, $content, $this->attribs, $forcePair);
    }
931382
static public function getColors( $force = FALSE ){
		if( !self::$colors || $force )
			self::$colors	= intval( `tput colors` );
		return self::$colors;

	}

	/**
	 *	...
	 *	@static		public
	 *	@access		public
	 *	@return		...
	 */
	static public function getHeight( $force = FALSE ){
		if( !self::$height || $force )
			self::$height	= intval( `tput lines` );
//			self::$height	= exec( 'tput lines' );
		return self::$height;
	}
115355
static public function getSize( $force = FALSE ){
/*		preg_match_all("/rows.([0-9]+);.columns.([0-9]+);/", strtolower(exec('stty -a |grep columns')), $output);
		if(sizeof($output) == 3) {
			self::$width	= $output[2][0];
			self::$height	= $output[1][0];
		}*/
		return (object) array(
			'colors'	=> self::getColors(),
			'height'	=> self::getHeight(),
			'width'		=> self::getWidth(),
		);
	}
1247110
public function indentedTitle($pad = 1)
    {
        return str_repeat('— ', $this->entity->depth - $pad) . $this->entity->title;
    }
442043
final protected function getTitle($data_only = false)
    {
        if ($data_only) {
            return $this->page->getTitle();
        }

        return PHP_EOL . '<title>' . $this->page->getTitle() . '</title>';
    }
154214
protected function getTitleFromUpload($request)
    {
        $uploadedFile = $this->getUploadedFile($request, 'fileVersion');

        if ($uploadedFile) {
            if (false === strpos($uploadedFile->getClientOriginalName(), '.')) {
                return $uploadedFile->getClientOriginalName();
            }

            return implode('.', explode('.', $uploadedFile->getClientOriginalName(), -1));
        }
    }
990483
public function getTitle() : ?string 
    {
        if ( ! $this->hasTitle()) {
            $this->setTitle($this->getDefaultTitle());
        }
        return $this->title;
    }
258595
public function get_allow_subpages( $force = false ) {
		if( is_null( $this->allowSubpages ) || $force ) {
			$this->get_namespaces( true );
		}
		return $this->allowSubpages;
	}
810001
public function get_title() {
        $str = '';

        if (isset($this->refno_t)) {
            $str = $this->refno_t;

            if (isset($this->altrefno_t)) {
                $str .= ' / ' . $this->altrefno_t;
            }
        }

        return $str;
    }
667522
function title_true()
	{
		if(method_exists($this, 'title'))
			return $this->title();

		if(!empty($this->attr['title']))
			return $this->attr['title'];

		if(!empty($this->data['title']))
			return $this->data['title'];

		return NULL;
	}
951425
public function get_talkID( $force = false ) {

		if( !$force ) {
			return $this->talkid;
		}

		$tArray = array(
			'action' => 'query',
			'prop'   => 'info',
			'inprop' => 'talkid',
			'titles' => $this->title,
		);

		pecho( "Getting talk page ID for {$this->title}..\n\n", PECHO_NORMAL );

		$tRes = $this->wiki->apiQuery( $tArray );

		if( isset( $tRes['query']['pages'][$this->pageid]['talkid'] ) ) {
			$this->talkid = $tRes['query']['pages'][$this->pageid]['talkid'];
		} else $this->talkid = null;

		return $this->talkid;
	}