Topic on Project:Support desk

Means of notification when an article is being created/updated

1
Anyhowputx (talkcontribs)

Hi all,

I am trying to implement a "Make a request" function where users can request for article if it does not exist. I used namespace to allow users to create/edit articles as seen here (http://postimg.org/image/ov3jwo1td/)

So after an article (Requests:Title1) has been created, is there any method to notify (through email, sms or whatever) the admin that such namespace article has been created and it should be removed from the list manually.

These 2 page titles that you all seen here are implemented using the newest page extension.

I have 2 questions here 1) Any means to notify the admin that an article has been created ? 2) Remove the links from there manually . (Eg: a checkbox to tick to remove the links but the article is still there) or any other better methods.

If my current approach is wrong, please feel free to correct me and point me to the right direction. I really appreciated all help and assistance!!!

THANK YOU GUYS!!!!!


Just in case you all need my namespace code. I configured it as below

define("NS_REQUEST", 508);
define("NS_REQUEST_TALK", 509);
 
$wgExtraNamespaces = 
    array(508 => "Requests",
          509 => "Requests_talk",
    );
 
$wgNamespaceProtection[NS_REQUEST]      = array( 'requests-edit' );
$wgNamespaceProtection[NS_REQUEST_TALK] = array( 'requests-talk-edit' );
 

$wgGroupPermissions['user']['requests-edit'] = true; //only user can edit pages in the Requests namespace
$wgGroupPermissions['user']['requests-talk-edit'] = true; //user can edit pages in the Requests_talk namespace

$wgGroupPermissions['Requests']['edit'] = true;
$wgGroupPermissions['Requests']['createpage'] = true;

$wgNamespaceProtection[NS_MAIN] = array( 'edit-main' ); // Restrict Requests group to only create pages starting with Requests:pageTitle

/* Allows these user group to create and edit pages */
$wgGroupPermissions['Editor']['edit-main'] = true; 
$wgGroupPermissions['sysop']['edit-main'] = true;
Reply to "Means of notification when an article is being created/updated"