Issue Bug Closed

#19754define Default GET-vars

Steffen Kamper 01/01/09, 13:47 updated 08/06/10, 13:26

Description

There is no way to set default values for GET-vars as you know from extensions where you can set _DEFAULT_PI_VARS

A practical example is if you are use a style switcher with getVar “style”. You may define
config.linkVars = L,style

Now you want to set a default value for style if no value is given.

With attached patch you define them by

config._DEFAULT_GET_VARS {
style = 3
}

(issue imported from #M10040)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.