RibbonCustomAction bug with pages
description
By default, RibbonCustomAction creates UserCustomAction instance with RegistrationType = "ContentType" and RegistrationId = "0x". But meanwhile this setting works fine for attaching ribbon customizations to all site lists, it prevents correct customization of pages ribbon (i.e. wiki pages).
This needs to be fixed, and the existing functionality must not be changed.