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.
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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmO+qjkACgkQ+K4ydFOs HoXpiA//WKlE4dAHJWH+8ej5hjKWg1k9/INMyxZoclG+1oOX69Y3okzOn18+fE87 il7pj0On5nwmadMT1k35mMI97h9Q1z83upWJzlFf8tFMC/TRtZwoHso1K4krgJq0 abqOGHfAsoZTTYeWnTXu27y2eGn+qJfeOvgRjXug/CQPE3VBdS1enM4UULlt4eT3 1XSG2nXDX2ElhShd2qLg08i2puG4azFsLNyfgrIZvbBN6mb8NhwDy5+OcE6I4aFL W2aDSkn4AOtBgo/TmWcnEX8YRtadwD1mL3BMoCFtZGYRSobKn7MP+F0vS70vVWKG VrhgzKiQvZ/DUJaEOOz9GdHgfiaKqz8fxOSnPtiU8tK5/MfiLwPCYSr37GimW/af fqnv6mOSvik/Dqd8zNa+PyY3+WJvM4jSrppQ3/rQqZhr4rBUsb1FbVbWa3Y39fHB RINGjcD2ymGzeMypb0Ux/8t5PKgxSOj8FCOhLhss6hfV+NeAfnhfq4Q5kBL4Z8WC 7OF+xrgcso5sAXbIZKybPHz7rUHnQfQQWLAwEg8FFoMFT5D+a/WSOpBkZowYoNLM xnLXqzJiK4DAm5ryFMi0mEqaiLrCPzJguXq9/aDoPCdgMH8LBz80Jz3IfWQQ1P/O DJfPZnEvYSBaeK86gFn2EIYEbYCuq7HzFlg581SQYJ3WEJYi+sQ= =PxX9 -----END PGP SIGNATURE-----