So how do I implement these changes on my PC? I am a noob when it comes to MediaWiki and PHP, so simple step-by-step instructions would be much appreciated.
On 16 February 2015 at 16:13, Tim Starling tstarling@wikimedia.org wrote:
There is
https://gerrit.wikimedia.org/r/#/c/125573/
It doesn't look too hacky to me, and it was rebased just a few months ago. Considering who the author is, it probably works. Note that img_auth.php needs to be used. There is an article about img_auth.php here:
https://www.mediawiki.org/wiki/Manual:Image_Authorization
On Bugzilla there are a lot of suggestions to use iconv() to convert to some random 8-bit character set, which doesn't seem like a great idea to me.
I find it somewhat ironic that it's necessary to encode to ASCII on Windows, given that the Windows has been natively UCS-2/UTF-16 since the introduction of the Win32 API, whereas Linux has never had proper character set support.
-- Tim Starling
On 14/02/15 15:15, Arcane 21 wrote:
There is an extremely hacky fix that is not recommend somewhere on Bugzilla/Phabricator, but otherwise, no.
This issue does not affect Linux or Mac users, but is unsolvable on Windows aside from that hacky fix (which is a pain to set up and can corrupt the database if I recall right).
Date: Sat, 14 Feb 2015 13:40:36 +1000 From: brentonhorne77@gmail.com To: mediawiki-l@lists.wikimedia.org Subject: Re: [MediaWiki-l] Enabling special character file names
Yeah I'm running Windows. So I'm guessing there's no known way of overcoming this issue?
On 14 February 2015 at 13:34, Arcane 21 arcane@live.com wrote:
Small correction to previous message: Windows.
From what I understand, Windows based systems have trouble parsing certain characters when MediaWiki is run on a WAMP stack due to the Windows settings for saving filenames.
From: arcane@live.com To: mediawiki-l@lists.wikimedia.org Subject: RE: [MediaWiki-l] Enabling special character file names Date: Fri, 13 Feb 2015 21:32:58 -0600
Is your web stack on a Wnodws based system? If so, they have known issues with special character file names.
Date: Sat, 14 Feb 2015 13:12:35 +1000 From: brentonhorne77@gmail.com To: mediawiki-l@lists.wikimedia.org Subject: [MediaWiki-l] Enabling special character file names
Hi
I'd like to allow special characters in file names on my Wiki. For
example,
currently I'd like some file names to include Greek letters like alpha
and
beta. In order to avoid being accused of using this list as my personal "Google" I am giving you the details of all my searches of Google and Wikimedia sites. I have checked https://phabricator.wikimedia.org/T3780
but
I couldn't see any solutions to this problem. I was going to try https://phabricator.wikimedia.org/T3780#60419 but after I searched SpecialUpload.php I did not find anywhere in the file with
if( $this->saveUploadedFile(
in it, hence I couldn't even give it a try (granted that posted made
almost
8 years ago).
I also found https://www.mediawiki.org/wiki/FileBackend after searching
for
FileBackend, as it was a popular topic in this thread, in a MediaWiki search but I hadn't the foggiest how it applied to what I wanted. I also saw
http://stackoverflow.com/questions/4138705/mediawiki-special-characters-in-f...
but I haven't a clue what the accepted answer meant for me.
Thanks for your time, Brenton _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l