Requests for comment/Debugging at production server

In-progress; see also: Gerrit change 119002.

Request for comment (RFC)
Debugging at production server
Component General
Creation date 2014-06-02
Author(s) devunt
Document status in draft
See Phabricator.

BackgroundEdit

Debugging toolbar feature was introduced in MediaWiki 1.19.

ProblemEdit

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.

ProposalEdit

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