Item12511: Deprecate jquery.metadata.

pencil
Priority: Normal
Current State: Being Worked On
Released In: 2.2.0
Target Release: minor
Applies To: Extension
Component: JQueryPlugin
Branches: trunk Item12116 master Item13897 Release02x01 Item14033 Item14152 Item14288 Item14454 Item14380 Item14537
Reported By: MichaelDaum
Waiting For: MichaelDaum
Last Change By: MichaelDaum
This is a tough one. There are lots of wiki apps out there depending on plugin params being embedded into the class attribute. As per xhml there's no other place where to put it. Only html5 allows us to have custom data-... attributes in the DOM node. However the standard foswiki skin still runs on XHTML 1.0 Transitional.

The recommended way to specify jQuery plugin parameters in a declarative way is by custom data-... attributes, thus removing the need for a separate jquery.metadata plugin, which btw isn't maintained anymore.

-- MichaelDaum - 29 May 2013

Is this ready to go to Waiting for Release in 1.2?

-- GeorgeClark - 29 May 2014

The deprecation can start but we can not eliminate or even reduce the use of jquery.metadata more in the scope of 1.2.0 as this would create a lot of incompatibility. This work has to be continued after 1.2.0 was released.

-- MichaelDaum - 29 May 2014

Push to 2.1

-- GeorgeClark - 06 Jul 2015

Let's proceed as follows:

  1. add support for html5 data in addition to the old metadata approach
  2. deprecate metadata by issuing a warning if still used the javascript console
  3. remove/disable metadata

(1) can happen asap, i.e in the next patch release; there is zero risk here (2.1.5 as by now)

(2) can be added in the next minor release (2.2.0 as by now)

(3) finally remove metadata in the next major release (3.0 or so)

-- MichaelDaum - 06 Dec 2017
 

ItemTemplate edit

Summary Deprecate jquery.metadata.
ReportedBy MichaelDaum
Codebase 2.0.0, trunk
SVN Range
AppliesTo Extension
Component JQueryPlugin
Priority Normal
CurrentState Being Worked On
WaitingFor MichaelDaum
Checkins distro:8e441023ad68 JQSelect2Contrib:326df1eec08d distro:9a8cc9165e4f distro:13a566cd2225 distro:887a3dda0acd distro:dedb053831d5 distro:208b381e9cc9 distro:e6632da7f2b8 distro:36712e5c4091 distro:55b9bb8b2dd0 distro:cd9a29559036 JQPrettyPhotoContrib:636b0db00e90 distro:1be1659af3cd distro:c1d36726c0a6 distro:6dc583a6eb94 distro:bb4c6b1c701a distro:a7cc567ae7b4 distro:5f07c26d7f3a
TargetRelease minor
ReleasedIn 2.2.0
CheckinsOnBranches trunk Item12116 master Item13897 Release02x01 Item14033 Item14152 Item14288 Item14454 Item14380 Item14537
trunkCheckins distro:8e441023ad68
masterCheckins distro:9a8cc9165e4f JQSelect2Contrib:326df1eec08d distro:13a566cd2225 distro:887a3dda0acd distro:dedb053831d5 distro:208b381e9cc9 distro:e6632da7f2b8 distro:36712e5c4091 distro:55b9bb8b2dd0 distro:cd9a29559036 JQPrettyPhotoContrib:636b0db00e90 distro:6dc583a6eb94 distro:bb4c6b1c701a distro:5f07c26d7f3a distro:1be1659af3cd distro:c1d36726c0a6 distro:a7cc567ae7b4
ItemBranchCheckins JQSelect2Contrib:326df1eec08d distro:208b381e9cc9 distro:e6632da7f2b8 distro:36712e5c4091 distro:55b9bb8b2dd0 distro:6dc583a6eb94 distro:bb4c6b1c701a distro:5f07c26d7f3a distro:1be1659af3cd distro:c1d36726c0a6 distro:a7cc567ae7b4
Release02x01Checkins distro:e6632da7f2b8 distro:55b9bb8b2dd0 distro:cd9a29559036 distro:1be1659af3cd distro:c1d36726c0a6 distro:a7cc567ae7b4
Release02x00Checkins
Release01x01Checkins
Topic revision: r32 - 31 Jan 2018, MichaelDaum - This page was cached on 05 Jun 2020 - 10:46.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy