aldrinbaroi / mediawiki-page-attachment

Automatically exported from code.google.com/p/mediawiki-page-attachment
Other
1 stars 1 forks source link

$wgPageAttachment_allowedCategories[] Not working in 1.5.0 ? #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. any wiki page
2.
3.

What is the expected output? What do you see instead?
I was hoping to have the page attachment feature turned off of all pages by 
default, and followed the Configuration documentation to use 
$wgPageAttachment_allowedCategories[].  But this appears not to be working in 
1.5.0.

What version of the product are you using? On what operating system?

  PageAttachment version  : 1.5.0
  MediaWiki version       : 1.17.0
  PHP version             : 5.2.6
  Database name           : MySQL
  Database version        : 5.0.67
  Operating System name   : Windows
  Operating System version: XP

Please provide any additional information below.
How can I turn off page attachment by default and only allow it when a page is 
a member of Category "Attachments".  I tried also the 
$wgPageAttachment_attachmentCategory['allowedCategories'] = 
'PredefinedCategoriesOnly'; with 
$wgPageAttachment_attachmentCategory['predefinedCategories'][] = 'Attachments'; 
but that does not seem to work either.

Original issue reported on code.google.com by sc_stra...@yahoo.com on 8 Feb 2013 at 2:56

GoogleCodeExporter commented 9 years ago
Hi SC_Straker:

$wgPageAttachment_allowedCategories was added from MediaWiki 1.18 and it is not 
available for MediaWiki 1.17 or lower.

Sorry, I need to update the documentation to specify feature availability for 
by MediaWiki/PageAttachment versions.

Let me know if I can help you anything else.

Sincerely yours,

Aldrin

Original comment by Aldrin.Baroi@gmail.com on 9 Feb 2013 at 7:45