Now I normally do not use WIkipedia, but it seems you did not read your own reference very clearly. Therefore I quote from the very first sentence.
Trust me, it does indeed cover both. In fact, two very specific instances where the US uses its own interpretation of the law have been commented on now for over 4 decades.
One of which was that the use of White Phosphorous as a concealing agent is legal, so long as it is not specifically targeted against enemy personnel. Secondly, that the US can (and does) still use the M18 Claymore Mine, but only in a "command detonation" manner of firing, and no longer uses them with any kind of "trip wire" or other self-detonation system. Hence, we still train people in their use, but the units no longer come with the trip wire detonator and we do not train how to use them in that way.
And why some munitions like the recently developed (1976) M202 Flash were soon pulled from service. I was likely one of the last trained in the use of that particular weapon, it was a 4 tube short range shoulder fired weapon, specifically designed to "burn out" the occupants of a bunker using 66mm incendiary rockets.
Essentially it fired a "modern napalm" charge that burned even hotter than napalm, and could produce third degree burns simply from the indirect heat radiated. But by 1984 all training in this weapon was stopped and it was withdrawn from service and retired. This is because after years of arguing that it was not a "flame weapon" as it does not use flame at all the US was warned that if it was used it would indeed constitute a war crime.
But please, if you want to go on about this I can. But remember, the Laws of Land Warfare have been of primary importance of mine since 1983. Not sure exactly how much experience and training you have in this subject, but I literally taught it at one time. And I have yet to hear of any weapon that is legal to use against combatants, but illegal to use against civilians. It does not work that way.