Index: openacs-4/packages/xowiki/tcl/package-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/package-procs.tcl,v diff -u -N -r1.253 -r1.254 --- openacs-4/packages/xowiki/tcl/package-procs.tcl 30 Mar 2012 09:05:05 -0000 1.253 +++ openacs-4/packages/xowiki/tcl/package-procs.tcl 9 Aug 2012 09:42:28 -0000 1.254 @@ -890,7 +890,7 @@ # @return item-ref info # set item_id 0 - if {$lang eq $default_lang || [string match *:* $stripped_name]} { + if {$lang eq $default_lang || $lang eq "file" || [string match *:* $stripped_name]} { # try a direct lookup; ($lang eq "file" needed for links to files) set item_id [::xo::db::CrClass lookup -name $stripped_name -parent_id $parent_id] if {$item_id != 0} {