Item11482: Links with spaces not listed in backlinks.
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component:
Branches: trunk
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
--
PaulHarvey - 13 Nov 2012