[pmwiki-users] Links to nothing changes cause side effect

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 21 12:43:49 CST 2006


On Tue, Feb 21, 2006 at 06:27:24PM +0000, Hans wrote:
> The links look okay with the pmwiki skin, but not with gemini skin.
> The reason is that they are now class='selflink', and gemini treats
> selflinks in the page as no-link.
> Before the change they were all class='wikilink'.
> 
> [[{$Name}?setskin=...]]  -> html <a class='selflink' ....>
> [[{$Name}?action=set&setskin=...]]  -> html <a class='wikilink' ....>
> 
> This seems strange.

I agree the behavior is now strange -- I'll fix it.  There is a
question as to what it should be changed to...  should both of the
above be class='selflink' or class='wikilink'?  I can argue it
both ways.

(Note that it's not just question of "What breaks the least
existing code?", it's also a question of "What is the 'correct'
way to do it for future installations and skins to deal with?")

Pm




More information about the pmwiki-users mailing list