Change-Id: I3d8315ade6aa70bda43d90b0b32b730d8c9cbd2e
* @since 1.23
*/
class TitleValue implements LinkTarget {
* @since 1.23
*/
class TitleValue implements LinkTarget {
/**
* Constructs a TitleValue.
/**
* Constructs a TitleValue.
* @return int
*/
public function getNamespace() {
* @return int
*/
public function getNamespace() {
* @return string
*/
public function getFragment() {
* @return string
*/
public function getFragment() {
/**
* Returns the title's DB key, as supplied to the constructor,
* without namespace prefix or fragment.
/**
* Returns the title's DB key, as supplied to the constructor,
* without namespace prefix or fragment.
/**
* Returns the title in text form,
* without namespace prefix or fragment.
/**
* Returns the title in text form,
* without namespace prefix or fragment.
*
* This is computed from the DB key by replacing any underscores with spaces.
*
*
* This is computed from the DB key by replacing any underscores with spaces.
*
* Returns a string representation of the title, for logging. This is purely informative
* and must not be used programmatically. Use the appropriate TitleFormatter to generate
* the correct string representation for a given use.
* Returns a string representation of the title, for logging. This is purely informative
* and must not be used programmatically. Use the appropriate TitleFormatter to generate
* the correct string representation for a given use.