Deleting Attachment

  • Henk Boerboom

    Henk Boerboom - 2005-10-07

    Is it possible to delete an attachment without MySql ?

    • Mario Salzer

      Mario Salzer - 2005-10-07

      All database backends have a ::DELETE() call, and so this is independent from MySQL. If you found out the internal database name of the attachment, you could use the WikiCommander or tools/ewikictl for example.

    • Henk Boerboom

      Henk Boerboom - 2005-10-10

      Ok, but for the average user of the wiki there is no way to delete an old or wrong attachement ?

      If that is so, isn't that a lack of functionality !

      • Mario Salzer

        Mario Salzer - 2005-10-11

        Sure, but while text pages in a Wiki are openly editable, it would be dangerous to allow users to purge stuff and grant full access to database administration.

        The attachment feature is one of the more exotic (=non-core) functions and its current implementation just an ad-hoc extension, not well integrated with anything. We do not have a standardized means to connect database entries to each other, and so the association (and even the existence) of attachments is rather loose.

        Instead of deletion it would be interesting to have the ability to disconnect attachments and put them into some sort of Trashcan. Just has never been implemented (and I have no time for it).


Log in to post a comment.