#272 Wiki: hotwords affecting wiki images

Unknown
closed-fixed
nobody
5
2003-09-24
2003-05-26
Jim Kring
No

If a wiki image contains a hotword in the file name, it will
sometimes not display correctly. When and how is not
obvious - sometime changing the file extension will fix
the problem.

For example:

I have a hotword "CVS" with
URL "http://www.cvshome.org/"

Here are some examples. The wiki image link is shown
first, and then the generated HTML is listed on the
subsequent line. Note that some of them are OK, and
some of them are not.

---- PASS ----
{picture file=img/wiki_up/tcvs.png}
<img src='img/wiki_up/tcvs.png?nocache=1'
alt='img/wiki_up/tcvs.png' />

---- FAIL ----
{picture file=img/wiki_up/t cvs.png}
<img src='img/wiki_up/t <a class="wiki"
href="http://www.cvshome.org/" >CVS</a>.png?
nocache=1' alt='img/wiki_up/t <a class="wiki"
href="http://www.cvshome.org/" >CVS</a>.png' />

---- PASS ----
{picture file=img/wiki_up/t-cvs.png}
<img src='img/wiki_up/t-cvs.png?nocache=1'
alt='img/wiki_up/t-cvs.png' />

---- PASS --
{picture file=img/wiki_up/t csv.png}
<img src='img/wiki_up/t csv.png?nocache=1'
alt='img/wiki_up/t csv.png' />

---- FAIL ----
{picture file=img/wiki_up/t cvs.jpg}
<img src='img/wiki_up/t <a class="wiki"
href="http://www.cvshome.org/" >CVS</a>.jpg?
nocache=1' alt='img/wiki_up/t <a class="wiki"
href="http://www.cvshome.org/" >CVS</a>.jpg' />

---- PASS ----
{picture file=img/wiki_up/cvs.jpg}
<img src='img/wiki_up/cvs.jpg?nocache=1'
alt='img/wiki_up/cvs.jpg' />

Discussion

  • Dennis Daniels

    Dennis Daniels - 2003-06-01

    Logged In: YES
    user_id=403318

    hotwords are also being converted into CAPS ignoring
    original size

    see PHP for example
    http://alt.thetinfoilhat.com/tiki-admin_hotwords.php

    I set PHP as a hotword not php...now all instances of php
    are PHP

     
  • Dave Sanders

    Dave Sanders - 2003-07-06

    Logged In: YES
    user_id=6717

    Updating this item for category / group / subject line or other
    data. No real change to the item, just house-keeping.

     
  • Dave Sanders

    Dave Sanders - 2003-07-06
    • labels: --> 544455
    • milestone: --> Unknown
     
  • Dave Sanders

    Dave Sanders - 2003-07-06
    • labels: 544455 --> Feature Partially Broken
    • summary: hotwords affecting wiki images --> Wiki: hotwords affecting wiki images
     
  • teedog

    teedog - 2003-09-24
    • status: open --> closed-fixed
     
  • teedog

    teedog - 2003-09-24

    Logged In: YES
    user_id=807810

    I believe this is fixed in 1.7.1.1.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks