Re: [Tiki-devel] A default for the "Except included plugins" setting
Marc Laporte <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Again: Adrien will work with you to turn these ideas into a merge request here: https://gitlab.com/tikiwiki/tiki/-/merge_requests Thanks! Marc On Tue, 21 Feb 2023 13:39:27 +0100 Tiki developers [email protected] said > Am Dienstag, dem 21.02.2023 um 11:33 +0000 schrieb Jonny Bradley via > TikiWiki-devel: > > Hi again > > > > This was another thread that turned into an unfeasible complete rewrite of > > the plugin system - if you want these plugins added simply as the default > > for searchable plugins i can do that (or you can, glad to help get you > > started!) > > There were thought of introducing a common base class for wiki plugins. This > may be infeasible. > > Then there was the idea to add an optional option to the result of the > wikiplugin_..._info() function. Let's call it "searchable". The default > would be "no". This by-plugin searchability setting could be overruled by > the two settings in the wiki control panel - "include in search" and > "exclude in search". We already have those two, they're just named > differently (one's called "Except included plugins"). This doesn't look > infeasible to me. In contrary, it looks like a simple and clean solution. > > Then there's the last choice, namely just introduce a default value for the > "Except included plugins" setting. This should be no effort at all (if you > know your way in the tiki sources). And it would be much better than the > current state of affairs. > > Cheers, > Volker > > > > > > jonny > > > > > > > > > > > On 17 Jan 2023, at 19:12, Volker Wysk <[email protected]> wrote: > > > > > > Hi. > > > > > > I've begun to make an exhaustive default list of plugins, whose bodies > > > should be searchable. I've gone through the files in the lib/wiki-plugins > > > directory. But after 25%, I've given up. Many of the plugins are poorly > > > documented or not documented at all. Some don't have the "body" field, but > > > DO require a body. You can see it in the examples (for plugins with > > > examples). Many are very special or very advanced. For some I couldn't > > > figure out if they should be searchable. > > > > > > So I made a limited list of plugins, which should be searchable. It can > > > serve as a default for the "Except included plugins" setting. I've chosen > > > general-purpose plugins, no special or advanced ones. > > > > > > Here is the list: > > > > > > > > attach,box,center,code,div,file,files,font,footnote,indent,markdown,quote,sort,sub,sup > > > > > > Cheers, > > > Volker > > > _______________________________________________ > > > TikiWiki-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > > > > > > > > _______________________________________________ > > TikiWiki-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > > _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel