If your business problem is to "show only approved articles," consider the
extension FlaggedRevisions.
http://www.mediawiki.org/wiki/Help:Extension:FlaggedRevs
http://www.mediawiki.org/wiki/Extension:FlaggedRevs
It provides an infrastructure for article approval. It takes some time to set up, but you
won't have to build everything yourself.
DanB