Topic on Extension talk:MassEditRegex

Add code to all pages with less than x characters

1
Rbirmann (talkcontribs)

I want to add a template to the top of pages with very short text (say, less than 150 characters) to tag them as a draft, inviting users to expand it. Similar to https://www.mediawiki.org/wiki/Template:Expand

Would this be the right regex? ^.{0,150}$

Will this affect redirects?

Thanks

Reply to "Add code to all pages with less than x characters"