Re: [MediaWiki-l] Short URLs with Apache on Sabayon Linux

2015-08-24 Thread Brenton Horne
I'll be damned it worked. I added:

RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]

to default_vhost.include between the  tags and now my short URL
works. Thanks a million, mate!

On 25 August 2015 at 08:52, Brenton Horne  wrote:

> No *.conf files in /etc/apache2/vhosts.d contains DocumentRoot
> "/var/www/localhost/htdocs" but a file called default_vhost.include in this
> /etc/apache2/vhosts.d directory does
>
> On 25 August 2015 at 08:41, Daniel Friesen 
> wrote:
>
>> That's not the file you're supposed to put the config.
>>
>> Your vhost files are included from `/etc/apache2/vhosts.d/*.conf`.
>>
>> One of those has a  entry with a DocumentPath of
>> `/var/www/localhost/htdocs`.
>> That is the file you're supposed to put the short URL config in. (Inside
>> the )
>>
>> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
>>
>> On 2015-08-24 3:26 PM, Brenton Horne wrote:
>> > Here's my httpd.conf file: http://pastebin.com/raw.php?i=rmP7jbYL
>> >
>> > On 25 August 2015 at 08:19, Daniel Friesen 
>> > wrote:
>> >
>> >> Ok, it's getting requests. But the RewriteEngine rule isn't listened
>> to,
>> >> there's no error saying RewriteEngine isn't available, and Apache's
>> >> standard /index.php/... handling isn't even taking effect.
>> >>
>> >> ...there is something terribly wrong with this Apache's configuration.
>> >>
>> >> What does the file where you added the short URL related Apache
>> settings
>> >> to look like?
>> >>
>> >> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/
>> ]
>> >>
>> >> On 2015-08-24 2:53 PM, Brenton Horne wrote:
>> >>> Here's my error_log file for Apache2:
>> >>>
>> >>> [Tue Aug 25 07:39:31 2015] [error] [client ::1] File does not exist:
>> >>> /var/www/localhost/htdocs/wiki
>> >>> [Tue Aug 25 07:39:36 2015] [error] [client ::1] File does not exist:
>> >>> /var/www/localhost/htdocs/w/index.php/SageMath
>> >>> [Tue Aug 25 07:45:11 2015] [error] [client ::1] File does not exist:
>> >>> /var/www/localhost/htdocs/w/index.php/SageMath
>> >>> [Tue Aug 25 07:45:15 2015] [notice] caught SIGWINCH, shutting down
>> >>> gracefully
>> >>> [Tue Aug 25 07:45:32 2015] [notice] suEXEC mechanism enabled (wrapper:
>> >>> /usr/sbin/suexec)
>> >>> apache2: Could not reliably determine the server's fully qualified
>> domain
>> >>> name, using 127.0.1.1 for ServerName
>> >>> [Tue Aug 25 07:45:34 2015] [notice] Apache/2.2.31 (Unix)
>> mod_ssl/2.2.31
>> >>> OpenSSL/1.0.1p configured -- resuming normal operations
>> >>> [Tue Aug 25 07:45:36 2015] [error] [client ::1] File does not exist:
>> >>> /var/www/localhost/htdocs/w/index.php/SageMath
>> >>> [Tue Aug 25 07:47:33 2015] [error] [client ::1] File does not exist:
>> >>> /var/www/localhost/htdocs/linux
>> >>> [Tue Aug 25 07:47:40 2015] [error] [client ::1] File does not exist:
>> >>> /var/www/localhost/htdocs/wiki
>> >>>
>> >>> Where can I find the Listen, VirtualHost and Allow/Deny settings?
>> >> ___
>> >> 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
>>
>
>
>
> --
> Thanks for your time,
> Brenton
>



-- 
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Short URLs with Apache on Sabayon Linux

2015-08-24 Thread Brenton Horne
No *.conf files in /etc/apache2/vhosts.d contains DocumentRoot
"/var/www/localhost/htdocs" but a file called default_vhost.include in this
/etc/apache2/vhosts.d directory does

On 25 August 2015 at 08:41, Daniel Friesen 
wrote:

> That's not the file you're supposed to put the config.
>
> Your vhost files are included from `/etc/apache2/vhosts.d/*.conf`.
>
> One of those has a  entry with a DocumentPath of
> `/var/www/localhost/htdocs`.
> That is the file you're supposed to put the short URL config in. (Inside
> the )
>
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
>
> On 2015-08-24 3:26 PM, Brenton Horne wrote:
> > Here's my httpd.conf file: http://pastebin.com/raw.php?i=rmP7jbYL
> >
> > On 25 August 2015 at 08:19, Daniel Friesen 
> > wrote:
> >
> >> Ok, it's getting requests. But the RewriteEngine rule isn't listened to,
> >> there's no error saying RewriteEngine isn't available, and Apache's
> >> standard /index.php/... handling isn't even taking effect.
> >>
> >> ...there is something terribly wrong with this Apache's configuration.
> >>
> >> What does the file where you added the short URL related Apache settings
> >> to look like?
> >>
> >> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
> >>
> >> On 2015-08-24 2:53 PM, Brenton Horne wrote:
> >>> Here's my error_log file for Apache2:
> >>>
> >>> [Tue Aug 25 07:39:31 2015] [error] [client ::1] File does not exist:
> >>> /var/www/localhost/htdocs/wiki
> >>> [Tue Aug 25 07:39:36 2015] [error] [client ::1] File does not exist:
> >>> /var/www/localhost/htdocs/w/index.php/SageMath
> >>> [Tue Aug 25 07:45:11 2015] [error] [client ::1] File does not exist:
> >>> /var/www/localhost/htdocs/w/index.php/SageMath
> >>> [Tue Aug 25 07:45:15 2015] [notice] caught SIGWINCH, shutting down
> >>> gracefully
> >>> [Tue Aug 25 07:45:32 2015] [notice] suEXEC mechanism enabled (wrapper:
> >>> /usr/sbin/suexec)
> >>> apache2: Could not reliably determine the server's fully qualified
> domain
> >>> name, using 127.0.1.1 for ServerName
> >>> [Tue Aug 25 07:45:34 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31
> >>> OpenSSL/1.0.1p configured -- resuming normal operations
> >>> [Tue Aug 25 07:45:36 2015] [error] [client ::1] File does not exist:
> >>> /var/www/localhost/htdocs/w/index.php/SageMath
> >>> [Tue Aug 25 07:47:33 2015] [error] [client ::1] File does not exist:
> >>> /var/www/localhost/htdocs/linux
> >>> [Tue Aug 25 07:47:40 2015] [error] [client ::1] File does not exist:
> >>> /var/www/localhost/htdocs/wiki
> >>>
> >>> Where can I find the Listen, VirtualHost and Allow/Deny settings?
> >> ___
> >> 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
>



-- 
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Short URLs with Apache on Sabayon Linux

2015-08-24 Thread Brenton Horne
Here's my httpd.conf file: http://pastebin.com/raw.php?i=rmP7jbYL

On 25 August 2015 at 08:19, Daniel Friesen 
wrote:

> Ok, it's getting requests. But the RewriteEngine rule isn't listened to,
> there's no error saying RewriteEngine isn't available, and Apache's
> standard /index.php/... handling isn't even taking effect.
>
> ...there is something terribly wrong with this Apache's configuration.
>
> What does the file where you added the short URL related Apache settings
> to look like?
>
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
>
> On 2015-08-24 2:53 PM, Brenton Horne wrote:
> > Here's my error_log file for Apache2:
> >
> > [Tue Aug 25 07:39:31 2015] [error] [client ::1] File does not exist:
> > /var/www/localhost/htdocs/wiki
> > [Tue Aug 25 07:39:36 2015] [error] [client ::1] File does not exist:
> > /var/www/localhost/htdocs/w/index.php/SageMath
> > [Tue Aug 25 07:45:11 2015] [error] [client ::1] File does not exist:
> > /var/www/localhost/htdocs/w/index.php/SageMath
> > [Tue Aug 25 07:45:15 2015] [notice] caught SIGWINCH, shutting down
> > gracefully
> > [Tue Aug 25 07:45:32 2015] [notice] suEXEC mechanism enabled (wrapper:
> > /usr/sbin/suexec)
> > apache2: Could not reliably determine the server's fully qualified domain
> > name, using 127.0.1.1 for ServerName
> > [Tue Aug 25 07:45:34 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31
> > OpenSSL/1.0.1p configured -- resuming normal operations
> > [Tue Aug 25 07:45:36 2015] [error] [client ::1] File does not exist:
> > /var/www/localhost/htdocs/w/index.php/SageMath
> > [Tue Aug 25 07:47:33 2015] [error] [client ::1] File does not exist:
> > /var/www/localhost/htdocs/linux
> > [Tue Aug 25 07:47:40 2015] [error] [client ::1] File does not exist:
> > /var/www/localhost/htdocs/wiki
> >
> > Where can I find the Listen, VirtualHost and Allow/Deny settings?
>
> ___
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



-- 
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Short URLs with Apache on Sabayon Linux

2015-08-24 Thread Brenton Horne
Here's my error_log file for Apache2:

[Tue Aug 25 07:39:31 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/wiki
[Tue Aug 25 07:39:36 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/w/index.php/SageMath
[Tue Aug 25 07:45:11 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/w/index.php/SageMath
[Tue Aug 25 07:45:15 2015] [notice] caught SIGWINCH, shutting down
gracefully
[Tue Aug 25 07:45:32 2015] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
apache2: Could not reliably determine the server's fully qualified domain
name, using 127.0.1.1 for ServerName
[Tue Aug 25 07:45:34 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31
OpenSSL/1.0.1p configured -- resuming normal operations
[Tue Aug 25 07:45:36 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/w/index.php/SageMath
[Tue Aug 25 07:47:33 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/linux
[Tue Aug 25 07:47:40 2015] [error] [client ::1] File does not exist:
/var/www/localhost/htdocs/wiki

Where can I find the Listen, VirtualHost and Allow/Deny settings?

On 25 August 2015 at 07:44, Daniel Friesen 
wrote:

> Check your error logs, make sure Apache is actually running, and check
> your Listen, VirtualHost, and Allow/Deny settings.
>
> ERR_CONNECTION_REFUSED doesn't sound like the kind of thing that can
> result from a simple RewriteEngine usage. Unless an error killed apache.
>
> Most of the ERR_CONNECTION_REFUSED related SO answers seem related to
> Apache or a VirtualHost not listening on an IP or the order of
> Allow/Deny entries denying access.
>
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
>
> On 2015-08-24 2:20 PM, Brenton Horne wrote:
> > Hi,
> >
> > I'm running Sabayon Linux (64-bit, up to date with all updates -- it's a
> > rolling release system to version numbers are irrelevant) and while I
> > managed to install MW 1.25.2 on it successfully I cannot seem to shorten
> > URLs properly. My MediaWiki base directory (i.e., the one with index.php,
> > LocalSettings.php, etc. in it) is /var/www/localhost/htdocs/w and I am
> > using MariaDB as my RDBMS, if relevant. To shorten my URL (from
> w/index.php
> > to wiki) I added:
> >
> > AllowOverride All
> > RewriteEngine On
> > RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
> >
> > to /etc/apache2/httpd.conf and added:
> >
> > $wgScriptPath = "/w";
> > $wgArticlePath = "/wiki/$1";
> > $wgUsePathInfo = true;
> >
> > to my LocalSettings.php file. I also ran:
> >
> > systemctl restart apache2
> > php maintenance/update.php
> >
> > after this. I then opened up http://localhost/wiki/Linux_Wiki (my main
> > page) in Google Chrome and got a page with the error message:
> >
> > This web page is not available
> >> ERR_CONNECTION_REFUSED
> >
> > I also tried opening up http://localhost/w/index.php/Linux_Wiki (where
> my
> > main page was prior to the URL shortening attempt) and got a page with
> the
> > same error message. Is there anything I have missed here? Btw, I had
> opened
> > up http://localhost/w/index.php/Linux_Wiki in Google Chrome prior to the
> > shortening attempt without issue, if you're wondering whether this was a
> > pre-existing problem. Sabayon if you are unfamiliar is a Gentoo
> derivative.
> >
> > 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
>



-- 
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Short URLs with Apache on Sabayon Linux

2015-08-24 Thread Brenton Horne
Hi,

I'm running Sabayon Linux (64-bit, up to date with all updates -- it's a
rolling release system to version numbers are irrelevant) and while I
managed to install MW 1.25.2 on it successfully I cannot seem to shorten
URLs properly. My MediaWiki base directory (i.e., the one with index.php,
LocalSettings.php, etc. in it) is /var/www/localhost/htdocs/w and I am
using MariaDB as my RDBMS, if relevant. To shorten my URL (from w/index.php
to wiki) I added:

AllowOverride All
RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]

to /etc/apache2/httpd.conf and added:

$wgScriptPath = "/w";
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true;

to my LocalSettings.php file. I also ran:

systemctl restart apache2
php maintenance/update.php

after this. I then opened up http://localhost/wiki/Linux_Wiki (my main
page) in Google Chrome and got a page with the error message:

This web page is not available
> ERR_CONNECTION_REFUSED


I also tried opening up http://localhost/w/index.php/Linux_Wiki (where my
main page was prior to the URL shortening attempt) and got a page with the
same error message. Is there anything I have missed here? Btw, I had opened
up http://localhost/w/index.php/Linux_Wiki in Google Chrome prior to the
shortening attempt without issue, if you're wondering whether this was a
pre-existing problem. Sabayon if you are unfamiliar is a Gentoo derivative.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Issues starting the httpd.service daemon on Manjaro Linux

2015-08-18 Thread Brenton Horne
Hi,

I've been following the following two guides on how to install MediaWiki on
Arch Linux (which is so similar to Manjaro that I'd expect these
instructions to be applicable to Manjaro too):


   1. MediaWiki - ArchWiki 
   2. Running MediaWiki on Arch Linux - MediaWiki
   

(1) has been my primary source for instruction as it is more up to date
than its counterpart @ mediawiki.org. I managed to follow (1) to the point
of restarting the httpd.service daemon without issue, but at restarting
this daemon I got the error:

Job for httpd.service failed because the control process exited with error
code. See "systemctl status httpd.service" and "journalctl -xe" for details.

I then ran the instructions given in this method. systemctl status
httpd.service gives:

● httpd.service - Apache Web Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor
preset: disabled)
   Active: failed (Result: exit-code) since Tue 2015-08-18 23:18:10 AEST;
16s ago
  Process: 1083 ExecStart=/usr/bin/apachectl start (code=exited,
status=1/FAILURE)

Aug 18 23:18:10 fusion809-vbox systemd[1]: Stopped Apache Web Server.
Aug 18 23:18:10 fusion809-vbox systemd[1]: Starting Apache Web Server...
Aug 18 23:18:10 fusion809-vbox apachectl[1083]: AH00526: Syntax error on
lin...:
Aug 18 23:18:10 fusion809-vbox apachectl[1083]: Invalid command
'php_admin_v...n
Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Control process
ex...1
Aug 18 23:18:10 fusion809-vbox systemd[1]: Failed to start Apache Web
Server.
Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Unit entered
faile
Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Failed with
result
Hint: Some lines were ellipsized, use -l to show in full.


likewise running journalctl -xe gives:

Aug 18 23:18:10 fusion809-vbox systemd[1]: Starting Apache Web Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit httpd.service has begun starting up.
Aug 18 23:18:10 fusion809-vbox apachectl[1083]: AH00526: Syntax error on
line 2
Aug 18 23:18:10 fusion809-vbox apachectl[1083]: Invalid command
'php_admin_valu
Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Control process
exite
Aug 18 23:18:10 fusion809-vbox systemd[1]: Failed to start Apache Web
Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit httpd.service has failed.
-- 
-- The result is failed.
Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Unit entered
failed s
Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Failed with
result 'e
Aug 18 23:18:10 fusion809-vbox polkitd[384]: Unregistered Authentication
Agent
Aug 18 23:18:21 fusion809-vbox pulseaudio[666]: [alsa-sink-Intel ICH]
alsa-sink
Aug 18 23:18:21 fusion809-vbox pulseaudio[666]: [alsa-sink-Intel ICH]
alsa-sink
Aug 18 23:18:21 fusion809-vbox pulseaudio[666]: [alsa-sink-Intel ICH]
alsa-sink
lines 2281-2303/2


I also asked this question on the Manjaro forums (
https://forum.manjaro.org/index.php?topic=25281.0).
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] How to check whether a variable is a date or not

2015-07-21 Thread Brenton Horne
Hi,

I'm creating my own custom version of Wikimedia Common's Information
template  for my
local wiki. My local wiki uses D M  dates (where `M` is month name).
The issue is that I commonly copy files across from commons to my wiki via
Pywikibot (namely its `imagetransfer.py` script) and they commonly use ISO
dates, so I want to make my information template check whether the date
field is a time or not, or whether it contains a time, then if it is a time
or contains a time send the time given through the `{{#time:j F Y}}` parser
to ensure it is in D M  format, but I do not know how to do this. Can
someone, per chance, help me with this? Even if you could tell me how to
check, in wikitext, using perhaps a parser function, whether a variable is
even a time that would be a help. Although, if someone knows how to
separate parts of a date field into time and comments and then send the
time part through this parser function I will be even more grateful.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Free MediaWIki hosting sites

2015-07-14 Thread Brenton Horne
Thanks, Arcane, while I've got your attention I wouldn't suppose you could
tell me how's it's going with my GitHub extension feature request (
https://meta.orain.org/wiki/Request_features#Atom_Wiki_.28Status:_Partially_done.29).
It's not a particularly tricky extension, unlike that Jmol extension I
wanted.

On 15 July 2015 at 11:44, Arcane 21  wrote:

> Orain will allow that, just let us know and we'll be happy to help out.
>
> FYI, we've nailed down the source of the outages, that should be long past.
>
> > Date: Wed, 15 Jul 2015 11:41:46 +1000
> > From: brentonhorn...@gmail.com
> > To: mediawiki-l@lists.wikimedia.org
> > Subject: Re: [MediaWiki-l] Free MediaWIki hosting sites
> >
> > Thanks Frodo, these sites are the best I've come across so far but do any
> > of them allow shell access? See I have a local wiki I would like to
> > transfer to this online Wiki, via running `php
> maintenance/importDump.php`
> > on the XML dump of my local wiki. I have tried importing via
> Special:Import
> > but the dump is far too large for this to work.
> >
> > On 15 July 2015 at 07:17, Frodo Baggins 
> wrote:
> >
> > > or GuHat
> > >
> > > - Frodo Baggins: Hobbit, Wikipedia editor (blackhat999
> > > ), Linux freak, and
> hacker
> > > extraordinaire.
> > >
> > >
> > > On Wed, Jul 1, 2015 at 10:56 AM, Frodo Baggins <
> frodobaggins...@gmail.com>
> > > wrote:
> > >
> > > > Try x10 hosting if you want complete ctrl.
> > > >
> > > > - Frodo Baggins: Hobbit, Wikipedia editor (blackhat999
> > > > ), Linux freak, and
> > > > hacker extraordinaire.
> > > >
> > > >
> > > > On Tue, Jun 30, 2015 at 2:59 PM, Frodo Baggins <
> > > frodobaggins...@gmail.com>
> > > > wrote:
> > > >
> > > >> I personally like Orain. One note though: they have had some outages
> > > >> lately.
> > > >>
> > > >> - Frodo Baggins: Hobbit, Wikipedia editor (blackhat999
> > > >> ), Linux freak, and
> > > >> hacker extraordinaire.
> > > >>
> > > >>
> > > >> On Tue, Jun 30, 2015 at 12:51 PM, Thomas Mulhall <
> > > >> thomasmulhall...@yahoo.com> wrote:
> > > >>
> > > >>> Well there's heliohost
> > > >>> ___
> > > >>> 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
> > >
> >
> >
> >
> > --
> > 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
>



-- 
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Free MediaWIki hosting sites

2015-07-14 Thread Brenton Horne
Thanks Frodo, these sites are the best I've come across so far but do any
of them allow shell access? See I have a local wiki I would like to
transfer to this online Wiki, via running `php maintenance/importDump.php`
on the XML dump of my local wiki. I have tried importing via Special:Import
but the dump is far too large for this to work.

On 15 July 2015 at 07:17, Frodo Baggins  wrote:

> or GuHat
>
> - Frodo Baggins: Hobbit, Wikipedia editor (blackhat999
> ), Linux freak, and hacker
> extraordinaire.
>
>
> On Wed, Jul 1, 2015 at 10:56 AM, Frodo Baggins 
> wrote:
>
> > Try x10 hosting if you want complete ctrl.
> >
> > - Frodo Baggins: Hobbit, Wikipedia editor (blackhat999
> > ), Linux freak, and
> > hacker extraordinaire.
> >
> >
> > On Tue, Jun 30, 2015 at 2:59 PM, Frodo Baggins <
> frodobaggins...@gmail.com>
> > wrote:
> >
> >> I personally like Orain. One note though: they have had some outages
> >> lately.
> >>
> >> - Frodo Baggins: Hobbit, Wikipedia editor (blackhat999
> >> ), Linux freak, and
> >> hacker extraordinaire.
> >>
> >>
> >> On Tue, Jun 30, 2015 at 12:51 PM, Thomas Mulhall <
> >> thomasmulhall...@yahoo.com> wrote:
> >>
> >>> Well there's heliohost
> >>> ___
> >>> 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
>



-- 
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] CharInsert extension

2015-07-13 Thread Brenton Horne
HI,

I just asked a question about extending the functionality of the CharInsert
extension at StackOverflow (
http://stackoverflow.com/questions/31376229/how-do-i-modify-the-mediawiki-charinsert-extension-to-enable-the-insertion-of-wi),
if anyone in this mailing list is interested. I think I may have asked a
similar question in this mailing list a matter of months ago, so if anyone
has some solutions I'll be happy to hear them.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Displaying hierarchies in Infoboxes

2015-07-05 Thread Brenton Horne
Oh & btw I tried installing the HierarchyBuilder extension to receive the
error: "*Error:* HierarchyBuilder is a Semantic Forms extension so must be
included after Semantic Forms."

On 6 July 2015 at 04:52, Brenton Horne  wrote:

> Hi,
>
> I have been working on a Wiki (MediaWiki-based, ofc) on the topic of Linux
> & related topics (e.g., software that can be run on Linux machines and
> other operating systems) on my Ubuntu machine for some time. I have
> Lua-based infoboxes (including Infobox OS
> <https://en.wikipedia.org/wiki/Template:Infobox_OS>, Infobox software
> <https://en.wikipedia.org/wiki/Template:Infobox_software>, Infobox file
> format <https://en.wikipedia.org/wiki/Template:Infobox_file_format>) that
> are modified versions of those found on the English Wikipedia and under the
> "Family" field of Infobox OS I would like to be able to show some hierarchy
> (*Unix-like -> Linux -> Debian -> Ubuntu* for Ubuntu, for example). I
> have seen the HierarchyBuilder
> <https://www.mediawiki.org/wiki/Extension:HierarchyBuilder> extension but
> I was wondering if anyone is aware of a way of showing hierarchy without
> depending on an unstable extension like this one?
>
> Thanks for your time,
> Brenton
>



-- 
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Displaying hierarchies in Infoboxes

2015-07-05 Thread Brenton Horne
Hi,

I have been working on a Wiki (MediaWiki-based, ofc) on the topic of Linux
& related topics (e.g., software that can be run on Linux machines and
other operating systems) on my Ubuntu machine for some time. I have
Lua-based infoboxes (including Infobox OS
, Infobox software
, Infobox file
format ) that
are modified versions of those found on the English Wikipedia and under the
"Family" field of Infobox OS I would like to be able to show some hierarchy
(*Unix-like -> Linux -> Debian -> Ubuntu* for Ubuntu, for example). I have
seen the HierarchyBuilder
 extension but I
was wondering if anyone is aware of a way of showing hierarchy without
depending on an unstable extension like this one?

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Free MediaWIki hosting sites

2015-06-30 Thread Brenton Horne
I hadn't but I have now, thanks. But from what I've gathered so far it is
similar to Orain Wiki (e.g., you have to request extra extensions or other
features), except its MW version is the latest stable version (I think it's
1.23.1), its default extensions are different, and there are some paid
features whereas Orain is wholly free. So it doesn't quite do what I want.
See I would like to be able to upload my entire Wiki to the site
(extensions, skins, LocalSettings.php, & all) and basically do everything I
do with my local wiki (like being able to run php
maintenance/scriptname.php, dump the MySQL database, change the logo as I
wish, etc.), except in a place on the internet where others can view and
edit the Wiki too.

On 30 June 2015 at 20:35, Jeroen De Dauw  wrote:

> Hey Breton,
>
> Have you seen Referata? http://referata.com
>
> Cheers
>
> --
> Jeroen De Dauw - http://www.bn2vs.com
> Software craftsmanship advocate
> Developer at Wikimedia Germany
> ~=[,,_,,]:3
> ___
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



-- 
Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Free MediaWIki hosting sites

2015-06-30 Thread Brenton Horne
Hi,

I would like to ask if anyone knows of a free MediaWiki hosting site that
gives one complete control over one's Wiki. I know of Orain Wiki, ShoutWiki
and Wikia but they all give fairly limited over the MediaWiki software
itself. Basically the website I'm looking for is one that provides a place
for my own local Wiki installation on the web for free.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Building advanced wiki searches.

2015-06-29 Thread Brenton Horne

Hi,

I would like to allow advanced searches on my Local Wikis (MySQL 
databases: HMWiki, Linux_Wiki) and I was wondering which MediaWiki 
extensions will allow me to do this. Now I realize what I'm saying so 
far is casting my net a bit wide so odds are many of you won't know what 
to recommend so I'm going to give some examples of what I want to be 
able to do with such a search:


* Enable searching specific parts of pages like its title, 
category(ies), section(s), section(s) titles, body (i.e., the text other 
than the page's title), etc. Instead of searching the entire page the 
way Wiki searches do by default.


* Support for Boolean operators (e.g., AND, OR, ANDNOT, etc.) between 
search criteria (e.g., I would like to search for pages belonging to 
more than one category. For example, I would be looking for pages 
belonging to category $1 AND category $2 AND category $3).


Now my experience with this mailing list tells me not to expect a 
response here for days at least. But I also know that this list also 
gets about 2-10 messages per day, depending on the day. I don't want my 
email server to get packed with emails that I'm not interested in (as 
I'm afraid I'm pretty useless as far as helping others with issues 
relating to MW, I'm really just here to receive help not to provide it) 
so I will stay on this list for probably at most a week: if you send a 
reply and get no answer from me within a 12 hours odds are I won't be 
receiving emails from this list any more so it would be best to just 
send your emails to my email address: brentonhorn...@gmail.com 
.



   Further information

* MediaWiki version: 1.25.1.
* MySQL, PHP, Lua (I have the Scribunto extension enabled on both 
Wikis), Apache, /etc./ are all maintained as the latest versions 
available for the operating system specified below.

* Operating system: 32 bit Ubuntu 15.04.
* Understanding of PHP and other programming languages used in 
MediaWiki: novice. Use simple English please. I can follow simple 
instructions, like add these lines to this file and save it here, but if 
you give me a task without explicit step-by-step instructions odds are I 
won't be able to follow ya.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Math extension

2015-05-05 Thread Brenton Horne

Hi,

I would like to be able to render chemical reactions properly (e.g., the 
way that \ce does in MathJax [an example of successful rendering using 
this package may be found here 
http://chemistry.stackexchange.com/a/5338/876], I have tried this on my 
local MW installation if you're wondering and the \ce was left unparsed) 
in LaTeX, via the math extension, is this possible?


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Updating WikiEditor; consequent loss of WikiEditor and Edittools gadget

2015-04-16 Thread Brenton Horne

Hi,

I ran

|git clone https://github.com/wikimedia/mediawiki-extensions-WikiEditor.git|

and removed the contents of the existing folder 
//localhost/extensions/WikiEditor/ in my local Wiki installation 
replacing it with the contents of the Github download. I noticed 
WikiEditor quit working then so I ran the update script in the hope of 
getting it to work again:


||php update.php

and now WikiEditor isn't working (i.e., it isn't showing in the edit 
window). This (http://i.imgur.com/9nQvBry.png) is a screenshot showing 
the Chrome JavaScript console when viewing an edit page (i.e., one with 
?action=edit in the address bar). Edittools isn't showing either (i.e., 
the box containing insertable symbols [enabled by the charinsert 
extension below the edit box), if any further info is required for you 
to help me with this problem, please ask. If you want a ngrok tunnel 
opened please do ask and I'll open it as soon as I see the message (and 
I will send a reply confirming this), it's just odds are it'll only be 
possible for me to open it for a few hours at a time so if you ask me be 
prepared to do all you need with it immediately after sending the 
request for me to open it.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Thumbnail error

2015-04-14 Thread Brenton Horne

Hi

I have been receiving the error:
Error creating thumbnail: Unable to save thumbnail to destination

For a PNG image I recently uploaded to my local Wiki, even after I 
upload smaller versions of the file (out of concerns that the image's 
size might be the problem). These are my current image-related lines of 
LocalSettings.php:



# Image Converter
$wgSVGConverter = 'Inkscape';

$wgSVGConverters = array(
'ImageMagick' => 'convert -resize $width $input $output',
'Inkscape' => '"/Program Files/Inkscape/inkscape.com" -z -w $width 
-f $input -e $output',

);

# Image converter path
$wgSVGConverterPath = '/Program Files/Inkscape';

## The following commands are required for ImageMap to work.
$wgEnableUploads  = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = '/Program Files/ImageMagick/convert.exe';
$wgAllowCopyUploads = true;
$wgGroupPermissions['user']['upload_by_url']=true;

# Path to jpegtran utility
$wgJpegTran = '/Bitnami/mediawiki-1.24.1-0/common/bin/';

# Path to tidy utility binary
$wgTidyBin = '/Bitnami/mediawiki-1.24.1-0/common/bin/';


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Math extension, errors that may be Windows-related

2015-04-10 Thread Brenton Horne

Hi,

I have a local Wiki that I have been trying to install the Math 
extension on. In LocalSettings.php I have the following lines for the 
extension:

require_once("extensions/Math/math.php");

$wgUseTeX = true;
$wgTexvc = "/extensions/Math/math/texvc.exe";
texvc was installed via following instructions here [1 
]. I have a texvc.exe file 
in the directory extensions/Math/math/ created via following these 
instructions. I also have LaTeX installed on my PC via MiKTeX, currently 
my path variable points to C:\Program Files\MiKTeX\miktex\bin\x64 (where 
latex.exe and dvipng.exe files exist). Despite this inserting an 
equation via  into a Wiki page gives the error:
*Failed to parse (Missing texvc executable. Please see 
math/README to configure.):*


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Images in Lua infobox

2015-03-18 Thread Brenton Horne

Hi,

I have an infobox (created using XML exporting Wikipedia's Lua-based 
infobox [template 
, module 
]) with the 
following image-related field contents:


|image1  ={{#ifeq:{{FULLPAGENAME}}|Template:Drugbox 
(Lua)||[[File:{{{image|{{{Image1|{{{image1|{{{Drug|{{{drug|}}}{{#if:{{{format|{{{Format|}}|{{{format|{{{Format|}}|.svg}}|{{{size|{{{size1|400}}px]]}}

|caption1={{{caption|{{{Caption|{{{caption1|{{{Caption1|

|image2 
 ={{#if:{{{image2|{{{Image2|}}|[[File:{{{image2|{{{Image2|}}|center|{{{size2|{{{Size2|200}}px]]}}{{#if:{{{image2L|{{{Image2L|}}|[[File:{{{image2L|{{{Image2L|}}|left|{{{size2L|200}}}px||{{{caption2L|{{{Caption2L|}}]]}}{{#if:{{{image2R|{{{Image2R|}}|[[File:{{{image2R|{{{Image2R|}}|right|{{{size2R|200}}}px||{{{caption2R|{{{Caption2R|}}]]}}

|caption2={{{caption2|{{{Caption2|}}

The second image field is designed to allow a single image (specified by 
image2) or (in the Boolean logic meaning of the word) two images 
(specified by image2L, image2R) side-by-side to appear if provided. The 
problem I am having is that the caption fields, caption2L and caption2R, 
do not appear in the output as captions for image2L and image2R. Now, if 
you are thinking, "Oh you're missing the 'thumb' field for these two 
side-by-side images." My reply is that I don't want thumbnails in my 
infobox, as they come with a border around them that I do _not_ want. 
The reason for the two || after the size specification in these image 
fields is that I had already tried a single | and it failed to do what I 
wanted, so I decided to add it in the hope that it was due to the 
position of the caption fields in the [[...]] that the captions were 
being ignored.


If you need further details please ask.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] How do I install curl on Windows 7 such that elastic search can then be installed?

2015-03-10 Thread Brenton Horne

Hi,

I have been trying to install CirrusSearch on my local wiki and to do so 
I understand I need to install elastic search (which requires curl I 
believe).


I downloaded the zip file containing the .exe file for Curl on 64 bit 
Windows (i.e., 
http://curl.haxx.se/download/curl-7.33.0-win64-nossl.zip), unzipped it, 
and ran the .exe file with no results except the command prompt window 
popped up momentarily (so quickly I didn't even see what it said). I 
downloaded ElasticSearch from 
https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.4.zip, 
unzipped it and ran the /bin/elasticsearch.bat file in it from the 
command prompt and also (as this returned the result: |The system cannot 
find the path specified.|) by double-clicking it with no clear results. 
I also ran:

|
||"...curl.exe" -X http://localhost/|

From the command prompt (where ... is the file location of the curl 
windows download I just mentioned and extracted) which returned the result:

curl: (6) Could not resolve host: localhost:127.0.0.1

C:\Users\Brenton\Programs\elasticsearch-1.4.4\elasticsearch-1.4.4\bin>"C:\Progra
m Files\Curl\curl.exe" -X GET http://localhost:80/
"http://www.w3.org/TR/html4/st

rict.dtd">


Bitnami MediaWiki Stack
type="text/css" />

















Welcome!
Access Bitnami MediaWiki 
Stack
1>




src="img/mediawiki.

png" alt="Bitnami MediaWiki Stack">
The Bitnami Project was created to help spread the adoption of freely
available, high quality Open Source web applications. Bitnami aims to make
it easier than ever to discover, download and install Open Source 
software such


as document and content management systems, wikis and blogging 
software.
/>

You can learn more about Bitnami at href="https://bitnami.com";>https://bitnam

i.com

MediaWiki is a wiki package originally written for Wikipedia.
It is now used by several other projects of the non-profit Wikimedia 
Foundation


and by many other wikis. MediaWiki was designed to be run on a large 
server farm


for a website that gets millions of hits per day. 

You can learn more about MediaWiki at href="http://www.mediawiki.org";>http://

www.mediawiki.org

The Bitnami MediaWiki Stack is an installer that greatly simplifies the
installation of MediaWiki and runtime dependencies. It includes 
ready-to-run
versions of Apache, MySQL and PHP. Bitnami MediaWiki Stack is 
distributed for fr

ee
under the Apache 2.0 license.

You can learn more about Bitnami Stacks at href="https://bitnami.com/stacks/";

>https://bitnami.com/stacks/

To enter the application please click on the link at the top of the 
page.
r/>

You can access the built-in management tool phpMyAdmin href="http://127.0.0.1:80/phpmyadmin";>here. For security reasons 
it is only

accessible when using 127.0.0.1 as the hostname.






Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Setting collapsed content (contained in divs) to match the width of the cell it is in

2015-03-07 Thread Brenton Horne

Nope that didn't work, gave this output: http://i.imgur.com/rhmOhPe.png.

On 6/03/2015 10:50 AM, Ricordisamoa wrote:


Il 04/03/2015 08:32, Brenton Horne ha scritto:

Hi,

I used to include something like:

   |{{{!}} class = "mw-collapsible mw-collapsed wikitable"||
   || ! {{{content name|}}} ||
   ||{{!}}- ||
   ||{{!}} {{{content|}}} ||
   ||{{!}}}|

Not sure, but "{{{!}}" and "{{!}}}" should probably be "{{!}}"...


   ||

in infoboxes where content is too large to include the normal way but 
this used to cause parsing problems often leaving a right brace } 
after the collapsed content. Now I use:|

|

   |{{{content|}}}|
   ||

as it doesn't seem to come with the same issues but I would like to 
know if there's an automated way of setting the |col_width| to the 
width of the column it is included in. I tried:


   |{{#expr:{{{width|300}}}-{{{titlew|80}px|||
   ||

(where width is the width of the box and titlew is the width of the 
1st [label] column; the nos are their defaults) but it seemed to get 
the whole thing (i.e., the  object) invisible. Any 
ideas of how I can do this?


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


Re: [MediaWiki-l] Magic word media:

2015-03-06 Thread Brenton Horne
I just realized I'm getting errors as module:fallback is "attempt to 
index a nil value" at line 73. I thought it might be related to media: 
which would mean a simple solution, but instead I'm stuck with a Lua 
error which it seems to me that no one in this mailing list knows how to 
solve as whenever I ask Lua-related questions no one answers.


On 7/03/2015 2:05 AM, Brion Vibber wrote:

https://www.mediawiki.org/wiki/Help:Namespaces#Media

The 'Media:' pseudonamespace is used for an alternate way of linking to
uploaded files in the File: namespace; a link to [[Media:Foo.png]] will
link directly to the full-size Foo.png file, while a link [[File:Foo.png]]
will embed the image and link to the file information page.

It should work as it's built-in to MediaWiki core... what are you seeing
happen instead of the expected links?

-- brion

On Thu, Mar 5, 2015 at 10:36 PM, Brenton Horne 
wrote:


Hi,

I've noticed in https://commons.wikimedia.org/wiki/Template:Derivative_
versions a magic word (or something that looks like it, at least)
|media:| and I was wondering where it came from because it doesn't seem to
work on my Wiki.

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] Magic word media:

2015-03-05 Thread Brenton Horne

Hi,

I've noticed in 
https://commons.wikimedia.org/wiki/Template:Derivative_versions a magic 
word (or something that looks like it, at least) |media:| and I was 
wondering where it came from because it doesn't seem to work on my Wiki.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Make an account set as a bot

2015-03-05 Thread Brenton Horne

And how do I do this?

On 6/03/2015 3:57 PM, Arcane 21 wrote:

  assign that account the bot user right.



___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Make an account set as a bot

2015-03-05 Thread Brenton Horne

Hi,

I've got an account called "MyFirstBot" on my local wiki that is a bot 
and I'd like to know how to set it as a bot account. I created the 
account via my web browser so it is set, by default as a user account.


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] QuickLink extension not working with MediaWiki 1.24.1

2015-03-05 Thread Brenton Horne
I would if I knew how to; I am fairly illiterate when it comes to 
JavaScript.


On 5/03/2015 11:48 PM, Arcane 21 wrote:

I believe WikiEd has similar functionality that conflicts if certain features 
of WikEd are enabled. Try experimenting to find out what exactly might be the 
issue.


Date: Thu, 5 Mar 2015 23:27:35 +1000
From: brentonhorn...@gmail.com
To: mediawiki-l@lists.wikimedia.org
Subject: Re: [MediaWiki-l] QuickLink extension not working with MediaWiki 1.24.1

Thanks, but it doesn't seem to be compatible with WikEd because when it
is active it doesn't load, whereas when I disable it, it appears to work
perfectly. Any ideas of how to overcome this problem?

On 5/03/2015 7:50 PM, Arcane 21 wrote:

The autocomplete script works far, far better, and can be enabled as a gadget 
or site script.

Here's a gadget version you can snag from my wiki here:

https://allthetropes.orain.org/wiki/Special:Gadgets/export/Auto_Complete


Date: Thu, 5 Mar 2015 16:26:26 +1000
From: brentonhorn...@gmail.com
To: mediawiki-l@lists.wikimedia.org
Subject: [MediaWiki-l] QuickLink extension not working with MediaWiki 1.24.1

Hi,

Extension:QuickLink (https://www.mediawiki.org/wiki/Extension:QuickLink)
isn't working on MediaWiki 1.24.1 for me. When I type [[ brackets no
link suggestions appear (in fact I don't see any evidence of it being
installed besides its appearance on Special:Version, even though I
downloaded the zip file, extracted its contents, moved them to the
extensions/ directory and added
|require_once("extensions/QuickLink/QuickLink.php")| to
LocalSettings.php). This isn't surprising that QuickLink no longer works
seeing how it was last edited 4 or so years ago.

Any alternatives to this extension that suggest links after [[ is typed
in source mode or any ways to get QuickLink to work for me will be
gladly welcomed. Keep in mind I am using WikiEditor and WikEd and do not
intend on removing them from my MediaWiki installation.

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


Re: [MediaWiki-l] QuickLink extension not working with MediaWiki 1.24.1

2015-03-05 Thread Brenton Horne
Thanks, but it doesn't seem to be compatible with WikEd because when it 
is active it doesn't load, whereas when I disable it, it appears to work 
perfectly. Any ideas of how to overcome this problem?


On 5/03/2015 7:50 PM, Arcane 21 wrote:

The autocomplete script works far, far better, and can be enabled as a gadget 
or site script.

Here's a gadget version you can snag from my wiki here:

https://allthetropes.orain.org/wiki/Special:Gadgets/export/Auto_Complete


Date: Thu, 5 Mar 2015 16:26:26 +1000
From: brentonhorn...@gmail.com
To: mediawiki-l@lists.wikimedia.org
Subject: [MediaWiki-l] QuickLink extension not working with MediaWiki 1.24.1

Hi,

Extension:QuickLink (https://www.mediawiki.org/wiki/Extension:QuickLink)
isn't working on MediaWiki 1.24.1 for me. When I type [[ brackets no
link suggestions appear (in fact I don't see any evidence of it being
installed besides its appearance on Special:Version, even though I
downloaded the zip file, extracted its contents, moved them to the
extensions/ directory and added
|require_once("extensions/QuickLink/QuickLink.php")| to
LocalSettings.php). This isn't surprising that QuickLink no longer works
seeing how it was last edited 4 or so years ago.

Any alternatives to this extension that suggest links after [[ is typed
in source mode or any ways to get QuickLink to work for me will be
gladly welcomed. Keep in mind I am using WikiEditor and WikEd and do not
intend on removing them from my MediaWiki installation.

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] QuickLink extension not working with MediaWiki 1.24.1

2015-03-04 Thread Brenton Horne

Hi,

Extension:QuickLink (https://www.mediawiki.org/wiki/Extension:QuickLink) 
isn't working on MediaWiki 1.24.1 for me. When I type [[ brackets no 
link suggestions appear (in fact I don't see any evidence of it being 
installed besides its appearance on Special:Version, even though I 
downloaded the zip file, extracted its contents, moved them to the 
extensions/ directory and added 
|require_once("extensions/QuickLink/QuickLink.php")| to 
LocalSettings.php). This isn't surprising that QuickLink no longer works 
seeing how it was last edited 4 or so years ago.


Any alternatives to this extension that suggest links after [[ is typed 
in source mode or any ways to get QuickLink to work for me will be 
gladly welcomed. Keep in mind I am using WikiEditor and WikEd and do not 
intend on removing them from my MediaWiki installation.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Setting collapsed content (contained in divs) to match the width of the cell it is in

2015-03-03 Thread Brenton Horne

Hi,

I used to include something like:

   |{{{!}} class = "mw-collapsible mw-collapsed wikitable"||
   || ! {{{content name|}}} ||
   ||{{!}}- ||
   ||{{!}} {{{content|}}} ||
   ||{{!}}}|

   ||

in infoboxes where content is too large to include the normal way but 
this used to cause parsing problems often leaving a right brace } after 
the collapsed content. Now I use:|

|

   |{{{content|}}}|
   ||

as it doesn't seem to come with the same issues but I would like to know 
if there's an automated way of setting the |col_width| to the width of 
the column it is included in. I tried:


   |{{#expr:{{{width|300}}}-{{{titlew|80}px|||
   ||

(where width is the width of the box and titlew is the width of the 1st 
[label] column; the nos are their defaults) but it seemed to get the 
whole thing (i.e., the  object) invisible. Any ideas 
of how I can do this?


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Lua help

2015-03-02 Thread Brenton Horne

Hi,

I have noticed that when I ask Lua templating-related questions here I 
get little, if any replies so I was wondering if someone knows somewhere 
I can ask these questions and get fast (within a day) and helpful answers.


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Indexing a nil value in Lua-based templates

2015-02-27 Thread Brenton Horne

Hi,

I have created a ngrok link for my local host (I will try to keep it 
open as long as possible but if it is down and you want to access it 
please feel free to ask) and it is here: http://268ff1f3.ngrok.com (wiki 
is at http://268ff1f3.ngrok.com/mediawiki/index.php/). 
Template:TemplateBox 
(http://268ff1f3.ngrok.com/mediawiki/index.php/Template:TemplateBox; 
which depends on Module:Languages @ 
http://268ff1f3.ngrok.com/mediawiki/index.php/Module:Languages) is 
causing an error at Template:Information_WC/doc 
(http://268ff1f3.ngrok.com/mediawiki/index.php/Template:Information_WC/doc), 
namely: "|Lua error in Module:Languages at line 291: attempt to index a 
nil value.|" These templates and modules I have imported (via 
Special:Export/Import) from Wikimedia Commons 
(Template:Information_WC/doc was at Template:Information/doc). 
Module:Languages can also be viewed on my Google Drive, if ngrok is 
causing issues: http://goo.gl/LaUYqM.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] MediaWiki Language Extension Bundle

2015-02-25 Thread Brenton Horne

No I didn't, I just ran it and now it's working perfectly, thanks.

On 26/02/2015 6:45 AM, John wrote:

did you run update.php ?

On Wed, Feb 25, 2015 at 3:42 PM, Brenton Horne 
wrote:


Hi,

I downloaded the MediaWiki Language Extension bundle,
MediaWikiLanguageExtensionBundle-2015.01.tar.bz2, extracted its contents
(in the internal /extensions directory) and copy-pasted the subfolders
within the extensions folder to my MediaWiki installation's extensions
folder. Then I added:

|require_once("extensions/Babel/Babel.php");||
||require_once("extensions/cldr/cldr.php");||
||require_once("extensions/CleanChanges/CleanChanges.php");||
||$wgCCTrailerFilter = true;||
||$wgCCUserFilter = false;||
||$wgDefaultUserOptions['usenewrc'] = 1;||
||require_once("extensions/LocalisationUpdate/
LocalisationUpdate.php");||
||$wgLocalisationUpdateDirectory = "$IP/cache";||
||require_once("extensions/Translate/Translate.php");||
||
||$wgGroupPermissions['user']['translate'] = true;||
||$wgGroupPermissions['user']['translate-messagereview'] = true;||
||$wgGroupPermissions['user']['translate-groupreview'] = true;||
||$wgGroupPermissions['user']['translate-import'] = true;||
||$wgGroupPermissions['sysop']['pagetranslation'] = true;||
||$wgGroupPermissions['sysop']['translate-manage'] = true;||
||$wgTranslateDocumentationLanguageCode = 'qqq';||
||$wgExtraLanguageNames['qqq'] = 'Message documentation'; # No
linguistic content. Used for documenting messages||
|

To LocalSettings.php and now my MediaWiki installation is giving the
error: |
|

|A database query error has occurred. This may indicate a bug in the
software.. |

Any ideas of how I can overcome this error?

Thanks for your time,
Brenton
require_once("extensions/UniversalLanguageSelector/
UniversalLanguageSelector.php");

___
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] MediaWiki Language Extension Bundle

2015-02-25 Thread Brenton Horne

Hi,

I downloaded the MediaWiki Language Extension bundle, 
MediaWikiLanguageExtensionBundle-2015.01.tar.bz2, extracted its contents 
(in the internal /extensions directory) and copy-pasted the subfolders 
within the extensions folder to my MediaWiki installation's extensions 
folder. Then I added:


   |require_once("extensions/Babel/Babel.php");||
   ||require_once("extensions/cldr/cldr.php");||
   ||require_once("extensions/CleanChanges/CleanChanges.php");||
   ||$wgCCTrailerFilter = true;||
   ||$wgCCUserFilter = false;||
   ||$wgDefaultUserOptions['usenewrc'] = 1;||
   ||require_once("extensions/LocalisationUpdate/LocalisationUpdate.php");||
   ||$wgLocalisationUpdateDirectory = "$IP/cache";||
   ||require_once("extensions/Translate/Translate.php");||
   ||
   ||$wgGroupPermissions['user']['translate'] = true;||
   ||$wgGroupPermissions['user']['translate-messagereview'] = true;||
   ||$wgGroupPermissions['user']['translate-groupreview'] = true;||
   ||$wgGroupPermissions['user']['translate-import'] = true;||
   ||$wgGroupPermissions['sysop']['pagetranslation'] = true;||
   ||$wgGroupPermissions['sysop']['translate-manage'] = true;||
   ||$wgTranslateDocumentationLanguageCode = 'qqq';||
   ||$wgExtraLanguageNames['qqq'] = 'Message documentation'; # No
   linguistic content. Used for documenting messages||
   |

To LocalSettings.php and now my MediaWiki installation is giving the 
error: |

|

   |A database query error has occurred. This may indicate a bug in the
   software.. |

Any ideas of how I can overcome this error?

Thanks for your time,
Brenton
require_once("extensions/UniversalLanguageSelector/UniversalLanguageSelector.php");

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] CSS styles for Wikimedia Commons Template:Information

2015-02-25 Thread Brenton Horne

Hi,

I added this:
|
|

   |/* Styling the parameter fields in [[Template:Information]] and
   related templates|||
   |||   also here (besides on [[MediaWiki:Filepage.css]]) to ensure
   proper preview|||
   |||   on other pages than those in the file namespace */|||
   |||.fileinfo-paramfield {|||
   ||| background: #ccf;|||
   ||| /* @noflip */|||
   ||| text-align: right;|||
   ||| padding-right: 0.4em;|||
   ||| width: 15%;|||
   ||| font-weight: bold;|||
   |||}|

To my local Wiki's Common:CSS but this is how it is rendered (I am just 
on the template page, so there's no input entered): 
http://i.imgur.com/suuxTtk.png. This is how Wikimedia Commons 
Template:Information is rendered for me in the same skin (vector) 
http://i.imgur.com/Q4vnpXp.png. Now I'd like to know what CSS styles I 
need to get it looking the same on my Wiki.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Automated downloading all files in a set category or article on a Wikimedia project or Wikia site

2015-02-24 Thread Brenton Horne

Hi,

I suspect this question will not have as elegant an answer as I'd like 
but I was wondering if anyone in this mailing lists knows an easy (like 
easy enough for someone with as little programming understand as myself) 
automated way of downloading all the files in a category or an article 
on a Wikimedia project/Wikia site. I am running windows 7 (64 bit) SP1 
if it is relevant, although I do have access to a Linux command line 
(namely cygwin 64 bits) if needed.


I have seen 
|http://how-to.wikia.com/wiki/How_to_download_all_image_files_in_a_Wikimedia_Commons_page_or_directory| 
but it didn't help me as at the |WIKI_LINKS| step I received an error 
that there was no such page on Wikimedia Commons.


If you would like a specific example to work with (i.e., a specific 
category to write a code to download from) try the Wikimedia Commons 
category Histopathology 
(|https://commons.wikimedia.org/wiki/Category:Histopathology|). Dw I 
know this download will take a while due to the number and size of the 
files involved.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Adding Special:PrefixIndex/FULLPAGENAME to tools section of sidebar

2015-02-24 Thread Brenton Horne

This worked perfectly, thanks! Problem solved.

On 25/02/2015 12:34 AM, Hydriz Scholz wrote:

This is the code
that I use to add the link to the toolbox:

mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:Prefixindex/' +
mw.config.get('wgPageName')), 'Subpages', 'tb-prefixindex');



___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Adding Special:PrefixIndex/FULLPAGENAME to tools section of sidebar

2015-02-24 Thread Brenton Horne

Hi,

I've posted a question on StackOverflow on this topic 
(http://stackoverflow.com/questions/28677871/how-do-i-add-specialprefixindex-fullpagename-to-the-toolbox-in-my-local-mediawi) 
and I think I may be able to answer the question myself, if someone 
would tell me what the full page name variable is in JavaScript and how 
to insert a JavaScript variable like this into strings like


'http://127.0.0.1/mediawiki/index.php/Special:PrefixIndex/'

I have done some research into JavaScript, which is what inspired me to 
ask this question because I knew that quotation marks "" substitute 
variable names with their variable value leaving the rest of what is in 
them as a string, whereas apostrophes like ' ' render everything inside 
them as a string. So I initially tried to define the page name variable 
using:


|var  page=  mw.config.get(  'wgPageName'  );|

then I defined the URL string 
|'http://127.0.0.1/mediawiki/index.php/Special:PrefixIndex/'"page"| then 
I thought I must have screwed up with my quotation marks vs. apostrophes 
and their roles in JS so I switched the apostrophes for quotation marks 
and vice versa, but this didn't solve my problem.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] SideBarMenu extension

2015-02-24 Thread Brenton Horne
OK I did that, and received the same error when I loaded a page on my 
MediaWiki installation.

On 24/02/2015 6:53 PM, Stephan Gambke wrote:

On 23 February 2015 at 17:54, Brenton Horne  wrote:

4. I then downloaded the zip file for ParamProcessor here
https://codeload.github.com/JeroenDeDauw/ParamProcessor/zip/master,
extracted its contents, copy-pasted it to
|C:\Bitnami\mediawiki-1.24.1-0\php| (where it was in its own
directory ...\ParamProcessor). I then added ||

|"require": {|||
|||"/Bitnami/mediawiki-1.24.1-0/php/ParamProcessor/param-processor":
"~1.0"|||
|||}|
to
|C:\Bitnami\mediawiki-1.24.1-0\php\PEAR\AWSSDKforPHP\Composer.json|
as the READEME.md file that came with it said I should and reloaded
the same page on my Wiki to receive the same error.

That's not what it says. There is no need to download or unzip
anything. Just go to your MW base directory (the one with
LocalSettings.php in it) and run
composer require "param-processor/param-processor: ~1.0"

___
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] SideBarMenu extension

2015-02-23 Thread Brenton Horne

Hi,

I've tried to install the SideBarMenu extension 
(https://www.mediawiki.org/wiki/Extension:SideBarMenu). This is how I 
went about it (note the software/extension links are all download link 
so if you open them in your browser be prepared to download them):


1. I installed composer by running this binary
   https://getcomposer.org/Composer-Setup.exe. No apparent errors were
   encountered. When it prompted me for php.exe I used the php.exe of
   my MediaWiki installation namely
   |C:\Bitnami\mediawiki-1.24.1-0\php\php.exe.|
2. I downloaded the zip directory for the extension via this link:
   
https://codeload.github.com/wikimedia/mediawiki-extensions-SideBarMenu/zip/c1730e2ebb9fb731288fbc01592bc149b1778625.
   I then unzipped it, renamed the directory SideBarMenu and
   copy-pasted it to |...\extensions|. I then added
   |require_once("extensions/SidebarMenu/SidebarMenu.php"); |to
   |LocalSettings.php|. Which was what the extension page I linked
   earlier told me to do.
3. I then opened up a page on the local mediawiki installation with
   this content: |SideBarMenu requires extension ParamProcessor. |
4. I then downloaded the zip file for ParamProcessor here
   https://codeload.github.com/JeroenDeDauw/ParamProcessor/zip/master,
   extracted its contents, copy-pasted it to
   |C:\Bitnami\mediawiki-1.24.1-0\php| (where it was in its own
   directory ...\ParamProcessor). I then added ||

   |"require": {|||
   |||"/Bitnami/mediawiki-1.24.1-0/php/ParamProcessor/param-processor":
   "~1.0"|||
   |||}|
   to
   |C:\Bitnami\mediawiki-1.24.1-0\php\PEAR\AWSSDKforPHP\Composer.json|
   as the READEME.md file that came with it said I should and reloaded
   the same page on my Wiki to receive the same error.

Now I am left asking if anyone knows how I could overcome this error.

Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Extensions/Gadgets that assist in template field-filling

2015-02-21 Thread Brenton Horne

Sounds like it. Any idea when you could manage it?

On 22/02/2015 1:01 AM, Ricordisamoa wrote:
You mean integrating WikiEditor with TemplateData 
, don't you?
I have been planning to write some JavaScript for the purpose for a 
few years... 



___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Extensions/Gadgets that assist in template field-filling

2015-02-21 Thread Brenton Horne
Hi,

I know that on Wikia sites there's a tool available when editing in the
Visual Editor that allows one to choose from all the templates on the Wikia
site, and when one selects the template one wishes to use it loads the
fields for said template and allows one to edit them all in this pop-up
window before embedding this template into the article. It makes inserting
several-input templates like infoboxes far easier and I was wondering if
something like this existed for local MediaWikis when operating in source
mode. I was wondering if it might be possible, for instance (like if
something different to this is possible I'm still happy to hear it), if the
WikiEditor extension (https://www.mediawiki.org/wiki/Extension:WikiEditor)
could be given an additional tool with these capabilities.

If you're wondering what I mean by this "tool" for inserting templates see
http://community.wikia.com/wiki/Help:Templates#Adding_pre-existing_templates
.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Citation templates & ISO dates

2015-02-19 Thread Brenton Horne

Hi,

I've got a great dislike for ISO dates but I've copied the citation 
templates of Wikipedia and their Lua modules which allow ISO dates and 
leave them as is in the final rendering of the template. So I would like 
to know if there is any way I can edit them such that they automatically 
change all the dates currently not in full length format (e.g., 20 
February 2015 for today) into this full-length format. The reason why 
this question is relevant is that sometimes I use Zotero to do my 
Wikipedia citation templates and whenever I'm citing a journal from 
PubMed they use ISO dates (e.g., 2015-02-20 for today).


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Correcting errors

2015-02-18 Thread Brenton Horne

You know it would make things a LOT easier if we could access your wiki.

OK, ngrok is running again, so the tunnel should be open for you to view.

I figured out the problem on the Upload:Chemistry page, it was that 
|addOnloadHook| was a deprecated JavaScript function that was succeeded 
by |jQuery |and MediaWiki:Common.js was where I had inadvertently added 
this function in an effort to customize the sidebar following this 
https://www.mediawiki.org/w/index.php?title=Manual:Interface/Sidebar&oldid=1384038#Add_or_remove_toolbox_sections_.28JavaScript.29 
guide. I have since corrected this error, and edited the MediaWiki 
article accordingly.


Presently I am trying to get a self-made widget working, and trying to 
decipher the errors I am getting. This widget is at Widget:Marvin (i.e., 
http://521b63dd.ngrok.com/mediawiki/index.php/Widget:Marvin) and its 
implementation at User:Brenton 
(http://521b63dd.ngrok.com/mediawiki/index.php/User:Brenton). Marvin is 
a Widget I hope will embed a Marvin JS applet into articles. The files 
(which were downloaded from 
http://dl.chemaxon.com/marvinjs/15.2.16/marvinjs-15.2.16-all.zip) are in 
the |.../Marvin| directory where |...| is the MediaWiki directory where 
|index.php| is, for instance. I was basing the Widget page on 
https://marvinjs-demo.chemaxon.com/latest/docs/dev/embed.html as I 
understand that Widgets are meant to embed HTML codes into Wiki pages.

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Correcting errors

2015-02-18 Thread Brenton Horne
OK, I did that and opened up developer tools but all the info I was 
given was what I was given before I added this to the URL. Was I 
supposed to do something else besides opening developer tools in Chrome 
after I loaded this new page?

On 18/02/2015 10:19 PM, Bartosz Dziewoński wrote:
…the warning message should give you some more useful information 
about where it comes from. 



___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Correcting errors

2015-02-17 Thread Brenton Horne

Hi,

I went to Upload:Chemistry on my Wiki and opened up the chrome developer 
tools and I noticed one error I was hoping to know how to correct. Here 
is a screenshot showing this error: http://i.imgur.com/b5mPOmQ.png. I 
have opened up the debugger looking for the errors mentioned but I can't 
seem to identify what I need to edit (as I'm looking for 
"mw.log.log.warn" and "addOnloadHook" as these are what the console said 
was defective). Could someone please help me?


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Marvin Extension

2015-02-17 Thread Brenton Horne
Hi,

I'm trying to create a new extension that enables the embedding of
MarvinSketch Java applets (I have a marvin.js file, along with several .jar
files that came with one of their free downloads.
http://dl.chemaxon.com/marvin/15.2.9.0/marvin-all-15.2.9.0.zip is what I
downloaded and extracted) into articles. This Marvin download came with
several examples of how the applets could be embedded into HTML files and
the proper syntax in HTML and I was wondering if there was some way of
using this knowledge to create PHP files for a Marvin extension
(Marvin.body.php, Marvin.php. I am neglecting Marvin.i18n.php as my Wiki is
only in English and it just makes it simpler if I can leave this bit out).
I have made pretty lousy efforts, but I really don't know what I'm doing. I
have read https://www.mediawiki.org/wiki/Manual:Developing_extensions if
you're wondering, but it didn't really help me as I know little about PHP.
Like I know some really basic things like that:

   - variables start with $
   - each line is ends with ;
   - the file needs to start with 
   - What appears between /* */ and after // is not rendered.
   - Blocks are pieces of code that are executed together.
   - Functions take variables and give an output and are ended with return.
   - " " evaluates variables
   - echo " " hands whatever is between the quotation marks to be rendered
   as HTML.


Despite this I am determined to do at least some of this coding myself, but
I could do with some help, if possible. See I am basing these PHP files on
those of the JSmol extension (namely, the one created by Jaime Prilusky @
http://proteopedia.org/wiki/support/JSmolExtension/JSmolExtension.zip) and
without annotated notes in the PHP file it is difficult to know what I
should copy in my Marvin PHPs and which I should not.

So what I would like to know is:

* If my idea of basing it on the JSmol extension's PHP files is the way to
go. If not, what better way(s) exist. Please give me detailed examples of
these better ways as otherwise I'll be stuck with my PHP ignorance.
* If basing it on JSmol is a decent way to do this then the purpose of each
function listed in Jmol.php and Jmol.body.php would be helpful.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Lua-based infoboxes

2015-02-16 Thread Brenton Horne
Ah, nvm about the infobox I found the problem. I was meant to leave a 
line between headers and proper rows (e.g., header1 cannot be followed 
by label1, data1; likewise header3 cannot be followed by label3 or data3 
but it can be followed by label4 and data4). As for how to find these 
errors please do tell me.


On 17/02/2015 3:11 PM, Brenton Horne wrote:

Hi John

OK so for you to see the infobox what do I need to do? Btw where can I 
find a list of these errors as I'd like to try and fix 'em if I can.


Thanks for your time,
Brenton
On 17/02/2015 1:26 AM, John wrote:

Without being able to see the infobox no, However there are half a dozen
possible causes including mss-configured parameters, invalid syntax 
and a

bunch more

On Mon, Feb 16, 2015 at 10:17 AM, Brenton Horne 


wrote:


Do you have any solutions to these errors?

On 17 February 2015 at 00:20, John  wrote:


Went to take a look and your site is throwing 502 errors

On Mon, Feb 16, 2015 at 9:17 AM, Brenton Horne 


wrote:

Just attempted that export/import suggestion and it failed. Row 6 
still

isn't loading.

On 17 February 2015 at 00:07, John  wrote:

I wouldnt copy/paste I find export/import to work better as there 
may

be

some underlying code that is missed in sub sub-templates/modules

On Mon, Feb 16, 2015 at 8:50 AM, Brenton Horne <

brentonhorn...@gmail.com

wrote:


Hi,

I've been working with infoboxes based on Lua modules taken

(copy-pasted,

no changes) from Wikipedia. The base template is Template:Infobox

(Lua)

which
has the same code as Template:Infobox on Wikipedia (which can be

viewed

here https://en.wikipedia.org/wiki/Template:Infobox?action=raw).

One

of

the
infoboxes I've based on this template has no row 6 (i.e., label 6,

data6

do

not appear in the table when rendered), this is the code this

infobox

(which is called DBox, if you'd like a name to call it) has:


http://521b63dd.ngrok.com/mediawiki/index.php/Template:DBox?action=raw

.

label6 and data6 are the eMedicine rows, if you're wondering. If

you

need

to check up on these extra templates or the modules I'm working

here's

the

ngrok link: http://521b63dd.ngrok.com/mediawiki/index.php/. Here's

an

example of its implementation:
http://521b63dd.ngrok.com/mediawiki/index.php/Epilepsy if you'd

like

to

see
what's the problem.

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


Re: [MediaWiki-l] Lua-based infoboxes

2015-02-16 Thread Brenton Horne

Hi John

OK so for you to see the infobox what do I need to do? Btw where can I 
find a list of these errors as I'd like to try and fix 'em if I can.


Thanks for your time,
Brenton
On 17/02/2015 1:26 AM, John wrote:

Without being able to see the infobox no, However there are half a dozen
possible causes including mss-configured parameters, invalid syntax and a
bunch more

On Mon, Feb 16, 2015 at 10:17 AM, Brenton Horne 
wrote:


Do you have any solutions to these errors?

On 17 February 2015 at 00:20, John  wrote:


Went to take a look and your site is throwing 502 errors

On Mon, Feb 16, 2015 at 9:17 AM, Brenton Horne 
Just attempted that export/import suggestion and it failed. Row 6 still
isn't loading.

On 17 February 2015 at 00:07, John  wrote:


I wouldnt copy/paste I find export/import to work better as there may

be

some underlying code that is missed in sub sub-templates/modules

On Mon, Feb 16, 2015 at 8:50 AM, Brenton Horne <

brentonhorn...@gmail.com

wrote:


Hi,

I've been working with infoboxes based on Lua modules taken

(copy-pasted,

no changes) from Wikipedia. The base template is Template:Infobox

(Lua)

which
has the same code as Template:Infobox on Wikipedia (which can be

viewed

here https://en.wikipedia.org/wiki/Template:Infobox?action=raw).

One

of

the
infoboxes I've based on this template has no row 6 (i.e., label 6,

data6

do

not appear in the table when rendered), this is the code this

infobox

(which is called DBox, if you'd like a name to call it) has:


http://521b63dd.ngrok.com/mediawiki/index.php/Template:DBox?action=raw

.

label6 and data6 are the eMedicine rows, if you're wondering. If

you

need

to check up on these extra templates or the modules I'm working

here's

the

ngrok link: http://521b63dd.ngrok.com/mediawiki/index.php/. Here's

an

example of its implementation:
http://521b63dd.ngrok.com/mediawiki/index.php/Epilepsy if you'd

like

to

see
what's the problem.

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


Re: [MediaWiki-l] Lua-based infoboxes

2015-02-16 Thread Brenton Horne
Do you have any solutions to these errors?

On 17 February 2015 at 00:20, John  wrote:

> Went to take a look and your site is throwing 502 errors
>
> On Mon, Feb 16, 2015 at 9:17 AM, Brenton Horne 
> wrote:
>
> > Just attempted that export/import suggestion and it failed. Row 6 still
> > isn't loading.
> >
> > On 17 February 2015 at 00:07, John  wrote:
> >
> > > I wouldnt copy/paste I find export/import to work better as there may
> be
> > > some underlying code that is missed in sub sub-templates/modules
> > >
> > > On Mon, Feb 16, 2015 at 8:50 AM, Brenton Horne <
> brentonhorn...@gmail.com
> > >
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I've been working with infoboxes based on Lua modules taken
> > (copy-pasted,
> > > > no changes) from Wikipedia. The base template is Template:Infobox
> (Lua)
> > > > which
> > > > has the same code as Template:Infobox on Wikipedia (which can be
> viewed
> > > > here https://en.wikipedia.org/wiki/Template:Infobox?action=raw). One
> > of
> > > > the
> > > > infoboxes I've based on this template has no row 6 (i.e., label 6,
> > data6
> > > do
> > > > not appear in the table when rendered), this is the code this infobox
> > > > (which is called DBox, if you'd like a name to call it) has:
> > > >
> http://521b63dd.ngrok.com/mediawiki/index.php/Template:DBox?action=raw
> > .
> > > > label6 and data6 are the eMedicine rows, if you're wondering. If you
> > need
> > > > to check up on these extra templates or the modules I'm working
> here's
> > > the
> > > > ngrok link: http://521b63dd.ngrok.com/mediawiki/index.php/. Here's
> an
> > > > example of its implementation:
> > > > http://521b63dd.ngrok.com/mediawiki/index.php/Epilepsy if you'd like
> > to
> > > > see
> > > > what's the problem.
> > > >
> > > > 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


Re: [MediaWiki-l] Lua-based infoboxes

2015-02-16 Thread Brenton Horne
Just attempted that export/import suggestion and it failed. Row 6 still
isn't loading.

On 17 February 2015 at 00:07, John  wrote:

> I wouldnt copy/paste I find export/import to work better as there may be
> some underlying code that is missed in sub sub-templates/modules
>
> On Mon, Feb 16, 2015 at 8:50 AM, Brenton Horne 
> wrote:
>
> > Hi,
> >
> > I've been working with infoboxes based on Lua modules taken (copy-pasted,
> > no changes) from Wikipedia. The base template is Template:Infobox (Lua)
> > which
> > has the same code as Template:Infobox on Wikipedia (which can be viewed
> > here https://en.wikipedia.org/wiki/Template:Infobox?action=raw). One of
> > the
> > infoboxes I've based on this template has no row 6 (i.e., label 6, data6
> do
> > not appear in the table when rendered), this is the code this infobox
> > (which is called DBox, if you'd like a name to call it) has:
> > http://521b63dd.ngrok.com/mediawiki/index.php/Template:DBox?action=raw.
> > label6 and data6 are the eMedicine rows, if you're wondering. If you need
> > to check up on these extra templates or the modules I'm working here's
> the
> > ngrok link: http://521b63dd.ngrok.com/mediawiki/index.php/. Here's an
> > example of its implementation:
> > http://521b63dd.ngrok.com/mediawiki/index.php/Epilepsy if you'd like to
> > see
> > what's the problem.
> >
> > 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] Lua-based infoboxes

2015-02-16 Thread Brenton Horne
Hi,

I've been working with infoboxes based on Lua modules taken (copy-pasted,
no changes) from Wikipedia. The base template is Template:Infobox (Lua) which
has the same code as Template:Infobox on Wikipedia (which can be viewed
here https://en.wikipedia.org/wiki/Template:Infobox?action=raw). One of the
infoboxes I've based on this template has no row 6 (i.e., label 6, data6 do
not appear in the table when rendered), this is the code this infobox
(which is called DBox, if you'd like a name to call it) has:
http://521b63dd.ngrok.com/mediawiki/index.php/Template:DBox?action=raw.
label6 and data6 are the eMedicine rows, if you're wondering. If you need
to check up on these extra templates or the modules I'm working here's the
ngrok link: http://521b63dd.ngrok.com/mediawiki/index.php/. Here's an
example of its implementation:
http://521b63dd.ngrok.com/mediawiki/index.php/Epilepsy if you'd like to see
what's the problem.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Enabling special character file names

2015-02-15 Thread Brenton Horne
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  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:
> >> brentonhorn...@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  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: arc...@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:
>  brentonhorn...@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-file-name-issue
> 
> >>> 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


Re: [MediaWiki-l] Enabling special character file names

2015-02-13 Thread Brenton Horne
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  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: arc...@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: brentonhorn...@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-file-name-issue
> > 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] Enabling special character file names

2015-02-13 Thread Brenton Horne
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-file-name-issue
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


Re: [MediaWiki-l] Email confirmation

2015-02-09 Thread Brenton Horne
No I do not have a mail server configured for my domain that I am aware of.

On 10 February 2015 at 14:34, John  wrote:

> Do you have a mail server configured for your domain?
>
> as for google, a 30 second search from
>
> https://www.google.com/search?num=100&site=&source=hp&q=mediawiki+email+site%3Amediawiki.org&oq=mediawiki+email+site%3Amediawiki.org
>   shows:
>
> http://www.mediawiki.org/wiki/Manual:Configuration_settings#Email_settings
>
> which leads to http://www.mediawiki.org/wiki/Manual:$wgSMTP
>
> where you can tie it into your current mail server, or use an outside
> client like gmail (if the volume of mail is low enough)
>
>
>
> On Mon, Feb 9, 2015 at 11:28 PM, Brenton Horne 
> wrote:
>
> > It works (namely instructions here https://www.mediawiki.org/
> > wiki/Manual:$wgSMTP) for just my email, I was hoping to enable email
> > confirmation for other users, without having to manually add all their
> > email addresses to localsettings.php. Btw which of my previous questions
> do
> > you think I could get the answer from Google? Because if you have an
> answer
> > for them I'd like to hear it. I have tried Google and MediaWiki before
> > asking all these questions.
> >
> >
> > On 10/02/2015 2:14 PM, John wrote:
> >
> >> http://www.mediawiki.org/wiki/Manual:Configuration_settings#
> >> Email_settings
> >> has most of the settings needed
> >>
> >> On Mon, Feb 9, 2015 at 11:11 PM, Brenton Horne >
> >> wrote:
> >>
> >>  I do try to use Google first, I also try to search MediaWiki's website
> >>> first. Dw, I realize this list usually takes at least a few hours to
> get
> >>> a
> >>> reply, if I could find one on Google first I'd save myself a lot of
> time
> >>> and not ask here.
> >>>
> >>> On 10/02/2015 1:59 PM, John wrote:
> >>>
> >>>  I dont mean to offend you, but Brenton please stop using mediawiki-l
> as
> >>>> your personal google. most of the questions you have asked on this
> list
> >>>> could have been solved with about 5 minutes of using google.
> >>>>
> >>>> On Mon, Feb 9, 2015 at 10:54 PM, Poopak Alaeifar
> >>>> wrote:
> >>>>
> >>>>   What is your host server for receiving email?
> >>>>
> >>>>> From: John
> >>>>>To: MediaWiki announcements and site admin list <
> >>>>> mediawiki-l@lists.wikimedia.org>
> >>>>>Sent: Tuesday, February 10, 2015 2:47 PM
> >>>>>Subject: Re: [MediaWiki-l] Email confirmation
> >>>>>
> >>>>> You need to configure your outbound mail server.
> >>>>>
> >>>>> On Mon, Feb 9, 2015 at 10:46 PM, Brenton Horne <
> >>>>> brentonhorn...@gmail.com
> >>>>> wrote:
> >>>>>
> >>>>>   Hi,
> >>>>>
> >>>>>> My Wiki was meant to send me an email confirmation but when I went
> to
> >>>>>> Special:ConfirmEmail and I got it to send me a confirmation email
> and
> >>>>>> it
> >>>>>> returned this error on the page:
> >>>>>>
> >>>>>> Failed to connect to mailserver at "localhost" port 25, verify your
> >>>>>>
> >>>>>>  "SMTP"
> >>>>>
> >>>>>  and "smtp_port" setting in php.ini or use ini_set()
> >>>>>>
> >>>>>> How do I overcome this error?
> >>>>>>
> >>>>>> 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
>
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Email confirmation

2015-02-09 Thread Brenton Horne
It works (namely instructions here 
https://www.mediawiki.org/wiki/Manual:$wgSMTP) for just my email, I was 
hoping to enable email confirmation for other users, without having to 
manually add all their email addresses to localsettings.php. Btw which 
of my previous questions do you think I could get the answer from 
Google? Because if you have an answer for them I'd like to hear it. I 
have tried Google and MediaWiki before asking all these questions.


On 10/02/2015 2:14 PM, John wrote:

http://www.mediawiki.org/wiki/Manual:Configuration_settings#Email_settings
has most of the settings needed

On Mon, Feb 9, 2015 at 11:11 PM, Brenton Horne
wrote:


I do try to use Google first, I also try to search MediaWiki's website
first. Dw, I realize this list usually takes at least a few hours to get a
reply, if I could find one on Google first I'd save myself a lot of time
and not ask here.

On 10/02/2015 1:59 PM, John wrote:


I dont mean to offend you, but Brenton please stop using mediawiki-l as
your personal google. most of the questions you have asked on this list
could have been solved with about 5 minutes of using google.

On Mon, Feb 9, 2015 at 10:54 PM, Poopak Alaeifar
wrote:

  What is your host server for receiving email?

From: John
   To: MediaWiki announcements and site admin list <
mediawiki-l@lists.wikimedia.org>
   Sent: Tuesday, February 10, 2015 2:47 PM
   Subject: Re: [MediaWiki-l] Email confirmation

You need to configure your outbound mail server.

On Mon, Feb 9, 2015 at 10:46 PM, Brenton Horne 
My Wiki was meant to send me an email confirmation but when I went to
Special:ConfirmEmail and I got it to send me a confirmation email and it
returned this error on the page:

Failed to connect to mailserver at "localhost" port 25, verify your


"SMTP"


and "smtp_port" setting in php.ini or use ini_set()

How do I overcome this error?

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


Re: [MediaWiki-l] Email confirmation

2015-02-09 Thread Brenton Horne
I do try to use Google first, I also try to search MediaWiki's website 
first. Dw, I realize this list usually takes at least a few hours to get 
a reply, if I could find one on Google first I'd save myself a lot of 
time and not ask here.

On 10/02/2015 1:59 PM, John wrote:

I dont mean to offend you, but Brenton please stop using mediawiki-l as
your personal google. most of the questions you have asked on this list
could have been solved with about 5 minutes of using google.

On Mon, Feb 9, 2015 at 10:54 PM, Poopak Alaeifar 
wrote:


What is your host server for receiving email?
   From: John 
  To: MediaWiki announcements and site admin list <
mediawiki-l@lists.wikimedia.org>
  Sent: Tuesday, February 10, 2015 2:47 PM
  Subject: Re: [MediaWiki-l] Email confirmation

You need to configure your outbound mail server.

On Mon, Feb 9, 2015 at 10:46 PM, Brenton Horne 
wrote:


Hi,

My Wiki was meant to send me an email confirmation but when I went to
Special:ConfirmEmail and I got it to send me a confirmation email and it
returned this error on the page:

Failed to connect to mailserver at "localhost" port 25, verify your

"SMTP"

and "smtp_port" setting in php.ini or use ini_set()

How do I overcome this error?

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


Re: [MediaWiki-l] Email confirmation

2015-02-09 Thread Brenton Horne
I figured I needed to configure the server I just don't know how. That's
why I'm asking. I'm a noob when it comes to this stuff.

On 10 February 2015 at 13:47, John  wrote:

> You need to configure your outbound mail server.
>
> On Mon, Feb 9, 2015 at 10:46 PM, Brenton Horne 
> wrote:
>
> > Hi,
> >
> > My Wiki was meant to send me an email confirmation but when I went to
> > Special:ConfirmEmail and I got it to send me a confirmation email and it
> > returned this error on the page:
> >
> > Failed to connect to mailserver at "localhost" port 25, verify your
> "SMTP"
> > and "smtp_port" setting in php.ini or use ini_set()
> >
> > How do I overcome this error?
> >
> > 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] Email confirmation

2015-02-09 Thread Brenton Horne

Hi,

My Wiki was meant to send me an email confirmation but when I went to 
Special:ConfirmEmail and I got it to send me a confirmation email and it 
returned this error on the page:


Failed to connect to mailserver at "localhost" port 25, verify your 
"SMTP" and "smtp_port" setting in php.ini or use ini_set()


How do I overcome this error?

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] CS1 errors; how to remove undesired ones

2015-02-09 Thread Brenton Horne

Hi,

I've copy-pasted the Citation/CS1 module from Wikipedia (with some minor 
adjustments, like I wanted the dois to be listed before PMCs and PMIDs, 
which the original module didn't do on my Wiki), along with its 
dependencies. The problem is that on my Wiki we have month ranges in 
journal article cites, sometimes, e.g., September-October 2010 for this 
citation http://www.ncbi.nlm.nih.gov/pubmed/20622510 and this generates 
a CS1 error. If you need to see the source of this module see 
http://521b63dd.ngrok.com/mediawiki/index.php/Module:Citation/CS1?action=raw. 
A list of its dependencies I copy-pasted can be found here: 
http://521b63dd.ngrok.com/mediawiki/index.php/Special:PrefixIndex/Module:Citation/CS1/. 
Here's an example of this date error 
http://521b63dd.ngrok.com/mediawiki/index.php/Chimeric_monoclonal_antibody.


I don't understand Lua so please be patient with me.

Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Rollback problem

2015-02-08 Thread Brenton Horne

Nvm it's resolved itself.
On 9/02/2015 4:55 PM, Brenton Horne wrote:

Hi,

I tried to rollback 10 edits on the MediaWiki:Common.css page on my 
Wiki and that action left me on a blank page and now I can't seem to 
load my Wiki at all (as the browser tries to load the page but never 
manages to). This problem is not limited to just one browser either, 
both opera and chrome are having this problem. How do I overcome this 
problem?


Thanks for your time,
Brenton



___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Rollback problem

2015-02-08 Thread Brenton Horne

Hi,

I tried to rollback 10 edits on the MediaWiki:Common.css page on my Wiki 
and that action left me on a blank page and now I can't seem to load my 
Wiki at all (as the browser tries to load the page but never manages 
to). This problem is not limited to just one browser either, both opera 
and chrome are having this problem. How do I overcome this problem?


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] MediaWiki:Edittools Javascript wrapping

2015-02-08 Thread Brenton Horne

Hi,

I've installed the edittools gadget on my local Wiki (taken from 
https://www.mediawiki.org/wiki/MediaWiki:Gadget-Edittools.js) and now 
I'm customizing edittools (MediaWiki:Edittools, see 
http://521b63dd.ngrok.com/mediawiki/index.php/MediaWiki:Edittools to see 
it for yourself via ngrok), namely, by removing the special characters 
in it (as they're found in the WikiEditor I've installed) and adding 
templates with their doc pages hyperlinked in it. Unfortunately, this 
gadget treats all text the same getting them ready for insertion in the 
source editor, whereas I'd like the doc superscript to be left the way 
it is hyperlinked.


Here's a screenshot showing what I'm talking about (with a drawn in box 
around the doc superscript I'd like to be left without the formatting of 
the characters to be inserted) http://imgur.com/8CDjO1k.


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Interwiki linking

2015-02-08 Thread Brenton Horne
Hi,

I've heard of the interwiki linking table and suffice it to say that the
MediaWiki article on this (
https://www.mediawiki.org/wiki/Manual:Interwiki_table) wasn't exactly
helpful to me as a guide as to how to set them up. I would like someone to
boil it down into a group of simple steps for me to do whenever I want to
add interwiki links to my Wiki (I do have the extension installed if you're
wondering and it seems to work fine for interwiki links already defined
like [[Wikipedia:...]]). I'd also like acronyms (e.g., WP for Wikipedia) to
work as prefixes in interwiki links like they do on the Wikimedia projects.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] How do I add tools to the toolbox in vector/monobook skins?

2015-02-07 Thread Brenton Horne

Hi,

I'd like to know how to add tools to the toolbox, like for example, I'd 
like to add Special:MultiUpload to the toolbox.


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Collapsing parts of the sidebar in vector skin

2015-02-07 Thread Brenton Horne

Hi,

I'd like to know how I can collapse sections in the vector sidebar like 
they have on SklogWiki 
(http://www.sklogwiki.org/SklogWiki/index.php/Main_Page). Please 
remember I am not a programmer or otherwise skilled in technical things 
so please just give me something to copy-paste (e.g., into 
LocalSettings.php or a page in the MediaWiki namespace).


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Infobox formatting

2015-02-05 Thread Brenton Horne
Could of sworn I ran CTRL+F5 (I'm in chrome) first to clear the cache, but
apparently I didn't and now the formatting is the way I wanted it.

On 6 February 2015 at 09:29, Boris Steipe  wrote:

> Try re-opening the page in a new browser window. The CSS gets cached,
> changes to MediaWiki:Common.css don't necessarily affect the rendering of
> the page immediately.
>
> B.
>
>
>
> On Feb 5, 2015, at 5:09 PM, Brenton Horne 
> wrote:
>
> > Did that (not sure if that was meant to be under infobox in
> MediaWiki:Common.css) and no visually-apparent results.
> > On 6/02/2015 8:04 AM, Brion Vibber wrote:
> >>   .color1 { background: #3366cc; color: white; }
> >
> >
> > ___
> > 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


Re: [MediaWiki-l] Inkscape for SVG thumbnailing

2015-02-05 Thread Brenton Horne
Aha! I found my solution for both thumbnailing problems (SVG and 
bitmap). I felt I'd share it in case someone else has a similar problem 
and reads this.


Here's a snippet of my |LocalSettings.php| file, namely the 
image-thumbnailing relevant part:


|# Image Converter|

|$wgSVGConverter = 'Inkscape';|

|
||$wgSVGConverters = array(|

| 'Inkscape' => '"/Program Files (x86)/Inkscape/inkscape.com" -z -w $width 
-f $input -e $output',|

|);|

|
||# Image converter path|

|$wgSVGConverterPath = '/Program Files (x86)/Inkscape';|

|
||## To enable image uploads, make sure the 'images' directory|

|## is writable, then set this to true:|

|$wgEnableUploads  = true;|

|$wgUseImageMagick = true;|

|$wgImageMagickConvertCommand = convert;

Hope this helps someone else,
Brenton
|

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Infobox formatting

2015-02-05 Thread Brenton Horne
Did that (not sure if that was meant to be under infobox in 
MediaWiki:Common.css) and no visually-apparent results.

On 6/02/2015 8:04 AM, Brion Vibber wrote:

   .color1 { background: #3366cc; color: white; }



___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Infobox formatting

2015-02-05 Thread Brenton Horne
This is no such info in the MediaWiki:Common.css page and I don't 
understand HTML well enough to really tell where the Infobox class is 
but I know where I found this formatting I wanted was a Wikia site and 
the infobox's code includes


|class="color1" colspan="2" style="text-align: center; padding:1em; 
font-size:120%" |{{{Box title|{{PAGENAMEF}
I think color1 is what I need. Any ideas of how to get this colouring 
option?


On 6/02/2015 7:38 AM, Brion Vibber wrote:

Most probably the template sets the color via a CSS class, that on the wiki
you got the template from lives in the 'MediaWiki:Common.css' page (you
must be logged in as sysop to edit this magic page, which sets additional
CSS style rules for your wiki).

If you can't find the relevant styles where you got the template, try
checking the HTML of the table for class names (you can use the developer
tools in your browser for this, in most browsers you can right-click on
something and select 'Inspect' or similar from the popup menu to open that
up). Once you have the class name you can write your own CSS styles to set
the blue background etc.

-- brion

On Thu, Feb 5, 2015 at 12:20 PM, Brenton Horne 
wrote:


Hi,

Currently my Windows 7 installation of MediaWiki creates infoboxes that
look like http://imgur.com/g2Tlh4f when I'd like it look more like
http://imgur.com/s0UHES4. I'd especially like the blue title background.
How do I do this?

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] Infobox formatting

2015-02-05 Thread Brenton Horne

Hi,

Currently my Windows 7 installation of MediaWiki creates infoboxes that 
look like http://imgur.com/g2Tlh4f when I'd like it look more like 
http://imgur.com/s0UHES4. I'd especially like the blue title background. 
How do I do this?


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Inkscape for SVG thumbnailing

2015-02-04 Thread Brenton Horne

Thanks, Brion, that worked perfectly, just as a temporary measure though.

On 5/02/2015 9:03 AM, Brion Vibber wrote:

If you have trouble getting thumbnailing to work, you can disable the
server-side resizing by setting in LocalSettings.php:

   $wgUseImageResize = false;

This isn't ideal if your images are large photos because they'll be
downloaded at full size to the web browser, but if your images are roughly
screen-sized that should get you working for now.

-- brion

On Wed, Feb 4, 2015 at 2:47 PM, Brenton Horne 
wrote:


Thanks, Arcane it worked perfectly. Do you know of any similar extension
for JPGs and other bitmap image formats as my Wiki is having similar
problems with these image formats too?

PS I've made some inquiries about the Jmol extension with the author
(NicoV) mentioning your and my difficulties (
https://www.mediawiki.org/wiki/Extension_talk:Jmol).

On 5 February 2015 at 08:17, Arcane 21  wrote:


If you just need quick and dirty clientside SVG rendering, try this
extension:

https://www.mediawiki.org/wiki/Extension:NativeSvgHandler

Even if you don't have any other SVG renderer enabled, it pipes the

output

through your browser's SVG renderer as a middleman, which, unless you

have

a browser that belongs in a museum, will work fine 100% of the time.


Date: Thu, 5 Feb 2015 05:04:16 +1000
From: brentonhorn...@gmail.com
To: mediawiki-l@lists.wikimedia.org
Subject: [MediaWiki-l] Inkscape for SVG thumbnailing

Hi,

I'd like to know how I can use Inkscape for SVG thumbnailing on my

Windows

7 OS with a MediaWiki installation. Inkscape's files are located at
C:\Program Files (x86)\Inkscape. My efforts to date (mostly based on
Manual:$wgSVGConverters and other MediaWiki manual pages) have failed.
Currently my LocalSettings.php file's SVG-related settings are:

# Image Converter

$wgSVGConverter = 'Inkscape';
$wgSVGConverters = array(
 'Inkscape' => '"$path/inkscape.exe" -z -w $width -f $input -e

$output',

);
# Image converter path
$wgSVGConverterPath = '/Program Files (x86)/Inkscape';


This gives the following error (which appears in the thumbnail's

place):

Error creating thumbnail: '""' is not recognized as an internal or
external command,
operable program or batch file.


The reason I'd like Inkscape as my SVG thumbnailer in particular is

because

I sometimes use SVGs that are only correctly rendered by Inkscape (I

know

that Wikia's thumbnailer (whatever it might be) frequently makes

rendering

errors with these SVGs, e.g., see


http://health-and-medicine.wikia.com/wiki/File:Symptoms_of_Hodgkin_lymphoma.svg

and all the black spots that appear in it.

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


Re: [MediaWiki-l] Inkscape for SVG thumbnailing

2015-02-04 Thread Brenton Horne
Oh and btw, if someone else is watching and wondering if they should bother
trying to get SVG thumbnailing working via Inkscape like I originally
wanted the answer is, "Yes please!" This solution is just a temporary
measure.

On 5 February 2015 at 08:47, Brenton Horne  wrote:

> Thanks, Arcane it worked perfectly. Do you know of any similar extension
> for JPGs and other bitmap image formats as my Wiki is having similar
> problems with these image formats too?
>
> PS I've made some inquiries about the Jmol extension with the author
> (NicoV) mentioning your and my difficulties (
> https://www.mediawiki.org/wiki/Extension_talk:Jmol).
>
> On 5 February 2015 at 08:17, Arcane 21  wrote:
>
>> If you just need quick and dirty clientside SVG rendering, try this
>> extension:
>>
>> https://www.mediawiki.org/wiki/Extension:NativeSvgHandler
>>
>> Even if you don't have any other SVG renderer enabled, it pipes the
>> output through your browser's SVG renderer as a middleman, which, unless
>> you have a browser that belongs in a museum, will work fine 100% of the
>> time.
>>
>> > Date: Thu, 5 Feb 2015 05:04:16 +1000
>> > From: brentonhorn...@gmail.com
>> > To: mediawiki-l@lists.wikimedia.org
>> > Subject: [MediaWiki-l] Inkscape for SVG thumbnailing
>> >
>> > Hi,
>> >
>> > I'd like to know how I can use Inkscape for SVG thumbnailing on my
>> Windows
>> > 7 OS with a MediaWiki installation. Inkscape's files are located at
>> > C:\Program Files (x86)\Inkscape. My efforts to date (mostly based on
>> > Manual:$wgSVGConverters and other MediaWiki manual pages) have failed.
>> > Currently my LocalSettings.php file's SVG-related settings are:
>> >
>> > # Image Converter
>> > > $wgSVGConverter = 'Inkscape';
>> > > $wgSVGConverters = array(
>> > > 'Inkscape' => '"$path/inkscape.exe" -z -w $width -f $input -e
>> $output',
>> > > );
>> > > # Image converter path
>> > > $wgSVGConverterPath = '/Program Files (x86)/Inkscape';
>> >
>> >
>> > This gives the following error (which appears in the thumbnail's place):
>> >
>> > > Error creating thumbnail: '""' is not recognized as an internal or
>> > > external command,
>> > > operable program or batch file.
>> >
>> >
>> > The reason I'd like Inkscape as my SVG thumbnailer in particular is
>> because
>> > I sometimes use SVGs that are only correctly rendered by Inkscape (I
>> know
>> > that Wikia's thumbnailer (whatever it might be) frequently makes
>> rendering
>> > errors with these SVGs, e.g., see
>> >
>> http://health-and-medicine.wikia.com/wiki/File:Symptoms_of_Hodgkin_lymphoma.svg
>> > and all the black spots that appear in it.
>> >
>> > 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


Re: [MediaWiki-l] Inkscape for SVG thumbnailing

2015-02-04 Thread Brenton Horne
Thanks, Arcane it worked perfectly. Do you know of any similar extension
for JPGs and other bitmap image formats as my Wiki is having similar
problems with these image formats too?

PS I've made some inquiries about the Jmol extension with the author
(NicoV) mentioning your and my difficulties (
https://www.mediawiki.org/wiki/Extension_talk:Jmol).

On 5 February 2015 at 08:17, Arcane 21  wrote:

> If you just need quick and dirty clientside SVG rendering, try this
> extension:
>
> https://www.mediawiki.org/wiki/Extension:NativeSvgHandler
>
> Even if you don't have any other SVG renderer enabled, it pipes the output
> through your browser's SVG renderer as a middleman, which, unless you have
> a browser that belongs in a museum, will work fine 100% of the time.
>
> > Date: Thu, 5 Feb 2015 05:04:16 +1000
> > From: brentonhorn...@gmail.com
> > To: mediawiki-l@lists.wikimedia.org
> > Subject: [MediaWiki-l] Inkscape for SVG thumbnailing
> >
> > Hi,
> >
> > I'd like to know how I can use Inkscape for SVG thumbnailing on my
> Windows
> > 7 OS with a MediaWiki installation. Inkscape's files are located at
> > C:\Program Files (x86)\Inkscape. My efforts to date (mostly based on
> > Manual:$wgSVGConverters and other MediaWiki manual pages) have failed.
> > Currently my LocalSettings.php file's SVG-related settings are:
> >
> > # Image Converter
> > > $wgSVGConverter = 'Inkscape';
> > > $wgSVGConverters = array(
> > > 'Inkscape' => '"$path/inkscape.exe" -z -w $width -f $input -e
> $output',
> > > );
> > > # Image converter path
> > > $wgSVGConverterPath = '/Program Files (x86)/Inkscape';
> >
> >
> > This gives the following error (which appears in the thumbnail's place):
> >
> > > Error creating thumbnail: '""' is not recognized as an internal or
> > > external command,
> > > operable program or batch file.
> >
> >
> > The reason I'd like Inkscape as my SVG thumbnailer in particular is
> because
> > I sometimes use SVGs that are only correctly rendered by Inkscape (I know
> > that Wikia's thumbnailer (whatever it might be) frequently makes
> rendering
> > errors with these SVGs, e.g., see
> >
> http://health-and-medicine.wikia.com/wiki/File:Symptoms_of_Hodgkin_lymphoma.svg
> > and all the black spots that appear in it.
> >
> > 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] Inkscape for SVG thumbnailing

2015-02-04 Thread Brenton Horne
Hi,

I'd like to know how I can use Inkscape for SVG thumbnailing on my Windows
7 OS with a MediaWiki installation. Inkscape's files are located at
C:\Program Files (x86)\Inkscape. My efforts to date (mostly based on
Manual:$wgSVGConverters and other MediaWiki manual pages) have failed.
Currently my LocalSettings.php file's SVG-related settings are:

# Image Converter
> $wgSVGConverter = 'Inkscape';
> $wgSVGConverters = array(
> 'Inkscape' => '"$path/inkscape.exe" -z -w $width -f $input -e $output',
> );
> # Image converter path
> $wgSVGConverterPath = '/Program Files (x86)/Inkscape';


This gives the following error (which appears in the thumbnail's place):

> Error creating thumbnail: '""' is not recognized as an internal or
> external command,
> operable program or batch file.


The reason I'd like Inkscape as my SVG thumbnailer in particular is because
I sometimes use SVGs that are only correctly rendered by Inkscape (I know
that Wikia's thumbnailer (whatever it might be) frequently makes rendering
errors with these SVGs, e.g., see
http://health-and-medicine.wikia.com/wiki/File:Symptoms_of_Hodgkin_lymphoma.svg
and all the black spots that appear in it.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Adding a drop-down menu for monobook's sidebar

2015-02-04 Thread Brenton Horne
Yeah I have and it just contains the non-drop down parts of the sidebar.

On 5 February 2015 at 03:44, Jan Steinman  wrote:

> > From: Brenton Horne 
> >
> > I've love to be able to add a drop-down menu to monobook's sidebar,
> which I know is possible (see this screenshot of another Wikia wiki which
> has this drop-down menu
> http://community.wikia.com/wiki/File:Layton_Wiki,_drop-down_menu.png).
>
> Have you tried looking at that site's sidebar code?
>
> Such as:
> http://domain.name/wiki/MediaWiki:Sidebar
>
>Jan Steinman
>EcoReality Co-op, http://www.EcoReality.org
>2152 Fulford-Ganges Road
>Salt Spring Island, BC V8K 1Z7 CANADA
>+1 250.653.2024
>
>
> ___
> 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


Re: [MediaWiki-l] MediaWiki is not running

2015-02-04 Thread Brenton Horne
@Chris for me the prospect of having to pay after the first year is a
deterrent I'd like a system that is free and will remain free.

On 5 February 2015 at 02:18, Brenton Horne  wrote:

> @ John um where's the URL of this convo? I'd like to chime in but I'm not
> familiar with IRC.
>
> On 5 February 2015 at 02:09, John  wrote:
>
>> I am currently walking someone thru the install process if you want to hop
>> on to  irc://freenode/mediawiki
>>
>> On Wed, Feb 4, 2015 at 10:53 AM, Brenton Horne 
>> wrote:
>>
>> > I'd love to but every time I've installed it from the tarballs in the
>> past
>> > I end up failing miserably. I installed LAMP, I followed all the
>> > instructions online I could find but I failed on Windows and Ubuntu.
>> This
>> > is why I used bitnami as a last resort.
>> >
>> > On 5 February 2015 at 01:33, John  wrote:
>> >
>> > > Odds are bitnami broke something.
>> > >
>> > > Many Linux distributions provide MediaWiki in a packaged format for
>> that
>> > > distro. These packages typically contain obsolete & unsupported
>> versions
>> > of
>> > > MediaWiki; they also like to move around & change files, & do other
>> > > super-counterproductive things. You'll get the best support here if
>> you
>> > > install MediaWiki directly from one of our tarballs -
>> > > https://www.mediawiki.org/ - or Git
>> > > https://www.mediawiki.org/wiki/Download_from_Git
>> > >
>> > > On Wed, Feb 4, 2015 at 8:50 AM, Brenton Horne <
>> brentonhorn...@gmail.com>
>> > > wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > I'm presently running Ubuntu 14.04 32 bit and I installed MediaWiki
>> > > 1.24.1
>> > > > via bitnami and it worked fine until I restarted my PC and now, even
>> > with
>> > > > my servers (Apache & MySQL, respectively) running (which I checked
>> were
>> > > > running by running the manager-linux.run file in the MediaWiki
>> > > directory. I
>> > > > even restarted them both manually) whenever I open up
>> > > > http://localhost:8080/mediawiki/ I get a blank page. Going to
>> > > > http://localhost:8080/ or http://localhost:8080/phpmyadmin works
>> fine
>> > > and
>> > > > these pages load perfectly.
>> > > >
>> > > > 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


Re: [MediaWiki-l] MediaWiki is not running

2015-02-04 Thread Brenton Horne
@ John um where's the URL of this convo? I'd like to chime in but I'm not
familiar with IRC.

On 5 February 2015 at 02:09, John  wrote:

> I am currently walking someone thru the install process if you want to hop
> on to  irc://freenode/mediawiki
>
> On Wed, Feb 4, 2015 at 10:53 AM, Brenton Horne 
> wrote:
>
> > I'd love to but every time I've installed it from the tarballs in the
> past
> > I end up failing miserably. I installed LAMP, I followed all the
> > instructions online I could find but I failed on Windows and Ubuntu. This
> > is why I used bitnami as a last resort.
> >
> > On 5 February 2015 at 01:33, John  wrote:
> >
> > > Odds are bitnami broke something.
> > >
> > > Many Linux distributions provide MediaWiki in a packaged format for
> that
> > > distro. These packages typically contain obsolete & unsupported
> versions
> > of
> > > MediaWiki; they also like to move around & change files, & do other
> > > super-counterproductive things. You'll get the best support here if you
> > > install MediaWiki directly from one of our tarballs -
> > > https://www.mediawiki.org/ - or Git
> > > https://www.mediawiki.org/wiki/Download_from_Git
> > >
> > > On Wed, Feb 4, 2015 at 8:50 AM, Brenton Horne <
> brentonhorn...@gmail.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm presently running Ubuntu 14.04 32 bit and I installed MediaWiki
> > > 1.24.1
> > > > via bitnami and it worked fine until I restarted my PC and now, even
> > with
> > > > my servers (Apache & MySQL, respectively) running (which I checked
> were
> > > > running by running the manager-linux.run file in the MediaWiki
> > > directory. I
> > > > even restarted them both manually) whenever I open up
> > > > http://localhost:8080/mediawiki/ I get a blank page. Going to
> > > > http://localhost:8080/ or http://localhost:8080/phpmyadmin works
> fine
> > > and
> > > > these pages load perfectly.
> > > >
> > > > 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


Re: [MediaWiki-l] MediaWiki is not running

2015-02-04 Thread Brenton Horne
I'd love to but every time I've installed it from the tarballs in the past
I end up failing miserably. I installed LAMP, I followed all the
instructions online I could find but I failed on Windows and Ubuntu. This
is why I used bitnami as a last resort.

On 5 February 2015 at 01:33, John  wrote:

> Odds are bitnami broke something.
>
> Many Linux distributions provide MediaWiki in a packaged format for that
> distro. These packages typically contain obsolete & unsupported versions of
> MediaWiki; they also like to move around & change files, & do other
> super-counterproductive things. You'll get the best support here if you
> install MediaWiki directly from one of our tarballs -
> https://www.mediawiki.org/ - or Git
> https://www.mediawiki.org/wiki/Download_from_Git
>
> On Wed, Feb 4, 2015 at 8:50 AM, Brenton Horne 
> wrote:
>
> > Hi,
> >
> > I'm presently running Ubuntu 14.04 32 bit and I installed MediaWiki
> 1.24.1
> > via bitnami and it worked fine until I restarted my PC and now, even with
> > my servers (Apache & MySQL, respectively) running (which I checked were
> > running by running the manager-linux.run file in the MediaWiki
> directory. I
> > even restarted them both manually) whenever I open up
> > http://localhost:8080/mediawiki/ I get a blank page. Going to
> > http://localhost:8080/ or http://localhost:8080/phpmyadmin works fine
> and
> > these pages load perfectly.
> >
> > 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] MediaWiki is not running

2015-02-04 Thread Brenton Horne
Hi,

I'm presently running Ubuntu 14.04 32 bit and I installed MediaWiki 1.24.1
via bitnami and it worked fine until I restarted my PC and now, even with
my servers (Apache & MySQL, respectively) running (which I checked were
running by running the manager-linux.run file in the MediaWiki directory. I
even restarted them both manually) whenever I open up
http://localhost:8080/mediawiki/ I get a blank page. Going to
http://localhost:8080/ or http://localhost:8080/phpmyadmin works fine and
these pages load perfectly.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Jmol errors

2015-02-03 Thread Brenton Horne
Oh and PS, error 2 also occurs on the hm.orain.org site you set up for me.
I just tested out adding 3EIG to User:Fuse809/sandbox at
this site and the same error occurred.

On 4 February 2015 at 08:41, Brenton Horne  wrote:

> Yep, I've seen that page, but it didn't help me as I didn't how to extend
> this to sdf, mol, pdb, xyz, etc. formats. As it just shows how to get the
> mimes for cml to work
>
> On 4 February 2015 at 08:10, Arcane 21  wrote:
>
>> Hello Brenton, I did some testing and found out the reason for the first
>> error: It needs to the file type identified in LocalSettings.php with
>> special configuration settings
>>
>> You can find more info here:
>>
>> https://www.mediawiki.org/wiki/Extension:Jmol#Managing_molecular_files
>>
>> > Date: Wed, 4 Feb 2015 07:55:11 +1000
>> > From: brentonhorn...@gmail.com
>> > To: mediawiki-l@lists.wikimedia.org
>> > Subject: [MediaWiki-l] Jmol errors
>> >
>> > Hi,
>> >
>> > I've installed the Jmol extension and I have noticed two major problems:
>> >
>> > 1. When uploading a pdb file at Special:Upload I receive the error:
>> >
>> > > File extension ".pdb" does not match the detected MIME type of the
>> file
>> > > (text/plain).
>> >
>> > Other chemical file extensions produce similar errors, including .sdf,
>> > .cml, etc. Even though I have added:
>> >
>> > > $wgFileExtensions = array( 'doc', 'docx', 'xls', 'xlsx', 'mpp', 'pdf',
>> > > 'ppt', 'tiff', 'bmp', 'pptx', 'ps', 'odt', 'ods', 'odp', 'odg'
>> > > , 'ogg', 'sdf', 'mol', 'pdb', 'xyz', 'mol2', 'svg', 'cml'
>> > > );
>> >
>> > to LocalSettings.php
>> >
>> > 2. Whenever I add  to an article (any article, even
>> my
>> > sandbox, i.e., User:Fuse809/sandbox),  or other Jmol
>> > tags  and click "Save page" I'm left at a blank
>> page
>> > with the URL of
>> > http://localhost:8080/mediawiki/index.php?title=PAGENAME&action=submit
>> > (where PAGENAME is the page's name).
>> >
>> > 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


Re: [MediaWiki-l] Jmol errors

2015-02-03 Thread Brenton Horne
Yep, I've seen that page, but it didn't help me as I didn't how to extend
this to sdf, mol, pdb, xyz, etc. formats. As it just shows how to get the
mimes for cml to work

On 4 February 2015 at 08:10, Arcane 21  wrote:

> Hello Brenton, I did some testing and found out the reason for the first
> error: It needs to the file type identified in LocalSettings.php with
> special configuration settings
>
> You can find more info here:
>
> https://www.mediawiki.org/wiki/Extension:Jmol#Managing_molecular_files
>
> > Date: Wed, 4 Feb 2015 07:55:11 +1000
> > From: brentonhorn...@gmail.com
> > To: mediawiki-l@lists.wikimedia.org
> > Subject: [MediaWiki-l] Jmol errors
> >
> > Hi,
> >
> > I've installed the Jmol extension and I have noticed two major problems:
> >
> > 1. When uploading a pdb file at Special:Upload I receive the error:
> >
> > > File extension ".pdb" does not match the detected MIME type of the file
> > > (text/plain).
> >
> > Other chemical file extensions produce similar errors, including .sdf,
> > .cml, etc. Even though I have added:
> >
> > > $wgFileExtensions = array( 'doc', 'docx', 'xls', 'xlsx', 'mpp', 'pdf',
> > > 'ppt', 'tiff', 'bmp', 'pptx', 'ps', 'odt', 'ods', 'odp', 'odg'
> > > , 'ogg', 'sdf', 'mol', 'pdb', 'xyz', 'mol2', 'svg', 'cml'
> > > );
> >
> > to LocalSettings.php
> >
> > 2. Whenever I add  to an article (any article, even my
> > sandbox, i.e., User:Fuse809/sandbox),  or other Jmol
> > tags  and click "Save page" I'm left at a blank page
> > with the URL of
> > http://localhost:8080/mediawiki/index.php?title=PAGENAME&action=submit
> > (where PAGENAME is the page's name).
> >
> > 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] Jmol errors

2015-02-03 Thread Brenton Horne
Hi,

I've installed the Jmol extension and I have noticed two major problems:

1. When uploading a pdb file at Special:Upload I receive the error:

> File extension ".pdb" does not match the detected MIME type of the file
> (text/plain).

Other chemical file extensions produce similar errors, including .sdf,
.cml, etc. Even though I have added:

> $wgFileExtensions = array( 'doc', 'docx', 'xls', 'xlsx', 'mpp', 'pdf',
> 'ppt', 'tiff', 'bmp', 'pptx', 'ps', 'odt', 'ods', 'odp', 'odg'
> , 'ogg', 'sdf', 'mol', 'pdb', 'xyz', 'mol2', 'svg', 'cml'
> );

to LocalSettings.php

2. Whenever I add  to an article (any article, even my
sandbox, i.e., User:Fuse809/sandbox),  or other Jmol
tags  and click "Save page" I'm left at a blank page
with the URL of
http://localhost:8080/mediawiki/index.php?title=PAGENAME&action=submit
(where PAGENAME is the page's name).

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Jmol extension

2015-02-03 Thread Brenton Horne
Nvm, I figured out I didn't download the files, just their web pages, rofl.


On 4 February 2015 at 06:26, Brenton Horne  wrote:

> Hi
>
> I installed Jmol via following these instructions
> https://www.mediawiki.org/wiki/Extension:Jmol#Installing_Jmol_extension
> and the result was when I opened my MediaWiki extension I saw this page
> (and it didn't matter which page I went to) http://imgur.com/7OQAhEa. Any
> ideas of what I should do now?
>
> Thanks for your time,
> Brenton
>
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Jmol extension

2015-02-03 Thread Brenton Horne
Hi

I installed Jmol via following these instructions
https://www.mediawiki.org/wiki/Extension:Jmol#Installing_Jmol_extension and
the result was when I opened my MediaWiki extension I saw this page (and it
didn't matter which page I went to) http://imgur.com/7OQAhEa. Any ideas of
what I should do now?

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Adding a drop-down menu for monobook's sidebar

2015-02-03 Thread Brenton Horne

Hi,

I'm running a Wiki on Wikia (I have asked a question on the community 
forums [http://community.wikia.com/wiki/Thread:789971], some six days 
ago, with no reply, if you're wondering if that would be a better place 
to ask it) and I've love to be able to add a drop-down menu to 
monobook's sidebar, which I know is possible (see this screenshot of 
another Wikia wiki which has this drop-down menu 
http://community.wikia.com/wiki/File:Layton_Wiki,_drop-down_menu.png). 
Does anyone in this mailing list know how to do this? Please keep in 
mind I am a noob when it comes to programming so please, just give me 
simple, step-by-step, instructions on how to do this. I do have 
administrative privileges on the Wiki in question, so I can edit pages 
in the MediaWiki namespace, if need be.


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Places I can set up my own MediaWiki website

2015-02-02 Thread Brenton Horne
OK, I've left a site proposal for hmwiki, if you have the power to 
approve it, I'd appreciate it.


On 2/02/2015 11:20 PM, Arcane 21 wrote:

Hello, Brenton, I'm staff at the Orain wiki farm, which can be found here:

https://meta.orain.org

We allow a large degree of customization for your wiki at no cost to you (we 
are donation funded, there are no membership or subscription fees), so please, 
feel free to check us out.


Date: Mon, 2 Feb 2015 22:41:18 +1000
From: brentonhorn...@gmail.com
To: mediawiki-l@lists.wikimedia.org
Subject: [MediaWiki-l] Places I can set up my own MediaWiki website

Hi,

I've installed MediaWiki on my PC and I was wondering how I could turn
this installation into a website for free. Is this possible? I have
created a Wiki with Wikia but they have far less customization than that
allowed by MediaWiki software (e.g., the extensions they have are all
constant across the Wikia family of sites and while you could request
new ones from Wikia staff I have never seen a case where they actually
installed a new extension based on these requests, even for one single
Wiki) so hence why I'd like to know if I could set up my own
fully-customizable Wiki based on my current MediaWiki installation.

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] Places I can set up my own MediaWiki website

2015-02-02 Thread Brenton Horne

Hi,

I've installed MediaWiki on my PC and I was wondering how I could turn 
this installation into a website for free. Is this possible? I have 
created a Wiki with Wikia but they have far less customization than that 
allowed by MediaWiki software (e.g., the extensions they have are all 
constant across the Wikia family of sites and while you could request 
new ones from Wikia staff I have never seen a case where they actually 
installed a new extension based on these requests, even for one single 
Wiki) so hence why I'd like to know if I could set up my own 
fully-customizable Wiki based on my current MediaWiki installation.


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Cite, refToolbar and infobox

2015-02-01 Thread Brenton Horne

Thanks, cite is working now, how about refToolbar?
On 30/01/2015 6:43 PM, Support Simpsonspedia wrote:

hi,
 and  is ok, but works not alone. you need a  
at the end.


best regards
M.



-Ursprüngliche Nachricht- From: Brenton Horne
Sent: Friday, January 30, 2015 2:03 AM
To: MediaWiki announcements and site admin list
Subject: [MediaWiki-l] Cite, refToolbar and infobox

Hi,

I've added Cite and refToolbar to my Wiki but they aren't being loaded.
Cite was automatically in my extension directory immediately after
installation, so what I did was I added

require_once "$IP/extensions/Cite/SpecialCite.php";

To near the end of LocalSettings.php and while cite appears @
Special:Version it does not appear to be working. For example, citation
templates I've added to my Wiki are not organized into footnotes when
contained between   tags and these tags are, in fact, left
unparsed in articles.

As for refToolbar I added this extension (via copy-pasting the files
listed here
[https://en.wikipedia.org/wiki/Wikipedia:RefToolbar#Related_scripts]
into their respective MediaWiki namespace pages (including adding

* 
refToolbar[ResourceLoader|default|dependencies=user.options,mediawiki.legacy.wikibits]|refToolbar.js


* refToolbarBase[ResourceLoader|hidden|rights=hidden]|refToolbarBase.js

to MediaWiki:Gadgets-definition).  appears @
Special:Preferences under Gadgets and is ticked.

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


Re: [MediaWiki-l] SVG thumbnailing

2015-01-30 Thread Brenton Horne
librsvg didn't work. I've installed it via cygwin (I'm running Windows 7 
64 bit). I even directed MediaWiki (via $wgSVGConverterPath = 
'C:\cygwin64\usr\include\librsvg-2.0\librsvg';) towards the directory 
where it is installed. Any other ideas?


On 31/01/2015 5:11 AM, Brion Vibber wrote:

It looks like you're defaulting to converting SVGs using ImageMagick, which
can be a bit flaky (and there also seems to be a version mismatch where it
doesn't like the options being given to it.)

If you can, try switching the SVG renderer to rsvg, which is the tool we
use on Wikipedia:

* install 'librsvg' (and if necessary 'librsvg-bin') package on the system;
should be available in standard Linux package managers as it's a library
used by GNOME desktop. Also available through Homebrew on Macs. Not sure
about Windows. :)

* in LocalSettings.php set:

   $wgSVGConverter = 'rsvg';


As for the borders and such, you probably need to copy some CSS styles from
the [[MediaWiki:Common.css]] page from Wikipedia.

-- brion


On Thu, Jan 29, 2015 at 6:34 PM, Brenton Horne 
wrote:


Hi,

I've noticed that SVG thumbnailing on my new locally-hosted Wiki is
thumbnailing svgs incorrectly. This is what it appears like atm when
incorporated into an infobox: http://i.stack.imgur.com/dRWkj.png.
Likewise I've also noticed there's no enclosing box around infoboxes in my
Wiki, which you can also see in this image. This is the sort of infobox
formatting I'd like http://i.stack.imgur.com/aI0Tx.png.

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] Jmol Extensions

2015-01-29 Thread Brenton Horne

Hi

For some reason that escapes me after installing the Jmol extension via 
these instructions 
(https://www.mediawiki.org/wiki/Extension:Jmol#Installing_Jmol_extension) even 
though Jmol appears in Special:Version whenever I add 
3EIG or (R)-nicotine.sdf 
(R)-nicotine.sdf does exist on my Wiki, btw, if you're wondering) to a 
page and click "Publish" I'm left with a blank submit page (i.e., URL: 
.../pagename?action=submit).


Second, I'm stumped as to how I could add cif file uploads to my Wiki. 
I've seen this code on the same MediaWiki article I linked:


$wgXMLMimeTypes  =  array_merge(  $wgXMLMimeTypes,  array(
'http://www.xml-cml.org/schema:cml' =>  
'chemical/x-cml',
'http://www.xml-cml.org/schema:molecule'=>  
'chemical/x-cml',
'http://www.xml-cml.org/schema/cml2/core:list'  =>  
'chemical/x-cml',
'http://www.xml-cml.org/schema/cml2/core:molecule'  =>  
'chemical/x-cml'  )  );

But I don't know how to do something similar for Crystallographic 
Information File (CIF) files.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] SVG thumbnailing

2015-01-29 Thread Brenton Horne

Hi,

I've noticed that SVG thumbnailing on my new locally-hosted Wiki is 
thumbnailing svgs incorrectly. This is what it appears like atm when 
incorporated into an infobox: http://i.stack.imgur.com/dRWkj.png. 
Likewise I've also noticed there's no enclosing box around infoboxes in 
my Wiki, which you can also see in this image. This is the sort of 
infobox formatting I'd like http://i.stack.imgur.com/aI0Tx.png.


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Cite, refToolbar and infobox

2015-01-29 Thread Brenton Horne

Hi,

I've added Cite and refToolbar to my Wiki but they aren't being loaded. 
Cite was automatically in my extension directory immediately after 
installation, so what I did was I added


require_once "$IP/extensions/Cite/SpecialCite.php";

To near the end of LocalSettings.php and while cite appears @ 
Special:Version it does not appear to be working. For example, citation 
templates I've added to my Wiki are not organized into footnotes when 
contained between   tags and these tags are, in fact, left 
unparsed in articles.


As for refToolbar I added this extension (via copy-pasting the files 
listed here 
[https://en.wikipedia.org/wiki/Wikipedia:RefToolbar#Related_scripts] 
into their respective MediaWiki namespace pages (including adding


*  
refToolbar[ResourceLoader|default|dependencies=user.options,mediawiki.legacy.wikibits]|refToolbar.js

*  refToolbarBase[ResourceLoader|hidden|rights=hidden]|refToolbarBase.js

to MediaWiki:Gadgets-definition).  appears @ 
Special:Preferences under Gadgets and is ticked.


Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] MediaWiki namespace editing permissions

2015-01-29 Thread Brenton Horne

Nvm I figured it out.
On 30/01/2015 8:03 AM, Brenton Horne wrote:

OK, where's the dashboard area?

On 30/01/2015 7:49 AM, Chris Tharp wrote:
If you set up the wiki via Bitnami the user password and user admin 
will be in the bitnami dashboard area.


Sent from my iPad

On Jan 29, 2015, at 1:00 PM, Brenton Horne 
 wrote:


How do I login as an admin? When I created this Wiki I was 
registered as an

IP editor.

On 30 January 2015 at 06:51, Ricordisamoa 


wrote:


If you're logged in as administrator you should be able to edit them.

Il 29/01/2015 21:47, Brenton Horne ha scritto:


Hi,

I've just installed MediaWiki via Bitnami on my PC and I'd like to 
know
what I need to do in order to edit pages in the MediaWiki 
namespace. My PC
is secure (no one else uses it) as is my Internet connection so 
I'm fairly
confident my Wiki should be secure enough for editing this 
namespace not

to
be too risky 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


Re: [MediaWiki-l] MediaWiki namespace editing permissions

2015-01-29 Thread Brenton Horne

OK, where's the dashboard area?

On 30/01/2015 7:49 AM, Chris Tharp wrote:

If you set up the wiki via Bitnami the user password and user admin will be in 
the bitnami dashboard area.

Sent from my iPad


On Jan 29, 2015, at 1:00 PM, Brenton Horne  wrote:

How do I login as an admin? When I created this Wiki I was registered as an
IP editor.

On 30 January 2015 at 06:51, Ricordisamoa 
wrote:


If you're logged in as administrator you should be able to edit them.

Il 29/01/2015 21:47, Brenton Horne ha scritto:


Hi,

I've just installed MediaWiki via Bitnami on my PC and I'd like to know
what I need to do in order to edit pages in the MediaWiki namespace. My PC
is secure (no one else uses it) as is my Internet connection so I'm fairly
confident my Wiki should be secure enough for editing this namespace not
to
be too risky 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


Re: [MediaWiki-l] MediaWiki namespace editing permissions

2015-01-29 Thread Brenton Horne
How do I login as an admin? When I created this Wiki I was registered as an
IP editor.

On 30 January 2015 at 06:51, Ricordisamoa 
wrote:

> If you're logged in as administrator you should be able to edit them.
>
> Il 29/01/2015 21:47, Brenton Horne ha scritto:
>
>> Hi,
>>
>> I've just installed MediaWiki via Bitnami on my PC and I'd like to know
>> what I need to do in order to edit pages in the MediaWiki namespace. My PC
>> is secure (no one else uses it) as is my Internet connection so I'm fairly
>> confident my Wiki should be secure enough for editing this namespace not
>> to
>> be too risky 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] Parser functions

2015-01-29 Thread Brenton Horne
Hi,

I've noticed that parser functions are not enabled on my Wiki. For example
{{#if:}} is not appropriately rendered and appears unchanged in templates
in which it appears. How do I get them to work?

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] MediaWiki namespace editing permissions

2015-01-29 Thread Brenton Horne
Hi,

I've just installed MediaWiki via Bitnami on my PC and I'd like to know
what I need to do in order to edit pages in the MediaWiki namespace. My PC
is secure (no one else uses it) as is my Internet connection so I'm fairly
confident my Wiki should be secure enough for editing this namespace not to
be too risky for me.

Thanks for your time,
Brenton
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l