The sections being used in privacy.php should be taking the names called in the i18n file, but instead are just taking the name Admin Panel. See attached image.
Description
Description
Revisions and Commits
Revisions and Commits
Restricted Diffusion Commit | |
Restricted Diffusion Commit |
Related Objects
Related Objects
- Mentioned In
- T85: Page layout for user permissions
Event Timeline
Comment Actions
Wasn't an issue when using extends specialPage, only became an issue on extends FormSpecialPage.
Comment Actions
Using the uselang=qqx URL parameter on Special:AdminPanel/privacy I was able to figure out that the page expects the message keys to be adminpanel/privacy-privacy-section-editing and adminpanel/privacy-privacy-section-viewing (sic!), most likely because the special page is named AdminPanel/privacy in the constructor.
FormSpecialPage has a (protected) function called getMessagePrefix(), which by default returns strtolower( $this->getName() ). You should be able to override this to return adminpanel-privacy or something similar, saner; something which doesn't include the slash in its name.