User "Nikerabbit" posted a comment on MediaWiki.r96772.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96772#c22338
Commit summary:

Minor formatting and documentation revisions.

Comment:

<pre>+/**
+ * Set up parser hooks.
+ */
+$wgHooks[ 'ParserFirstCallInit' ][] = 'WikiCitation::onParserFirstCallInit';
+$wgHooks[ 'ParserClearState' ][] = 'WikiCitation::onParserClearState';
+$wgHooks[ 'ParserBeforeTidy' ][] = 'WikiCitation::onParserBeforeTidy';
</pre>

If you do it like that, doxygen will display the comment only for the first 
line. Looks for includes/DefaultSettings.php how to document blocks of 
configuration code. Usually this kind of code is just hidden behind  @cond 
file_level_code, with normal comments inside.


Was the removal of wc_dissertation intended? 

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to