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

       Web browser: ---
            Bug ID: 47074
           Summary: decodeParameters
           Product: MediaWiki extensions
           Version: REL1_20 branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: voyagereter...@mail.ru
                CC: jamesin.hongkon...@gmail.com, jeroen_ded...@yahoo.com,
                    mar...@semantic-mediawiki.org, nischay...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Link to the search query is not working, because the spaces in parameter names
are replaced by underscores


Error in decodeParameters()

$wgRequest->getValues();


["named_args"]=1

must be

["named args"]=1


Resolving:

446: $result = $wgRequest->getValues();

=>

446: foreach ($wgRequest->getValues() as $key => $value) {
447:        $result[str_replace( '_', ' ', $key)] = $value;
448: }

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to