Topic on Project:Support desk

Changing filename prefix blacklist of my own mediawiki installation

4
Herrmanthegerman (talkcontribs)

Hello,

I'm running an older version of mediawiki on my NAS.

I'd like to change the blacklist of forbidden filename prefixes which can be found here:

MediaWiki:Filename-prefix-blacklist

How do I do this? Even as Administrator I can not change this page so I assume the original data is included somewhere in the PHP code ín the installation folder on the server. Could anybody please point me to it?

Thanks.


Background information: filename of uploaded image files is checked against a list of prefixes. When a match is found, a "filename-bad-prefix" message is shown to the uploader and the upload does not continue. In English version of Mediawiki this messags reads as 'The name of the file you are uploading begins with '''\"\$1\"''', which is a non-descriptive name typically assigned automatically by digital cameras. Please choose a more descriptive name for your file.'

Bawolff (talkcontribs)

You should be able to edit that as an admin. Some mediawiki namespace pages also require interface-admin rights but i dont think that's one of them.

Bawolff (talkcontribs)

Check also that on Special:listgrouprights on your wiki that your user is in a group that has editinterface rights

Herrmanthegerman (talkcontribs)

Thanks Bawolff.👍 Strangely enough, I can now edit this page. I don't know why I could not edit this page before.

I checked on "Spezial:Benutzer" that my user is in the Administrator group.

I'm not sure but I think that when I opened "MediaWiki:Filename-prefix-blacklist", there was only a "View Source" link (no "edit" link) and I clicked on it and the page had a "Save" button below the text area. 🤷‍♂️

Reply to "Changing filename prefix blacklist of my own mediawiki installation"