dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-establishing validation feature (the beginnings)
[lhc/web/wiklou.git]
/
includes
/
Article.php
diff --git
a/includes/Article.php
b/includes/Article.php
index
3f995d4
..
e68a889
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-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