dan nessett wrote:
> The URL to my testwiki is:
> 
> '/MediawikiTest/Latest%20Trunk%20Version/phase3/index.php/Main_Page'
> 
> This is the value in $path. However, the value in $base is:
> 
> '/MediawikiTest/Latest Trunk Version/phase3/index.php/'
> 
> So, the call to substr fails and the code that sets 'title' in $matches never 
> executes (which means $_GET never gets a 'title' entry). The solution is to 
> either convert the '%20' escapes in $path to blanks or convert the blanks in 
> $base to '%20' escapes. This bug could be fixed in extractTitle() or since 
> $path is an argument of this method and $base is extracted from an argument, 
> perhaps it should be fixed elsewhere.
> 
> If someone confirms this is a bug, I will open a bug report in Bugzilla.

See https://bugzilla.wikimedia.org/show_bug.cgi?id=10787

-- brion

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to