{% if log.details.section is defined %}
{% if changeSet['left'][0] > changeSet['left'][1]%} {{ "moved_up_section"|trans({'%section%':log.details.section.title}, 'log') }} {% else %} {{ "moved_down_section"|trans({'%section%':log.details.section.title}, 'log') }} {% endif %}
{% else %}{% if changeSet['isParentRoot'][0] is sameas(true) %} {{ "moved_from_wiki_to_section"|trans({'%section%':log.details.section.title, '%newParent%':changeSet['parentName'][1]}, 'log') }} {% elseif changeSet['isParentRoot'][1] is sameas(true) %} {{ "moved_from_section_to_wiki"|trans({'%section%':log.details.section.title, '%oldParent%':changeSet['parentName'][0]}, 'log') }} {% else %} {{ "moved_from_section_to_section"|trans({'%section%':log.details.section.title, '%oldParent%':changeSet['parentName'][0], '%newParent%':changeSet['parentName'][1]}, 'log') }} {% endif %}
{% endif %}