[cleanup] remove deprecated compat BasePage.getRestrictions method
[cleanup] remove deprecated compat BasePage.getRestrictions method

Change-Id: Ia10b984125305d320454abec66bae8bc34b58afa

wikimedia/pywikibot-core,wikimedia/pywikibot-core