Thread:Project:Support desk/Help with code in Extension to only allow editing of Subpages/reply (3)

Ok, I think I got it working correctly by changing the if to read: if (preg_match($pattern, $pageTitle) === 0)	{ $result = true; return false;

Now I just need an AND or OR in there to allow Sysops to edit. One of the documentations had "&& !$user->isSysop" in there for this, but isSysop is no longer in MediaWiki.