MediaWiki
REL1_37
TitleParser.php
Go to the documentation of this file.
1
<?php
33
interface
TitleParser
{
45
public
function
parseTitle
( $text, $defaultNamespace =
NS_MAIN
);
46
57
public
function
makeTitleValueSafe
( $namespace, $text, $fragment =
''
, $interwiki =
''
);
58
}
NS_MAIN
const NS_MAIN
Definition
Defines.php:64
TitleParser
A title parser service for MediaWiki.
Definition
TitleParser.php:33
TitleParser\parseTitle
parseTitle( $text, $defaultNamespace=NS_MAIN)
Parses the given text and constructs a TitleValue.
TitleParser\makeTitleValueSafe
makeTitleValueSafe( $namespace, $text, $fragment='', $interwiki='')
Given a namespace and title, return a TitleValue if valid, or null if invalid.
includes
title
TitleParser.php
Generated on Fri Apr 5 2024 23:41:03 for MediaWiki by
1.9.8