Loading...
 
Skip to main content

Features / Usability


tag multiple pages using title search

I have just taken over a tiki powered knowledge base with over 5000 documents, none of which have tags. The previous admins built our knowledge base using structures, but it's searchability is greatly hampered by years of non standardized page creation where full text searches bring about so many non relevant results that our company has all but abandoned it's use.

We believe we can resolve many of the issues by tagging the pages with an organized tagging method. Currently the only method that I can find within tiki is go to through our structures and add tags page by page, which could take several months. Are there any projects in the works or has anyone succeeded in tagging groups of pages based on search criteria?

I know this can be done running SQL queries and made simpler by developing some php scripts that can do some error checking, but I do not want to invent a wheel that is already rolling out there somewhere. If not, are there some plug-ins in existence that I might build off of that would give me a head start?

I am a novice at php and have examined the database table and I know how to do what I need to do, but I don't want to pioneer a development project that might be already in the works or has already been achieved. I have done extensive searching through github, gitlabs and documentation and have not found any leads. Any assistance would be appreciated.

We are using Tiki 24 LTS and planning to upgrade to 27 LTS once the tagging and some other auditing has been completed.

Thank you for any assistance.

Justin Boyd wrote:
...We believe we can resolve many of the issues by tagging the pages with an organized tagging method. Currently the only method that I can find within tiki is go to through our structures and add tags page by page, which could take several months. Are there any projects in the works or has anyone succeeded in tagging groups of pages based on search criteria?


I know it's a long time ago (thread only woken up by a spammer!) but did you work this out?

Ideally you could use PluginListExecuteQuestion but that doesn't have an action to add tags to objects (would be nice one day), but you can categorise things with categorize_object, so i would use that here. In many way categories are more powerful than tags and have more options (like you can make a whole structure have the same category).

Anyway, too late now probably, just adding this here in case it helps others one day.


This issue has been resolved. I built my own backend using Python and FastAPI to manage Tags, Structures, Categories, mass find and replace, permissions, and anything else the Wiki Admin fails at.
Now that I have solved the migration from Tiki Wiki format to Git Flavored Markdown, I will be migrating away from Tiki soon! Good luck!

Justin Boyd wrote:

This issue has been resolved. I built my own backend using Python and FastAPI to manage Tags, Structures, Categories, mass find and replace, permissions, and anything else the Wiki Admin fails at.
Now that I have solved the migration from Tiki Wiki format to Git Flavored Markdown, I will be migrating away from Tiki soon! Good luck!


Well done, sounds non-trivial!

May i ask what you're migrating to?

And what doesn't Tiki do that you need? (i know the markdown work is still in progress, but hopefully v30 will be better on that score)

Cheers and good luck to you too!


Hello,

Seems you've solved your issue, but for the future readers I add this note to say that I've committed an a new PATCH /api/wiki/page/{page} endpoint to allow partial updates of wiki pages without requiring a full POST payload for:

  • seo_title — stored as tiki.wiki.page_title attribute (max 160 chars)
  • seo_description — stored in tiki_pages.description (max 200 chars)
  • categories — full replace via update_object_categories()
  • tags — replace via freetaglib->update_tags(), supports multi-word tags


https://gitlab.com/tikiwiki/tiki/-/merge_requests/9702Question


To answer your core question: No native UI batch-tagging tool or mainstream plugin exists in Tiki to automatically map tags to groups of pages based on complex search criteria. Out of the box, Tiki's tag management (freetags) assumes either manual page-by-page editing via the properties tab or using standard module interfaces one object at a time.