MediaWiki:Titleblacklist: Difference between revisions

Jump to navigation Jump to search
m
That was a bit greedy. You could nearly not have numbers in the title.
m (This should block way more 1-8xx variants. Using docs and an online regex tester was a great help.)
m (That was a bit greedy. You could nearly not have numbers in the title.)
Line 33: Line 33:
  .*phone number.*
  .*phone number.*
  .*support number.*
  .*support number.*
  .*([0-9Ol]{1,4}[\-\s']{0,3}){3,5}.* # Block all 1-8xx phone numbers, no matter the format
  .*([0-9Ol][\.\-\s']{0,3}8[0-9Ol]{2}([\.\-\s']{0,3}[0-9Ol]{3,4}){1,4}).* # Block all 1-8xx phone numbers, no matter the format
  .*ph0ne.*
  .*ph0ne.*
  .*supp0rt.*
  .*supp0rt.*

Navigation menu