wpstubs icon indicating copy to clipboard operation
wpstubs copied to clipboard

WikiProject string should be stripped from hashtag

Open dartar opened this issue 8 years ago • 1 comments

I noticed that on a few occasions – likely because of some weirdness with the names of templates used on talk pages – the string WikiProject is included in the string, we should probably strip exact matches. See:

  • https://twitter.com/wpstubs/status/762449846829592576
  • https://twitter.com/wpstubs/status/761938155767533569

dartar avatar Aug 08 '16 00:08 dartar

...maybe just strip "WikiProject" wherever it occurs, instead of matching the beginning of the string? https://github.com/theopolisme/wpstubs/blob/master/app.js#L73

dartar avatar Aug 08 '16 00:08 dartar