Problem/Motivation

Metatag Mobile module is generating metatags that Chrome Developer tools warns is deprecated.

Steps to reproduce

* Install Metatag module version 2.0.0 or later.
* Metatag: Mobile & UI Adjustments

Using Chrome developer tools check warnings show on page load.

Proposed resolution

Patch submodule to update metatags added by submodule.

Issue fork metatag-3483034

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lhridley created an issue. See original summary.

lisa.rae’s picture

Title: Metatag Mobile: <meta name="apple-mobile-web-app-capable" content="yes"> is deprecated. Please include <meta name="mobile-web-app-capable" content="yes"> is deprecated » Metatag Mobile: <meta name="apple-mobile-web-app-capable" content="yes"> is deprecated
lisa.rae’s picture

Issue summary: View changes
Issue tags: +deprecated

sebastix made their first commit to this issue’s fork.

valthebald’s picture

Version: 2.0.x-dev » 2.2.x-dev

damienmckenna’s picture

Status: Active » Needs work

The MR needs to be created cleanly, it includes a bunch of other changes.

damienmckenna’s picture

The merge request renames the plugin from apple_mobile_web_app_capable to mobile_web_app_capable, was that intended?

sebastix’s picture

The merge request renames the plugin from apple_mobile_web_app_capable to mobile_web_app_capable, was that intended?

Yes.

This was my initial commit when creating the MR: https://git.drupalcode.org/project/metatag/-/merge_requests/217/diffs?co...

damienmckenna’s picture

damienmckenna’s picture

This needs to be handled as three separate steps - in this issue add "mobile_web_app_capable" and deprecate "apple_mobile_web_app_capable", and create another issue for deleting "apple_mobile_web_app_capable".

damienmckenna’s picture

Also, please provide links to documentation around why the old meta tag was abandoned, and something about the new meta tag, just to make sure we're doing it correctly; we can add these links to the meta tag descriptions to improve the UI. Thank you.

damienmckenna’s picture

Category: Bug report » Feature request
damienmckenna’s picture

The new meta tag also needs to go into a separate issue so we can separate flagging something as deprecated vs adding new functionality.

damienmckenna’s picture

New issue for removing the meta tag: #3620079: Remove apple-mobile-web-app-capable meta tag

damienmckenna’s picture

New issue for adding the new meta tag: #3620080: Add mobile_web_app_capable meta tag

damienmckenna’s picture

Title: Metatag Mobile: <meta name="apple-mobile-web-app-capable" content="yes"> is deprecated » Deprecate obsolete apple-mobile-web-app-capable meta tag

  • damienmckenna committed d9b1b996 on 2.2.x
    Issue #3483034 by lisa.rae, sebastix: Deprecated apple-mobile-web-app-...
damienmckenna’s picture

Status: Needs work » Fixed

Committed.

Thank you.

Other changes will be handled separately.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.