Not logged in. · Lost password · Register
Forum: General Help and Support Syntax and Usage RSS
Internal links syntax
How to do it
Page:  previous  1  2 
Avatar
epp #16
Member since Aug 2006 · 8 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 605
Where can I find the dev version? I'm using the latest stable, but in the download section there is no link to development versions as I can see...

But are you sure you purged your cache files? What did you test with so I can test the same here.
Avatar
koko (Moderator) #17
Member since May 2006 · 161 posts · Location: Zonhoven Belgium
Group memberships: Global Moderators, Members
Show profile · Link to this post
hi,

Here you can download the dev-version: http://wiki.splitbrain.org/wiki%3Adevelopment
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Avatar
epp #18
Member since Aug 2006 · 8 posts
Group memberships: Members
Show profile · Link to this post
Can you test this for me? Given you changed xhtml.php like I described before, if you also change the _headerToLink function to this:

    function _headerToLink($title,$create=false) {
        //$title = str_replace(':','',cleanID($title,true)); //force ASCII
        //$title = ltrim($title,'0123456789._-');
       
       //if(empty($title)) $title='section';

        //if($create){
            // make sure tiles are unique
            //$num = '';
            //while(in_array($title.$num,$this->headers)){
                //($num) ? $num++ : $num = 1;
            //}
            //$title = $title.$num;
            //$this->headers[] = $title;
        //}

        return rawurlencode(utf8_strtolower($title));
    }

Does this work for your case? It works for my cases.
Avatar
epp #19
Member since Aug 2006 · 8 posts
Group memberships: Members
Show profile · Link to this post
OK I see that sections with spaces doesn't work.

Add:

 $title = str_replace(' ','_', $title);

before the return in the code above.

Interwiki links don't work either. It seems there need to be some rework done on the whole #linking... I'll get on the mailinglist.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  previous  1  2 
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Current time: 2010-03-19, 08:42:57 (UTC +01:00)
WikiForumIRCBugsGitXRefTranslate