Text this: A criterion of weak compactness for operators on subspaces of Orlicz spaces