|
|
| page_namespace == 0 | | ( |
| & article_articleid == 0 | | /* CASE 1: Directly creating a page in Mainspace (NS 0) */ |
| & ( | | ( |
| lcase(page_title) == lcase(str_replace(user_name, " ", "_"))
| | action == "edit" |
| | page_title rlike "^(?i)User(_talk)?:.+"
| | & page_namespace == 0 |
| | lcase(page_title) rlike "^(?i)(about_me|my_page|my_profile|welcome_to_my_page)$"
| | & page_id == 0 |
| | & ( |
| | lcase(page_title) == lcase(str_replace(user_name, " ", "_")) |
| | | page_title irlike "^User(_talk)?:.+" |
| | | lcase(page_title) rlike "^(about_me|my_page|my_profile|welcome_to_my_page)$" |
| | ) |
| | ) |
| | | |
| | /* CASE 2: Moving a page INTO Mainspace (NS 0) */ |
| | ( |
| | action == "move" |
| | & moved_to_namespace == 0 |
| | & ( |
| | lcase(moved_to_title) == lcase(str_replace(user_name, " ", "_")) |
| | | moved_to_title irlike "^User(_talk)?:.+" |
| | | lcase(moved_to_title) rlike "^(about_me|my_page|my_profile|welcome_to_my_page)$" |
| | ) |
| | ) |
| ) | | ) |