Skip to content
Snippets Groups Projects
Commit b26cdbbe authored by Adrian Lang's avatar Adrian Lang
Browse files

Support ns; ids

parent c5bd986f
No related branches found
No related tags found
No related merge requests found
......@@ -437,7 +437,8 @@ function resolve_pageid($ns,&$page,&$exists){
$file = wikiFN($page);
// if ends with colon or slash we have a namespace link
if(substr($page,-1) == ':' || ($conf['useslash'] && substr($page,-1) == '/')){
if(in_array(substr($page,-1), array(':', ';')) ||
($conf['useslash'] && substr($page,-1) == '/')){
if(page_exists($page.$conf['start'])){
// start page inside namespace
$page = $page.$conf['start'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment