As pippo6 says, you can use either "abandoned:highway=..." or you can use "highway=abandoned" but you should NEVER use "highway=secondary, abandoned=yes" - this is so-called "troll tragging" that will mislead applications unaware of the "abandoned" tag.