{% extends "wiki/base.html" %} {% load wiki_tags i18n humanize %} {% block wiki_pagetitle %}{% trans "Global history" %}{% endblock %} {% block wiki_contents %}

{% trans "Global history" %}

{% spaceless %}
{% with paginator.object_list.count as cnt %} {% blocktrans count cnt=cnt trimmed %} List of {{ cnt }} change in the wiki. {% plural %} List of {{ cnt }} changes in the wiki. {% endblocktrans %} {% endwith %}
{% trans "Show all revisions of all articles" %} {% else %} href="{% url 'wiki:globalhistory' only_last=1 %}"> {% trans "Show last revision of every article" %} {% endif %}
{% if revisions %} {% for article_revision in revisions %} {% endfor %}
{% trans "Revision ID" %} {% trans "Article" %} {% trans "Message" %} {% trans "User" %} {% trans "Date" %}
{{ article_revision.revision_number }} {{ article_revision.article }} {% if article_revision.user_message %} {{ article_revision.user_message }} {% elif article_revision.automatic_log %} {{ article_revision.automatic_log }} {% else %} ({% trans "no log message" %}) {% endif %} {% if article_revision.deleted %} {% trans "deleted" %} {% endif %} {% if article_revision.previous_revision.deleted and not article_revision.deleted %} {% trans "restored" %} {% endif %} {% if article_revision.locked %} {% trans "locked" %} {% endif %} {% if article_revision.previous_revision.locked and not revision.locked %} {% trans "unlocked" %} {% endif %} {% if article_revision.user %} {{ article_revision.user }} {% else %} {% if article_revision.article|can_moderate:user %} {{ article_revision.ip_address|default:"anonymous (IP not logged)" }} {% else %} {% trans "anonymous (IP logged)" %}i {% endif %} {% endif %} {{article_revision.modified}} {% trans "Go to article history" %} {% trans "Go to article" %}
{% else %}
{% if page %} {% trans "No more changes to display !" %} {% trans "Go back to previous page" %} {% else %} {% trans "No changes to display !" %} {% endif %}
{% endif %} {% include "wiki/includes/pagination.html" %}
{% endspaceless %} {% endblock %}