Extension talk:CategorySuggest/Archive

hmmm it works for category inserting and retrieving. however, I dont see a the category preview with this extension I tried it on MW1.11 and MW1.93 both Firefox and IE6 fail to do this.

the extension on itself is quite nice I have to say User:Dynasource

Possible Bug with NoWiki tags
I created a few articles that ranged in length from 18 to 35,000 characters on a private wiki I set up on my own server using MediaWiki 1.11. I realized afterward that I needed to add some  tags to parts of the article to make it look right. The only problem is that after saving with these tags, when I go back and try to edit the articles again, I get this error: "Fatal error: Call to undefined function fnajaxsuggeststripcats in /home/deepspac/public_html/aaronmatthias/extensions/CategorySuggest/CategorySuggestFunctions.php on line 170" At the current moment I don't have FTP access nor access to my webserver control panel, so I haven't tried disabling the extension yet. Any thoughts or suggestions??? --Ds093 15:06, 15 November 2007 (UTC)


 * I have the same error message as soon as  tags are in an article. I use Mediawiki 1.11.0 and CategorySuggest 1.0 --Alex 10:42, 27 November 2007 (UTC)
 * solved: I checked the code and it looks like a typo in CategorySuggestFunctions.php. Please replace line 170 with the string below --Alex 11:04, 27 November 2007
 * $cleanedtext = fnCategorySuggestStripCats($regulartext,$arrAllCats);

Suggest portion not showing?
I also am not seeing the Category Suggest portion showing up.
 * Same here. I have MediaWiki: 1.11.0 PHP: 5.2.5-tuxtools (cgi) and MySQL: 4.1.22 -- 141.30.75.108 13:11, 27 November 2007 (UTC)
 * You should both check if category suggest is correctly installed on Special:Version. Beside that, the portion only shows up in edit mode. --Alex 18:36, 30 November 2007 (UTC)

Previewing the changes
Would it be possible to make a patch where the categories that are currently written in the box don't get dumped when the article changes are previewed? I wind up having to copy and paste the category list every time on my Wiki each time I preview the page. 68.219.84.74 03:12, 21 December 2007 (UTC)

Removing categories!
I installed this on Mediawiki 1.11 and while it adds a category to an article, if you preview it the categories go blank and when it is finally saves all the categories (new and old) are deleted. I think this may be a product of having to enter a captcha before saving.

Preformatted text problem.

I found a problem with preformatted text. When I click edit on a page with preformatted text, the leading spaces got trimmed. Looks like the $m_pageObj->textbox1 = trim( $finaltext ); line in CategorySuggestFunctions.php is causing problem.

We've encountered the same problem (categories were deleted from page at preview). A solution to this problem is very much appreciated.

List of issues
Andreas, there's a lot of interest in CategorySuggest where I work as a way of getting categories on pages. Unfortunately, in addition to the issues noted above (error in code,  causes bad page processing, categories dropped on preview, leading spaces are removed), there's a few other things that came up: Are you still working on this extension? --JaredM 20:50, 15 February 2008 (UTC)
 * adds a space after a < /nowiki> tag for each time the page is edited,
 * adds a line break before each  tag for each time the page is edited,
 * it tricky to use with and tags,
 * categories with characters other than spaces, letters and numbers are not found on the page (e.g. ".", "-"),
 * category lookup is case-sensitive,
 * 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,
 * Soeren notes that the suggestions are currently sent with no charset specified,
 * should it make use of the Ajax library?