Item12511: deprecate jquery.metadata

pencil
Priority: Normal
Current State: Waiting for Release
Released In: 2.1.9
Target Release: patch
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

ui::autocomplete still depends on metadata.

-- MichaelDaum - 08 Nov 2024
 

ItemTemplate edit

Summary deprecate jquery.metadata
ReportedBy MichaelDaum
Codebase 2.0.0, trunk
SVN Range
AppliesTo Extension
Component JQueryPlugin
Priority Normal
CurrentState Waiting for Release
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 InfiniteScrollContrib:655752f55248 distro:fc639f230818 distro:01406c2f6a20 distro:e8b445c22d73 distro:ee1bd13b1160 distro:cc6750ffc92f distro:20ed2ce519c2 distro:b0e834a202f4 distro:d00cd4a487ab distro:ac6690a56d9f distro:627f72593b90 distro:a92d2796df82 distro:08e166085c11 distro:16b984c59765 distro:c59b259099f7
TargetRelease patch
ReleasedIn 2.1.9
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 InfiniteScrollContrib:655752f55248 distro:01406c2f6a20 distro:ee1bd13b1160 distro:20ed2ce519c2 distro:d00cd4a487ab distro:627f72593b90 distro:08e166085c11 distro:c59b259099f7
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 distro:fc639f230818 distro:e8b445c22d73 distro:cc6750ffc92f distro:b0e834a202f4 distro:ac6690a56d9f distro:a92d2796df82 distro:16b984c59765
Release02x00Checkins
Release01x01Checkins
Topic revision: r38 - 15 Nov 2024, MichaelDaum
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