[!!!][TASK] Deprecate "device" TypoScript condition
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-63522-ClientRelatedConditionDevice.rst
1 =================================================================
2 Deprecation: #63522 - Deprecate the "device" TypoScript condition
3 =================================================================
4
5 Description
6 ===========
7
8 Next other client related TypoScript conditions the "device" type
9 condition is deprecated.
10
11
12 Impact
13 ======
14
15 Using a condition like ``[device = wap]`` is considered outdated
16 and should be solved differently.
17
18 Affected installations
19 ======================
20
21 Instances with TypoScript that relies on ``[device = ...]``.
22
23 Migration
24 =========
25
26 * Most usual conditions for specific browsers can nowadays be turned into conditional CSS includes
27 * Use libraries such as modernizr for browser support
28 * If conditions for specific clients or devices are still needed, they
29 should be done with a userFunc condition and a project like WURFL
30 that keep the device information more recent than the current core
31 code like matching AMIGA