Deprecate only_if in favor of when.
Merge pull request #3540 from pol/docs_deprecate_onlyif

Glossary Doc: deprecate the old "only_if:" format in favor of "when:"