MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

meta=globalpreferences (gpr)

(main | query | globalpreferences)
  • This module requires read rights.
  • Source: GlobalPreferences
  • License: GPL-2.0-or-later

Retrieve global preferences for the current user.

Can retrieve both global preferences and their local overrides.

Specific parameter:
Other general parameters are available.
gprprop

Which prererences to include:

preferences
Global preferences.
localoverrides
Local overrides for global preferences.
Values (separate with | or alternative): localoverrides, preferences
Default: preferences|localoverrides