The habitats where yellow loosestrife~(Lysimachia vulgaris) grows:

Brownfield
Coastal floodplain grazing marsh
Dune slack
Limestone pavement
Lowland fen
Moist damp verges and banks
Nutrient rich eutrophic lake
Purple moor grass and rush pasture
Reedbed
Sand dune
Turlough and fluctuation mere
Upland spring flush
Wet woodland