Extension talk:ArticleToCategory2

From MediaWiki.org
Jump to: navigation, search

Contents

Error >> Solved version 0.2 [edit]

I get the error:

Notice:  Undefined variable: wgarticletocategory2Config_blacklist in ..\extensions\ArticleToCategory2\ArticleToCategory2.php on line 132. What to do?

Ploegvde 08:41, 2 September 2010 (UTC)

Hi! I have uploaded a new version that should work better. Note that the name of the parameters changed. Thanks for the Dutch text! I have Google translated some extra text that I would be happy if you had a look at (it's the articletocategory2-desc). /MikaelLindmark 17:20, 2 September 2010 (UTC)

Thankt a lot. Error is solved. The translation of Google is good, I think this is better. "Plaatst een invoerveld op elke categoriepagina. Dit maakt het mogelijk om direct een nieuwe pagina in de categorie aan te maken" Good luck! Erwin van der Ploeg 07:36, 7 September 2010 (UTC)

Difference? [edit]

What is the difference between this extension and "ArticleToCategory" (the original)? Ed March12, 2011

First of all, I try to keep it alive since the original code isn't supported anymore. I listen to sugested changes and try to fix bugs found. If you look at the Extension:ArticleToCategory2#What can this extension do? section you see that I added some sugested features from the Extension_talk:Add_Article_to_Category page. It's also translated in more than 50 languages. /MikaelLindmark 13:18, 13 March 2011 (UTC)

Error [edit]

When using the blacklist with a german wiki, I get the following error: Notice: Uninitialized string offset: 0 in D:\xampp\htdocs\wiki\extensions\ArticleToCategory2\ArticleToCategory2.php on line 117

It looks like it's in a Windows environment, but what version of Windows and Mediawiki are you using? Does it work if you use other categories? /MikaelLindmark 21:41, 19 August 2011 (UTC)
I had the same problem and solved it by looking at the MediaWiki special page which is used to exclude categories. I added a header (e.g. "Excluded Categories from "Add To Article 2" Extension") above the excluded categories (which worked with MediaWiki 1.65). Now with 1.70 there seems to be a problem with the header. Anyway just make sure that your special page just contains the excluded categories and it should work again! - 30.10.2011
Thanks for the response! I'll have to test it my self and then I'll update the instructions. /MikaelLindmark 06:15, 31 October 2011 (UTC)

Extension only shown for administrators [edit]

Problem: the extension is only shown for users with the right "administrator" in the wiki. wggrouppermissions in localsettings.php is set (with wildcard * for all users) and the specialpage userrights also shows : (all) Artikel zu einer Kategorie hinzufügen (ArticleToCategory2) Please help ...

In LocalSettings.php, check that the following lines are there and the "require_once" line is in front of the others. Also check for missplaced lines with ArticleToCategory2 settings (other place in LocalSettings.php, other php files, etc).
require_once("$IP/extensions/ArticleToCategory2/ArticleToCategory2.php");
$wgarticletocategory2ConfigBlacklist=false;
$wgGroupPermissions['*']['ArticleToCategory2'] = true;
$wgGroupPermissions['*']['ArticleToCategory2AddCat'] = false;
/MikaelLindmark 10:20, 21 October 2011 (UTC)

Need for suggestion [edit]

I think that for this extension is need the suggestion of existing pages and categories.

--WhiteTigerItaly (talk) 14:08, 3 October 2012 (UTC)

With FacebookConnect ? [edit]

Excuse me for my bad english (( Can I add ? \$wgGroupPermissions['fb-groupie']['ArticleToCategory2'] = true; Is it possible ?

Thanx

Yes, if you have a group 'fb-groupie' and you only want that group to have the ArticleToCategory2 functionality. Place it somewhere after the line require_once("$IP/extensions/ArticleToCategory2/ArticleToCategory2.php"); /MikaelLindmark (talk) 21:01, 13 April 2013 (UTC)