Skip to content

Commit

Permalink
[wiki] make lack-of-history an advanced feature
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Dec 14, 2024
1 parent 8b366b4 commit e426904
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ext/wiki/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use GQLA\Type;
use GQLA\Field;
use GQLA\Query;
use GQLA\Mutation;

class WikiUpdateEvent extends Event
{
Expand Down Expand Up @@ -133,9 +132,8 @@ public function onInitExt(InitExtEvent $event): void
public function onSetupBuilding(SetupBuildingEvent $event): void
{
$sb = $event->panel->create_new_block("Wiki");
$sb->add_bool_option(WikiConfig::ENABLE_REVISIONS, "Enable wiki revisions: ");
$sb->add_longtext_option(WikiConfig::TAG_PAGE_TEMPLATE, "<br/>Tag page template: ");
$sb->add_text_option(WikiConfig::EMPTY_TAGINFO, "<br/>Empty list text: ");
$sb->add_longtext_option(WikiConfig::TAG_PAGE_TEMPLATE, "Tag page template: ");
$sb->add_text_option(WikiConfig::EMPTY_TAGINFO, "Empty list text: ");
$sb->add_bool_option(WikiConfig::TAG_SHORTWIKIS, "<br/>Show shortwiki entry when searching for a single tag: ");
}

Expand Down

0 comments on commit e426904

Please sign in to comment.