MediaWiki extension PageAssessments

Clone this repo:
  1. 6da5114 build: Updating eslint-config-wikimedia to 0.30.0 by libraryupgrader · 3 weeks ago master wmf/1.45.0-wmf.3 wmf/1.45.0-wmf.4 wmf/1.45.0-wmf.5 wmf/branch_cut_pretest wmf/next
  2. 8681485 Lua: Rename attribute from projects to pageAssessments by Siddharth VP · 3 weeks ago
  3. bb75f0e Merge "Expose WikiProject associations to Lua" by jenkins-bot · 3 weeks ago
  4. 66627cb Expose WikiProject associations to Lua by Siddharth VP · 6 weeks ago
  5. 387612b build: Updating mediawiki/mediawiki-codesniffer to 47.0.0 by libraryupgrader · 5 weeks ago

PageAssessments

See https://www.mediawiki.org/wiki/Extension:PageAssessments for detailed documentation.

This extension is for the purposes of storing article assessments in a database table and providing an API for retrieving them. This extension was primarily designed to support WikiProjects, but it can be used for a number of other similar purposes.

The parser function for invoking a new review is: {{#assessment: | | }}. Typically this parser function will be embedded in an assessment template that is then transcluded on an article's talk page.

If the extension is configured to support subprojects (see Configuration below), the subproject should follow the project name and be separated with a slash. For example, to record an assessment for the Crime task force of WikiProject Novels, you would use an assessment like: {{#assessment:Novels/Crime task force|B|Low}}

Configuration

The following configuration variables can be set from your LocalSettings.php file.

  • $wgPageAssessmentsOnTalkPages: Set to 'true' if page assessments are recorded on talk pages, or 'false' if page assessments are recorded directly on main namespace pages. Default is true.
  • $wgPageAssessmentsSubprojects: Set to 'true' if the wiki distinguishes between projects and subprojects. Default is false.