This is related to #25363 and offers a small update to the error messages from EnsureLegacyScriptPubKeyMan and EnsureConstLegacyScriptPubKeyMan to mention that they only are compatible with legacy wallets.
The RPC documentation for importaddress is also updated to mention this as well as guide the user to the alternative importdescriptors for cases when using descriptor wallets.
I’m thinking that we can introduce a “porting guide” document mentioned in #25363 in a separate PR since I would have to make myself more familiar with the subject before being able to tackle that.