Defect #4456
closedWiki pages in search results are referenced by project number, not by project identifier.
0%
Description
Even when redmine is configured to use project identifiers instead of project numbers in URLs for projects (and all sub-resources of a project), if a Wiki page is part of a search result, then this Wiki page's URL is a URL based on the project number, not the project identifier.
For example, consider http://www.redmine.org/search/index/redmine?q=PluginGems&scope=&all_words=1&wiki_pages=1&submit=Submit . The result titled "Wiki: PluginGems" has the URL http://www.redmine.org/wiki/1/PluginGems while it should have the URL http://www.redmine.org/wiki/redmine/PluginGems . Note that other redmine installations also yield URLs similar to
http://www.redmine.org/projects/1/wiki/PluginGems while they should yield URLs similar to http://www.redmine.org/projects/redmine/wiki/PluginGems.