Re-establishing validation feature (the beginnings)
[lhc/web/wiklou.git] / includes / Article.php
index 3f995d4..e68a889 100644 (file)
@@ -1207,6 +1207,15 @@ class Article {
                }
        }
 
+       /**
+        * Validate function
+        */
+       function validate() {
+               global $wgOut, $wgUser;
+               $wgOut->setRobotpolicy( 'noindex,follow' );
+               
+               $wgOut->addWikiText ( "Not implemented yet" ) ;
+       }
 
        /**
         * Add this page to $wgUser's watchlist