Changeset 1930

Show
Ignore:
Timestamp:
2008-04-18 13:19:35 (5 months ago)
Author:
wwalc
Message:

Another fix for #1543, removes a bug introduced with [1859].

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/plugins/mediawiki/fckplugin.js

    r1897 r1930  
    305305                                                                stringBuilder.push( '[[Media:' ) ; 
    306306                                                        else if ( htmlNode.className == "extiw" ) 
     307                                                        { 
    307308                                                                stringBuilder.push( '[[' ) ; 
     309                                                                var isWikiUrl = true; 
     310                                                        } 
    308311                                                        else 
    309312                                                        { 
     
    772775        } 
    773776         
    774         // Templates and magic words. 
     777        // InterWiki / InterLanguage links 
    775778        var aHrefs = document.getElementsByTagName( 'A' ) ; 
    776779        var a ; 
     
    780783                if (a.className == 'extiw') 
    781784                { 
    782                          a.href = a.innerHTML = ":" + a.title ; 
     785                         a.href = ":" + a.title ; 
    783786                         a.setAttribute( '_fcksavedurl', ":" + a.title ) ; 
    784787                }