lib/plugin/pluginrepo/helper/repository.php
/** строка 867 * render internallink to plugin/template, templates identified by having namespace * * @param Doku_Renderer_xhtml $R * @param string $plugin pluginname * @param string|null $title Title of plugin link * @return string rendered internallink */ public function pluginlink(Doku_Renderer_xhtml $R, string $plugin, string $title = null): string { if (!getNS($plugin)) { // return $R->internallink(':plugin:' . $plugin, $title, null, true); // чтобы работала ссылка из папки второго уровня :wiki:plugin return $R->internallink(':wiki:plugin:' . $plugin, $title, null, true); } else { if (!$title) { $title = noNS($plugin); } // в эту строку добавили ":wiki" return $R->internallink(':' . $plugin, $title, null, true); // чтобы работала ссылка из папки второго уровня :wiki:template return $R->internallink(':wiki:' . $plugin, $title, null, true); } }
lib/plugin/pluginrepo/syntax/table.php включить скриншоты в таблице (строка 84)
public function handle($match, $state, $pos, Doku_Handler $handler) { $initialData = [ 'cloudmin' => 0, 'showscreenshot' => true,//false -> true
lib/plugin/pluginrepo/syntax/table.php убать фильтр по типу перед таблицей (строка 195)
закомментируем строки со строки 196 по 199 и с 201 по 225 в блоке Output plugin TYPE filter selection.
/** * Output plugin TYPE filter selection * * @param Doku_Renderer_xhtml $R * @param array $data */ public function showPluginTypeFilter($R, $data) { global $ID; /* Убираем фильтр по типу $R->doc .= '<h3>'; $R->doc .= $this->getLang('t_filterbytype'); $R->doc .= '</h3>'; */ $R->doc .= '<ul class="types">'; /* $R->doc .= '<li><div class="li">'; $R->doc .= sprintf($this->getLang('t_typesyntax'), $this->hlp->listtype(1, $ID)); $R->doc .= '</div></li>'; $R->doc .= '<li><div class="li">'; $R->doc .= sprintf($this->getLang('t_typeaction'), $this->hlp->listtype(4, $ID)); $R->doc .= '</div></li>'; $R->doc .= '<li><div class="li">'; $R->doc .= sprintf($this->getLang('t_typeadmin'), $this->hlp->listtype(2, $ID)); $R->doc .= '</div></li>'; $R->doc .= '<li><div class="li">'; $R->doc .= sprintf($this->getLang('t_typehelper'), $this->hlp->listtype(16, $ID)); $R->doc .= '</div></li>'; $R->doc .= '<li><div class="li">'; $R->doc .= sprintf($this->getLang('t_typerender'), $this->hlp->listtype(8, $ID)); $R->doc .= '</div></li>'; $R->doc .= '<li><div class="li">'; $R->doc .= sprintf($this->getLang('t_typeremote'), $this->hlp->listtype(64, $ID)); $R->doc .= '</div></li>'; $R->doc .= '<li><div class="li">'; $R->doc .= sprintf($this->getLang('t_typeauth'), $this->hlp->listtype(128, $ID)); $R->doc .= '</div></li>'; $R->doc .= '<li><div class="li">'; $R->doc .= sprintf($this->getLang('t_typecli'), $this->hlp->listtype(256, $ID)); $R->doc .= '</div></li>'; */ if ($data['includetemplates']) { $R->doc .= '<li><div class="li">'; $R->doc .= '</div></li>'; } $R->doc .= '</ul>'; }