Exemplo n.º 1
0
def normalize_page_name(page_name):
    # Remove special characters. Lower page name and replace spaces with '-'.
    return slugify(page_name, ok=SLUG_OK)
Exemplo n.º 2
0
def clean_page_name(page_name):
    # Remove special characters. Do not lower page name and spaces are allowed.
    return slugify(page_name, ok=SLUG_OK, lower=False, spaces=True)
Exemplo n.º 3
0
def clean_page_name(page_name):
    # Remove special characters. Do not lower page name and spaces are allowed.
    return slugify(page_name, ok=SLUG_OK, lower=False, spaces=True)
Exemplo n.º 4
0
def normalize_page_name(page_name):
    # Remove special characters. Lower page name and replace spaces with '-'.
    return slugify(page_name, ok=SLUG_OK)
Exemplo n.º 5
0
def slugfy_wiki_name(name):
    return slugify(name, ok=SLUG_OK)
Exemplo n.º 6
0
def slugfy_wiki_name(name):
    return slugify(name, ok=SLUG_OK)
Exemplo n.º 7
0
def normalize_page_name(page_name):
    # Replace special characters to '-'.
    # Do not lower page name and spaces are allowed.
    return slugify(page_name, lower=False, spaces=True)