From 23ca605e8fb776e2b908dc825478752482e9c372 Mon Sep 17 00:00:00 2001 From: yaman jain Date: Mon, 23 Nov 2026 19:59:44 +0530 Subject: [PATCH] Port the wp/templates-query ability from WordPress/ai PR #1309 Adds the read-only `wp/templates-query` ability. It reports whether the active theme is a block theme, its name, and its block templates sorted by slug, each with where it comes from and whether the theme ships it as a file. It requires `edit_theme_options`. The ability incubates under the experimental `wp/` prefix; the upstream `core/templates-query` name is not carried. --- README.md | 1 + src/Manifest.php | 22 + src/Templates/Templates_Query.php | 271 +++++++++++ tests/Abilities/TemplatesQueryTest.php | 438 ++++++++++++++++++ .../abilities-test-block-theme/style.css | 5 + .../templates/404.html | 3 + .../templates/index.html | 3 + .../abilities-test-classic-theme/index.php | 6 + .../abilities-test-classic-theme/style.css | 5 + 9 files changed, 754 insertions(+) create mode 100644 src/Templates/Templates_Query.php create mode 100644 tests/Abilities/TemplatesQueryTest.php create mode 100644 tests/Fixtures/themes/abilities-test-block-theme/style.css create mode 100644 tests/Fixtures/themes/abilities-test-block-theme/templates/404.html create mode 100644 tests/Fixtures/themes/abilities-test-block-theme/templates/index.html create mode 100644 tests/Fixtures/themes/abilities-test-classic-theme/index.php create mode 100644 tests/Fixtures/themes/abilities-test-classic-theme/style.css diff --git a/README.md b/README.md index f0a0a80..488f1ce 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ Full rules, the promotion path, and the rename protocol are in | `wp/term-create` | experimental | content | Port of the term create ability from [WordPress/ai PR #1103](https://github.com/WordPress/ai/pull/1103) (`core_since: null` — flips to tier `core` when it lands in WordPress core). Creates a term in a taxonomy exposed to abilities via `show_in_abilities` (the same taxonomies `wp/terms-query` reads — taxonomy opt-in governs the writes too): takes a `taxonomy` and a `name`, plus optional `slug`, `description`, and `parent` (hierarchical taxonomies only). Returns the created term in the `wp/terms-query` shape; `fields` picks the subset. `edit_terms` is the floor in a hierarchical taxonomy, `assign_terms` in a flat one, so a contributor can create tags without touching categories. | | `wp/term-update` | experimental | content | Port of the term update ability from [WordPress/ai PR #1103](https://github.com/WordPress/ai/pull/1103) (`core_since: null` — flips to tier `core` when it lands in WordPress core). Updates a term by `id` with the same fields, which keep their values when left out; `taxonomy` is an optional guard, and a term outside it is denied like a missing one. Returns the updated term in the `wp/terms-query` shape; `fields` picks the subset. Requires `edit_term` for the term. | | `wp/term-delete` | experimental | content | Port of the term delete ability from [WordPress/ai PR #1103](https://github.com/WordPress/ai/pull/1103) (`core_since: null` — flips to tier `core` when it lands in WordPress core). Deletes a term by `id`; terms cannot be trashed, so **`force` must be true** — a non-forced call answers `terms_trash_not_supported` (501). Returns `{ deleted, previous }`, the deleted term in the `wp/terms-query` shape; `fields` picks the subset. Requires `delete_term` for the term; the default category is not deleted (core's capability mapping denies it, and `wp_delete_term()` refuses it), and the `taxonomy` input is an optional guard like on update. | +| `wp/templates-query` | experimental | site | Port of the read-only templates query ability from [WordPress/ai PR #1309](https://github.com/WordPress/ai/pull/1309) (`core_since: null` - flips to tier `core` when it lands in WordPress core). Reports whether the active theme is a block theme, its name, and its block templates (`wp_template`, not template parts) sorted by slug, each with `slug`, `title`, `source` (`theme`, `custom`, or `plugin`), and `has_theme_file`. Takes no input (an empty object is accepted). Requires `edit_theme_options`, the capability the Site Editor needs. Served through the GET run route, like the other read abilities. | ## Development diff --git a/src/Manifest.php b/src/Manifest.php index 2c263d1..d1ec08d 100644 --- a/src/Manifest.php +++ b/src/Manifest.php @@ -345,6 +345,28 @@ public static function all(): array { 'renamed_from' => null, 'proposal' => 'https://github.com/WordPress/ai/pull/1103', ), + /* + * The templates query below is a port of WordPress/ai PR #1309, + * which closes WordPress/ai issue #1303. + * + * Tier: experimental, incubating under the `wp/` prefix. The proposal + * below is the PR's paper trail, but the ability has NOT landed in + * core (`core_since` stays null and flips when core lands it), so its + * name and schema carry no promises yet (NAME-LIFECYCLE.md). Its + * `site` category is core-registered on every supported host, and it + * needs no support feature beyond the Abilities API. + */ + 'wp/templates-query' => array( + 'name' => 'wp/templates-query', + 'class' => Templates\Templates_Query::class, + 'category' => 'site', + 'tier' => self::TIER_EXPERIMENTAL, + 'min_wp_version' => '6.9', + 'core_since' => null, + 'requires' => array(), + 'renamed_from' => null, + 'proposal' => 'https://github.com/WordPress/ai/pull/1309', + ), ); } diff --git a/src/Templates/Templates_Query.php b/src/Templates/Templates_Query.php new file mode 100644 index 0000000..47907be --- /dev/null +++ b/src/Templates/Templates_Query.php @@ -0,0 +1,271 @@ + The input JSON Schema. + */ + protected function input_schema(): array { + return array( + 'type' => 'object', + 'default' => array(), + 'additionalProperties' => false, + ); + } + + /** + * The output JSON Schema. + * + * @return array The output JSON Schema. + */ + protected function output_schema(): array { + return array( + 'type' => 'object', + 'properties' => array( + 'block_theme' => array( + 'type' => 'boolean', + 'description' => __( 'Whether the active theme is a block theme. Block templates can only be used with a block theme.' ), + ), + 'theme' => array( + 'type' => 'string', + 'description' => __( 'The name of the active theme.' ), + ), + 'templates' => array( + 'type' => 'array', + 'description' => __( 'The block templates the site has for the active theme, sorted by slug.' ), + 'items' => $this->get_template_schema(), + ), + ), + 'required' => array( 'block_theme', 'theme', 'templates' ), + 'additionalProperties' => false, + ); + } + + /** + * The execute callback. + * + * @return callable(mixed): array The execute callback. + */ + protected function make_execute_callback(): callable { + return function (): array { + return $this->execute_templates_query(); + }; + } + + /** + * No permission callback: the `edit_theme_options` floor from + * required_capabilities() owns authorization. + * + * @return null No permission callback. + */ + protected function make_permission_callback(): ?callable { + return null; + } + + /** + * The authored ability meta. + * + * @return array The ability meta. + */ + protected function ability_meta(): array { + return array( + 'annotations' => array( + 'readonly' => true, + 'destructive' => false, + 'idempotent' => true, + // MCP clients assume open-world (may reach external systems) when the + // hint is absent; this ability only reads the local site. + 'open_world' => false, + ), + 'show_in_rest' => true, + 'mcp' => array( + 'public' => true, + ), + ); + } + + /** + * The request-level capability floor: the capability the Site Editor requires. + * + * Templates change how the whole site looks, so reading them is gated on the + * same capability as editing them. + * + * @return list The required capabilities. + */ + protected function required_capabilities(): array { + return array( 'edit_theme_options' ); + } + + /** + * Executes the `wp/templates-query` ability. + * + * @return array{block_theme: bool, theme: string, templates: list} The theme and its templates. + */ + private function execute_templates_query(): array { + return array( + 'block_theme' => wp_is_block_theme(), + 'theme' => (string) wp_get_theme()->get( 'Name' ), + 'templates' => $this->get_templates(), + ); + } + + /** + * Returns the active theme's templates, sorted by slug. + * + * Sorted so the order does not depend on which templates a user has edited: + * get_block_templates() lists edited templates before the theme's files. + * + * @return list The templates. + */ + private function get_templates(): array { + $templates = array_map( array( $this, 'format_template' ), get_block_templates( array(), 'wp_template' ) ); + + usort( + $templates, + static function ( array $a, array $b ): int { + return strcmp( $a['slug'], $b['slug'] ); + } + ); + + return $templates; + } + + /** + * Formats one template for the ability output. + * + * @param WP_Block_Template $template The template. + * @return array{slug: string, title: string, source: string, has_theme_file: bool} The template fields the ability returns. + */ + private function format_template( WP_Block_Template $template ): array { + return array( + 'slug' => (string) $template->slug, + 'title' => (string) $template->title, + 'source' => (string) $template->source, + 'has_theme_file' => (bool) $template->has_theme_file, + ); + } + + /** + * Builds the schema of one template in the output. + * + * The source is not limited to an enum: a template's source comes from core and from + * filters, and an unexpected value should not fail the whole response. + * + * @return array The template JSON Schema. + */ + private function get_template_schema(): array { + return array( + 'type' => 'object', + 'properties' => array( + 'slug' => array( + 'type' => 'string', + 'description' => __( 'The template slug, such as "404", "single" or "page-about".' ), + ), + 'title' => array( + 'type' => 'string', + 'description' => __( 'The template title.' ), + ), + 'source' => array( + 'type' => 'string', + 'description' => __( 'Where the current version of the template comes from: "theme" for the theme\'s file, "custom" for a version a user created or edited, or "plugin" for a template a plugin registered.' ), + ), + 'has_theme_file' => array( + 'type' => 'boolean', + 'description' => __( 'Whether the active theme ships this template as a file. When a "custom" template has a theme file, resetting it in the Site Editor brings back the theme\'s version.' ), + ), + ), + 'required' => array( 'slug', 'title', 'source', 'has_theme_file' ), + 'additionalProperties' => false, + ); + } +} diff --git a/tests/Abilities/TemplatesQueryTest.php b/tests/Abilities/TemplatesQueryTest.php new file mode 100644 index 0000000..27a0a15 --- /dev/null +++ b/tests/Abilities/TemplatesQueryTest.php @@ -0,0 +1,438 @@ + + */ + private array $user_ids = array(); + + /** + * IDs of the templates a test created. + * + * @var list + */ + private array $template_ids = array(); + + /** + * The theme directories before the fixture directory was registered. + * + * @var list + */ + private array $original_theme_directories = array(); + + /** + * The active theme before the test switched it. + * + * @var string + */ + private string $original_stylesheet = ''; + + /** + * Settles the registry as the other ability suites do. + */ + public static function set_up_before_class(): void { + Registrar::register_all(); + + if ( 0 === did_action( 'wp_abilities_api_init' ) ) { + // Fires a fresh boot; a no-op once a previous suite's boot settled the registry. + WP_Abilities_Registry::get_instance(); + } + } + + /** + * Makes the fixture themes available. + */ + public function set_up(): void { + parent::set_up(); + + $this->original_theme_directories = $GLOBALS['wp_theme_directories']; + $this->original_stylesheet = get_stylesheet(); + register_theme_directory( dirname( __DIR__ ) . '/Fixtures/themes' ); + wp_clean_themes_cache(); + } + + /** + * Removes the test templates and users, and restores the active theme. + */ + public function tear_down(): void { + foreach ( $this->template_ids as $id ) { + wp_delete_post( $id, true ); + } + $this->template_ids = array(); + + switch_theme( $this->original_stylesheet ); + $GLOBALS['wp_theme_directories'] = $this->original_theme_directories; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited -- Restoring the global the test changed. + wp_clean_themes_cache(); + + if ( ! empty( $this->user_ids ) && ! function_exists( 'wp_delete_user' ) ) { + require_once ABSPATH . 'wp-admin/includes/user.php'; + } + foreach ( $this->user_ids as $id ) { + if ( $id > 1 ) { + wp_delete_user( $id ); + } + } + $this->user_ids = array(); + wp_set_current_user( 0 ); + + parent::tear_down(); + } + + /** + * The registered `wp/templates-query` instance. + */ + private function get_registered(): WP_Ability { + $ability = WP_Abilities_Registry::get_instance()->get_registered( self::ABILITY ); + self::assertNotNull( $ability, 'The ability should be registered through the Registrar.' ); + + return $ability; + } + + /** + * Logs in a mocked user of the given role. + * + * @param string $role The role. + */ + private function log_in_as( string $role ): void { + if ( ! isset( $this->user_ids[ $role ] ) ) { + $this->user_ids[ $role ] = (int) wp_insert_user( + array( + 'user_login' => 'tpl_' . $role, + 'user_pass' => wp_generate_password(), + 'role' => $role, + ) + ); + } + wp_set_current_user( $this->user_ids[ $role ] ); + } + + /** + * Runs the ability as an administrator and returns its result. + * + * @param mixed $input Optional. The ability input. Default null. + * @return array The ability result. + */ + private function run_ability( $input = null ): array { + $this->log_in_as( 'administrator' ); + + $result = $this->get_registered()->execute( $input ); + self::assertIsArray( $result, 'The ability should return the theme and its templates.' ); + + return $result; + } + + /** + * Returns the result's templates keyed by slug. + * + * A numeric slug, such as `404`, becomes an integer key, as PHP casts it. + * + * @param array $result The ability result. + * @return array> The templates keyed by slug. + */ + private function templates_by_slug( array $result ): array { + return array_column( $result['templates'], null, 'slug' ); + } + + /** + * Creates a published template for the active theme, as the Site Editor stores one. + * + * @param string $slug The template slug. + * @param string $title The template title. + */ + private function create_user_template( string $slug, string $title ): void { + $post_id = wp_insert_post( + array( + 'post_type' => 'wp_template', + 'post_name' => $slug, + 'post_title' => $title, + 'post_status' => 'publish', + 'post_content' => '

Edited

', + ), + true + ); + self::assertIsInt( $post_id, 'The test template should be created.' ); + wp_set_post_terms( $post_id, get_stylesheet(), 'wp_theme' ); + + $this->template_ids[] = $post_id; + } + + /** + * Asserts a WP_Error with the exact code. + * + * @param string $code The expected error code. + * @param mixed $actual The value to check. + */ + private function assert_wp_error( string $code, $actual ): void { + self::assertInstanceOf( WP_Error::class, $actual, "Expected WP_Error {$code}." ); + self::assertSame( $code, $actual->get_error_code() ); + } + + /** + * Registered exactly once, with the PR's annotations and the experimental provenance. + * + * The `wp/` name is never core-provided, so the package copy registers on both + * environments and the provenance does not branch. + */ + public function test_registered_once_with_annotations_and_provenance(): void { + $ability = $this->get_registered(); + $meta = $ability->get_meta(); + + self::assertSame( 'Query Templates', $ability->get_label(), 'The ability should use the PR\'s label.' ); + self::assertSame( 'site', $ability->get_category(), 'The ability should use the site category.' ); + self::assertTrue( (bool) ( $meta['show_in_rest'] ?? false ), 'The ability should be exposed in REST.' ); + self::assertSame( array( 'public' => true ), $meta['mcp'] ?? null, 'The mcp meta opts the ability in for MCP-tool exposure.' ); + self::assertSame( + array( + 'readonly' => true, + 'destructive' => false, + 'idempotent' => true, + 'open_world' => false, + ), + $meta['annotations'] ?? null, + 'The ability should be annotated as a read-only, local read.' + ); + self::assertSame( 'experimental', $meta['stability'] ?? null ); + self::assertSame( 'wordpress/abilities', $meta['source'] ?? null ); + self::assertSame( Manifest::VERSION, $meta['package_version'] ?? null ); + self::assertArrayNotHasKey( 'renamed_from', $meta, 'The port carries no renamed_from lineage.' ); + + Registrar::register_all(); + Registrar::register_all(); + self::assertSame( $ability, $this->get_registered(), 'No double registration: the single instance holds.' ); + } + + /** + * The input schema takes no input but accepts an empty object, and has no `properties` + * key: PHP encodes an empty array as the JSON array `[]`, which JSON Schema validators + * such as the one in `@wordpress/abilities` reject before the ability runs. + */ + public function test_input_schema_takes_an_empty_object(): void { + $schema = $this->get_registered()->get_input_schema(); + + self::assertSame( + array( + 'type' => 'object', + 'default' => array(), + 'additionalProperties' => false, + ), + $schema, + 'The input schema should take no input.' + ); + self::assertStringNotContainsString( '"properties":[]', (string) wp_json_encode( $schema ), 'No properties should be encoded as a JSON array.' ); + } + + /** + * The output schema describes the theme and its templates, all fields required. + */ + public function test_output_schema_describes_the_theme_and_its_templates(): void { + $schema = $this->get_registered()->get_output_schema(); + + self::assertSame( 'object', $schema['type'] ); + self::assertFalse( $schema['additionalProperties'] ); + self::assertSame( array( 'block_theme', 'theme', 'templates' ), $schema['required'] ); + self::assertSame( 'boolean', $schema['properties']['block_theme']['type'] ); + self::assertSame( 'string', $schema['properties']['theme']['type'] ); + self::assertSame( 'array', $schema['properties']['templates']['type'] ); + + $item = $schema['properties']['templates']['items']; + self::assertSame( 'object', $item['type'] ); + self::assertFalse( $item['additionalProperties'] ); + self::assertSame( array( 'slug', 'title', 'source', 'has_theme_file' ), $item['required'] ); + self::assertArrayNotHasKey( 'enum', $item['properties']['source'], 'The source is open: filters may add values.' ); + self::assertSame( 'boolean', $item['properties']['has_theme_file']['type'] ); + } + + /** + * Only users who can edit theme options may run the ability. + */ + public function test_requires_edit_theme_options(): void { + $ability = $this->get_registered(); + + $this->log_in_as( 'administrator' ); + self::assertTrue( $ability->check_permissions(), 'An administrator can edit theme options.' ); + + $this->log_in_as( 'editor' ); + self::assertFalse( $ability->check_permissions(), 'An editor cannot edit theme options.' ); + + $this->log_in_as( 'subscriber' ); + self::assertFalse( $ability->check_permissions(), 'A subscriber cannot edit theme options.' ); + + wp_set_current_user( 0 ); + self::assertFalse( $ability->check_permissions(), 'A logged-out user cannot edit theme options.' ); + } + + /** + * A user without the capability gets an error instead of the templates. + */ + public function test_execute_refuses_a_user_without_the_capability(): void { + switch_theme( self::BLOCK_THEME ); + $this->log_in_as( 'editor' ); + + $this->assert_wp_error( 'ability_invalid_permissions', $this->get_registered()->execute() ); + } + + /** + * A block theme is reported with the templates it ships as files. + */ + public function test_reports_a_block_theme_and_its_template_files(): void { + switch_theme( self::BLOCK_THEME ); + + $result = $this->run_ability(); + $templates = $this->templates_by_slug( $result ); + + self::assertTrue( $result['block_theme'] ); + self::assertSame( 'Abilities Test Block Theme', $result['theme'] ); + self::assertArrayHasKey( '404', $templates ); + self::assertArrayHasKey( 'index', $templates ); + self::assertSame( 'theme', $templates['404']['source'] ); + self::assertTrue( $templates['404']['has_theme_file'] ); + self::assertNotSame( '', $templates['404']['title'] ); + } + + /** + * A template the theme ships that a user edited is reported as custom, with its theme file. + */ + public function test_reports_an_edited_theme_template_as_custom_with_a_theme_file(): void { + switch_theme( self::BLOCK_THEME ); + $this->create_user_template( '404', 'Edited 404' ); + + $templates = $this->templates_by_slug( $this->run_ability() ); + + self::assertSame( 'custom', $templates['404']['source'] ); + self::assertTrue( $templates['404']['has_theme_file'] ); + self::assertSame( 'Edited 404', $templates['404']['title'] ); + self::assertSame( 'theme', $templates['index']['source'] ); + } + + /** + * A template a user created, which the theme does not ship, has no theme file. + */ + public function test_reports_a_user_created_template_without_a_theme_file(): void { + switch_theme( self::BLOCK_THEME ); + $this->create_user_template( 'page-about', 'About' ); + + $templates = $this->templates_by_slug( $this->run_ability() ); + + self::assertSame( 'custom', $templates['page-about']['source'] ); + self::assertFalse( $templates['page-about']['has_theme_file'] ); + self::assertSame( 'About', $templates['page-about']['title'] ); + } + + /** + * Templates are sorted by slug, whether or not a user edited them. + */ + public function test_sorts_templates_by_slug(): void { + switch_theme( self::BLOCK_THEME ); + $this->create_user_template( 'single', 'Single' ); + + $slugs = array_column( $this->run_ability()['templates'], 'slug' ); + $sorted = $slugs; + sort( $sorted, SORT_STRING ); + + self::assertSame( $sorted, $slugs ); + self::assertNotSame( 'single', $slugs[0], 'The edited template is not listed first.' ); + } + + /** + * A classic theme is reported as one, without block templates. + */ + public function test_reports_a_classic_theme_without_templates(): void { + switch_theme( self::CLASSIC_THEME ); + + $result = $this->run_ability(); + + self::assertFalse( $result['block_theme'] ); + self::assertSame( 'Abilities Test Classic Theme', $result['theme'] ); + self::assertSame( array(), $result['templates'] ); + } + + /** + * No input and an empty object are both accepted, as clients that always send an object do. + */ + public function test_accepts_no_input_and_an_empty_object(): void { + switch_theme( self::BLOCK_THEME ); + + self::assertTrue( $this->run_ability()['block_theme'], 'No input should be accepted.' ); + self::assertTrue( $this->run_ability( array() )['block_theme'], 'An empty object should be accepted.' ); + } + + /** + * Input the ability does not take, or input that is not an object, fails closed. + */ + public function test_malformed_input_fails_closed(): void { + $this->log_in_as( 'administrator' ); + $ability = $this->get_registered(); + + $this->assert_wp_error( 'ability_invalid_input', $ability->execute( array( 'slug' => '404' ) ) ); + $this->assert_wp_error( 'ability_invalid_input', $ability->execute( 'slug=404' ) ); + } + + /** + * The run endpoint runs the ability with GET, as for a read-only ability, rejects other + * methods, and serves schemas without a `properties` encoded as a JSON array. + */ + public function test_runs_over_rest_with_get(): void { + switch_theme( self::BLOCK_THEME ); + $this->log_in_as( 'administrator' ); + + $route = '/wp-abilities/v1/abilities/' . self::ABILITY; + $response = rest_get_server()->dispatch( new WP_REST_Request( 'GET', $route . '/run' ) ); + + self::assertSame( 200, $response->get_status(), 'A GET request should run the ability.' ); + $data = $response->get_data(); + self::assertTrue( $data['block_theme'] ); + self::assertArrayHasKey( '404', $this->templates_by_slug( $data ) ); + + $response = rest_get_server()->dispatch( new WP_REST_Request( 'POST', $route . '/run' ) ); + self::assertSame( 405, $response->get_status(), 'A POST request should be rejected.' ); + + $data = rest_get_server()->dispatch( new WP_REST_Request( 'GET', $route ) )->get_data(); + self::assertStringNotContainsString( '"properties":[]', (string) wp_json_encode( $data['input_schema'] ) ); + self::assertStringNotContainsString( '"properties":[]', (string) wp_json_encode( $data['output_schema'] ) ); + } +} diff --git a/tests/Fixtures/themes/abilities-test-block-theme/style.css b/tests/Fixtures/themes/abilities-test-block-theme/style.css new file mode 100644 index 0000000..a014137 --- /dev/null +++ b/tests/Fixtures/themes/abilities-test-block-theme/style.css @@ -0,0 +1,5 @@ +/* +Theme Name: Abilities Test Block Theme +Description: A minimal block theme for the package's ability tests. +Version: 1.0.0 +*/ diff --git a/tests/Fixtures/themes/abilities-test-block-theme/templates/404.html b/tests/Fixtures/themes/abilities-test-block-theme/templates/404.html new file mode 100644 index 0000000..b70091e --- /dev/null +++ b/tests/Fixtures/themes/abilities-test-block-theme/templates/404.html @@ -0,0 +1,3 @@ + +

Not found

+ diff --git a/tests/Fixtures/themes/abilities-test-block-theme/templates/index.html b/tests/Fixtures/themes/abilities-test-block-theme/templates/index.html new file mode 100644 index 0000000..fa39fbe --- /dev/null +++ b/tests/Fixtures/themes/abilities-test-block-theme/templates/index.html @@ -0,0 +1,3 @@ + +

Index

+ diff --git a/tests/Fixtures/themes/abilities-test-classic-theme/index.php b/tests/Fixtures/themes/abilities-test-classic-theme/index.php new file mode 100644 index 0000000..e707e3e --- /dev/null +++ b/tests/Fixtures/themes/abilities-test-classic-theme/index.php @@ -0,0 +1,6 @@ +