? 276910_better_help_to_prevent_wysiwyg_issues.patch
? 276910_better_help_to_prevent_wysiwyg_issues_9.patch
? 278368_notice_and_taxonomy_bug.patch
? notice_and_taxonomy_bug.patch
Index: pathauto.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.admin.inc,v
retrieving revision 1.12
diff -u -p -r1.12 pathauto.admin.inc
--- pathauto.admin.inc	24 Jun 2008 16:52:32 -0000	1.12
+++ pathauto.admin.inc	7 Jul 2008 15:35:41 -0000
@@ -138,10 +138,12 @@ function pathauto_admin_settings() {
     '#description' => t('Filters the new alias to only letters and numbers found in the ASCII-96 set.'),
   );
 
+  $wysiwyg_warn = _pathauto_warn_wysiwygs();
+
   $form['general']['pathauto_ignore_words'] = array(
     '#type' => 'textarea',
     '#title' => t('Strings to Remove'), '#default_value' => variable_get('pathauto_ignore_words', implode(',', $ignore_words)),
-    '#description' => t('Words to strip out of the URL alias, separated by commas. Do not place punctuation in here and do not use WYSIWYG editors on this field.'),
+    '#description' => t('Words to strip out of the URL alias, separated by commas. Do not use this to remove punctuation.') . $wysiwyg_warn,
   );
 
   $form['punctuation'] = array(
@@ -451,3 +453,29 @@ function pathauto_admin_delete_submit($f
   }
   $form_state['redirect'] = 'admin/build/path/delete_bulk';
 }
+
+/**
+ * Helper function for pathauto_admin_settings().
+ *
+ * Checks to see if they are using a known WYSIWYG editor and, if so, returns a
+ * a warning string.
+ *
+ * @return
+ *   A warning message if appropriate.
+ */
+function _pathauto_warn_wysiwygs() {
+  $wysiwygs = array(
+    'tinymce', 'fckeditor', 'bueditor', 'htmlarea', 'whizzywig',
+    'widgeditor', 'wymeditor', 'wysiwyg', 'xstandard', 'yui_editor', 'htmlbox'
+  );
+
+  $wysiwyg_problem = FALSE;
+  foreach ($wysiwygs as $key => $wysiwyg) {
+    if (module_exists($wysiwyg)) {
+      $wysiwyg_problem = TRUE;
+    }
+  }
+  if ($wysiwyg_problem) {
+    return '<em>'. t(' You appear to be using a "WYSIWYG" editor which can cause problems if that editor runs on the Pathauto administrative settings page.  Please be sure to disable these editors for all text boxes on this page. See the "WYSIWYG Conflicts" section of the README.txt file for more information.') .'</em>';
+  }
+}
\ No newline at end of file
