[packages/dokuwiki/DEVEL] still old deprecated wrappers, some plugins still have addInitEvent() calls

glen glen at pld-linux.org
Wed May 29 17:40:31 CEST 2013


commit 5b9dd55263a1bad56171e30b57fde3394f2a4eaa
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue May 28 21:28:59 2013 +0300

    still old deprecated wrappers, some plugins still have addInitEvent() calls

 dokuwiki.spec     |  4 +++-
 undeprecate.patch | 15 +++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/dokuwiki.spec b/dokuwiki.spec
index 691f456..65e524a 100644
--- a/dokuwiki.spec
+++ b/dokuwiki.spec
@@ -8,7 +8,7 @@ Summary:	PHP-based Wiki webapplication
 Summary(pl.UTF-8):	Aplikacja WWW Wiki oparta na PHP
 Name:		dokuwiki
 Version:	%{ver}
-Release:	0.8
+Release:	0.9
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tgz
@@ -33,6 +33,7 @@ Patch66:	%{name}-config.patch
 Patch0:		%{name}-paths.patch
 Patch1:		system-jquery.patch
 Patch2:		style-width.patch
+Patch3:		undeprecate.patch
 Patch4:		%{name}-geshi.patch
 Patch5:		%{name}-http_auth-option.patch
 Patch6:		%{name}-nice_exit.patch
@@ -136,6 +137,7 @@ touch data/pages/playground/playground.txt
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
diff --git a/undeprecate.patch b/undeprecate.patch
new file mode 100644
index 0000000..3e75371
--- /dev/null
+++ b/undeprecate.patch
@@ -0,0 +1,15 @@
+load old deprecated wrappers, one more release, some plugins still have
+addInitEvent() calls
+
+https://www.dokuwiki.org/devel:jqueryfaq
+--- dokuwiki/lib/exe/js.php~	2013-05-28 16:12:49.000000000 +0300
++++ dokuwiki/lib/exe/js.php	2013-05-28 21:25:23.721168974 +0300
+@@ -62,7 +62,7 @@
+                 DOKU_INC.'lib/scripts/locktimer.js',
+                 DOKU_INC.'lib/scripts/linkwiz.js',
+                 DOKU_INC.'lib/scripts/media.js',
+-# deprecated                DOKU_INC.'lib/scripts/compatibility.js',
++                DOKU_INC.'lib/scripts/compatibility.js',
+ # disabled for FS#1958                DOKU_INC.'lib/scripts/hotkeys.js',
+                 DOKU_INC.'lib/scripts/behaviour.js',
+                 DOKU_INC.'lib/scripts/page.js',
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki.git/commitdiff/79d978d61fd563dad4233d5f2cb789ebfdd78b73



More information about the pld-cvs-commit mailing list