The usual modern spelling of Margery. It seems to have arisen as the result of folk etymological association of the name with that of the herb marjoram (compare Rosemary). This word is of uncertain origin; its Middle English and Old French form was majorane, without the first -r-.
English: nickname for a wise or learned person, or in some cases a nickname for someone suspected of being acquainted with the occult arts, from Middle English wise ‘wise’ (Old English wīs). This name has also absorbed Dutch Wijs, a nickname meaning ‘wise’, and possibly cognates in other languages.