Extension:CategorySuggest

What can this extension do?
Adds input box to edit and upload page which allows users to assign categories to the article. When a user starts typing the name of a category, the extension queries the database to find categories that match the user input.


 * Extension appears to match by prefix only, so on the LabView wiki, typing "bugs" does not offer "LabView bugs".

This extension has been extracted from the code in Extension:SelectCategoryTagCloud.

Download instructions
Please download the extension from SVN or unzip the zip place the files into the extensions folder:. Note: $IP stands for the root directory of your mediawiki installation, the same directory that holds LocalSettings.php.

It's Our House Now
Song Begins (Clock-ticking.) (Villains Laughter.) (Startings 3 Ghosts at Dorie Goodwyn's Party.) (Centers of Boos.) (Gary Lutz the Bee puts Numbuh 1 and Isabella away.) (Z-Putties Throws Numbuh 1 and Isabella in House of Toons into A House of Villains.) (House of Toons into House of Doremi.) (Villains Laughter.)
 * Dorie: This could be quite the place.
 * Caitlyn: Full of wholesome happy faces. (severals of 3 Ghosts.)
 * Reanne: Hanging Out.
 * Ellie: Feeling Fine.
 * Mirabelle: Where's Everyone a Friend of Mine! (center of Dr. Brewer Clone, Hexxus, and Werewolf.)
 * Caitlyn: Inside the Evil Joint (severals of 3 Ghosts.)
 * Ellie: Every Guest gets to the point.
 * Dorie Caitlyn Mirabelle Ellie and Reanne: This Day'll live in infamy. (top center of Autumn Amanda Mud Monster Older Mask Shopkeeper Mask Haunted Mask Justin Puttinski happy man pipe Melissa Gia Stewart Oliver Simon Todd Mr. Boss Slappy Mega Mom Destructo Dad Knightbrace Toilenator Lawn Gnomes Keith Masked Mutant Penny Josie Cuddles Headless Ghost Shrunken Head Big Brother Abominable Snowman Carey Shannon Peter and Egg Monster.)
 * Reanne: The House of Toons is History!
 * All: It's Our House Now.
 * All: It's Our House Now. (top center of Josie Slappy Count Spankulot Queen Beryl Headless Ghost Mega Mom Destructo Dad Shannon Abominable Snowman Lizard Creeps Scooter Amaz-O Barking Ghost Horror Common Cold Carey Yamauchi Peter Masked Mutant Truck Driver Amanda Autumn Regina and Beth 6 Gum Gangs Ernest Juliet Queen Vexus Willard David Father Rocky iguana boy Melissa rabbit-tiki Susie Beast from the East A Hand with Piano triangle costume Gary the Bee Mud Monster Puttinski Penny Belinda Jack-O-Lanterns 2 Black Mens masked costume sheep costume and lightbulb-head.)
 * Amanda and Autumn and Regina and Beth: It's a Fact you can't ignore.
 * Slappy Amaz-O Horror and Egg Monster: Shut the Windows. (top center of Cuddles with Caitlyn, Haunted Mask with Dorie, and Teen Tornado with Reanne.)
 * Sleepy Ghost Kid: Lock the Doors. (scared of Banjo and Glover.)
 * All: It's Our House Now.
 * Mr. Wood Hanson Ernest Peter and Rocky: raise your mugs, you thieves and thugs.
 * Monster Blood David and Todd: Join the rabble-raising crowd.
 * All: It's Our House Now. (top center of Cuddles Queen Vexus Keith Gary the Bee Stickybeard and Sleepy Ghost Kid.)
 * Susie Williams and Beast from the East: All the Coolest Cutiest Love fit in so perfectly Awww.
 * Queen Beryl: Every evil queen gets due respect. (top center of Stewart and Headless Ghost.)
 * Hexxus: Love Your Work. (next to Werewolf.)
 * (Reanne Griffth puts Isabella Garcia-Shapiro hypnotized by Gary Lutz the Bee from Why I'm Afraid of Bees.)
 * Gary Lutz the Bee: You'll Forget your Troubles. Put Your Trust in Me. (Reanne Griffth puts Isabella Garcia Shapiro on Gary the Bee's Eyes.)
 * Queen Vexus: You've Had your Fun. (army of Z-Putties.)
 * Z-Putties: You've made your play. (top center of Ms. Goodwall Oliver Red Lawn Gnome Headless Ghost and David.)
 * All: But every rodent had his day! (top center of space boy Haley and Stickybeard to center Z-Putties Heading Friendly Evil Friends of Villains of Dorie Ellie and Gary the Bee.)
 * All: It's Our House Now. (top center of Slappy Simon Robin Food and Lizard Creep.) (top center of Cuddles with Caitlyn, Haunted Mask with Dorie, and Carey with Reanne.)
 * Chewy and Gooey: Down and Dirty (top center of Nicholas Peter and Masked Mutant.)
 * All: It's Our House Now. (top center of Hexxus and Werewolf.)
 * Mummy Mud Monster Simon and Mr. Mortman: Me Hearty. (top center of Hanson.)
 * Mirabelle: What a place for breakin' bread! (top center of Simon and Mud Monster.)
 * Belinda and Sponge Creature: Things are Better. (top center of Wonder Woman Jzapal and Candace.)
 * Queen Vexus: OFF OF THE THEIR HEADS.
 * All: It's Our House Now. (top center of Conga Line as iguana boy Teen Tornado Belinda Huggins Mr. Simon Mr. Mogul Cuckoo Bird and Hanson.)
 * Werewolf: What a Party. (top center of blue boy Werewolf Haley and Older Mask.)
 * All: Join the fun with no regrets! (top center of Older Mask Haley Werewolf blue boy Haunted Mask space boy Dr. Brewer Clone Todd Slappy David Big Brother and purple men.)
 * All: Only greddy dirty deeds are allowed! (top center of several heroes with Z-Putties.)
 * Caitlyn: Get Those Numbuhs.
 * Ellie: Game Over Numbuh 1.
 * Reanne: Hit the Road Isabella.
 * Dorie: Take a Hike Morons.
 * All: It's Our House Now. (last top center of Conga Line as Lord High Executioner iguana boy Teen Tornado Belinda Higgins Mr. Simon Mr. Mogul Cuckoo Bird and Hanson.)
 * All: Your Bother Comin' Back It's Our House Now.

Song Ends

End

Cast of Orders in Goosebumps's House of Doremi

 * Dorie as Jafar
 * Caitlyn as Cruella de Vil
 * Reanne as Ursula
 * Ellie as Captain Hook
 * Mirabelle as Hades

Villains

 * Dorie Goodwyn (Leader)
 * Caitlyn Reanne Ellie Mirabelle Queen Beryl Hexxus Queen Vexus Z-Putties Sleepy Ghost Boy Vampire Ghost Boy Cyclops Ghost Girl Abominable Snowman Barking Ghost Cuckoo Bird Mummy Sea Monster Hammerhead Shark Egg Monster Ghost Beach Huge Monster Shadow Figure Haunted Mask King Jellyjam Coach Jellyjam Shrunken Head Swamp Monster Sponge Creature Mirror Max Monster Blood Mr. Wood Horror Dr. Fritz Scarecrow Giant Praying Mantis Dr. Brewer Clone Sabre Dead Peoples Werewolf Swamp Hermit Masked Mutant Amaz-O Mr. Saur Mud Monster Lawn Gnomes Slappy Cuddles Headless Ghost Lord High Executioner A Executioner A Hand with Piano Giant Worm The Worms Shopkeeper Mask Older-Mask Clarissa Rocky Gary the Bee Mr. Mortman Beast from the East Della Two Pumpkin Heads Jack-O-Lanterns Count Nightwing Two Black Mens Blob Monster An Goldfish Egypt Spider The Snowman Larry Boyd Hairy Monster Vanessa Giant Evan Ross Lizard Creeps Brent Todd Stewart Oliver Simon Belinda Josie Penny Amanda David Gia Justin Autumn Hanson Haley Yamauchi Carey Scooter Julier Peter Shannon Phillip Keith Susie Melissa Mackenzie Nicholas Father Mr. Boss Count Spankulot Gramma Stuffum Chester Fizz Cat Lady Common Cold Robin Food Little Juan Hungry Men Ice Cream Men Mr. Wink Mr. Fibb Toilenator Knightbrace Stickybeard Chewy Gooey Candy Pirates Dumb John Silver Mr. Washer Ernest Professor XXXL iguana boy Puttinski Super Principal Mad Dad Terrible Tutor Heliteacher Midwestern Mom Candy Guy space boy Laura Potty Mouth Ms. Goodwall Masked Coffee Cuppa Joe Mr. Mogul Mr. Simon Soccer Mom masked costume Professor Bob Mega Mom Destructo Dad Willard lightbulb-head sheep costume Mr. Majors Mrs. Majors Dodgeball Wizard Teen Tornado Liver Onions Truck Driver SCS Kids 6 Gum Gangs Big Brother happy man pipe fishbowl-head blue boy purple men and rabbit-tiki.

Installation
To install this extension, add the following to LocalSettings.php: Configure the MediaWiki database credentials in CategorySuggestSuggest.php. If necessary, customise the location of the CategorySuggestSuggest.php file on your webserver in CategorySuggest.js. (Obsolete, Lindele 17:49, 10 March 2008 (UTC))

To Do

 * Categories disappear after clicking on 'Preview' (Completed, Lindele 18:04, 10 March 2008 (UTC))
 * Modify SQL query to allow search for multiple terms (currently search ignores everything after a user entered a space character) (Completed, Lindele 17:49, 10 March 2008 (UTC))
 * Add event to resultsdiv so that hitting ESC clears the div (Completed. ESC not working, but a mouse click outside the results area will clear it (Kudos to Jared Milbank), Lindele 17:49, 10 March 2008 (UTC))
 * Change resultsdiv to display in block (one single column) (Completed, Lindele 17:49, 10 March 2008 (UTC))
 * Make resultsdiv navigateable. Google suggest and other sites allow users to navigate the results list with the arrow keys.
 * Highlight matching characters of user input with results list (user types MI and all results matching MI have the MI part of the word in bold or different color) (Completed (Kudos to Jared Milbank), Lindele 17:49, 10 March 2008 (UTC))
 * Move CategorySuggestSuggest.php page to a Mediawiki Query API based solution. Need to extend API to enable that feature. (Completed (Kudos to Jared Milbank), Lindele 17:49, 10 March 2008 (UTC))
 * Optimise for large category sets. If this extension would be run against Wikipedia, it would be choked by the large number of categories.
 * Adds a space after a < /nowiki> tag for each time the page is edited (Completed, Lindele 17:49, 10 March 2008 (UTC))
 * Adds a line break before each  tag for each time the page is edited,
 * It is tricky to use with and tags, (perhaps there should be a user preference to turn it off, so they can prevent pages being parsed)
 * Categories with characters other than spaces, letters and numbers are not found on the page (e.g. ".", "-") (Completed, Lindele 17:49, 10 March 2008 (UTC))
 * Category lookup is case-sensitive (Completed, Lindele 17:49, 10 March 2008 (UTC))
 * Hard to use with | to reorder categories,
 * Sometimes does not show categories that have just been added (caching issue),
 * does not look up categories including some special characters when you type them (e.g. &),
 * Inserts some special characters in markup format (e.g. & becomes &amp ;),
 * Form should be created by javascript extension so it is not presented to users without javascript (Completed (Kudos Jared Milbank), Lindele 17:49, 10 March 2008 (UTC))
 * Soeren notes that the suggestions are currently sent with no charset specified (Changed to use AJAX API, retest of this bug required, Lindele 17:49, 10 March 2008 (UTC))
 * this extension seems to disable the special:allmessages function: the page comes up blank. I'm not sure if this is a local issue of mine.. mailto:friso.d@gmail.com Friso