"""
Created on 2026-03-28

@author: wf
"""

from dataclasses import dataclass
import mwstools_backend


@dataclass
class Version(object):
    """
    Version handling for MediaWikiServerTools
    """

    name = "MediaWikiServerTools"
    description = "MediaWiki Server Management System - Apache Site management, SQL backups, cron-based backups "
    version = mwstools_backend.__version__
    date = "2022-11-16"
    updated = "2026-03-25"
    authors = "Wolfgang Fahl"
    doc_url = "https://wiki.bitplan.com/index.php/MediaWikiServerTools"
    chat_url = "https://github.com/WolfgangFahl/MediaWikiServerTools/discussions"
    cm_url = "https://github.com/WolfgangFahl/MediaWikiServerTools"
    license = f"""Copyright 2022-2026 contributors. All rights reserved.
  Licensed under the Apache License 2.0
  http://www.apache.org/licenses/LICENSE-2.0
  Distributed on an "AS IS" basis without warranties
  or conditions of any kind, either express or implied."""
    longDescription = f"""{name} version {version}
{description}
  Created by {authors} on {date} last updated {updated}"""
