diff --git a/includes/media.admin.inc b/includes/media.admin.inc
index a5aee59..674ad5c 100644
--- a/includes/media.admin.inc
+++ b/includes/media.admin.inc
@@ -323,6 +323,19 @@ function media_admin_config_browser($form, &$form_state) {
     '#default_value' => media_variable_get('wysiwyg_upload_directory'),
     '#description' => t('Optional subdirectory within the upload destination where files will be stored. Do not include preceding or trailing slashes.'),
   );
+
+  if(module_exists("token")) {
+    $form['wysiwyg']['token_help'] = array(
+      '#title' => t('Replacement patterns'),
+      '#type' => 'fieldset',
+      '#collapsible' => TRUE,
+      '#collapsed' => TRUE,
+    );
+    $form['wysiwyg']['token_help']['wysiwyg_upload_tokens']['content'] = array(
+        '#token_types' => 'all',
+        '#theme' => 'token_tree');
+  }
+
   $form['wysiwyg'][media_variable_name('wysiwyg_allowed_types')] = array(
     '#type' => 'checkboxes',
     '#title' => t('Allowed types in WYSIWYG'),
