浏览代码

fix various typos and backtick usage in 4.0 changelog/release notes

- adds a ref to the new setting added for `WAGTAILADMIN_UNSAFE_PAGE_DELETION_LIMIT` - see #8703
LB Johnston 2 年之前
父节点
当前提交
401e84dfd9
共有 3 个文件被更改,包括 16 次插入14 次删除
  1. 8 8
      CHANGELOG.txt
  2. 2 0
      docs/reference/settings.md
  3. 6 6
      docs/releases/4.0.md

+ 8 - 8
CHANGELOG.txt

@@ -10,7 +10,6 @@ Changelog
  * Convert the rest of the documentation to Markdown (Khanh Hoang, Vu Pham, Daniel Kirkham, LB (Ben) Johnston, Thiago Costa de Souza, Benedict Faw, Noble Mittal, Sævar Öfjörð Magnússon, Sandeep M A, Stefano Silvestri)
  * Add `base_url_path` to `ModelAdmin` so that the default URL structure of app_label/model_name can be overridden (Vu Pham, Khanh Hoang)
  * Add `full_url` to the API output of `ImageRenditionField` (Paarth Agarwal)
- * Fix issue where `ModelAdmin` index listings with export list enabled would show buttons with an incorrect layout (Josh Woodcock)
  * Use `InlinePanel`'s label when available for field comparison label (Sandil Ranasinghe)
  * Drop support for Safari 13 by removing left/right positioning in favour of CSS logical properties (Thibaud Colas)
  * Use `FormData` instead of jQuery's `form.serialize` when editing documents or images just added so that additional fields can be better supported (Stefan Hammer)
@@ -20,7 +19,7 @@ Changelog
  * Add better handling and informative developer errors for cross linking URLS (e.g. success after add) in generic views `wagtail.admin.views.generic` (Matt Westcott)
  * Introduce `wagtail.admin.widgets.chooser.BaseChooser` to make it easier to build custom chooser inputs (Matt Westcott)
  * Introduce JavaScript chooser module, including a SearchController class which encapsulates the standard pattern of re-rendering the results panel in response to search queries and pagination (Matt Westcott)
- * Migrate Image and Document choosers to ne JavaScript chooser module (Matt Westcott)
+ * Migrate Image and Document choosers to new JavaScript chooser module (Matt Westcott)
  * Add ability to select multiple items at once within bulk actions selections when holding shift on subsequent clicks (Hitansh Shah)
  * Upgrade notification, shown to admins on the dashboard if Wagtail is out of date, will now link to the release notes for the closest minor branch instead of the latest patch (Tibor Leupold)
  * Upgrade notification can now be configured to only show updates when there is a new LTS available via `WAGTAIL_ENABLE_UPDATE_CHECK = 'lts'` (Tibor Leupold)
@@ -39,10 +38,10 @@ Changelog
  * Enhance new breadcrumbs so they can be added to any header or container element (Paarth Agarwal)
  * Adopt new breadcrumbs on the page explorer (listing) view and the page chooser modal, remove legacy breadcrumbs code for move page as no longer used (Paarth Agarwal)
  * Added multi-site support to the API (Sævar Öfjörð Magnússon)
- * Add `add_to_admin_menu` option for ModelAdmin (Oliver Parker)
+ * Add `add_to_admin_menu` option for `ModelAdmin` (Oliver Parker)
  * Implement Fuzzy matching for Elasticsearch (Nick Smith)
  * Rename `Page.get_latest_revision_as_page` to `Page.get_latest_revision_as_object` (Sage Abdullah)
- * Cache model permission codenames in PermissionHelper (Tidiane Dia)
+ * Cache model permission codenames in `PermissionHelper` (Tidiane Dia)
  * Selecting a new parent page for moving a page now uses the chooser modal which allows searching (Viggo de Vries)
  * Move `get_snippet_edit_handler` function to `wagtail.admin.panels.get_edit_handler` (Sage Abdullah)
  * Add clarity to the search indexing documentation for how `boost` works when using Postgres with the database search backend (Tibor Leupold)
@@ -71,11 +70,11 @@ Changelog
  * Change rich text editor placeholder to follow the user’s focus on empty blocks (Thibaud Colas)
  * Add rich text editor empty block highlight by showing their block type (Thibaud Colas)
  * Add ability to split a rich text field and insert a StreamField block at the same time (Jacob Topp-Mugglestone)
- * Make ModelAdmin InspectView footer actions consistent with other parts of the UI (Thibaud Colas)
+ * Make `ModelAdmin` `InspectView` footer actions consistent with other parts of the UI (Thibaud Colas)
  * Introduce a new auto-updating preview panel inside the page editor (Sage Abdullah)
  * Add support for Twitter and other text-only embeds in Draftail embed previews (Iman Syed, Paarth Agarwal)
  * Use new modal dialog component for privacy settings modal (Sage Abdullah)
- * Add `menu_item_name` to modify MenuItem's name for ModelAdmin (Alexander Rogovskyy, Vu Pham)
+ * Add `menu_item_name` to modify `MenuItem`'s name for `ModelAdmin` (Alexander Rogovskyy, Vu Pham)
  * Add an extra confirmation prompt when deleting pages with a large number of child pages (Jaspreet Singh)
  * Adopt the slim header in page listing views, with buttons moved under the "Actions" dropdown, including addition of translation page in the parent "more" button (Paarth Agarwal)
  * Improve help block styles in Windows High Contrast Mode with less reliance on communication via colour alone (Anuja Verma)
@@ -92,7 +91,7 @@ Changelog
  * Improve security of redirect imports by adding a file hash (signature) check for so that any tampering of file contents between requests will throw a `BadSignature` error (Jaap Roes)
  * Refresh designs for Home (Dashboard) site summary panels, use theme spacing and colours, add support for RTL layouts and better support for small devices (Paarth Agarwal, LB (Ben) Johnston)
  * Include all CSS system colours in allowed values in Stylelint's declaration-strict-value rule (Thibaud Colas)
- * Add JavaScript `range` util for (LB (Ben) Johnston)
+ * Add JavaScript `range` utility function (LB (Ben) Johnston)
  * Allow generic chooser viewsets to support non-model data such as an API endpoint (Matt Wescott)
  * Update all widget styles across the admin UI (Thibaud Colas)
  * Update field styles across forms, with help text consistently under fields, error messages above, and comment buttons to the side (Thibaud Colas)
@@ -112,6 +111,7 @@ Changelog
  * Simplify page chooser views by converting to class-based views (Matt Westcott)
  * Add reference documentation for `RevisionMixin`, `DraftStateMixin`, and `PreviewableMixin` (Sage Abdullah)
  * Fix: Typo in `ResumeWorkflowActionFormatter` message (Stefan Hammer)
+ * Fix issue where `ModelAdmin` index listings with export list enabled would show buttons with an incorrect layout (Josh Woodcock)
  * Fix: Throw a meaningful error when saving an image to an unrecognised image format (Christian Franke)
  * Fix: Remove extra padding for headers with breadcrumbs on mobile viewport (Steven Steinwand)
  * Fix: Ensure that custom document or image models support custom tag models (Matt Westcott)
@@ -138,7 +138,7 @@ Changelog
  * Fix: Add a border around modal dialogs so they can be identified in forced colors mode (Anuja Verma)
  * Fix: Remove outdated reference to 30-character limit on usernames in help text (minusf)
  * Fix: Resolve multiple form submissions index listing page layout issues including title not being visible on mobile and interaction with large tables (Paarth Agarwal)
- * Fix: Ensure ModelAdmin single selection lists show correctly with Django 4.0 form template changes (Coen van der Kamp)
+ * Fix: Ensure `ModelAdmin` single selection lists show correctly with Django 4.0 form template changes (Coen van der Kamp)
  * Fix: Ensure icons within help blocks have accessible contrasting colours, and links have a darker colour plus underline to indicate they are links (Paarth Agarwal)
  * Fix: Ensure consistent sidebar icon position whether expanded or collapsed (Scott Cranfill)
  * Fix: Avoid redirects import error if the file had lots of columns (Jaap Roes)

+ 2 - 0
docs/reference/settings.md

@@ -261,6 +261,8 @@ The interval (in milliseconds) to check for changes made in the page editor befo
 
 `WAGTAILADMIN_GLOBAL_PAGE_EDIT_LOCK` can be set to `True` to prevent users from editing pages that they have locked.
 
+(wagtailadmin_unsafe_page_deletion_limit)=
+
 ### `WAGTAILADMIN_UNSAFE_PAGE_DELETION_LIMIT`
 
 ```python

+ 6 - 6
docs/releases/4.0.md

@@ -118,7 +118,7 @@ The bulk of these enhancements have been from Paarth Agarwal, who has been doing
  * Add better handling and informative developer errors for cross linking URLS (e.g. success after add) in generic views `wagtail.admin.views.generic` (Matt Westcott)
  * Introduce `wagtail.admin.widgets.chooser.BaseChooser` to make it easier to build custom chooser inputs (Matt Westcott)
  * Introduce JavaScript chooser module, including a SearchController class which encapsulates the standard pattern of re-rendering the results panel in response to search queries and pagination (Matt Westcott)
- * Migrate Image and Document choosers to ne JavaScript chooser module (Matt Westcott)
+ * Migrate Image and Document choosers to new JavaScript chooser module (Matt Westcott)
  * Add ability to select multiple items at once within bulk actions selections when holding shift on subsequent clicks (Hitansh Shah)
  * Upgrade notification, shown to admins on the dashboard if Wagtail is out of date, will now link to the release notes for the closest minor branch instead of the latest patch (Tibor Leupold)
  * Upgrade notification can now be configured to only show updates when there is a new LTS available via `WAGTAIL_ENABLE_UPDATE_CHECK = 'lts'` (Tibor Leupold)
@@ -134,7 +134,7 @@ The bulk of these enhancements have been from Paarth Agarwal, who has been doing
  * Introduce a `wagtail.admin.viewsets.chooser.ChooserViewSet` module to serve as a common base implementation for chooser modals (Matt Westcott)
  * Add documentation for `wagtail.admin.viewsets.model.ModelViewSet` (Matt Westcott)
  * Added [multi-site support](api_filtering_pages_by_site) to the API (Sævar Öfjörð Magnússon)
- * Add `add_to_admin_menu` option for ModelAdmin (Oliver Parker)
+ * Add `add_to_admin_menu` option for `ModelAdmin` (Oliver Parker)
  * Implement [Fuzzy matching](fuzzy_matching) for Elasticsearch (Nick Smith)
  * Cache model permission codenames in `PermissionHelper` (Tidiane Dia)
  * Selecting a new parent page for moving a page now uses the chooser modal which allows searching (Viggo de Vries)
@@ -150,11 +150,11 @@ The bulk of these enhancements have been from Paarth Agarwal, who has been doing
  * Introduce new template fragment and block level enclosure tags for easier template composition (Thibaud Colas)
  * Add a `classnames` template tag to easily build up classes from variables provided to a template (Paarth Agarwal)
  * Clean up multiple eslint rules usage and configs to align better with the Wagtail coding guidelines (LB (Ben Johnston))
- * Make ModelAdmin InspectView footer actions consistent with other parts of the UI (Thibaud Colas)
+ * Make `ModelAdmin` `InspectView` footer actions consistent with other parts of the UI (Thibaud Colas)
  * Add support for Twitter and other text-only embeds in Draftail embed previews (Iman Syed, Paarth Agarwal)
  * Use new modal dialog component for privacy settings modal (Sage Abdullah)
- * Add `menu_item_name` to modify MenuItem's name for ModelAdmin (Alexander Rogovskyy, Vu Pham)
- * Add an extra confirmation prompt when deleting pages with a large number of child pages (Jaspreet Singh)
+ * Add `menu_item_name` to modify `MenuItem`'s name for `ModelAdmin` (Alexander Rogovskyy, Vu Pham)
+ * Add an extra confirmation prompt when deleting pages with a large number of child pages, see [](wagtailadmin_unsafe_page_deletion_limit) (Jaspreet Singh)
  * Replace latin abbreviations (i.e. / e.g.) with common English phrases so that documentation is easier to understand (Dominik Lech)
  * Add shortcut for accessing StreamField blocks by block name with new [`blocks_by_name` and `first_block_by_name` methods on `StreamValue`](streamfield_retrieving_blocks_by_name) (Tidiane Dia, Matt Westcott)
  * Add HTML-aware max_length validation and character count on RichTextField and RichTextBlock (Matt Westcott, Thibaud Colas)
@@ -199,7 +199,7 @@ The bulk of these enhancements have been from Paarth Agarwal, who has been doing
  * Fix display of dates in exported xlsx files on macOS Preview and Numbers (Jaap Roes)
  * Remove outdated reference to 30-character limit on usernames in help text (minusf)
  * Resolve multiple form submissions index listing page layout issues including title not being visible on mobile and interaction with large tables (Paarth Agarwal)
- * Ensure ModelAdmin single selection lists show correctly with Django 4.0 form template changes (Coen van der Kamp)
+ * Ensure `ModelAdmin` single selection lists show correctly with Django 4.0 form template changes (Coen van der Kamp)
  * Ensure icons within help blocks have accessible contrasting colours, and links have a darker colour plus underline to indicate they are links (Paarth Agarwal)
  * Ensure consistent sidebar icon position whether expanded or collapsed (Scott Cranfill)
  * Avoid redirects import error if the file had lots of columns (Jaap Roes)