P-cactions change proposal

Sorry for my english. I'm catalan.

The idea is change de code of article's p-cactions from file output.php to file Article.php

  • Then, one sub-class of Article can add more p-cactions with your permissions for each p-caction.
  • This can to be resolved with functions than return a list of p-cactions with yours permissions.
  • A function that return if one user have permissions for a p-caction.

Change the admin of Article and Image types form file index.php to a global variable in LocalSettings.php

  • This could add more types of articles without change code of "index.php" if it is added in a new NameSpace

What do you think for it?