Extension talk:CategoryTests/Archive

Hi Ryan. It seem to this extension don't allow using Chinese like following: It will show the following message invalidtitle: bad title --Roc michael 06:13, 6 May 2008 (UTC)
 * That would then be a bug with MediaWiki's API and not this extension, you may want to create a bug on bugzilla (product: MediaWiki, component: API, issue: non-English characters are not being checked correctly as titles in queries or something along that matter). --Skizzerz talk - contribs 23:51, 6 May 2008 (UTC)

Bug in $data array variable?
I made the following code changes in order to get ifcategory to cooperate. Jlerner 04:33, 15 May 2008 (UTC) $ diff CategoryTests.php CategoryTests.php.orig 53d52 < 			$page_id = $title->getArticleID; 59d57 < 			$page_id = $title->getArticleID; 65c63 < 		if(!array_key_exists('categories', $data['query']['pages'][$page_id])) { --- > 		if(!array_key_exists('categories', $data['query']['pages']['1'])) { 68,69c66,67 < 		foreach( $data['query']['pages'][$page_id]['categories'] as $key => $value ) { < 			if("Category:{$category}" == $data['query']['pages'][$page_id]['categories'][$key]['title']) { --- > 		foreach( $data['query']['pages']['1']['categories'] as $key => $value ) { > 			if("Category:{$category}" == $data['query']['pages']['1']['categories'][$key]['title']) {