Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #5
0
def slugfy_wiki_name(name):
    return slugify(name, ok=SLUG_OK)
Exemple #6
0
def slugfy_wiki_name(name):
    return slugify(name, ok=SLUG_OK)
Exemple #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)