Board Thread:Support Requests - Getting Technical/@comment-6475116-20150626185920/@comment-4018164-20150626192855

You can use  and   to check the edit and move protection levels, correspondingly. Just note that in namespaces such as Tread and Special, these variables are not defined.

In addition, the Thread namespace has the variable, though it's not listed in MediaWiki's wg variables list.

P.S. the Info api provides a more detailed list of protection levels for a given page, and also includes the protection's expiry.