You are here

function wikitools_treat_underscore_as_space in Wikitools 5

Same name and namespace in other branches
  1. 6.2 wikitools.module \wikitools_treat_underscore_as_space()
  2. 6 wikitools.module \wikitools_treat_underscore_as_space()
  3. 7 wikitools.module \wikitools_treat_underscore_as_space()

Are underscore characters treated as spaces?

4 calls to wikitools_treat_underscore_as_space()
wikitools_decode_page_name in ./wikitools.module
Decode page name given via URL.
wikitools_node_validate in ./wikitools.module
Validate check of node edit form.
wikitools_wikilink_drupal_path in ./wikitools.module
Build a Drupal path to link to a page.
_wikitools_duplicate_nodes_query in ./wikitools.module
Create queries to find nodes with duplicate titles.

File

./wikitools.module, line 409
A non-intrusive module to have some wiki-like behaviour.

Code

function wikitools_treat_underscore_as_space() {
  $options = wikitools_options();
  return $options['underscore as space'];
}