ircredirect

Tool created by Ahecht. Source available at https://tools.wmflabs.org/ircredirect/source.php

The ircredirect tool redirects users to an irc channel on kiwiirc.com with a randomly generated username. The generated username consists of an adjective taken from a list of 20 adjectives, a noun taken from a list of nouns, and a two-digit number. The two digit number and the adjective are issued sequentially, while the noun is chosen randomly from the list.

By default, the script redirects to the Wikipedia Help Channel (wikipedia-en-help on irc.freenode.net). This can be overridden by adding the channel= and server= parameters to the url, e.g. ircredirect/?server=irc.freenode.net&channel=wikipedia-en-help

By default, the seed values are taken from at Wikipedia:IRC help disclaimer/nicks. This can be changed by adding a baseurl= parameter to the url. The URL should be urlencoded, e.g. ircredirect/?baseurl=https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DWikipedia%3AIRC_help_disclaimer%2Fnicks%3Faction%3Draw

The script will return the text of the redirect URL instead of actually performing the redirect if the debug= paramter is set to any value.

The seed value file is a raw text file, and should contain two lists, one of adjectives and one of nouns. Each list consists of one word per line (do not try to add HTML or wiki line breaks). The noun list should start with the line ----<!--NOUN VALUES ONLY BELOW THIS LINE-->---- and end with the line ----<!--NOUN VALUES ONLY ABOVE THIS LINE-->----. The adjective list should start with the line ----<!--ADJECTIVE VALUES ONLY BELOW THIS LINE-->---- and end with the line ----<!--ADJECTIVE VALUES ONLY ABOVE THIS LINE-->----. If the file is not found or not properly formatted, the generated name will default to "WPHelp" followed by a two digit number. An example seed file is shown below:


This page is used to seed the generated usernames created by toollabs:ircredirect. No other text must be between the indicated lines, even if it is hidden or a comment. The below noun list contains animal or fruit names, one for each letter of the alphabet. ----<!--NOUN VALUES ONLY BELOW THIS LINE-->---- Alpaca Berry Canary Durian Emu Fig Grape Heron Ibex Jaguar Kiwi Lemur Melon Narwhal Ocelot Papaya Quetzal Rhino Stork Tiger Unicorn Vervet Walnut Xerus Yew Zebra ----<!--NOUN VALUES ONLY ABOVE THIS LINE-->---- The below adjective list contains color and gemstone names, each with a unique starting letter. '''This list must contain exactly 20 items.''' ----<!--ADJECTIVE VALUES ONLY BELOW THIS LINE-->---- Amber Brown Cyan Diamond Emerald Green Indigo Jade Khaki Lime Magenta Navy Orange Purple Red Silver Tan White Yellow Zircon ----<!--ADJECTIVE VALUES ONLY ABOVE THIS LINE-->----

The MIT License

Copyright (c) 2017 Ahecht

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.