Page.categories parameter withSortKey ignored
Page.categories parameter withSortKey ignored

The withSortKey parameter of Site.pagecategories has been marked as deprecated
since the method was first introduced.  However the method Page.categories
has an equivalent parameter which it passes to Site.pagecategories, only
for it to be ignored.

Raise NotImplementedError if withSortKey is enabled calling Page.categories.

Bug: 73561
Change-Id: I22ce77fb91c1f02b71dc028fe75178b1b40c1cde

h4ck3rm1k3/pywikibot-core,jayvdb/pywikibot-core,PersianWikipedia/pywikibot-core,hasteur/g13bot_tools_new,magul/pywikibot-core,darthbhyrava/pywikibot-local,wikimedia/pywikibot-core,xZise/pywikibot-core,emijrp/pywikibot-core,Darkdadaah/pywikibot-core,magul/pywikibot-core,wikimedia/pywikibot-core,icyflame/batman,h4ck3rm1k3/pywikibot-core,hasteur/g13bot_tools_new,trishnaguha/pywikibot-core,happy5214/pywikibot-core,jayvdb/pywikibot-core,Darkdadaah/pywikibot-core,valhallasw/pywikibot-core,smalyshev/pywikibot-core,npdoty/pywikibot,hasteur/g13bot_tools_new,VcamX/pywikibot-core,npdoty/pywikibot,happy5214/pywikibot-core,TridevGuha/pywikibot-core