Re: [Tiki-devel] A default for the "Except included plugins" setting

Volker Wysk <post-hhF2Jplw28UoZk/[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
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 <post-hhF2Jplw28UoZk/[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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmP0u38ACgkQ+K4ydFOs
HoWJ8xAAykJt9T/Q7yT2bIYAiJk2X0UJA3g8jhJoLWUK5hA19dmqca2G9d5LFWmt
X72ne8UMpXLDJs2w0tuHgazmsyLBCIUGzPtCpUBltvsXHvancBuseXXcgsLLlaij
pDjDqKl167PbjMGYy9dZJHBwYLtj9vB3qiDFLXwUeHv5tyFS5qiuQtm7xGAq6Orj
+hiErizGwjltzPch1wIVHUKETmKFu9Bi2zYEr/Bn4AnrlL5IpDt9F1wu0sCGuPRw
bxKe4YRreouizrcILvSyV8etmXgTHTNeC5xZip+I1soFi2MurquxQy1Iy4etNRle
O4CJHsmz0O+XMgHLU0qeKCN0N6jn5jgR7JS7yKmVHaM0eTGWyge8FbHDnk84s6Qv
VmIyYJKkW3Yo6UokfaJ876is/qrDjPDWuRWw1SEuevEethBLg+BYEGLhwQetRSZg
4Q8gy9BgKL8PgKOrioZArkO1hd+32ijP8vcADhDINrVhsmxW311M8H5J38nMFPLN
ZqMoZNzO5U4d7PS2CSJJeMtSFVKtrtqWCX45nQI8YuPXvXw6mpkNQmxOc7wrKa46
B8MDlTUfL11ZM/Z4TTBS0nuIWKnWxjoj9W3zMrGlY4hWPWZut6F+jYj358H24ekm
s1AaTb8RsD20R/p7aGlMggP0S3O6J8UsosSP+Y9AG2+37piuulI=
=/n5L
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.