0 Votes

scripttest

Last modified by Ryan C on 2025/05/06 20:38

Attachment Rename Script Test Page

This page is used to test all known edge cases for attachment renaming and broken reference recovery.

โœ… Working Link with Bad Filename

This should show a valid image but with a bad filename like `a b.jpg`, which will be renamed to `a_b.jpg`.
<img src="/bin/download/Main%20Categories/Crime%20%26%20Justice/Blacks%20counted%20as%20White/scripttest/WebHome/a%20b.jpg?rev=1.1" width="300" />

๐Ÿงผ Already-clean filename

already_clean.jpg

๐Ÿ’ฅ Broken reference (does not exist at all)

nonexistent[broken].jpg

๐Ÿ” Previously renamed (should be fixed if stale)

<img src="/bin/download/Main%20Categories/Crime%20%26%20Justice/Blacks%20counted%20as%20White/scripttest/WebHome/bad%20name.jpg" width="250" />

๐Ÿง  Fuzzy-match candidate (actual file is `a_b.jpg`)

a b.jpg

๐Ÿงช Badly-encoded filename with leftover macro syntax

blacks_counted_as_white_injustice_ethnicity_image_images_non-hispanic_race_texas_white.jpg].jpg

๐Ÿงฑ HTML Embed (should still work after rename)

<img src="/bin/download/Main%20Categories/Crime%20%26%20Justice/Blacks%20counted%20as%20White/scripttest/WebHome/a%20b.jpg?rev=1.1" width="200" />

โš™๏ธ Velocity-based Embed with bad name

<img src="/bin/download/Main%20Categories/Crime%20%26%20Justice/Blacks%20counted%20as%20White/scripttest/WebHome/bad%20name.jpg" width="200" />

๐ŸŽž Embedded MP4 (should be renamed and still playable)


WarningVideo attachment not found!

๐Ÿ“Š Gallery Rendering

๐Ÿ“Ž Attachment Reference

Archived Chart