Sorry, I pushed send on that last email a little too quickly ... i should have dug a little deeper before posting here.
I now realize that getParentCategoryTree() is in fact retreiving the data i expected. It looks like it is storing the tree in a multidimensional array. Each parent category is stored in a key and its value is an array of its own parent categories.
So my question is ... Is there a built in mediawiki function that can take the results from getParentCategoryTree() and produce a list or do i need to do this manually?
And ... is getParentCategoryTree() the most efficient way (maybe it's the only way?) to retrieve the category tree for an article?
thanks again
a@kid wrote:
So my question is ... Is there a built in mediawiki function that can take the results from getParentCategoryTree() and produce a list or do i need to do this manually?
Have a look at the method Skin::drawCategoryBrowser() in Skin.php :)
And ... is getParentCategoryTree() the most efficient way (maybe it's the only way?) to retrieve the category tree for an article?
There is probably a better way, but the way I used is probably the easiest :p
Hello all,
Category pages are set up to tell you how many articles are in the category, and to display a gallery of the images. I'd like it to say how many images there are - can anyone give a clue as to what code needs changing/adding?
Thanks very much, Roger
www.world-traveller.org
Hello all,
Category pages are set up to tell you how many articles are in the category, and to display a gallery of the images. I'd like it to say how many images there are - can anyone give a clue as to what code needs changing/adding?
Thanks very much, Roger
www.world-traveller.org
Heya all. Just so you know - I have exhausted ALL Possible means for me to be able find the answers I am looking for. And just so you all know - I have NEVER done anything like this before and its quite the learning experience for me. So unlike all to most of you lot I dont speak computer language.
Right - I cant figure out why MediaWiki wont let me use Thumbnails or even resize an image which is too big. I invite you to test it so you can see yourself why it isnt working - www.startrekprotection.com/wiki if anyone knows of anything that can help me. Can you please use simple lermen terms for the idiot that I am.
Thank's to all that try to help me :)
Jono
On 8/30/06, Jono Bradley jono.bradley@ntlworld.com wrote:
Heya all. Just so you know - I have exhausted ALL Possible means for me to be able find the answers I am looking for. And just so you all know - I have NEVER done anything like this before and its quite the learning experience for me. So unlike all to most of you lot I dont speak computer language.
Right - I cant figure out why MediaWiki wont let me use Thumbnails or even resize an image which is too big. I invite you to test it so you can see yourself why it isnt working - www.startrekprotection.com/wiki if anyone knows of anything that can help me. Can you please use simple lermen terms for the idiot that I am.
Thank's to all that try to help me :)
Jono
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I created an image test page on your wiki, and you're right, it's generating errors on image shrinks:
http://www.startrekprotection.com/wiki/index.php/TestPageFoobar
What's the version of MediaWiki that you're running this on?
Wasn't the question, but what's the guy from Smallville have to do with ST? And the graphic would look way better without either of the space heads anyway.
It's like the Star Trek where they go to the end of the universe to meet god and he's a big head. Lincoln's head up there would make more sense.
On Aug 30, 2006, at 6:53 PM, George Herbert wrote:
Heya all. Just so you know - I have exhausted ALL Possible means for me to be able find the answers I am looking for. And just so you all know - I have NEVER done anything like this before and its quite the learning experience for me. So unlike all to most of you lot I dont speak computer language.
Right - I cant figure out why MediaWiki wont let me use Thumbnails or even resize an image which is too big. I invite you to test it so you can see yourself why it isnt working - www.startrekprotection.com/wiki if anyone knows of anything that can help me. Can you please use simple lermen terms for the idiot that I am.
Thank's to all that try to help me :)
Jono
George Herbert wrote:
http://www.startrekprotection.com/wiki/index.php/TestPageFoobar
What's the version of MediaWiki that you're running this on?
To find MediaWiki version of just about any MediaWiki go to the site in question, click on 'Special pages' in the left sidebar, and click on 'Version'.
Hey on the 'Version' Page it says -
This wiki is powered by MediaWiki, copyright (C) 2001-2006 Magnus Manske, Brion Vibber, Lee Daniel Crocker, Tim Starling, Erik Möller, Gabriel Wicke, Ævar Arnfjörð Bjarmason, Niklas Laxström and others. MediaWiki is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
MediaWiki is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. or read it online
a.. MediaWiki: 1.6.8 b.. PHP: 4.4.2 (apache) c.. MySQL: 4.1.19-standard visited from 82.28.251.117 Retrieved from "http://www.startrekprotection.com/wiki/index.php/Special:Version"
And for the record I dont have a clue if I have GD Or ImageMagik installed.
Jono
Anything in the Apache logs? Errors, warnings, etc...? What type of system are you running this on? -Jim
-----Original Message----- From: Jono Bradley [mailto:jono.bradley@ntlworld.com] Sent: Thursday, August 31, 2006 6:49 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Please Help
Hey on the 'Version' Page it says -
This wiki is powered by MediaWiki, copyright (C) 2001-2006 Magnus Manske, Brion Vibber, Lee Daniel Crocker, Tim Starling, Erik Möller, Gabriel Wicke, Ævar Arnfjörð Bjarmason, Niklas Laxström and others. MediaWiki is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
MediaWiki is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. or read it online
a.. MediaWiki: 1.6.8 b.. PHP: 4.4.2 (apache) c.. MySQL: 4.1.19-standard visited from 82.28.251.117 Retrieved from "http://www.startrekprotection.com/wiki/index.php/Special:Version"
And for the record I dont have a clue if I have GD Or ImageMagik installed.
Jono
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Well. I haven't got a clue what you are on about with the Apache Logs - where would I find them? As for Errors and warnings everytime I try to resize an image which is too big It comes up with an error message at the top of the page which you really cant read all to well. And where you placed the image I says something like "Thumbnail could not be created"
As for the system, I use DirectAdmin dont know if thats any help to ya.
Jono ----- Original Message ----- From: "Sullivan, James (NIH/CIT) [C]" sullivan@mail.nih.gov To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Sent: Thursday, August 31, 2006 1:54 PM Subject: Re: [Mediawiki-l] Please Help
Anything in the Apache logs? Errors, warnings, etc...? What type of system are you running this on? -Jim
-----Original Message----- From: Jono Bradley [mailto:jono.bradley@ntlworld.com] Sent: Thursday, August 31, 2006 6:49 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Please Help
Hey on the 'Version' Page it says -
This wiki is powered by MediaWiki, copyright (C) 2001-2006 Magnus Manske, Brion Vibber, Lee Daniel Crocker, Tim Starling, Erik Möller, Gabriel Wicke, Ævar Arnfjörð Bjarmason, Niklas Laxström and others. MediaWiki is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
MediaWiki is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. or read it online
a.. MediaWiki: 1.6.8 b.. PHP: 4.4.2 (apache) c.. MySQL: 4.1.19-standard visited from 82.28.251.117 Retrieved from "http://www.startrekprotection.com/wiki/index.php/Special:Version"
And for the record I dont have a clue if I have GD Or ImageMagik installed.
Jono
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
And for the record I dont have a clue if I have GD Or ImageMagik installed.
Jono
You'll need to check. Is this in a hosted environment? If you operate the server yourself, go to http://www.imagemagick.org and install the software.
I've installed ImageMagick and configured it to work with MediaWiki on Windows and it was pretty straightforward. I followed the instructions at http://meta.wikimedia.org/wiki/Help:Image_thumbnailing.
Good luck =)
-Justin
PRIVACY NOTICE
This email and any attachments may be confidential and/or privileged. Use of the information contained in this email by anyone other than the intended recipient is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and delete this email.
Well I think the answer to that one it is a hosted environment. I pay for a server each yeah, and Login to my account on DirectAdmin - http://72.35.76.109:2222/
Can I still install it? Maybe using FTP or something like that?
Jono ----- Original Message ----- From: "Justin Morgan" JMorgan@d2hawkeye.com To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Sent: Thursday, August 31, 2006 1:56 PM Subject: Re: [Mediawiki-l] Please Help
And for the record I dont have a clue if I have GD Or ImageMagik installed.
Jono
You'll need to check. Is this in a hosted environment? If you operate the server yourself, go to http://www.imagemagick.org and install the software.
I've installed ImageMagick and configured it to work with MediaWiki on Windows and it was pretty straightforward. I followed the instructions at http://meta.wikimedia.org/wiki/Help:Image_thumbnailing.
Good luck =)
-Justin
PRIVACY NOTICE
This email and any attachments may be confidential and/or privileged. Use
of the information contained in this email by anyone other than the intended recipient is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and delete this email.
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Well I think the answer to that one it is a hosted environment. I pay
for > a server each yeah, and Login to my account on DirectAdmin -
Can I still install it? Maybe using FTP or something like that?
Jono
If you have console access, type 'convert -version' to see if ImageMagick is installed. I don't know if you can install it or not; it depends on your environment. Probably best to contact your service provider for that. Installing ImageMagick is not an insane request to make to the admins.
-Justin
PRIVACY NOTICE
This email and any attachments may be confidential and/or privileged. Use of the information contained in this email by anyone other than the intended recipient is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and delete this email.
On Thu, 31 Aug 2006 00:06:56 +0100 "Jono Bradley" jono.bradley@ntlworld.com wrote:
Heya all. Just so you know - I have exhausted ALL Possible means for me to be able find the answers I am looking for. And just so you all know - I have NEVER done anything like this before and its quite the learning experience for me. So unlike all to most of you lot I dont speak computer language.
Right - I cant figure out why MediaWiki wont let me use Thumbnails or even resize an image which is too big. I invite you to test it so you can see yourself why it isnt working - www.startrekprotection.com/wiki if anyone knows of anything that can help me. Can you please use simple lermen terms for the idiot that I am.
Thank's to all that try to help me :)
Jono
Do you have GD or ImageMagik installed?
mediawiki-l@lists.wikimedia.org