Re: [Tiki-devel] A default for the list of plugins, whose bodies should be indexed
Volker Wysk <post-hhF2Jplw28UoZk/[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Mittwoch, dem 11.01.2023 um 14:27 -0500 schrieb Dr. Sassafras: > I hate to muddy the waters here, but is this being done in the plugin code, or in the control panel somewhere? My idea is to set the defaults in the plugin code. It would be possible to override those defaults in the search control panel, in two settings "Include plugins" and "Exclude plugins". > Seems that if it’s not in the plugin code, new plugins will get out if date and this will be a recurring conversation. Yes, that's one of the reasons which made me think, that it's best done in the plugin code. Cheers, Volker > Although quick wins are always good too :) > > Brendan > > > > > On Jan 11, 2023, at 7:24 AM, Volker Wysk <post-hhF2Jplw28UoZk/[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 <post-hhF2Jplw28UoZk/[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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmO/p1MACgkQ+K4ydFOs HoWz0hAAp8JpPwTVjWN8H4pLYDzBxiSHHYFrzutscwuB1z4/LJXTScoNPUUWAf1g oZdVZOFAufWtrFbljT0d7Q0dcr4rsz7U9jxz1ZZInvFgGtxoW/t4Qsyjfkt3kb4i n+Ssm/ahj9inTlPwAn6SRYblv2CQgs4L1ICpy5YULyBFk4EMQAd2RWFui0yrnbTQ 4zBpjeLIA+2DuCiYz+iGlG3DnpQQBRWYWzY4ao89fsWgyE3x5pQHNwWiOyCKjDcK EA/i0JkqpFnNT7Es/k5jRo43LqoDQENUkRjRJ4wiKxLEWFiwCo/ghvDNJ8MbICTL PN0iEJdhsBMqjaNGRojJgtXR53e/B+QMup1UiTGuqYtkaZVQfNh19L3zSTqNjE1X tG87cRkqDqF38Ayy7AdVDOyYPZR8nvpCp8BGiNIg7ycKDxmRmsERLDo/6vmOFa7E dJVUWtTP6nxjtEXnzeXiQxxDzaIT4ojSGmDtGghqSBYbCjBtjYsvR5QT2p7afrHx 6wFeckgHD/lhWWMgk0Yvdptwsrm4abjM1MseFy7opaxkjTB1i/Jc6/67leyWOGn6 SV+h5H4iilO19a6BhooeBk/0sysE6kzTLIF848qz7tsNsaodXYBt4jZyy+qgKdG2 8kbbpDSZA+aEISVezP8we8WDlY3J0kH8h484UBzXI942OuOLm80= =WE5e -----END PGP SIGNATURE-----