def reference_reformatter(original_entry):
    """
    Takes a reference string and tries to make it more compact and simple.
    The replacement for Unknown posts will use this abbreviated version.
    !reference will still return the full information, and data will still be available for Wenyuan to use.

    :param original_entry: Data that needs to be parsed and stripped down.
    :return: A simplified version of the string above.
    """

    # Divide the lines.
    original_lines = original_entry.split("\n\n")
    new_lines = []

    # Define which lines to exclude.
    excluded_lines = [
        "Language Name",
        "Alternate Names",
        "Writing system",
        "Population",
    ]

    # Go over the lines and delete links we don't need.
    for line in original_lines:
        if "##" in line and "]" in line:
            sole_language = line.split("]")[0]
            sole_language = sole_language.replace("[", "")
            line = sole_language

        if any(key in line for key in excluded_lines):
            continue

        new_lines.append(line)

    # Combine the lines into a new string.
    new_entry = "\n\n".join(new_lines)

    return new_entry