The topicsearch feature would be more useful with two enhancements:
First, it could search on topics' metainformation in addition to topic text.
Second, it could report its results (report when topics were excluded).
Replacing
if ( $topicsearch ) {
if ( $text !~ /$topicsearch/) {
return;
}
}
with
if ( $topicsearch ) {
if ( $text !~ /$topicsearch/ and $meta->stringify() !~ /$topicsearch/) {
print "Page does not match TOPICSEARCH; not ";
return;
}
}
would accomplish this. (But see also
Item2120; this code may be affected by that fix.)
Hmmm. Stringifying meta is not something I want to rely on. But the warn is a good idea. In 9986.
CC