def get_meta_description(self):
        if self.is_variant() and not self.active_meta_description:
            md = self.parent.meta_description
        else:
            md = self.meta_description

        md = md.replace("<name>", self.get_name())
        md = md.replace("<short-description>", striptags(self.get_short_description()))
        return md

    # TODO: Check whether there is a test case for that and write one if not.
Called when the tool palette button is clicked.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_meta_description--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/action/action_item.py/_PaletteTool._on_tool