Context
Cairo release has some problems with Backlinks. See
TWiki:Codev/BacklinksSearchDoesNotWork
.
TWiki:Codev/BacklinksTemplate
is supposed to fix this for Dakar release but it does not.
Problem
Tests show that backlinks search is still broken:
Testcases
The test is about finding backlinks to
TestTableSort.
In Sandbox web, I created new topics that point (or do not point) to
TestTableSort. Backlink search should find them (or not).
- go to: TestTableSort
- press Backlinks: Web there!
- Search results show TestBacklinkSearch, but there is no link to TestTableSort.
- Search results show TestBacklinkSearchNoReference, but there is no link to TestTableSort.
- Search results do not show TestBacklinkSearchWithBacklink, but there is a link to TestTableSort.
Suggestion
In
TWiki:Codev.BacklinksSearchDoesNotWork
, I propose to use a different search string.
\[\[%SPACEDTOPIC%\]\]|%TOPIC%($|[^A-Za-z0-9])
But that does not fix
- TestBacklinkSearchWithBacklink (the problem with
$doPluralToSingular
enabled wikis)
- Fixing
$doPluralToSingular
seems difficult as the conversion algorithm has to be regarded in the template.
- TestBacklinkSearchNoReference (the problem with case insensitive search)
- Fixing would invole setting the search to
casesensitive=1
and changing %SPACEDTOPIC% (see TWikiVariables) so the initials are included as both lower and uppercase letters: e.g. %SPACEDTOPIC% = [iI]tem%20*1386
- Wait, use of SPACEDTOPIC is deprecated. Maybe this variable should not be retired as SPACEOUT{"string"} can not be used in this case!
What page do you use to press "Backlinks web" on?
AC
Arthur, please press
Backlinks: Web on
TestTableSort. --
TWiki:Main.DanielKabs
Proposal: Maybe it's a good idea to transfer the
TWiki:Sandbox/BacklinksSearchTest
to the
TestCases web?
- It sure is. -- AC
- Your comment insinuates actioning but also conveys frustration. I'd like to help you but as I understand it, TestCases web can only be edited directly in the repository by elevated users. -- TWiki:Main.DanielKabs
Nothing elevated - just write
TWiki:Codev.DanielKabsWouldLikeToCheckIn
to ask for writing rights. --
AC
This is not Urgent, it's Normal priority. Nothing is broken that wasn't broken in Cairo, so the release should not be blocked by it, deferred.
CC
Undeferred, post Dakar.
ThisIsEasy CC
See
TWiki:Codev.BacklinksSearchDoesNotWork
for a similar topic and solution.
Closed in favour of
Item4212 which I'm using to collect all backlinks-related reports.
CC