From 04614a8505119c09cce614e88eb37b954df1055e Mon Sep 17 00:00:00 2001 From: Phu Hoang Date: Thu, 27 Apr 2017 11:17:23 +0700 Subject: [PATCH 1/2] Fix all to undefined function wfMsg() error --- patches/IntraACL-MediaWiki-1.27.2.diff | 397 +++++++++++++++++++++++++ 1 file changed, 397 insertions(+) create mode 100644 patches/IntraACL-MediaWiki-1.27.2.diff diff --git a/patches/IntraACL-MediaWiki-1.27.2.diff b/patches/IntraACL-MediaWiki-1.27.2.diff new file mode 100644 index 0000000..dcf4337 --- /dev/null +++ b/patches/IntraACL-MediaWiki-1.27.2.diff @@ -0,0 +1,397 @@ +diff --git a/templates/HACL_ACLEditor.tpl.php b/templates/HACL_ACLEditor.tpl.php +index ca7d345..4d669a5 100644 +--- a/templates/HACL_ACLEditor.tpl.php ++++ b/templates/HACL_ACLEditor.tpl.php +@@ -6,15 +6,15 @@ + + + + +@@ -61,11 +61,11 @@ +
+-

++

+

+-

++

+

+

+-

++

+

+ + +

+

+ +-   ++   +

+- +- +-

++ ++ ++

+

+

+ +diff --git a/templates/HACL_ACLList.tpl.php b/templates/HACL_ACLList.tpl.php +index 8a543ab..5c4370b 100644 +--- a/templates/HACL_ACLList.tpl.php ++++ b/templates/HACL_ACLList.tpl.php +@@ -1,28 +1,28 @@ +
+ +
+-

++

+

+ +-

+-

onclick="change_filter(this)" onchange="change_filter(this)" />

++

++

onclick="change_filter(this)" onchange="change_filter(this)" />

+ + +-

++

+ + +- ++ + +
+ +diff --git a/templates/HACL_ACLListContents.tpl.php b/templates/HACL_ACLListContents.tpl.php +index 175a915..d2a0296 100644 +--- a/templates/HACL_ACLListContents.tpl.php ++++ b/templates/HACL_ACLListContents.tpl.php +@@ -1,13 +1,13 @@ + + + +- ++ + +-

++

+ +- ++ + + +-

++

+ getPrefixedText()) : '' ?>" /> + +

+- ++ + +

+-

++

+

+ + + + + +- ++ + + +- ++ + + + +- ++ + + + +- ++ + + +- ++ + + + +- ++ + + +
+@@ -45,10 +45,10 @@ + +

+ +- +- ++ ++ +

+- +- +- +- ++ ++ ++ ++ +diff --git a/templates/HACL_GroupList.tpl.php b/templates/HACL_GroupList.tpl.php +index f090fe1..1e57cea 100644 +--- a/templates/HACL_GroupList.tpl.php ++++ b/templates/HACL_GroupList.tpl.php +@@ -1,6 +1,6 @@ +-

++

+

+-

++

+

+ +
+diff --git a/templates/HACL_GroupListContents.tpl.php b/templates/HACL_GroupListContents.tpl.php +index 0b3c253..f17c9a8 100644 +--- a/templates/HACL_GroupListContents.tpl.php ++++ b/templates/HACL_GroupListContents.tpl.php +@@ -1,12 +1,12 @@ + + +diff --git a/templates/HACL_QuickACL.tpl.php b/templates/HACL_QuickACL.tpl.php +index 47f5d9b..a6a0869 100644 +--- a/templates/HACL_QuickACL.tpl.php ++++ b/templates/HACL_QuickACL.tpl.php +@@ -1,24 +1,24 @@ +- ++ +
+- ++ +
+- ++ + + + +- ++ +
+
+ +-

++

+
+ + + +- +- +- +- ++ ++ ++ ++ + + + +@@ -30,7 +30,7 @@ + + + +@@ -39,11 +39,11 @@ + + + +- ++ + +
getText() ?> +- ++ + + +
default_pe_id ? ' checked="checked"' : '' ?> />
+

+- ++ +

+
+ + +- ++ + +diff --git a/templates/HACL_Toolbar.tpl.php b/templates/HACL_Toolbar.tpl.php +index 7291fe1..d8a711b 100644 +--- a/templates/HACL_Toolbar.tpl.php ++++ b/templates/HACL_Toolbar.tpl.php +@@ -1,13 +1,13 @@ +
+ 1 && $canModify) { ?> +- +- + + + + + +- ++ + → + + +@@ -16,33 +16,33 @@ + + + +- ++ + +- ++ + +
+- ++ + +
+ +
+- ++ + +
+ exists()) { ?> + + Edit +- ++ + + +- ++ + + +- ++ + +-
++
+
From 4c8069d4699224a5ffafea8abe67fcac410c7a1f Mon Sep 17 00:00:00 2001 From: Phu Hoang Date: Thu, 27 Apr 2017 15:13:51 +0700 Subject: [PATCH 2/2] Update file path in the patch --- patches/IntraACL-MediaWiki-1.27.2.diff | 48 +++++++++++++------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/patches/IntraACL-MediaWiki-1.27.2.diff b/patches/IntraACL-MediaWiki-1.27.2.diff index dcf4337..b445bbf 100644 --- a/patches/IntraACL-MediaWiki-1.27.2.diff +++ b/patches/IntraACL-MediaWiki-1.27.2.diff @@ -1,7 +1,7 @@ -diff --git a/templates/HACL_ACLEditor.tpl.php b/templates/HACL_ACLEditor.tpl.php +diff --git a/extensions/IntraACL/templates/HACL_ACLEditor.tpl.php b/extensions/IntraACL/templates/HACL_ACLEditor.tpl.php index ca7d345..4d669a5 100644 ---- a/templates/HACL_ACLEditor.tpl.php -+++ b/templates/HACL_ACLEditor.tpl.php +--- a/extensions/IntraACL/templates/HACL_ACLEditor.tpl.php ++++ b/extensions/IntraACL/templates/HACL_ACLEditor.tpl.php @@ -6,15 +6,15 @@ @@ -86,10 +86,10 @@ index ca7d345..4d669a5 100644

-diff --git a/templates/HACL_ACLList.tpl.php b/templates/HACL_ACLList.tpl.php +diff --git a/extensions/IntraACL/templates/HACL_ACLList.tpl.php b/extensions/IntraACL/templates/HACL_ACLList.tpl.php index 8a543ab..5c4370b 100644 ---- a/templates/HACL_ACLList.tpl.php -+++ b/templates/HACL_ACLList.tpl.php +--- a/extensions/IntraACL/templates/HACL_ACLList.tpl.php ++++ b/extensions/IntraACL/templates/HACL_ACLList.tpl.php @@ -1,28 +1,28 @@
@@ -126,10 +126,10 @@ index 8a543ab..5c4370b 100644 -diff --git a/templates/HACL_ACLListContents.tpl.php b/templates/HACL_ACLListContents.tpl.php +diff --git a/extensions/IntraACL/templates/HACL_ACLListContents.tpl.php b/extensions/IntraACL/templates/HACL_ACLListContents.tpl.php index 175a915..d2a0296 100644 ---- a/templates/HACL_ACLListContents.tpl.php -+++ b/templates/HACL_ACLListContents.tpl.php +--- a/extensions/IntraACL/templates/HACL_ACLListContents.tpl.php ++++ b/extensions/IntraACL/templates/HACL_ACLListContents.tpl.php @@ -1,13 +1,13 @@ @@ -164,10 +164,10 @@ index 175a915..d2a0296 100644 -

+

getPrefixedText()) : '' ?>" /> @@ -229,10 +229,10 @@ index b25cc5b..7d5687e 100644 + + + -diff --git a/templates/HACL_GroupList.tpl.php b/templates/HACL_GroupList.tpl.php +diff --git a/extensions/IntraACL/templates/HACL_GroupList.tpl.php b/extensions/IntraACL/templates/HACL_GroupList.tpl.php index f090fe1..1e57cea 100644 ---- a/templates/HACL_GroupList.tpl.php -+++ b/templates/HACL_GroupList.tpl.php +--- a/extensions/IntraACL/templates/HACL_GroupList.tpl.php ++++ b/extensions/IntraACL/templates/HACL_GroupList.tpl.php @@ -1,6 +1,6 @@ -

+

@@ -242,10 +242,10 @@ index f090fe1..1e57cea 100644

-diff --git a/templates/HACL_GroupListContents.tpl.php b/templates/HACL_GroupListContents.tpl.php +diff --git a/extensions/IntraACL/templates/HACL_GroupListContents.tpl.php b/extensions/IntraACL/templates/HACL_GroupListContents.tpl.php index 0b3c253..f17c9a8 100644 ---- a/templates/HACL_GroupListContents.tpl.php -+++ b/templates/HACL_GroupListContents.tpl.php +--- a/extensions/IntraACL/templates/HACL_GroupListContents.tpl.php ++++ b/extensions/IntraACL/templates/HACL_GroupListContents.tpl.php @@ -1,12 +1,12 @@ -diff --git a/templates/HACL_QuickACL.tpl.php b/templates/HACL_QuickACL.tpl.php +diff --git a/extensions/IntraACL/templates/HACL_QuickACL.tpl.php b/extensions/IntraACL/templates/HACL_QuickACL.tpl.php index 47f5d9b..a6a0869 100644 ---- a/templates/HACL_QuickACL.tpl.php -+++ b/templates/HACL_QuickACL.tpl.php +--- a/extensions/IntraACL/templates/HACL_QuickACL.tpl.php ++++ b/extensions/IntraACL/templates/HACL_QuickACL.tpl.php @@ -1,24 +1,24 @@ - + @@ -330,10 +330,10 @@ index 47f5d9b..a6a0869 100644 - + -diff --git a/templates/HACL_Toolbar.tpl.php b/templates/HACL_Toolbar.tpl.php +diff --git a/extensions/IntraACL/templates/HACL_Toolbar.tpl.php b/extensions/IntraACL/templates/HACL_Toolbar.tpl.php index 7291fe1..d8a711b 100644 ---- a/templates/HACL_Toolbar.tpl.php -+++ b/templates/HACL_Toolbar.tpl.php +--- a/extensions/IntraACL/templates/HACL_Toolbar.tpl.php ++++ b/extensions/IntraACL/templates/HACL_Toolbar.tpl.php @@ -1,13 +1,13 @@
1 && $canModify) { ?>