Request variables should be accessed through $INPUT - see https://www.dokuwiki.org/devel:request_vars