Requests for comment/Debugging at production server

From MediaWiki.org
Jump to navigation Jump to search
Request for comment (RFC)
Debugging at production server
Component General
Creation date 2014-06-02
Author(s) devunt
Document status in draft
See Phabricator.
General2014-06-02devuntT64718

In-progress; see also: Gerrit change 119002.

Background[edit]

Debugging toolbar feature was introduced in MediaWiki 1.19.

Problem[edit]

Sometimes we have to debug on production wiki, but don't want to show internal information to normal users.

But the current architecture of debugging toolbar is available for everyone, so some internal information, like the server's directory structure, debug logs, and so on, can be leaked.

Proposal[edit]

Make only selected user can use debugging toolbar. Proposed implementation is using user rights (usedebugtoolbar, see Gerrit change 119002).