PHP Notice: Undefined index: gettoken in /www/w/includes/api/ApiMain.php on line 598
Probable cause is https://gerrit.wikimedia.org/r/#change,3434
Version: 1.20.x
Severity: normal
PHP Notice: Undefined index: gettoken in /www/w/includes/api/ApiMain.php on line 598
Probable cause is https://gerrit.wikimedia.org/r/#change,3434
Version: 1.20.x
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T37676 MediaWiki 1.17.4/1.18.3 maintenance release | |||
Resolved | hashar | T37671 PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php on line 598 |
Yay to whoever added gettoken only on few modules
if ( $salt !== false && !$moduleParams['gettoken'] ) {
to
if ( $salt !== false && isset( $moduleParams['gettoken'] ) && !$moduleParams['gettoken'] ) {
I guess...
comment 1 would bring back bug 34212
See commit message of https://gerrit.wikimedia.org/r/#change,4159
(In reply to comment #2)
comment 1 would bring back bug 34212
See commit message of https://gerrit.wikimedia.org/r/#change,4159
We're still doing the check on the value, but only if we have that parameter set, and hence something to check the value of...