You are here: Foswiki>Tasks Web>Item11482 (05 Jul 2015, GeorgeClark)Edit Attach

Item11482: Links with spaces not listed in backlinks.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component:
Branches: trunk
Reported By: JayenAshar
Waiting For:
Last Change By: GeorgeClark
I've got some links from

[[School of Mathematics & Statistics Computing Centre]] 

to 

"SchoolOfMathematicsStatisticsComputingCentre"

that don't show up in a list of backlinks. I suspect this is because of the spaces, but it could be because of the & or lowercase 'o' in of.

-- JayenAshar - 30 Jan 2012

this is horribly complicated :/ The existing backlinks search uses a regex, that assumes a-z0-9 topic names.

Paul was working on much cleverness, but there's more needed.

see templates/backlinks.tmpl

(and I tried using NAMEFILTER ~~ [\\\s*?~^$@%`"'&|<:;>\[\]#\x00-\x1f] and failed.

using (.*?) will work, but it will also match many things it shoudln't

mmm, I might just punt to using [^A-Za-z0-9]*? - that will be somewhat consistent and has a much better chance of showing all backlinks

Paul, please can you comment on my madness?

-- SvenDowideit - 03 Oct 2012

I refer the honourable gentleman to the feature request I just raised: AddBacklinksToQuery

-- JulianLevens - 03 Oct 2012

In an ideal world... never mind. Sven's change is good enough, I think. In another ideal world, somebody should make an autotestcase smile

-- PaulHarvey - 13 Nov 2012
 

ItemTemplate edit

Summary Links with spaces not listed in backlinks.
ReportedBy JayenAshar
Codebase 1.1.4, 1.1.3
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:fd7c189dd1b4
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches trunk
trunkCheckins distro:fd7c189dd1b4
Release01x01Checkins
Topic revision: r8 - 05 Jul 2015, GeorgeClark - This page was cached on 27 Jun 2016 - 02:31.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License