Extension:Add Article to Category/zh

The Add Article to Category extension adds an inputbox (to create a new article) to each category page. The content of new page will contain "[[Category:]]" automatically.

代码

 * ArticleToCategory.php

ENDFORM; $wgOut->addHTML($temp2); return true; }

微调
If you want the option to not have the box on some pages, see Extension talk:Add_Article_to_Category/Archive_1

参见

 * SimpleForms categorisation example - uses SimpleForms extension to categorise article directly without editing