From: Marcel Werk Date: Wed, 5 Jul 2023 15:31:37 +0000 (+0200) Subject: Remove outdated phrasing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a93cfb70;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Remove outdated phrasing Closes #219 --- diff --git a/docs/migration/wsc54/php.md b/docs/migration/wsc54/php.md index 2768b45f..5ccb7844 100644 --- a/docs/migration/wsc54/php.md +++ b/docs/migration/wsc54/php.md @@ -244,7 +244,6 @@ See [WoltLab/WCF#4356](https://github.com/WoltLab/WCF/pull/4356) for details. [WoltLab/WCF#4275](https://github.com/WoltLab/WCF/pull/4275) added support for embedded objects like mentions for comments and comment responses. To properly render embedded objects whenever you are using comments in your packages, you have to use `ViewableCommentList`/`ViewableCommentResponseList` in these places or `ViewableCommentRuntimeCache`/`ViewableCommentResponseRuntimeCache`. -While these runtime caches are only available since version 5.5, the viewable list classes have always been available so that changing `CommentList` to `ViewableCommentList`, for example, is a backwards-compatible change. ## Emails diff --git a/docs/package/pip/acp-template-delete.md b/docs/package/pip/acp-template-delete.md index 2c152d82..b2dfb73e 100644 --- a/docs/package/pip/acp-template-delete.md +++ b/docs/package/pip/acp-template-delete.md @@ -1,7 +1,5 @@ # ACP Template Delete Package Installation Plugin -!!! info "Available since WoltLab Suite 5.5." - Deletes admin panel templates installed with the [acpTemplate](acp-template.md) package installation plugin. !!! warning "You cannot delete acp templates provided by other packages." diff --git a/docs/package/pip/database.md b/docs/package/pip/database.md index 57aecdbc..0d4c1b39 100644 --- a/docs/package/pip/database.md +++ b/docs/package/pip/database.md @@ -1,7 +1,5 @@ # Database Package Installation Plugin -!!! info "Available since WoltLab Suite 5.4." - Update the database layout using [the PHP API](../database-php-api.md). !!! warning "You must install the PHP script through the [file package installation plugin](file.md)." diff --git a/docs/package/pip/file-delete.md b/docs/package/pip/file-delete.md index 6e5ec5c3..4c4312a8 100644 --- a/docs/package/pip/file-delete.md +++ b/docs/package/pip/file-delete.md @@ -1,7 +1,5 @@ # File Delete Package Installation Plugin -!!! info "Available since WoltLab Suite 5.5." - Deletes files installed with the [file](file.md) package installation plugin. !!! warning "You cannot delete files provided by other packages." diff --git a/docs/package/pip/template-delete.md b/docs/package/pip/template-delete.md index 5978987e..01f773a1 100644 --- a/docs/package/pip/template-delete.md +++ b/docs/package/pip/template-delete.md @@ -1,7 +1,5 @@ # Template Delete Package Installation Plugin -!!! info "Available since WoltLab Suite 5.5." - Deletes frontend templates installed with the [template](template.md) package installation plugin. !!! warning "You cannot delete templates provided by other packages." diff --git a/docs/php/api/form_builder/dependencies.md b/docs/php/api/form_builder/dependencies.md index 47196c52..bf93b93d 100644 --- a/docs/php/api/form_builder/dependencies.md +++ b/docs/php/api/form_builder/dependencies.md @@ -67,8 +67,6 @@ This is the inverse of `NonEmptyFormFieldDependency`, checking for `!empty()`. ### `ValueIntervalFormFieldDependency` -!!! info "Only available since version 5.5." - `ValueIntervalFormFieldDependency` can be used to ensure that a node is only shown if the value of the referenced form field is in a specific interval whose boundaries are set via `minimum(?float $minimum = null)` and `maximum(?float $maximum = null)`. ### `IsNotClickedFormFieldDependency` diff --git a/docs/php/api/form_builder/form_fields.md b/docs/php/api/form_builder/form_fields.md index d13d088b..918c8128 100644 --- a/docs/php/api/form_builder/form_fields.md +++ b/docs/php/api/form_builder/form_fields.md @@ -21,8 +21,6 @@ Otherwise, the default step is `any`. ### `AbstractFormFieldDecorator` -!!! info "Only available since version 5.4.5." - `AbstractFormFieldDecorator` is a default implementation of a decorator for form fields that forwards calls to all methods defined in `IFormField` to the respective method of the decorated object. The class implements `IFormfield`. If the implementation of a more specific interface is required then the remaining methods must be implemented in the concrete decorator derived from `AbstractFormFieldDecorator` and the type of the `$field` property must be narrowed appropriately. @@ -222,8 +220,6 @@ The relevant database object action method is expected, based on the given ACL o ### `ButtonFormField` -!!! info "Only available since version 5.4." - `ButtonFormField` shows a submit button as part of the form. The class implements `IAttributeFormField` and `ICssClassFormField`. @@ -239,8 +235,6 @@ You must specify a captcha object type (`com.woltlab.wcf.captcha`) using the `ob ### `ColorFormField` -!!! info "Only available since version 5.5." - `ColorFormField` is used to specify RGBA colors using the `rgba(r, g, b, a)` format. The class implements `IImmutableFormField`. @@ -330,8 +324,6 @@ The relevant `UserProfile` objects can be accessed via the `getUsers()` method. ### `UserPasswordField` -!!! info "Only available since version 5.4." - `UserPasswordField` is a form field for users' to enter their current password. The class implements `IAttributeFormField`, `IAttributeFormField`, `IAutoCompleteFormField`, `IAutoFocusFormField`, and `IPlaceholderFormField` @@ -466,8 +458,6 @@ This trait provides `getWysiwygId()` and `wysiwygId($wysiwygId)` to get and set #### `MultipleBoardSelectionFormField` -!!! info "Only available since version 5.5." - `MultipleBoardSelectionFormField` is used to select multiple forums. The class implements `IAttributeFormField`, `ICssClassFormField`, and `IImmutableFormField`. diff --git a/docs/php/api/form_builder/structure.md b/docs/php/api/form_builder/structure.md index dea1edeb..ee53d4cd 100644 --- a/docs/php/api/form_builder/structure.md +++ b/docs/php/api/form_builder/structure.md @@ -246,8 +246,6 @@ WoltLab Suite Core provides a variety of interfaces and matching traits with def #### `IAttributeFormField` -!!! info "Only available since version 5.4." - `IAttributeFormField` has to be implemented by form fields for which attributes can be added to the actual form element (in addition to adding attributes to the surrounding element via the attribute-related methods of `IFormNode`). The implementing class has to implement the methods `fieldAttribute(string $name, string $value = null): self` and `getFieldAttribute(string $name): self`/`getFieldAttributes(): array`, which are used to add and get the attributes, respectively. Additionally, `hasFieldAttribute(string $name): bool` has to implemented to check if a certain attribute is present, `removeFieldAttribute(string $name): self` to remove an attribute, and `static validateFieldAttribute(string $name)` to check if the attribute is valid for this specific class. @@ -258,8 +256,6 @@ Instead, the dedicated API provided by the relevant interface has to be used. #### `IAutoCompleteFormField` -!!! info "Only available since version 5.4." - `IAutoCompleteFormField` has to be implemented by form fields that support the [`autocomplete` attribute](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofilling-form-controls:-the-autocomplete-attribute). The implementing class has to implement the methods `autoComplete(?string $autoComplete): self` and `getAutoComplete(): ?string`, which are used to set and get the autocomplete value, respectively. `TAutoCompleteFormField` provides a default implementation of these two methods and `TTextAutoCompleteFormField` specializes the trait for text form fields. @@ -276,8 +272,6 @@ By default, form fields are not auto-focused. #### `ICssClassFormField` -!!! info "Only available since version 5.4." - `ICssClassFormField` has to be implemented by form fields for which CSS classes can be added to the actual form element (in addition to adding CSS classes to the surrounding element via the class-related methods of `IFormNode`). The implementing class has to implement the methods `addFieldClass(string $class): self`/`addFieldClasses(array $classes): self` and `getFieldClasses(): array`, which are used to add and get the CSS classes, respectively. Additionally, `hasFieldClass(string $class): bool` has to implemented to check if a certain CSS class is present and `removeFieldClass(string $class): self` to remove a CSS class. @@ -322,8 +316,6 @@ By default, form field are mutable. #### `IInputModeFormField` -!!! info "Only available since version 5.4." - `IInputModeFormField` has to be implemented by form fields that support the [`inputmode` attribute](https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute). The implementing class has to implement the methods `inputMode(?string $inputMode): self` and `getInputMode(): ?string`, which are used to set and get the input mode, respectively. `TInputModeFormField` provides a default implementation of these two methods. @@ -405,8 +397,6 @@ The implementing class has to implement the methods `packageIDs(array $packageID #### `IPatternFormField` -!!! info "Only available since version 5.4." - `IPatternFormField` has to be implemented by form fields that support the [`pattern` attribute](https://html.spec.whatwg.org/multipage/input.html#the-pattern-attribute). The implementing class has to implement the methods `pattern(?string $pattern): self` and `getPattern(): ?string`, which are used to set and get the pattern, respectively. `TPatternFormField` provides a default implementation of these two methods. diff --git a/docs/view/templates.md b/docs/view/templates.md index 010eb37c..0b08280d 100644 --- a/docs/view/templates.md +++ b/docs/view/templates.md @@ -73,7 +73,7 @@ More information about installing templates can be found on those pages. ### Forms -!!! info "For new forms, use the new [form builder API](../php/api/form_builder/overview.md) introduced with WoltLab Suite 5.2." +!!! info "For new forms, use the [form builder API](../php/api/form_builder/overview.md)." ```smarty