Manual:$wgPagePropsHaveSortkey

Miscellaneous settings: $wgPagePropsHaveSortkey
Set to false if the page_props table doesn't have a pp_sortkey column
Introduced in version:1.23.0 (Gerrit change 122349; git #b1d6e78f)
Removed in version:1.36.0 (Gerrit change 670131; git #b754d1ee)
Allowed values:(boolean)
Default value:true

Details

Set this to false if you haven't applied the schema update that adds the pp_sortkey column to the page_props table. This is mainly for use by administrators of large wikis who cannot immediately apply the schema updates to their database.

See git #b1d6e78f, in particular the SQL file, for more details.