Ticket #7582 (new enhancement)

Opened 3 years ago

Last modified 1 year ago

[patch] Filter result pages

Reported by: vaclav.cejka@vuts.cz Assigned to: jfrancis
Priority: normal Component: WantedPagesPlugin
Severity: normal Keywords: patch
Cc: itamarost Trac Release: 0.11

Description

Among really wanted pages, many other CamelCase strings either in original basic wiki, or i.e. function names or class names in ticket description appear as false wanted page. It might be helpful to specify regex as an parameter to filter only wanted page of some pattern, and thus eliminate like missing TracXXX etc. pages.

Attachments

wantedpagesplugin-filter.patch (2.1 kB) - added by netjunki on 09/25/11 20:58:15.
filter patch for WantedPagesPlugin

Change History

09/25/11 20:57:20 changed by netjunki

  • keywords set to patch.
  • summary changed from Filter result pages to [patch] Filter result pages.

I've created a patch for this. It adds a "filter=<filter>" argument to the macro. Here's an example:

[[WantedPages(show_referrers,filter=.*?Trac.*|Sandbox|.*?Wiki.*|Inter.*)]]

The pages matched by the filter are not displayed.

09/25/11 20:58:15 changed by netjunki

  • attachment wantedpagesplugin-filter.patch added.

filter patch for WantedPagesPlugin

12/26/11 15:23:27 changed by itamarost

  • cc set to itamarost.

Thanks for the patch!

Just started using it, and looks like it does the job.

Any chance it gets into trunk?

12/26/11 20:28:47 changed by netjunki

Well... It looks like jfrancis (the current maintainer) hasn't been over here in a while. So someone would need to adopt the plugin and merge the patch. I wouldn't be against doing this myself... Just won't have time until after the new year.


Add/Change #7582 ([patch] Filter result pages)




Change Properties
Action