File Gallery backlinks are a dysfunctional mess
- Status
- Closed
- Subject
- File Gallery backlinks are a dysfunctional mess
- Version
- 10.x
11.x
9.x - Category
- Usability
- Feature
- Backlinks
File Gallery (elFinder or standard UI) - Resolution status
- Fixed or Solved
- Submitted by
- David Carter
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
I want to use backlinks in File Gallery to show me what wiki pages reference the files. This is how I can identify orphaned files. However, this function is so broken that it is unreliable.
What I would expect from this feature is the following behaviors:
- Each file referenced in a wiki page has a single backlink to that page recorded in the File Gallery that contains the file
- Backlinks to wiki pages are uniquely indexed, so that even if there are numerous references to the same file on a page, there is only one backlink to that page shown in the File Gallery, rather than multiple backlinks to the same page
- Removing a reference to a file from a page will remove the backlink to that page from the file in the File Gallery
- Deleting a wiki page will delete all backlinks to that page in the File Gallery
The behaviors I have been able to duplicate in the demo wiki (http://demo.tiki.org/11x/tiki-list_file_gallery.php?galleryId=6
) are as follows:
- Linking to a file in a wiki page will create a row in the tiki_file_backlinks table for that page in the File Gallery every time you save the page, even if there is already a row for that page
- If you edit the page and then save it, the backlinks to the referenced files are sometimes incremented, and sometimes not
- Removing the link to a file in a wiki page and then saving it does not remove the backlink in the File Gallery to that page
- Completely removing a page from the wiki that is referenced by backlinks in the File Gallery will not remove those backlinks, but will instead leave orphaned backlinks to non-existent pages
- There is no reindex or cleanup function built into Tiki for File Gallery backlinks, and no way to manually fix or remove bad backlinks (other than directly editing the database tables)
- Solution
- Workaround
- Importance
- 6
- Easy to solve?
- 3
- Priority
- 18
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4608
- Created
- Friday 26 July, 2013 20:49:27 UTC
by David Carter - LastModif
- Sunday 05 July, 2026 11:55:47 UTC