Utils/WikiTagUtils.php
changeset 8 7d2fb5d7c9ff
parent 2 13f43f53d0ba
child 9 cc32af725176
--- a/Utils/WikiTagUtils.php	Wed Oct 19 15:44:23 2011 +0200
+++ b/Utils/WikiTagUtils.php	Thu Oct 20 18:35:33 2011 +0200
@@ -47,7 +47,6 @@
         }
         else{
             $created = false;
-            //$created = true;
         }
         
         // We request Wikipedia if the tag is created
@@ -84,6 +83,7 @@
         else{
             $wikipedia_revision_id = null;
         }
+        //return "coucou4";
         
         return array($tag, $wikipedia_revision_id, $created);//, $wpReponse);
     }
@@ -91,7 +91,7 @@
     /**
      * Cleans the tag label
      */
-    private static function normalizeTag($tag_label)
+    public static function normalizeTag($tag_label)
     {
         if(strlen($tag_label)==0){
             return $tag_label;