![]() ![]() png extension for your destination filename. Keep in mind that MediaWiki is particular about file extensions – if you'll be uploading a PNG, use the. To view or search previously uploaded files go to the list of uploaded files, (re)uploads are also logged in the upload. In the saved article (or in a new tab from the previewed article), click the destination filename, which will be a red (=no such article) link.If you set the config setting wgHashedUploadDirectoryfalse then files will have a more straightforward location images/imagefilename.png so that could be worth a try. So you could try FTPing them there, but this seems a bit of a messy solution. Insert wiki markup using whatever destination filename you want You can read about how this works in the mediawiki docs about wgHashedUploadDirectory.After asking for better alternatives on #mediawiki, I got a tip I thought I'd share. If you want to replace an existing file, give it the same name, and otherwise a name that does not exist yet. To upload a file, go to Commons, log in there, and upload the file using the Upload link. Insert wiki markup using the copied filenameĪ lot of steps, and in a non-intuitive order. For Wikimedia projects this is Wikicommons (free content only, no 'fair use' content), in general this is referred to below as Commons.One thing I don't like about MediaWiki is how convoluted it is to add an image to an article. To upload files, allowed extensions must be specified in LocalSettings.php, and permission must be given for the web server (i.e., MediaWiki) to create. I've found it mainly meets my needs, though I only need a small subset of its features. I recently wanted a wiki, to collect some ideas with my girlfriend.Īfter trying several pieces of wiki software, I settled for MediaWiki, which also powers Wikipedia. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |