}
int indx = pagename.indexOf(':');
if (indx > 0) {
String maybeNamespaceStr0 = pagename.substring(0, indx);
INamespaceValue maybeNamespace = wikiModel.getNamespace().getNamespace(maybeNamespaceStr0);
if (maybeNamespace != null) {
return new ParsedPageName(maybeNamespace, pagename.substring(indx + 1), true);
} else if (magicWordAllowed) {
// no namespace? maybe a magic word with a parameter?
magicWord = wikiModel.getMagicWord(maybeNamespaceStr0);