[Mediawiki-l] (no subject)
Ano příspevky posilejte, Děkují. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Basic help
Hi, about the first question: did you try to write first letter as uppercase? [[File:Example.jpg|center|100px|caption]] Regards 2010/11/29 Gary Roush grou...@earthlink.net Some basic help please. I am new to Mediawiki and have just set up my first site. I can not figure out how to get images to appear in an edited page. According to the edit instructions, entering [[File:example.jpg|center|100px|caption]] should work, but I get just the word caption as a link to example.jpg. I do not want a link, I want the actual image to display. Is there a switch that needs to be set for this? The image is in the images directory. Second problem is that in the navigation box only the Main selection works. Are there switches for the other items, especially for Help? Thanks, Gary ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Basic help
wjhon...@aol.com wrote: You are putting brackets around the url, don't. Just the URL itself by itself on it's own line. That behavior only works if the wiki is configured with $wgAllowExternalImages = true; in LocalSettings.php He should upload the files from Special:Upload. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Avoid duplicate listing of articles after renaming/moving?
Don't modify MediaWiki's core code (e.g., SpecialAllpages.php) if you can help it. You'll make it harder to do software upgrades, as your changes will get overwritten when you update the MediaWiki software. I would question the original poster's request. Why do you want to exclude redirects from Special:AllPages? Do you have an important business purpose for doing this, or is it just personal preference? Is there something in particular you're trying to accomplish? Other users on your wiki might like having the redirects on Special:AllPages. DanB -Original Message- http://www.mwusers.com/forums/showthread.php?14438-How-can-I-modify-Special-Allpages-to-exclude-redirects ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Basic help
Try [[image:imagename.jpg]] This should show, even if the thumbnail is not working correctly. If that works, but [[image:imagename.jpg|300px]] does not, then it is an issue with the thumbnail graphics generator. Make sure that the wiki database knows where the image is. In the search box put file:imagename.jpg If the wiki finds them, then it is indexed in the database. If it is not found you may need to use the image upload link from the left side of the main page. -Bri On 11/28/2010 11:43 PM, Gary Roush wrote: I uploaded the images using FTP. How do I do Special:Upload? On the navigation box, I am wondering why the pages do not exist. Especially the help pages. Thanks, Gary At 11:30 PM 11/28/2010, you wrote: On Sun, Nov 28, 2010 at 10:58 PM, Gary Roushgrou...@earthlink.net wrote: I can not figure out how to get images to appear in an edited page. According to the edit instructions, entering [[File:example.jpg|center|100px|caption]] should work, but I get just the word caption as a link to example.jpg. I do not want a link, I want the actual image to display. Is there a switch that needs to be set for this? The image is in the images directory. You uploaded the image through Special:Upload, right? It sounds like you don't have the right renderer installed/enabled. See http://www.mediawiki.org/wiki/Manual:Image_Administration#Image_thumbnailing Second problem is that in the navigation box only the Main selection works. Are there switches for the other items, especially for Help? I don't understand the question. Do you want to remove the other items, or do you want to change them, or are you wondering why they link to pages that don't exist? ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Avoid duplicate listing of articles after renaming/moving?
Why do you want to exclude redirects from Special:AllPages? Partly because most of the user are getting confused if they see the old title also listed. They are not sure which one is now the official title without clicking on the article link and then finding out looking at redirects. Also for lot of them it is a personal preference. Other users on your wiki might like having the redirects on Special:AllPages. I have no issues that mediawiki maintains internal redirects. For example, if somebody types in the old article link http://myserver/wiki/index.php/Project_Blue it should still redirect to the new title. All I want is that it should not be displayed when somebody clicks on Special:AllPages. So basically do NOT display but still maintain the redirection -- a cosmetic change. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Basic help
On Mon, Nov 29, 2010 at 1:33 PM, wjhon...@aol.com wrote: In a message dated 11/29/2010 7:28:45 AM Pacific Standard Time, platoni...@gmail.com writes: That behavior only works if the wiki is configured with $wgAllowExternalImages = true; in LocalSettings.php Is this not the default setting? Or perhaps it was in an earlier release and then changed? Disabled by default, was enabled by default prior to 1.7. -Chad ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Avoid duplicate listing of articles after renaming/moving?
Found this via a google search. It looks simple and looks like it does what you want but I have not tested it. http://www.mwusers.com/forums/showthread.php?14438-How-can-I-modify-Special-Allpages-to-exclude-redirects Just tried that and it works! Thanks. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Basic help
Hi Bri, The search does not find the image file even though it is in the images directory. When I try to upload the image file using Special:upload, I get this error message The upload directory (public) is missing and could not be created by the webserver along with PHP error messages referring to the part in GlobalFunctions.php lines 2176 and 2179 which has to do with creating a new directory. I tried adding the public directory manually and that did not work either although I do not know where the public directory should be located. Thanks, Gary At 11:29 AM 11/29/2010, you wrote: Try [[image:imagename.jpg]] This should show, even if the thumbnail is not working correctly. If that works, but [[image:imagename.jpg|300px]] does not, then it is an issue with the thumbnail graphics generator. Make sure that the wiki database knows where the image is. In the search box put file:imagename.jpg If the wiki finds them, then it is indexed in the database. If it is not found you may need to use the image upload link from the left side of the main page. -Bri On 11/28/2010 11:43 PM, Gary Roush wrote: I uploaded the images using FTP. How do I do Special:Upload? On the navigation box, I am wondering why the pages do not exist. Especially the help pages. Thanks, Gary At 11:30 PM 11/28/2010, you wrote: On Sun, Nov 28, 2010 at 10:58 PM, Gary Roushgrou...@earthlink.net wrote: I can not figure out how to get images to appear in an edited page. According to the edit instructions, entering [[File:example.jpg|center|100px|caption]] should work, but I get just the word caption as a link to example.jpg. I do not want a link, I want the actual image to display. Is there a switch that needs to be set for this? The image is in the images directory. You uploaded the image through Special:Upload, right? It sounds like you don't have the right renderer installed/enabled. See http://www.mediawiki.org/wiki/Manual:Image_Administration#Image_thumbnailing Second problem is that in the navigation box only the Main selection works. Are there switches for the other items, especially for Help? I don't understand the question. Do you want to remove the other items, or do you want to change them, or are you wondering why they link to pages that don't exist? ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Basic help
On Mon, Nov 29, 2010 at 9:36 PM, Gary Roush grou...@earthlink.net wrote: The search does not find the image file even though it is in the images directory. When I try to upload the image file using Special:upload, I get this error message The upload directory (public) is missing and could not be created by the webserver along with PHP error messages referring to the part in GlobalFunctions.php lines 2176 and 2179 which has to do with creating a new directory. I tried adding the public directory manually and that did not work either although I do not know where the public directory should be located. public is actually the images directory. It sounds like you moved it around or deleted it while you were uploading files through FTP. Make sure there is a directory called images in your wiki directory. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l