Fixed #23261 -- Deprecate old style list support for unordered_list

For some reason I cannot see the `.. deprecated:: 2.0` note in the docs. But they don't work for other deprecation notices either. Not sure what I'm doing wrong there.