Package: dokuwiki
Version: 0.0.20160626.a-2
Severity: normal

debian/add-ons/preload.php must be updated for newer DokuWiki release
that includes the following changes:

* Extendable config cascade for userstyles and userscript by Klap-in · Pull 
Request #954 · splitbrain/dokuwiki
    * https://github.com/splitbrain/dokuwiki/pull/954/files

--- debian/add-ons/preload.php.dist     2016-02-25 23:02:29.000000000 +0900
+++ debian/add-ons/preload.php  2017-06-29 03:49:44.269455964 +0900
@@ -138,14 +138,14 @@
         'default'   => DOKU_CONF.'users.auth.php',
     ),
     'userstyle' => array(
-        'default' => DOKU_CONF.'userstyle.css', // 'default' was renamed to 
'screen' on 2011-02-26, so will be deprecated in the next version
-        'screen'  => DOKU_CONF.'userstyle.css',
-        'rtl'     => DOKU_CONF.'userrtl.css',
-        'print'   => DOKU_CONF.'userprint.css',
-        'feed'    => DOKU_CONF.'userfeed.css',
-        'all'     => DOKU_CONF.'userall.css',
+        'default' => array(DOKU_CONF.'userstyle.css'), // 'default' was 
renamed to 'screen' on 2011-02-26, so will be deprecated in the next version
+        'screen'  => array(DOKU_CONF.'userstyle.css'),
+        'rtl'     => array(DOKU_CONF.'userrtl.css'),
+        'print'   => array(DOKU_CONF.'userprint.css'),
+        'feed'    => array(DOKU_CONF.'userfeed.css'),
+        'all'     => array(DOKU_CONF.'userall.css'),
     ),
     'userscript' => array(
-        'default' => DOKU_CONF.'userscript.js'
+        'default' => array(DOKU_CONF.'userscript.js')
     ),
 );

See also:

* Invalid argument supplied for foreach() /usr/share/dokuwiki/lib/exe/js.php · 
Issue #1726 · splitbrain/dokuwiki
    * https://github.com/splitbrain/dokuwiki/issues/1726
* Invalid argument supplied for foreach() · Issue #1664 · splitbrain/dokuwiki
    * https://github.com/splitbrain/dokuwiki/issues/1664

Regards,

-- 
-- Name: SATOH Fumiyasu @ OSS Technology Corp. (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- GitHub Home: https://GitHub.com/fumiyas/
-- PGP Fingerprint: BBE1 A1C9 525A 292E 6729  CDEC ADC2 9DCA 5E1C CBCA

Reply via email to