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
Author(s) devunt
Document status in draft
See Phabricator.

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).