Extension:Approved Revs/Version history

From mediawiki.org

Here is the version history for Approved Revs:

  • 0.1 - June 24, 2010 - Initial version


  • 0.2 - July 2, 2010 - approveAllPages.php script added; bug fixes


  • 0.3 - July 14, 2010 - $egApprovedRevsExcludedNamespaces changed to $egApprovedRevsNamespaces; __APPROVEDREVS__ magic word added
  • 0.3.1 - August 2, 2010 - approveAllPages.php no longer causes re-parse of pages


  • 0.4 - September 28, 2010 - $egApprovedRevsBlankIfUnapproved added; automatic approval added for edits by users with approval power; Special:UnapprovedPages added; sorting in Special:ApprovedPages fixed
  • 0.4.1 - October 7, 2010 - Automatic approval only done if page already has an approved revision, or $egApprovedRevsBlankIfUnapproved is true; "edit" tab now links correctly for non-Vector skins; "edit" (and, when applicable, "edit with form") page show warning if latest revision being edited is not the approved one


  • 0.5 - November 4, 2010 - Special:ApprovedPages and Special:UnapprovedPages merged into one page, Special:ApprovedRevs; $egApprovedRevsAutomaticApprovals added
  • 0.5.1 - November 10, 2010 - Fix in Special:ApprovedRevs for MW <= 1.15
  • 0.5.2 - November 22, 2010 - Fixes for MW 1.17 (automatic approval of latest revision approves correct revision, latest revision gets displayed correctly); fix for pages saved directly by the Semantic Forms extension
  • 0.5.3 - December 15, 2010 - Fix for page "save" with identical content; fix for "blank if unapproved" setting when looking at latest revision; fix for user message display for MW <= 1.15; fix for user messages for MW >= 1.18
  • 0.5.4 - January 20, 2011 - Fix for storing page data if "blank if unapproved" is set and page becomes unapproved; SQL handling added for MW >= 1.18
  • 0.5.5 - February 16, 2011 - "Blank if unapproved" takes effect only for approvable pages; better CSS loading
  • 0.5.6 - February 28, 2011 - More user messages shown if "blank if unapproved" is set; fixed handling of deleted pages; $egApprovedRevsShowApproveLatest added
  • 0.5.7 - March 14, 2011 - DB querying reduced; better behavior when used together with the ConfirmEdit extension; sorting in Special:ApprovedRevs fixed for MW >= 1.18
  • 0.5.8 - April 5, 2011 - Fix for handling of $egApprovedRevsAutomaticApprovals
  • 0.5.9 - August 23, 2011 - Fix for MW 1.19


  • 0.6 - January 5, 2012 - Removed "view latest" link from Special:ApprovedRevs; removed support for MW < 1.16
  • 0.6.1 - April 11, 2012 - Added $egApprovedRevsSelfOwnedNamespaces
  • 0.6.2 - August 28, 2012 - Text search now works correctly for pages with an approved revision
  • 0.6.3 - September 18, 2012 - "Edit section" links now appear for pages whose approved revision is their latest, for MW >= 1.19
  • 0.6.4 - January 8, 2013 - Fixed display of blank pages for MW >= 1.21; "page is blank" subtitle now viewable by non-admins; fix for case when "$wgEmailConfirmToEdit = true"; removed support for MW 1.16
  • 0.6.5 - February 18, 2013 - Additional handling improvements for MW >= 1.21, improved saving of categories/properties and caching for MW >= 1.19; removed support for MW 1.17
  • 0.6.6 - March 17, 2014 - New global variable, $egApprovedRevsShowNotApprovedMessage; fix for SQLite; CSS now loaded using ResourceLoader; handling of SMW 1.9 fixed; handling of MW >= 1.19 improved; other bug fixes


  • 0.7 - May 12, 2014 - "Subtitle" for old revisions now includes links to both the latest and approved revisions; i18n moved into JSON files; fix for 'viewlinktolatest' with $egApprovedRevsBlankIfUnapproved; 'ApprovedRevsPageIsApprovable' hook added; unapprovable pages now longer show up in Special:ApprovedRevs; removed support for MW 1.18
  • 0.7.1 - April 9, 2015 - Improved handling for MW >= 1.24; fix of revision link in approvals log; fix for blank file pages; other fixes
  • 0.7.2 - June 21, 2016 - Improved handling for MW >= 1.26; removed use of deprecated global variables and functions; fix for Cargo handling; fix for empty value for $egApprovedRevsNamespaces
  • 0.7.3 - February 13, 2017 - Improved handling for >= MW 1.28; handling removed for MW 1.19 and 1.20; added body CSS classes for the different approval statuses; DB querying fix


  • 0.8 - April 12, 2018 - Added API actions for approve/unapprove; added extension.json; added ability to see the user who approved a page; added "invalid approvals" section to Special:ApprovedRevs; made "not latest" the default mode for Special:ApprovedRevs; changed display of redirect pages in Special:ApprovedRevs; updated Semantic Forms support to Page Forms; fixed compatiility with Moderation extension; removed support for MW 1.21 and 1.22; restored compatitbility with MW < 1.28; improved handling for MW >= 1.31; other fixes


  • 1.0 - January 28, 2019 - Added #approvable_by parser function; added file revision approval; $egApprovedRevsNamespaces replaced with $egApprovedRevsEnabledNamespaces; added "approve" link to diff page; approved revision in history page is now highlighted; added support for non-wikitext pages (like JSON); added caching of multiple user/page combos; PostgreSQL fix; other fixes


  • 1.1 - April 15, 2019 - Added --force option to approveAllPages.php; bug fixes


  • 1.2 - September 12, 2019 - Removed support for MW < 1.28; remove ApprovedRevs.php entry point; improved support for MW >= 1.32; changed from using ArticleEditUpdates hook to SecondaryDataUpdates or RevisionDataUpdates hooks; bug fixes
  • 1.2.1 - December 9, 2019 - Change to use ArticleRevisionViewCustom hook for MW 1.35+; other fixes
  • 1.2.2 - March 9, 2020 - File-related links only shown in Special:ApprovedRevs if there are any file approvals; further improved support for MW 1.32+


  • 1.3 - July 30, 2020 - Removed support for MW < 1.31; improved support for MW 1.35+; other fixes
  • 1.3.1 - September 3, 2020 - Fixed bug in MW 1.31 handling added in version 1.3; added PostgreSQL support for file approval


  • 1.4 - March 30, 2021 - Added APPROVALYEAR, APPROVALMONTH, APPROVALDAY, APPROVALTIMESTAMP and APPROVALUSER magic words (with a corresponding addition to the approved_revs DB table); added support for Mpdf extension; improved support for MW 1.35+; bug fixes; code improvements


  • 1.5 - June 28, 2021 - Added $egApprovedRevsBlankFileIfUnapproved and $egApprovedRevsFileAutomaticApprovals settings; improved support for MW 1.35+; other fixes


  • 1.6 - August 4, 2021 - Got time-related "APPROVAL" magic words working for files as well; improved support for MW 1.35+


  • 1.7 - November 2, 2021 - Removed support for MW 1.31; added approveAllFiles.php script; small bug fixes
  • 1.7.1 - November 16, 2021 - Added Packagist support
  • 1.7.2 - December 2, 2021 - Restored support for MW < 1.35, accidentally removed in version 1.5
  • 1.7.3 - February 28, 2022 - Improved support for MW 1.37+; code improvements


  • 1.8 - November 8, 2022 - Removed support for MW < 1.34; improved support for MW >= 1.36
  • 1.8.1 - January 31, 2023 - Improved support for MW >= 1.39; bug fixes
  • 1.8.2 - March 27, 2023 - Further fixes for MW 1.38+


  • 1.9 - July 31, 2023 - Removed support for MW 1.34; added "namespaces" and "username" options to approveAllPages.php; added "Your changes will be displayed to readers once an authorized user approves them" notice; updated hook handling; fixed warning display in VisualEditor; other bug fixes
  • 1.9.1 - October 17, 2023 - Added auto-approval for moves of approved pages


  • 2.0 - February 1, 2024 - Removed support for MW < 1.37; improved support for MW >= 1.39; code improvements