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
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
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
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
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
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
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
Valid reasons for using MediaWiki on Windows in this way are either:
* Your boss is making you do it, or * You want a fun and difficult technical challenge.
Or preferably both. If neither apply, you should probably look at the various ways of getting access to Linux, such as
https://www.mediawiki.org/wiki/MediaWiki-Vagrant http://aws.amazon.com/free/ http://www.hostgator.com/apps/wiki-hosting
-- Tim Starling
On 16/02/15 18:49, Brenton Horne wrote:
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
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
+1 on this. I've found MediaWIki on anything other than Linux (I've also tried FreeBSD and Solaris) is something you can get to work eventually, but you're fighting an uphill battle.
(The good bit in Linuxes compared to other Unixes is that they usually have excellent dependency resolution. Tracking down all the bits on sunfreeware to get rsvg to work on Solaris was ... interesting.)
On 16 February 2015 at 22:32, Tim Starling tstarling@wikimedia.org wrote:
Valid reasons for using MediaWiki on Windows in this way are either:
- Your boss is making you do it, or
- You want a fun and difficult technical challenge.
Or preferably both. If neither apply, you should probably look at the various ways of getting access to Linux, such as
https://www.mediawiki.org/wiki/MediaWiki-Vagrant http://aws.amazon.com/free/ http://www.hostgator.com/apps/wiki-hosting
-- Tim Starling
On 16/02/15 18:49, Brenton Horne wrote:
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
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
You can mostly compensate for the SVG issue by enabling the NativeSvgHandler extension to cover almost all issues clientside, but I concur the whole special character filenames issue on Windows based OSes drives me crazy and I wish was remedied.
I have both a Windows and Linux MW localhost setup for testing, and I'd enjoy equal functionality on both.
On 2/16/2015 4:45 PM, David Gerard wrote:
+1 on this. I've found MediaWIki on anything other than Linux (I've also tried FreeBSD and Solaris) is something you can get to work eventually, but you're fighting an uphill battle.
(The good bit in Linuxes compared to other Unixes is that they usually have excellent dependency resolution. Tracking down all the bits on sunfreeware to get rsvg to work on Solaris was ... interesting.)
On 16 February 2015 at 22:32, Tim Starling tstarling@wikimedia.org wrote:
Valid reasons for using MediaWiki on Windows in this way are either:
- Your boss is making you do it, or
- You want a fun and difficult technical challenge.
Or preferably both. If neither apply, you should probably look at the various ways of getting access to Linux, such as
https://www.mediawiki.org/wiki/MediaWiki-Vagrant http://aws.amazon.com/free/ http://www.hostgator.com/apps/wiki-hosting
-- Tim Starling
On 16/02/15 18:49, Brenton Horne wrote:
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
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
On 17/02/15 09:56, Arcane21 wrote:
You can mostly compensate for the SVG issue by enabling the NativeSvgHandler extension to cover almost all issues clientside, but I concur the whole special character filenames issue on Windows based OSes drives me crazy and I wish was remedied.
Did you ever look at the PHP 6 source code? The changes were quite intrusive. You can see why there would be limited interest in doing such a thing just for Windows support.
It could be done in simpler ways in the PHP core. For example you could have a php.ini setting for the character set of all filename function parameters. Then the Windows backend could iconv() the input charset to UTF-16 and call the relevant "wide" function. It would be difficult to get it to pass an RFC, but it would be simple enough to maintain as a local patch.
-- Tim Starling
mediawiki-l@lists.wikimedia.org