1. Enter Special:Contributions/User
2. Press submit
&namespace= would be appended to the GET request, "" would then be typecast
to int which would yield 0 meaning that not edits from all namespaces would
be returned but just those from the main namespace
$finder->set_offset($offset);
$nsurl = $xnsurl = "";
- if (($ns = $wgRequest->getVal('namespace', null)) !== null) {
+ if (($ns = $wgRequest->getVal('namespace', null)) !== null && $ns !== '') {
$nsurl = "&namespace=$ns";
$xnsurl = htmlspecialchars($nsurl);
$finder->set_namespace($ns);