Will mineral oil help prevent smelly basement traps during extended vacations?
Yes. RV antifreeze (propylene glycol) is also said to work well. Anything that doesn't evaporate, doesn't rot, and isn't damaging to the plumbing or the environment will do. You could also stop them with rubber mats, test plugs, or rags, as appropriate.