Thanks for the answer.
I agree with your points.
however I thought that you could have a parameter like “limit in list” and you **probably** can understand from the WP context if the gallery container is a single item or a list of item, which solve the difference between article and article list.
in Pseudo object code, this would be some parent container-has-brothers 🙂