Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$wgPageAttachment_allowedCategories[] Not working in 1.5.0 ? #68

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 8 Feb 2013 at 2:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant