leo_wallentin at hotmail
Aug 14, 2012, 1:25 AM
Post #3 of 3
> > Hello, this is probably an obvious thing to many of you, but I'm trying
> > to write an extension that provides magic words for changing robot
> > policy tags (nofollow, noindex) at page level (overriding
> > $wgDefaultRobotPolicy, $wgNamespaceRobotPolicies, and
> > $wgArticleRobotPolicies). However, I'm not sure which hook to use for
> > adjusting the meta tags. Ultimately I would like to be able to alter the
> > meta tags after index policies is set to the output object, but before
> > the final html is produced. Any ideas?
> We already have __INDEX__ and __NOINDEX__, isn't that what you're trying
> to do?
Wow, I can't believe I missed that! Feeling quite stupid now... Thanks a lot, anyway, that's exactly what I was looking for!
MediaWiki-l mailing list
MediaWiki-l [at] lists