Modify

Opened 3 years ago

Last modified 18 months ago

#7582 new enhancement

[patch] Filter result pages

Reported by: vaclav.cejka@… Owned by: 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 (1)

wantedpagesplugin-filter.patch (2.1 KB) - added by netjunki 21 months ago.
filter patch for WantedPagesPlugin

Download all attachments as: .zip

Change History (4)

comment:1 Changed 21 months ago by netjunki

  • Keywords patch added
  • 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.

Changed 21 months ago by netjunki

filter patch for WantedPagesPlugin

comment:2 Changed 18 months ago by itamarost

  • Cc itamarost added

Thanks for the patch!

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

Any chance it gets into trunk?

comment:3 Changed 18 months ago 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 Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from jfrancis. Next status will be 'new'.
The owner will be changed from jfrancis to anonymous. Next status will be 'assigned'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.