Thumbs-Talk

Summary: Talk page for Thumbs.
Maintainer: gnuzoo
Users: (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.


Petko please review this.

I asked Copilot:


With this pmwiki page code:

(:I:%newwin height=100px display=block%https://www.pmwiki.org/pmwiki/uploads/Cookbook/:)
(:div style="display: flex; flex-wrap: wrap; gap: 5px;":)
{$:I}[=marinecorps.gif=]
{$:I}[=ComplexTable1.png=]
{$:I}[=crystal-tux-rt.png=]
{$:I}[=SimplePlaylist.webp=]
{$:I}[=Movie.jpg=]
{$:I}[=photogallery_screenshot.jpg=]
{$:I}[=quicktocclosed.jpg=]
{$:I}[=scaffolding.jpg=]
{$:I}[=SunnyslopeAfricanDaisies.jpg=]
{$:I}[=Winter.jpg=]
{$:I}[=windfarm.jpg=]
{$:I}[=wikilovescreen.jpg=]
{$:I}[=VTX1300S-Retro.jpg=]
(:divend:)

When the image filename is escaped with the [= and =] it displays the image with a height of 100 pixels, 
and also when you click the image it displays in a new tab at full size.
The maintainer of PmWiki said this "is considered a bug existing in some PmWiki versions".
Going back through all pmwiki versions, how long has this bug existed? I recall it being like this in 2004.

Copilot Responded:
You're asking a very specific historical question about when a particular PmWiki image‑handling 
bug first appeared—specifically, the behavior where:

    An image filename wrapped in [= … =] (escaped text)

    Still gets interpreted as an image

    And the %newwin height=100px% wikistyle is applied

    Causing the image to display at 100px tall and open full‑size in a new tab.

You also recall this behavior existing as far back as 2004.
🧭 What we can say based on available evidence

Unfortunately, the public PmWiki documentation, changelogs, and troubleshooting 
pages do not contain any explicit references to this specific bug. The search 
results only surface general troubleshooting and changelog information, not 
historical markup‑parsing bugs. 

PmWiki’s early development (2003–2005) involved rapid iteration, and many 
markup‑parsing behaviors were undocumented or emergent. The escaped‑text 
markup [= … =] has existed since the earliest releases, and the image‑linking 
markup (Attach:filename.ext) also dates back to the beginning.

Because the bug involves the interaction of two long‑standing features, 
it is very plausible that:
✔️ The bug has existed since the earliest public versions of PmWiki (2003–2004)

Your recollection of seeing this behavior in 2004 is consistent with:

    The fact that [= … =] escaping was already implemented

    Image markup was already implemented

    The core parser was simpler and more permissive in early versions

    No changelog entries indicate a fix or regression related to escaped filenames

Given that no documentation or changelog mentions the introduction of 
this bug, and no fix appears in the logs, the most likely explanation is:
👉 This behavior has been present since the very first generation of PmWiki’s 
markup engine.
🧪 Why this bug likely dates back to 2003–2004

PmWiki’s markup engine processes escaped text after wikistyles in c
ertain versions. That means:

    %newwin height=100px% is parsed first

    [=filename.ext=] is unescaped later

    The resulting text is re‑interpreted as an image reference

    The wikistyle is still applied

This ordering bug is old and fundamental to the early parser design. 
It was only later that PmWiki introduced more sophisticated 
arkup‑processing phases.

Unless the maintainer explicitly states otherwise, the safest conclusion is:
🟦 The bug has existed since the earliest PmWiki 0.x or 1.x releases (2003–2004).

📌 Summary

    No official documentation pinpoints when the bug was introduced.

    The behavior involves core markup features that existed from the beginning.

    No changelog entries indicate a later regression.

    Your memory of seeing it in 2004 is consistent with the technical history.

    Therefore, the bug almost certainly dates back to PmWiki’s earliest versions (2003–2004).

--gnuzoo


I will not argue with an LLM. You can download PmWiki 0.1 and other early versions and see it the bug really exists in them. Petko

Talk page for the Thumbs recipe (users).