Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
fa150e0
Update for HumHub 1.19
yurabakhtin Jan 20, 2026
0cd5b4b
Update for HumHub 1.19
yurabakhtin Jan 20, 2026
1421960
Merge branch 'master' into develop
luke- Jan 20, 2026
86ced5b
Merge branch 'master' into develop
luke- Jan 28, 2026
e24f03e
Refactored Activities
luke- Jan 28, 2026
4a9f258
Activity Handling
luke- Jan 29, 2026
ba49d80
Updated Activity Message
luke- Feb 1, 2026
daedbe0
Autocommit PHP CS Fixer
actions-user Feb 1, 2026
3ea62ec
Merge pull request #417 from humhub/php-fixer/2026-02-01-172142
luke- Feb 1, 2026
89a2cbf
Remove deprecated code
yurabakhtin Feb 13, 2026
6be1864
Fix REST module branch
yurabakhtin Feb 13, 2026
6aa000a
Merge pull request #419 from humhub/enh/1042-remove-deprecations
luke- Feb 16, 2026
a930913
Cleaning up REST error handling module as it is handled by core
yurabakhtin May 25, 2026
b0c6d41
Enh: Updated Translations (translate.humhub.org)
May 30, 2026
c903861
Merge branch 'master' into develop
luke- Jun 3, 2026
2af8ddf
Enh: Updated Translations (translate.humhub.org)
Jun 4, 2026
fb9830a
Fix REST API module branch for tests
yurabakhtin Jun 4, 2026
5e03c11
Release 2.6.0
luke- Jun 4, 2026
7b7bbe0
Enh: Updated Translations (translate.humhub.org)
Jun 5, 2026
fc24f7e
Merge branch 'develop' of github.com:humhub/wiki into develop
Jun 5, 2026
e068a1c
Enh: Updated Translations (translate.humhub.org)
Jun 12, 2026
1568d64
Add aria-label attribute for icon-only buttons
yurabakhtin Jun 26, 2026
0e02537
Merge pull request #431 from humhub/fix/1239-icon-only-aria-label
luke- Jun 26, 2026
73cad41
Enh: Updated Translations (translate.humhub.org)
Jun 27, 2026
9a310ff
Enh: Updated Translations (translate.humhub.org)
Jul 2, 2026
cc6d854
Merge branch 'master' into develop
luke- Jul 8, 2026
d15b5a5
Release 2.6.1
luke- Jul 8, 2026
d0e868e
Merge branch 'master' into develop
luke- Jul 21, 2026
6685c8d
Enh: Updated Translations (translate.humhub.org)
Jul 22, 2026
383c55a
Merge branch 'develop' of github.com:humhub/wiki into develop
Jul 22, 2026
095582d
Merge remote-tracking branch 'origin/master' into develop
luke- Jul 31, 2026
4dd7830
Merge branch 'master' into develop
luke- Aug 4, 2026
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
1 change: 1 addition & 0 deletions .github/workflows/codeception-min-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ jobs:
with:
module-id: wiki
use-rest-module: true
rest-module-branch: develop
1 change: 1 addition & 0 deletions .github/workflows/codeception-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ jobs:
with:
module-id: wiki
use-rest-module: true
rest-module-branch: develop
5 changes: 3 additions & 2 deletions Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace humhub\modules\wiki;

use humhub\helpers\ControllerHelper;
use humhub\helpers\Html;
use humhub\modules\content\components\ContentContainerActiveRecord;
use humhub\modules\content\widgets\WallEntryControls;
Expand Down Expand Up @@ -45,7 +46,7 @@ public static function InitContainerMenus(ContentContainerActiveRecord $containe
'label' => Html::encode($settings->module_label),
'url' => $container->createUrl('/wiki/page'),
'icon' => 'book',
'isActive' => MenuLink::isActiveState('wiki'),
'isActive' => ControllerHelper::isActivePath('wiki'),
]));
}

Expand All @@ -61,7 +62,7 @@ public static function InitContainerMenus(ContentContainerActiveRecord $containe
'label' => Html::encode($containerMenuWikiPage->title),
'url' => $containerMenuWikiPage->getUrl(),
// @TODO: change to use 4th argument of `isActiveState` after v17 release
'isActive' => $containerMenuWikiPage->id == Yii::$app->request->get('id') && MenuLink::isActiveState('wiki', 'page', 'view'),
'isActive' => $containerMenuWikiPage->id == Yii::$app->request->get('id') && ControllerHelper::isActivePath('wiki', 'page', 'view'),
'icon' => 'file-text-o',
'sortOrder' => $containerMenuWikiPage->container_menu_order,
]));
Expand Down
14 changes: 0 additions & 14 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace humhub\modules\wiki;

use humhub\components\console\Application as ConsoleApplication;
use humhub\modules\content\components\ContentContainerActiveRecord;
use humhub\modules\content\components\ContentContainerModule;
use humhub\modules\space\models\Space;
Expand All @@ -28,19 +27,6 @@ class Module extends ContentContainerModule
*/
public $tocMaxH3 = 20;

/**
* @inheritdoc
*/
public function init()
{
parent::init();

if (Yii::$app instanceof ConsoleApplication) {
// Prevents the Yii HelpCommand from crawling all web controllers and possibly throwing errors at REST endpoints if the REST module is not available.
$this->controllerNamespace = 'wiki/commands';
}
}

/**
* @inheritdoc
*/
Expand Down
40 changes: 9 additions & 31 deletions activities/WikiPageEditedActivity.php
Original file line number Diff line number Diff line change
@@ -1,47 +1,25 @@
<?php

/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2021 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/

namespace humhub\modules\wiki\activities;

use humhub\modules\activity\components\BaseActivity;
use humhub\modules\activity\components\BaseContentActivity;
use humhub\modules\activity\interfaces\ConfigurableActivityInterface;
use Yii;

/**
* WikiPageEdited activity
*
* @author luke
*/
class WikiPageEditedActivity extends BaseActivity implements ConfigurableActivityInterface
class WikiPageEditedActivity extends BaseContentActivity implements ConfigurableActivityInterface
{
/**
* @inheritdoc
*/
public $moduleId = 'wiki';

/**
* @inheritdoc
*/
public $viewName = 'wikiPageEdited';

/**
* @inheritdoc
*/
public function getTitle()
public static function getTitle(): string
{
return Yii::t('WikiModule.base', 'Wiki');
}

/**
* @inheritdoc
*/
public function getDescription()
public static function getDescription(): string
{
return Yii::t('WikiModule.base', 'Whenever someone edits a wiki page.');
}

protected function getMessage(array $params): string
{
return Yii::t('WikiModule.base', '{displayName} edited the Wiki page "{contentTitle}".', $params);
}
}
13 changes: 0 additions & 13 deletions activities/views/wikiPageEdited.php

This file was deleted.

8 changes: 8 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

2.6.1 (July 8, 2026)
--------------------
- Enh #431: Add aria-label attribute for icon-only buttons

2.6.0 (June 5, 2026)
---------------------
- Enh #410: Update for HumHub 1.19

2.5.12 (August 4, 2026)
-----------------------
- Fix #436: Fix subpages box width on small screens
Expand Down
5 changes: 2 additions & 3 deletions messages/am/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
'Allows the user to create new pages' => '',
'Allows the user to edit or revert pages' => '',
'Allows the user to view the history of wiki pages' => '',
'Allows the user to view wiki pages' => '',
'Are you really sure? All existing category page assignments will be removed!' => '',
'Back to page' => '',
'Child page cannot be used as parent page!' => '',
Expand All @@ -38,6 +37,7 @@
'Disable edit access for non wiki administrators?' => '',
'Discard my changes' => '',
'Do you really want to revert this page?' => '',
'Drag to reorder' => '',
'Edit page' => '',
'Edit pages' => '',
'Edited at' => '',
Expand Down Expand Up @@ -88,7 +88,6 @@
'This field only allows a maximum 1 page.' => '',
'This page is empty.' => '',
'View History' => '',
'View pages' => '',
'Whenever someone edits a wiki page.' => '',
'Wiki' => '',
'Wiki page' => '',
Expand All @@ -98,5 +97,5 @@
'by' => '',
'last update {dateTime}' => '',
'show changes' => '',
'{userName} edited the Wiki page "{wikiPageTitle}".' => '',
'{displayName} edited the Wiki page "{contentTitle}".' => '',
];
5 changes: 2 additions & 3 deletions messages/an/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
'Allows the user to create new pages' => '',
'Allows the user to edit or revert pages' => '',
'Allows the user to view the history of wiki pages' => '',
'Allows the user to view wiki pages' => '',
'Are you really sure? All existing category page assignments will be removed!' => '',
'Back to page' => '',
'Child page cannot be used as parent page!' => '',
Expand All @@ -38,6 +37,7 @@
'Disable edit access for non wiki administrators?' => '',
'Discard my changes' => '',
'Do you really want to revert this page?' => '',
'Drag to reorder' => '',
'Edit page' => '',
'Edit pages' => '',
'Edited at' => '',
Expand Down Expand Up @@ -88,7 +88,6 @@
'This field only allows a maximum 1 page.' => '',
'This page is empty.' => '',
'View History' => '',
'View pages' => '',
'Whenever someone edits a wiki page.' => '',
'Wiki' => '',
'Wiki page' => '',
Expand All @@ -98,5 +97,5 @@
'by' => '',
'last update {dateTime}' => '',
'show changes' => '',
'{userName} edited the Wiki page "{wikiPageTitle}".' => '',
'{displayName} edited the Wiki page "{contentTitle}".' => '',
];
5 changes: 2 additions & 3 deletions messages/ar/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
'Allows the user to create new pages' => '',
'Allows the user to edit or revert pages' => '',
'Allows the user to view the history of wiki pages' => '',
'Allows the user to view wiki pages' => '',
'Are you really sure? All existing category page assignments will be removed!' => '',
'Child page cannot be used as parent page!' => '',
'Choose a Wiki Page' => '',
Expand All @@ -51,6 +50,7 @@
'Default wiki settings' => '',
'Disable edit access for non wiki administrators?' => '',
'Discard my changes' => '',
'Drag to reorder' => '',
'Edit pages' => '',
'Get your very own knowledge base off the ground by being the first one to create a Wiki page! Gather information, facilitate knowledge transfer and make it available to your users in the easiest way possible.' => '',
'Headline' => '',
Expand Down Expand Up @@ -91,12 +91,11 @@
'This field only allows a maximum 1 page.' => '',
'This page is empty.' => '',
'View History' => '',
'View pages' => '',
'Whenever someone edits a wiki page.' => '',
'Wiki page content ID' => '',
'Wiki pages' => '',
'Your current version' => '',
'last update {dateTime}' => '',
'show changes' => '',
'{userName} edited the Wiki page "{wikiPageTitle}".' => '',
'{displayName} edited the Wiki page "{contentTitle}".' => '',
];
7 changes: 3 additions & 4 deletions messages/bg/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
'Search' => 'Търсене',
'Search for Wiki Title' => 'Потърсете заглавието в Wiki',
'This page is empty.' => 'Тази страница е празна.',
'View History' => 'Разгледай Историята',
'Wiki' => 'Wiki',
'Wiki page' => 'Wiki страница',
'by' => 'от',
Expand All @@ -60,14 +61,14 @@
'Allows the user to create new pages' => '',
'Allows the user to edit or revert pages' => '',
'Allows the user to view the history of wiki pages' => '',
'Allows the user to view wiki pages' => '',
'Child page cannot be used as parent page!' => '',
'Compare changes' => '',
'Create new page' => '',
'Create page' => '',
'Create pages' => '',
'Created by {author}' => '',
'Discard my changes' => '',
'Drag to reorder' => '',
'Edit pages' => '',
'Get your very own knowledge base off the ground by being the first one to create a Wiki page! Gather information, facilitate knowledge transfer and make it available to your users in the easiest way possible.' => '',
'Hide Navigation Entries of this module globally by default' => '',
Expand All @@ -90,13 +91,11 @@
'Table of Contents' => '',
'There are no entries yet :(' => '',
'This field only allows a maximum 1 page.' => '',
'View History' => '',
'View pages' => '',
'Whenever someone edits a wiki page.' => '',
'Wiki page content ID' => '',
'Wiki pages' => '',
'Your current version' => '',
'last update {dateTime}' => '',
'show changes' => '',
'{userName} edited the Wiki page "{wikiPageTitle}".' => '',
'{displayName} edited the Wiki page "{contentTitle}".' => '',
];
5 changes: 2 additions & 3 deletions messages/br/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
'Allows the user to create new pages' => '',
'Allows the user to edit or revert pages' => '',
'Allows the user to view the history of wiki pages' => '',
'Allows the user to view wiki pages' => '',
'Are you really sure? All existing category page assignments will be removed!' => '',
'Back' => '',
'Back to page' => '',
Expand All @@ -32,6 +31,7 @@
'Disable edit access for non wiki administrators?' => '',
'Discard my changes' => '',
'Do you really want to revert this page?' => '',
'Drag to reorder' => '',
'Edit' => '',
'Edit page' => '',
'Edit pages' => '',
Expand Down Expand Up @@ -88,7 +88,6 @@
'This field only allows a maximum 1 page.' => '',
'This page is empty.' => '',
'View History' => '',
'View pages' => '',
'Whenever someone edits a wiki page.' => '',
'Wiki' => '',
'Wiki page' => '',
Expand All @@ -98,5 +97,5 @@
'by' => '',
'last update {dateTime}' => '',
'show changes' => '',
'{userName} edited the Wiki page "{wikiPageTitle}".' => '',
'{displayName} edited the Wiki page "{contentTitle}".' => '',
];
5 changes: 2 additions & 3 deletions messages/ca/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
'Allows the user to create new pages' => '',
'Allows the user to edit or revert pages' => '',
'Allows the user to view the history of wiki pages' => '',
'Allows the user to view wiki pages' => '',
'Are you really sure? All existing category page assignments will be removed!' => '',
'Back to page' => '',
'Child page cannot be used as parent page!' => '',
Expand All @@ -37,6 +36,7 @@
'Disable edit access for non wiki administrators?' => '',
'Discard my changes' => '',
'Do you really want to revert this page?' => '',
'Drag to reorder' => '',
'Edit page' => '',
'Edit pages' => '',
'Edited at' => '',
Expand Down Expand Up @@ -88,7 +88,6 @@
'This field only allows a maximum 1 page.' => '',
'This page is empty.' => '',
'View History' => '',
'View pages' => '',
'Whenever someone edits a wiki page.' => '',
'Wiki' => '',
'Wiki page' => '',
Expand All @@ -98,5 +97,5 @@
'by' => '',
'last update {dateTime}' => '',
'show changes' => '',
'{userName} edited the Wiki page "{wikiPageTitle}".' => '',
'{displayName} edited the Wiki page "{contentTitle}".' => '',
];
5 changes: 2 additions & 3 deletions messages/cs/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,22 @@
'by' => 'uživatelem',
'last update {dateTime}' => 'poslední aktualizace {dateTime}',
'show changes' => 'zobrazit změny',
'{userName} edited the Wiki page "{wikiPageTitle}".' => '{userName} upravil Wiki stránku "{wikiPageTitle}".',
'({n,plural,=1{+1 subpage}other{+{count} subpages}})' => '',
'<strong>Wiki</strong> module configuration' => '',
'Administer pages' => '',
'Allows the user to administer pages (rename, delete, protect, make homepage)' => '',
'Allows the user to create new pages' => '',
'Allows the user to edit or revert pages' => '',
'Allows the user to view the history of wiki pages' => '',
'Allows the user to view wiki pages' => '',
'Create pages' => '',
'Drag to reorder' => '',
'Edit pages' => '',
'Hide Navigation Entries of this module globally by default' => '',
'Hide Navigation Entry' => '',
'No wiki pages found.' => '',
'View History' => '',
'View pages' => '',
'Whenever someone edits a wiki page.' => '',
'Wiki page content ID' => '',
'Wiki pages' => '',
'{displayName} edited the Wiki page "{contentTitle}".' => '',
];
Loading
Loading