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]> |
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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmO5knIACgkQ+K4ydFOs HoXWnxAAnEP34Ii2tUxJin8zE1/x3x3oFROmB4zLf0LJ8bpxgNWRB+pZyw3yp045 ffPJhsQrulawbdsxN2mAdQfk6Uft1koZERD+lVIrjBmcBsGXQAt2LVNIHnrYZT7E q2qOrwJQ2c9iKHmfr/nxRbP7WQbmBDGoh1RAZPI1UhmguQ3gNKHJAoDx6kwtcEeP MXk8/xEIzYrqDMVyZcK9wpFL4oQd6O2JlzVeePWcqPamIcYlbEwES/HhfjjX4d5b KSigEWEreExpXuEw01oHYs5qhVATDJGixWClKwhVos+45+9c/JEn8WcUc1Rd/Bsl 6T/KZyMUFG0MGG3SpLiK/L3iF9gWx/g9mqZOHTA/vl8/jE5GbslZvsoPXLgDWCBA 1lwzbyzwIXILWzyvnxF0sA/HAIPE123aWbNrDariFv8Y4XHFyfS+sBuxtM0mDX5J o2+kl9hOEssBczsOPxz8UzfYZAexDMOSAgGjF2f7VEqosUHdp7sPtOGM0pp/1VfT VZ2IBfVYLmU6hmm356AXQ3s0bh1ecg630O9McJSbio3VAYdplfXE6gs+of8WMtdu N9jZsnGsxBg7Qqndw+i43Y/5nbAxhQtRRe9FSrOxgY0lNTSBVPnLkKpaFi2p+w70 XwvTFpob7QvS6uxeqwSFhSaYzbrXnt1ejYbe0MBVVUPvx0JmsN0= =OSIN -----END PGP SIGNATURE-----