Manual:$wgAvailableRights

Details
The list of core user rights is defined in  , . See 1>Special:MyLanguage/Manual:User rights#Adding new rights|Manual:User rights#Adding new rights.

Extensions (until MediaWiki 1.24) use this variable instead, like:

Since MediaWiki 1.25 do in  :