Quicks tips for developing on the UI.
$to = 'some/encoded/text/path'; $titleText = Article::combineName($to, wfEncodeTitle($newTitle)); $ToTitle = Title::newFromText($titleText);
Article::splitName($encodedPathWithTitle, $titlePath, $titleName);
$parentPath = $Title->getParentPath(); $pagePath = $Title->getPathlessText();
$Title->getPrefixedDbKey(); $Title->getPrefixedText();
$Title->getLocalUrl();
$Title->getLocalUrl('foo=bar&other=baz');
$wgLang->getNsText(NS_USER);