Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

2.5.11 (Unreleased)
---------------------
- Enh #432: Add State badge to wiki page header

2.5.10 (May 18, 2026)
---------------------
- Fix #428: Improve Table of Contents style after aligned images
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Wiki",
"description": "Create and edit pages with this powerful tool. Build a collaborative knowledge base, view and share information with your colleagues.",
"keywords": ["wiki"],
"version": "2.5.10",
"version": "2.5.11",
"humhub": {
"minVersion": "1.18.1",
"maxVersion": "1.18"
Expand Down
3 changes: 3 additions & 0 deletions views/page/_view_header.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use humhub\helpers\Html;
use humhub\modules\content\widgets\StateBadge;
use humhub\modules\ui\icon\widgets\Icon;
use humhub\modules\wiki\helpers\Url;
use humhub\modules\wiki\models\WikiPage;
Expand Down Expand Up @@ -52,5 +53,7 @@
<?php if ($page->admin_only) : ?>
<?= Icon::get('lock')->tooltip(Yii::t('ContentModule.widgets_views_label', 'Protected')) ?>
<?php endif; ?>

<?= StateBadge::widget(['model' => $page]) ?>
</div>
</div>
Loading