Precursors of the weapon are said to have first been used in the American Civil War in the 1800s. But antipersonnel mines were first used on a wide scale in World War II. Since then they have been used in many conflicts, including in the Vietnam War, the Korean War, and the first Gulf War. During the Cold War, many states laid long stretches of landmines along borders.
Antipersonnel mines were initially developed to protect antitank mines and stop them being removed by enemy soldiers. They were used defensively, to protect strategic areas such as borders, camps, or important bridges and to restrict the movement of opposing forces.
Aside from anti-ship mines, I can't remember hearing much about them in WW1, on land.
However they were extensively used in WW2 in defensive contexts, El-Alamein and Kursk come to mind. Korea too. Even now, they are making a comeback in Ukraine, whose frontline conditions not infrequently get compared to WW1 (both do anti-vehicle mines, but Ukraine is a signatory to Ottawa Treaty and Russia is not).
I just don't recall them mentioned much, in any of the books I've ever read about WW1.
Given that WW1 involved static defenses for the most part and that other methods were used to impede troops, such as barbed wire, and that concerns about humane warfare were not foremost in WW1, what explains their lack of use, at least until tanks arrive? Manufacturing them would have been well within the combatants' industrial capacities.
I am not saying they weren't used at all, but searching for anti personnel mines ww1 seems to mostly bring back hits within the Ottawa ban and mine-clearing efforts contexts, rather than tactical WW1 military information.
No, wikipedia, which in any case is not always the final say in all things, doesn't say much.
Nevertheless, antipersonnel mines were not a big factor in the war because machine guns, barbed wire and rapid-fire artillery were far more effective defenses.
This sentence is not sourced or referenced, leaving unclear who tried mines, where, in what year and exactly what didn't work well.