Description

The #deprecated pragma is not respected by the search.

Comment: WantedPages does also include links in deprecated pages.

Steps to reproduce

Search for a page text snippet that you can find on a deprecated page.

Details

This wiki.

Workaround

Ignore deprecated pages in the search result.

Discussion

Why ignore those pages? they are not deleted. If the user the added that tag wanted to remove the page from the wiki, he could delete the page. Make more sense to give lower rank to results from those page, so they are sorted at the end.

In the future, when we have search results filtering by meta data, a switch to hide or show those pages in search results can be useful.

Should be easy if we refactor pi parsing out of send_page.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/DeprecatedIsNotRespected (last edited 2009-07-03 10:54:37 by AlexanderSchremmer)