Module:Article history/doc: Difference between revisions

Content deleted Content added
m Add a missing space.
m change source to syntaxhighlight
Line 16:
The Category class is used to generate all of the module's categories. It is loaded in both [[Module:Article history]] and [[Module:Article history/config]]. You can create a category with Category.new:
 
<sourcesyntaxhighlight lang="lua">Category.new(cat, sort)</sourcesyntaxhighlight>
 
The <var>cat</var> variable is the category text, and <var>sort</var> is its sort key.