Re: [Tiki-devel] A default for the list of plugins, whose bodies should be indexed
"Dr. Sassafras" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
. > > Yes, that's one of the reasons which made me think, that it's best done in > the plugin code. Fantastic! > > Cheers, > Volker > >> Although quick wins are always good too :) >> >> Brendan >> >> >> >>>> On Jan 11, 2023, at 7:24 AM, Volker Wysk <[email protected]> wrote: >>> >>> Hi. >>> >>> I'd like to volunteer to go through all 256 plugins and add searchability- >>> by-default information. After I've dealt with my new Smartphone. Something >>> like this: >>> >>> 'searchable' => 'y', >>> >>> This should take a few hours of work. >>> >>> Volker >>> >>> >>>> Am Samstag, dem 07.01.2023 um 16:40 +0100 schrieb Volker Wysk: >>>> Hi! >>>> >>>> The easiest way of doing it, would be to just set a reasonable default for >>>> the "Exclude plugins" or the "Except included plugins" setting in the Search >>>> control panel. >>>> >>>> But I'd like to suggest to do it the following way. We could have two >>>> settings in the Search control panel: "Include plugins" and "Exclude >>>> plugins". We'd also have defaults for all plugins, which would get >>>> overridden by those two settings. >>>> >>>> Those defaults would be set in the "wikiplugin_..._info()" function in each >>>> plugin. We should also provide an easy way of displaying the defaults. This >>>> could be done with a button in the Search control panel, named "Show >>>> defaults". It would open a window, which lists all plugins enabled and >>>> disabled by default. >>>> >>>> I guess it would be rare that someone needs something different from the >>>> default, when a reasonable default has been chosen. >>>> >>>> The system wide rules of inclusion/exclusion in search, could also be >>>> overridden by a per-occurrence attribute "searchable", the way Rick has >>>> proposed. >>>> >>>> Cheers, >>>> Volker >>>> >>>> >>>>> Am Freitag, dem 06.01.2023 um 18:31 -0500 schrieb Rick Sapir: >>>>> To provide additional flexibility, would it be useful to have this >>>>> option on each plugin, that would override the global include/exclude list? >>>>> >>>>> For example: >>>>> >>>>> {DIV(searchable="y|n").....} >>>>> >>>>> and the plugins noted by Volker could default to "y" (and the other >>>>> plugins to "n"). >>>>> >>>>> And this would work as an override to the global include/exclude list. >>>>> Just a thought.... >>>>> >>>>> >>>>> -R >>>>> >>>>> Rick Sapir >>>>> ricksapir.com >>>>> @ricksapir >>>>> >>>>> Creating Content -- Managing Information >>>>> >>>>> On 1/6/2023 2:24 PM, Jonny Bradley via TikiWiki-devel wrote: >>>>>> Hi Volker >>>>>> >>>>>> That sounds like a great idea and shouldn’t be too hard to do, although setting multiple choice defaults can be a little tricky I seem to recal… >>>>>> >>>>>> jonny >>>>>> >>>>>> >>>>>>> On 6 Jan 2023, at 19:09, Volker Wysk <[email protected]> wrote: >>>>>>> >>>>>>> Hi again. >>>>>>> >>>>>>> I'm willing to try to check all of the plugins, so we can have a better >>>>>>> default. >>>>>>> >>>>>>> Bye, >>>>>>> Volker >>>>>>> >>>>>>>> Am Freitag, dem 06.01.2023 um 12:57 +0100 schrieb Volker Wysk: >>>>>>>> Hi all! >>>>>>>> >>>>>>>> Search excludes, by default, the body parts of all Tiki plugins. You need to >>>>>>>> manually define the list of plugins, which should be indexed (or should not >>>>>>>> be indexed), in the Search configuration. The setting's name is >>>>>>>> "unified_included_plugins", for the case when you want to explicitly enable >>>>>>>> plugins, and leave all others disabled. >>>>>>>> >>>>>>>> It is highly unintuitive, that no plugin bodies are searchable at all, by >>>>>>>> default. There're a lot of plugins which the user will expect to be >>>>>>>> searchable. It doesn't make sense not to include them from search. For >>>>>>>> instance, the Font, Indent, Div and Code plugins. >>>>>>>> >>>>>>>> I've gone through the list of Tiki Plugins and compiled a list of plugins >>>>>>>> whose bodies should be searchable. This list isn't complete, since I didn't >>>>>>>> read the description of all plugins. They're just too many. >>>>>>>> >>>>>>>> Here it is: >>>>>>>> >>>>>>>> attach,box,code,copyright,div,dl,fancylist,fancytable,file,files,font,footnote,indent,lang,list,markdown,mono,quote,scroll,sort,split,sub,sup >>>>>>>> >>>>>>>> I'm asking the developers to include this list as a default, for the plugins >>>>>>>> whose bodies should be included, in the next Tiki version. >>>>>>>> >>>>>>>> Regards, >>>>>>>> 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 >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >> >> >> _______________________________________________ >> 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