Last modified: 2013-11-21 15:02:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45199, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43199 - $wgDebugWithToken=false will fail
$wgDebugWithToken=false will fail
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-17 13:57 UTC by jeblad
Modified: 2013-11-21 15:02 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description jeblad 2012-12-17 13:57:35 UTC
Due to the change from false to an empty string in this construct

  isset( $params['token'] ) ? $params['token'] : ''

(it is used in the API modules) debugging with $wgDebugWithToken will fail.

This is not a serious bug in production, but it makes it more awkward to debug the API-modules.
Comment 1 Lydia Pintscher 2013-11-04 11:42:28 UTC
Adam: Can you have a look please? I can't make sense of this.
Comment 2 Addshore 2013-11-21 15:02:41 UTC
I find no reference to 'wgDebugWithToken' in our code base at all

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links