User:Flubot/en to topical categories

Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search

Adding en to topical categories

Add this replacement to fixes.py

Run with

python replace.py -fix:topiccats -cat:'Amphibians'

(or whatever)

regex[edit]

    'topiccats': {
        'regex': True,
        'msg': {
            'en': u'adding en to topical categories',
         },
         'replacements': [
            (u'\[\[Category:(A Christmas Carol|Accounting|Acids|Acoustics|Acting|Adjectives|Administration|Advertising|Africa|Age|Agriculture|Alaska|Alchemy|Alcoholic beverages|Alcoholism|Algebra|Algebraic geometry|Alkaloids|Alloys|Alphabets|America|American fiction|Amino acids|Amphibians|Analysis|Analytical chemistry|Anatomy|Ancient Egypt|Ancient Greece|Ancient Rome|Anglicanism|Animal foods|Animal sounds|Animals|Animation|Antelopes|Anthropology|Ants|Antshrikes|Appearance|Apple|Applied mathematics|Applied sciences|Arabic fiction|Arabic letter names|Arachnids|Archaeology|Archery|Architecture|Arithmetic|Armenia|Armenian mythology|Art|Arthurian mythology|Artificial intelligence|Artistic works|Asia|Astrology|Astronomy|Astrophysics|Athletics|Atolls|Australia|Australian Aboriginal mythology|Australian rules football|Austria|Auto parts|Automobiles|Automotive|Autonomous communities of Spain|Aviation|Awards|Babies|Backgammon|Bacteriology|Bahá\'í Faith|Bangladesh|Barisal Division|Baseball|Basketball|Bats|BDSM|Bedding|Beer|Beetles|Behaviour|Belarus|Belgium|Betting|Bible|Biblical characters|Bicycle parts|Billiards|Bingo|Biochemistry|Biology|Birds|Birds of prey|Birdwatching|Birthstones|Blacks|Blues|Board games|Bodily fluids|Body language|Bodybuilding|Books|Books of the Bible|Books of the Poetic Edda|Botany|Bowling|Brain|Brazil|Brazilian folklore|Breakfast cereals|Brewing|Bridge|British fiction|Broadcasting|Browns|Bryology|Buddhism|Bullfighting|Burial|Business|Butterflies|Buttocks|Buttons|Cakes and pastries|Calculus|Camelids|Canada|Canadian football|Canids|Capital cities|Card games|Cardiology|Carpentry|Lewis Carroll|Category theory|Cats|Cattle|Celestial inhabitants|Central America|Ceramics|Cervids|Cetaceans|Chairs|Characters from folklore|Cheerleading|Cheeses|Chemical elements|Chemistry|Chess|Chess openings|Chickens|Children|China|Chinese New Year|Chittagong Division|Christianity|Cinematography|Cities|Cities in Bangladesh|Classical mechanics|Classical studies|Clerical vestments|Climatology|Climbing|Clocks|Clothing|Clouds|Coenzymes|Coffee|Colors|Colors of the rainbow|Combinatorics|Comedy|Comics|Communication|Communism|Compass points|Computational linguistics|Computer graphics|Computer hardware|Computer languages|Computer science|Computer security|Computing|Condiments|Connectors|Constellations in the zodiac|Construction|Containers|Continents|Cookware|Copyright|Copyright licenses|Cosmology|Countries|Countries of Africa|Countries of Asia|Countries of Central America|Countries of Europe|Countries of North America|Countries of Oceania|Countries of South America|Crafts|Cribbage|Cricket|Crime|Crime prevention|Criminal law|Criminology|Croatia|Cryptography|Cryptozoology|Crystallography|Cuba|Cultural anthropology|Culture|Curling|Currency|Cutlery|Cybernetics|Cycling|Cyrillic letter names|Cytology|Czechia|Dairy farming|Dairy products|Dance|Dances|Data|Databases|Day signs|Death|Deltiology|Democracy|Demonyms|Demoscene|Denmark|Dentistry|Departments of Guatemala|Departments of Nicaragua|Dermatology|Deserts|Design|Designer dogs|Developmental biology|Dhaka Division|Dharma|Diacritical marks|Dialects|Dictation|Diplomacy|Directions|Diseases|Distilled beverages|Divination|Dogs|Domestic cats|Dominoes|Dragons|Drama|Dressage|Drinking|Drugs|Ducks|Dwarf planets|Dwelling|E-mail|Eagles|Easter|Eastern Orthodoxy|Ecology|Economics|Education|Egypt|Egyptian mythology|Electrical engineering|Electricity|Electrodynamics|Electromagnetism|Elementary particles|Elephants|Embryology|Emergency services|Emotions|Endocrinology|Energy|England|English|English counties|English counties and regions|English place names|Entertainment|Entomology|Enzymes|Epidemiology|Epistemology|Equestrianism|Equids|Espionage|Estonia|Ethics|Ethnicity|Etymology|Eurasia|Europe|European Union|Exercise|Explosives|Extinct languages|Fabrics|Fairy tale|Fairy tale characters|Fairy tales|Falconry|Family|Fandom|Fantasy|Farewells|Fascism|Fashion|Felids|Female|Female animals|Fermions|Fiction|Fictional abilities|Fictional books|Fictional characters|Fictional crustaceans|Fictional locations|Fictional people|Fictional planets|Figure skating|Figures of speech|Film|Finance|Fingers|Finland|Fish|Fishing|Flags|Flowers|Folklore|Food and drink|Foods|Football|Football (Soccer)|Forest products|Forestry|Forests|Forteana|Foxes|France|Freemasonry|Freshwater birds|Fruits|Fungi|Furniture|Gaits|Galaxies|Gambling|Game strategies|Game theory|Games|Gaming|Gastropods|Gems|Genetics|Genres|Geography|Geology|Geometry|Geomorphology|Georgian letter names|Geospatial science|German States|Germany|Ghana|Glassblowing|Gnosticism|Go|Goats|God|Gods|Golf|Government|Grammar|Grammatical cases|Grammatical moods|Greece|Greek deities|Greek letter names|Greek mythology|Greens|Gregorian calendar months|Greys|Group theory|Gun dogs|Gymnastics|Hair|Haiti|Handball|Harry Potter|Hawaii|Headgear|Heads of state|Health|Healthcare|Hebrew calendar months|Hebrew letter names|Heraldic charges|Heraldic tincture|Heraldry|Herbs|Herding dogs|Herpetology|Hindu deities|Hinduism|Historical events|Historical periods|History|Hobbies|Hockey|Home|Homeopathy|Hominids|Hong Kong|Hormones|Horror|Horse gaits|Horse racing|Horse tack|Horses|Horticulture|Hotels|Household|Housing|Human|Human gaits|Humanities|Hungary|Hunting|Hunting dogs|IBM|Ice hockey|Iceland|Immunology|India|Individuals|Industries|Information|Information science|Inorganic chemistry|Inorganic compounds|Interdisciplinary fields|International law|Internet|Iowa|Iran|Ireland|Irish mythology|Islam|Islamic months|Islands|Isotopes|Israel|Italy|Jaipurhat District|Jamaica|Japan|Japanese fiction|Japanese mythology|Jargon|Jazz|Jewelry|Jewish Judaism|Juggling|Kentucky|Khulna Division|Knitting|Knots|Korea|Landforms|Language|Languages|Latin letter names|Latvia|Laughter|Law|Leptons|Letter names|Lexicography|Lexicons|LGBT|Library science|Light|Linear algebra|Linguistics|Liqueurs|Liquids|Literary genres|Literature|Lithuania|Livestock|Livestock guardian dogs|Locks|Looney Tunes and Merrie Melodies|Love|Lovecraftian horror|Machining|Magic words|Mahjong|Male|Mammals|Manga genres|Manufacturing|Marijuana|Marketing|Marriage|Marsupials|Martial arts|Marxism|Materials|Mathematics|Matter|Mauritius|Measuring instruments|Meats|Mechanisms|Medical signs and symptoms|Medicine|Metabolism|Metallurgy|Metals|Metaphysics|Metrology|Mexico|Microbiology|Microsoft|Military|Military ranks|Military vehicles|Milk|Mineralogy|Minerals|Mining|Miscellaneous|Mobile phones|Mollusks|Monarchy|Money|Monopoly|Monotremes|Months|Mormonism|Moths|Movement|Museums|Mushrooms|Music|Music genres|Musical instruments|Musical voices and registers|Musicians|Mustelids|Mycology|Mysticism|Mythological creatures|Mythological figures|Mythology|Names|Narratology|National anthems|Nationalities|Natural materials|Nature|Nautical|Nazism|Netherlands|Networking|Neurology|Neuroscience|Neurosurgery|Neurotransmitters|New Mexico|New Zealand|Newspapers|Ngarrindjeri birds|Nobility|Norse calendar months|Norse mythology|North America|North Korea|Norway|Nouns|Nuclear physics|Number theory|Nutrition|Nuts|Occult|Occupations|Oceania|Oceans|Oncology|Onomastics|Opera|Optics|Oranges|Organic compounds|Organizations|Ornithology|Orthography|Owls|Pain|Pakistan|Palynology|Panthers|Parapsychology|Particle physics|Parts of knots|Parts of speech|Pasta|Pastoral dogs|Penguins|Peninsulas|People|Periodicals|Personifications|Pharmaceutical drugs|Pharmacology|Philately|Philippines|Philosophy|Phobias|Phonetics|Phonology|Photography|Phycology|Physical chemistry|Physics|Physiology|Pigeons|Pigments|Pigs|Pinks|Place names|Places of worship|Planetology|Plants|Plot devices|Poetry|Poisons|Poker|Pokémon|Poland|Political science|Politics|Pornography|Portugal|Poultry|Primates|Principalities|Printing|Procyonids|Programming|Prosody|Proteins|Provinces of Canada|Provinces of Italy|Provinces of the Netherlands|Pseudoscience|Psychiatry|Psychoanalysis|Psychology|Psychotherapy|Public administration|Public safety|Publishing|Punctuation marks|Purples|Quantum mechanics|Quarks|Rabbits|Racquet sports|Radiation|Radio|Radioactivity|Rail transportation|Rain|Rajshahi Division|Rangpur Division|Real estate|Recreation|Recreational drugs|Reds|Reference works|Regencies of Indonesia|Regions of France|Relativity|Religion|Reptiles|Republics of Russia|Retrievers|Rhetoric|Rocks|Rodents|Roman deities|Romania|Rooms|Rosiculture|Rowing|Rubik\'s Cube|Rugby league|Rugby union|Runic letter names|Russia|Salads|Sandwiches|Saudi Arabia|Sausages|Scenthounds|Scents|Schools|Science fiction|Sciences|Scientists|Scientology|Scotland|Scrapbooks|Sculpture|Seabirds|Seafoods|Seals|Seas|Seasonings|Seasons|Security|Seismology|Semantics|Senses|Set theory|Sewing|Sex|Sex positions|Sexually transmitted diseases|Shapes|Sharks|Sheep|Shogi|Sighthounds|Signal processing|Sikhism|Singapore|Singing|Skateboarding|Skeleton|Skiing|Skirts|Slavery|Smell|Smoking|Snow|Snowboarding|Social sciences|Socialism|Society|Sociolinguistics|Softball|Software|Software engineering|Sony|Sound|Sound engineering|Soups|South Africa|South America|South Korea|Space|Spain|Spaniels|Spears|Spectroscopy|Spiders|Spiritualism|Sports|Sports areas|States of India|States of Mexico|Statistical mechanics|Steroids|Stock market|Stýrivolt|Sufism|Sugars|Sumo|Superheroes|Surfing|Swans|Sweden|Swimming|Swimwear|Switzerland|Swords|Systems|Systems theory|Taiwan|Talking|Taste|Taxonomy|Tea|Technology|Teeth|Telecommunications|Telephony|Television|Temperature|Tenses|Teratogens|Teratology|Terriers|Territories of Canada|Tetris|Texas|Textiles|Thailand|The Matrix|The Simpsons|Theater|Theory of computing|Thermodynamics|Thinking|Time|Tits|Tools|Topology|Torture|Tourism|Toxicology|Toy dogs|Toys|Transgender|Translation studies|Transliteration of Czech male given names|Transliteration of Danish male given names|Transliteration of English female given names|Transliteration of English male given names|Transliteration of English surnames|Transliteration of French female given names|Transliteration of German male given names|Transliteration of Greek male given names|Transliteration of personal names|Transliteration of Polish female given names|Transliteration of Polish male given names|Transliteration of Russian female given names|Transliteration of Russian male given names|Transliteration of Russian surnames|Transliteration of Swedish male given names|Transport|Travel|Trees|Trigonometry|Tupi mythology|Turkey|Two-up|Typography|Ufology|Ukraine|Underwear|United Kingdom|United States of America|Units of measure|Universities|Unknown etymology|Ursids|US States|Utah|Vector algebra|Venice|Vertebrates|Video game genres|Video games|Violence|Virology|Vision|Vitamins|Volcanology|Wales|Warships|Water|Water dogs|Watercraft|Waves|WC|Weapons|Web design|Websites|Weightlifting|Whales|Whites|Wiki|William Shakespeare|Wind|Winter sports|The Wizard of Oz|Woods|Working dogs|Wrestling|Writing|Writing instruments|Writing systems|Yellows|Yoga|Zimbabwe|Zoology|Zootomy|Zymurgy)\]\]',              u'[[Category:en:\\1]]'),
        ],
    },