Only register and assign "centralnotice-admin" if needed

These rights are only needed on wikis that allow editing
CentralNotice related things, so only add them there.

Change-Id: I375270e5b6e688a72ec01ff9e4e018ecaaf94980
Merge "Only register and assign "centralnotice-admin" if needed"