The wiki page foe foot=use_sidepath clearly said, even before the edit you quote "In some countries it is illegal for pedestrians to use a road if a parallel compulsory sidepath exists."

This situation never arises in the UK.

Anything in the Highway Code with "should" or "should not" is guidance. Pedestrians still have an absolute legal right to walk on the carriageway unless they are explicitly forbidden.