Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Last week
  3. gaon12

    Image Resize is not working!

    Thanks.
  4. Skizzerz

    Image Resize is not working!

    Yes, you'll need to follow up with them. If changing skins doesn't fix the thumbnails, however, then that wasn't the issue that we're after.
  5. gaon12

    Image Resize is not working!

    I found reason of error with your answer. This is one of the error message in debug.log ErrorException from line 898 of /path/the/mw/w/skins/liberty/LibertyTemplate.php: PHP Notice: Undefined offset: 5 And I use this skin: Liberty(https://gitlab.com/librewiki/Liberty-MW-Skin) And LibertyTemplate.php(https://gitlab.com/librewiki/Liberty-MW-Skin/blob/master/LibertyTemplate.php) urls. What can I Do? Should I contact the developer? P.S. When I change the another skin, but it doesn't work.
  6. Skizzerz

    Image Resize is not working!

    I see that MediaWiki is encountering some error when attempting to generate the thumbnails, however your server is not configured to report error details (this is usually considered a good thing from a security point of view). To get more information, you will need to enable debug logging and then attach the debug log here. To do that, set the following in LocalSettings.php: $wgDebugLogFile = '/path/to/debug.log'; You will need to modify this path to be a directory that your user account can write to, but is ideally not accessible via the web. Once you enable that, edit one of the pages that has a thumbnail error and save. This will generate a lot of output to that log file, including the error message for what is going on with the thumbnail. Once you get that log file after the page edit, you can remove that line from LocalSettings.php so that it does not fill up your disk with debug logs. The debug log will also contain some sensitive data which could allow someone to hijack your session, so I recommend taking the following security precautions: Do not log into any accounts while debug logging is active. Make sure you're already logged in beforehand. After turning debug logging back off, log out of your account in order to delete your session data from the wiki.
  7. gaon12

    Image Resize is not working!

    Here. https://www.gaonwiki.com/w/Thumb_error_test And in Most images file's page, You can also check for errors in most image file documents. p.s. please use this id/pw : test1/test1234 Because he blocked membership because of a vandalism user.
  8. Skizzerz

    Image Resize is not working!

    Thanks! Can you link to the particular page where the thumbnail is not appearing?
  9. gaon12

    Image Resize is not working!

    I'm trying your answer, but not working. Here is my Wiki's URL https://www.gaonwiki.com
  10. Skizzerz

    Image Resize is not working!

    There are a few possible reasons for this, but without more information (such as a link to your wiki, if it is public), it is difficult to determine what exactly is going on here. This page has some possible issues and resolutions, but it is not comprehensive and also not very comprehensible in some cases. Perhaps the first thing to check is to see if you have $wgUseImageMagick = true; in your LocalSettings.php. If not, add it in.
  11. Earlier
  12. Hello. I have a some problem. Image resize function (e.g. [[File:example.png|100px]]) is not work! When I try this( |100px ), just show file's link(interminal link). Not use resize function ( just [[File:example.png]] ) is show Properly. And The image in 'commons.wikimedia.org' work well. I set $wgMaxShellMemory = 307200; $wgThumbnailEpoch = true; in LocalSettings.php How can i do?
  13. A few days ago, I asked a question under the title "How to limit the number of edits per user per day". (Link) Only one vandalism document has been posted since the question was posted, and a third of the wiki documents have been compromised. He used multiple IPs to edit. And then they destroyed the document, and then they moved it into a strange document. I want to stop him. What should I do? P.S. Using recaptcha seems useless.
  14. Block the offending user(s). If your wiki is open for anyone on the internet to register accounts, keep in mind that many vandals are quite persistent and will come back ("evading the block") to bother you again. Look into the guide on combating vandalism. It contains a number of extensions and configuration parameters that can be used to detect and outright prevent some behaviors. Determine a solution suitable for your community. Perhaps you rate-limit new accounts to 1 edit per 5 minutes until they've reached a certain time and/or edit threshold ("autoconfirmed"). Perhaps you run bots that patrol for bad actors and send out notifications for humans to look at before things get too out of hand. The exact solution is not a one-size-fits-all sort of thing and depends largely on your community and what you want the wiki to achieve. Increase monitoring of RecentChanges so that similar events can be caught more quickly in the future and the offending user blocked before they cause massive damage. Ensure you have scheduled backups of the wiki database, so that in a worst-case scenario type of thing you can roll back to a known-good backup. A large benefit of MediaWiki is that pretty much every action a user can take can be reverted. It's a time-consuming process to revert hundreds of edits manually (bots, extensions, and maintenance scripts can help with this), but it's doable. The amount of attention this requires may be beyond the capabilities of some small wikis, however. Those wikis may find it easier or better to implement measures that block or restrict bad behavior up front (even if it has a chance of affecting legitimate users as well) simply due to the resources needed to quickly patrol everything shortly after it happens are nonexistent. The end solution is largely up to you, however. See the link I gave for some tips on tools you can use that may help.
  15. There has been an incident where a malicious subject has corrupted almost all documents. We recovered the currently corrupted document. So I want to make sure that I can edit or create only one document per user per day. Certain users (or groups) and administrators do not want to restrict editing. What should I do?
  16. Skizzerz

    Getting logged out after submitting a page Change

    I'm not sure if this will actually help or not, but try adding the following into your LocalSettings.php: $wgTmpDirectory = '/is/htdocs/user_tmp/wp10565584_JYRT1G91HG'; If that doesn't help, the next step is to enable debug logging for sessions to get greater insight into what's going on behind-the-scenes. See this article for information on how to set that up. To avoid tons of noise in the file, you may want to only enable logging for the session debug log group.
  17. Terrifiedham

    Getting logged out after submitting a page Change

    Hey Skizzerz, Thank you for the reply. I attached the phpinfo.txt document. Session related or cache-related settings as well as the extensions i installed will follow below (I figured that maybe an extension could cause these problems?): # Protect against web entry if ( !defined( 'MEDIAWIKI' ) ) { exit; } $wgExtendedLoginCookieExpiration= 0; ## Uncomment this to disable output compression # $wgDisableOutputCompression = true; ## Shared memory settings $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array(); ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = true; #$wgUseImageMagick = true; #$wgImageMagickConvertCommand = "/usr/bin/convert"; # InstantCommons allows wiki to use images from http://commons.wikimedia.org $wgUseInstantCommons = false; ## If you use ImageMagick (or any other shell command) on a ## Linux server, this will need to be set to the name of an ## available UTF-8 locale $wgShellLocale = "en_US.utf8"; ## If you want to use image uploads under safe mode, ## create the directories images/archive, images/thumb and ## images/temp, and make them all writable. Then uncomment ## this, if it's not already uncommented: #$wgHashedUploadDirectory = false; ## Set $wgCacheDirectory to a writable directory on the web server ## to make your wiki go slightly faster. The directory should not ## be publically accessible from the web. #$wgCacheDirectory = "$IP/cache"; # Site language code, should be one of the list in ./languages/Names.php $wgLanguageCode = "de"; ############## Handmade ################ # Specify who can edit: true means only logged in users may edit pages $wgGroupPermissions['*' ]['createaccount'] = false; $wgGroupPermissions['*' ]['edit'] = false; $wgGroupPermissions['*' ]['read'] = true; // Jeder darf die Seite lesen $wgGroupPermissions['sysop']['createaccount'] = true; $wgGroupPermissions['user' ]['edit'] = false; $wgGroupPermissions['user' ]['read'] = true; $wgGroupPermissions['user' ]['upload'] = false; $wgGroupPermissions['user' ]['move-rootuserpages'] = false; $wgGroupPermissions['user' ]['createpages'] = false; $wgGroupPermissions['user' ]['reupload-shared'] = false; $wgGroupPermissions['user' ]['reupload'] = false; $wgGroupPermissions['user' ]['move'] = false; $wgGroupPermissions['user' ]['writeapi'] = false; $wgGroupPermissions['user' ]['move-subpages'] = false; $wgGroupPermissions['user' ]['createpage'] = false; $wgGroupPermissions['user' ]['purge'] = false; $wgGroupPermissions['user' ]['movefile'] = false; $wgGroupPermissions['user' ]['minoredit'] = false; $wgGroupPermissions['user' ]['createtalk'] = false; #Nutzergruppe Schreibende nutzer $wgGroupPermissions['Editor']['read'] = true; $wgGroupPermissions['Editor']['edit'] = true; $wgGroupPermissions['Editor' ]['upload'] = true; $wgGroupPermissions['Editor' ]['move-rootuserpages'] = true; $wgGroupPermissions['Editor' ]['createpages'] = true; $wgGroupPermissions['Editor' ]['reupload-shared'] = true; $wgGroupPermissions['Editor' ]['reupload'] = true; $wgGroupPermissions['Editor' ]['move'] = true; $wgGroupPermissions['Editor' ]['writeapi'] = true; $wgGroupPermissions['Editor' ]['move-subpages'] = true; $wgGroupPermissions['Editor' ]['createpage'] = true; $wgGroupPermissions['Editor' ]['purge'] = true; $wgGroupPermissions['Editor' ]['movefile'] = true; $wgGroupPermissions['Editor' ]['minoredit'] = true; $wgGroupPermissions['Editor' ]['createtalk'] = true; # Pages anonymous (not-logged-in) users may see $wgWhitelistRead = array ("Spezial:Userlogin", "Wikipedia:Help"); ###Widget Extension: (Reine HTMl seiten im Mediawiki erstellen) ###require_once "/extensions/Widgets/Widgets.php"; ### $wgSessionCacheType = CACHE_DB; $wgShowExceptionDetails = true; $wgShowDBErrorBacktrace = true; ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'cologneblue', 'monobook', 'vector': $wgDefaultSkin = "Vector"; ##IFrame extension. require_once "$IP/extensions/IframePage/IframePage.php"; ##IDisplay extension require_once "$IP/extensions/IDisplay/iDisplay.php"; ##Skin MonoBook wfLoadSkin( 'MonoBook' ); ##ImageMap (Extension um Bilder verlinken zu können) wfLoadExtension( 'ImageMap' ); ##CategorySuggest Extension. (Vereinfacht die Benutzung von Kategorien) require_once "$IP/extensions/CategorySuggest/CategorySuggest.php"; ##Tabber Extension. (Allows tabs to add information to it) wfLoadExtension( 'Tabber' ); ##WikiEditor (für eine einfachere bearbeitung des wikis) wfLoadExtension( 'WikiEditor' ); ##Enables the Link Titles Extension and Configurations for it below the first line## wfLoadExtension( 'LinkTitles' ); $wgLinkTitlesParseOnEdit = true; ##enables Link Titles on every page $wgLinkTitlesSmartMode = true; ##enables Smart Linking $wgLinkTitlesParseHeadings = false; ##This disables links for headings ##PDFBOOK extension. (Erlaubt das extrahieren von PDFS von einzelnen wiki seiten.) wfLoadExtension( 'PdfBook' ); ##Maybe a fix for the cookie problem? $wgCookieSecure = false; phpinfo.txt
  18. Skizzerz

    Getting logged out after submitting a page Change

    Can you provide some more info? The output you gave makes it seem like MediaWiki thinks the session being sent to it is not valid/expired and therefore spins up a new one. There are a wide variety of causes for this, none of which are particularly obvious or easy to spot. The following information would be very helpful in diagnosing this further: 1. Your phpinfo() for the server. Easiest way to get this is to run php -i > phpinfo.txt from the command line; the information will be stored in a new file named "phpinfo.txt" which you can then upload as an attachment. 2. Any session-related or cache-related settings in your LocalSettings.php (do not upload your entire LocalSettings.php as it contains private info such as database passwords and secret keys)
  19. Hello everyone, Excuse me if this question has been asked before, but i don't know where else to ask, so far i haven't found a solution to my problem. I have set up a mediawiki and often encounter the problem that users are getting logged out, most often after changing something on a page and submitting that change. (But sometimes that also happens when just browsing the wiki) I have followed the steps for debugin login problem: https://www.mediawiki.org/wiki/Manual:How_to_debug/Login_problems This unfortunately didn't help. When recording the problem i've stumbled upon these lines on submitting that seemed odd to me, but since I am not an expert I don't know if they are relevant: Server: Apache Set-Cookie: UseCDNCache=false; expires=Wed, 26-Sep-2018 11:35:03 GMT; Max-Age=10; path=/; HttpOnly Set-Cookie: db10565584-pagename_mediawikiUserID=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly Set-Cookie: db10565584-pagename_mediawiki_session=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly Set-Cookie: db10565584-pagename_mediawiki_session=agqdcmcv6f2f156l2d801q4n7l7c58dd; path=/; HttpOnly Set-Cookie: UseDC=master; expires=Wed, 26-Sep-2018 11:35:03 GMT; Max-Age=10; path=/; HttpOnly I am happy for any help and i am happy to provide more data if needed. Best regards, Lukas
  20. The page Special:AllPages lists every page on your wiki. You can link to it on your main page via [[Special:AllPages]] or you can include it as a list with {{Special:AllPages}}. If you're looking for anything more complicated than that, you'll likely want to install and use the DynamicPageList extension.
  21. Hello everyone, how can I create an overview of all pages in my mediawiki? For example displayed on the mainpage. Thanks!
  22. gaon12

    Media Wiki connect speed

    Thank you.
  23. Skizzerz

    Media Wiki connect speed

    The easiest way to speed up the site is to configure caching. Install the apcu PHP extension (this will require root-level access to your server; if you don't have that then ask your host to do it for you), and then set $wgMainCacheType = CACHE_ACCEL; in your LocalSettings.php. See here for more details on performance tuning, including other methods like opcode caching (this might already be set up, but make sure it's turned on) and database query caching (I recommend using the excellent "mysqltuner" script for this)
  24. gaon12

    Media Wiki connect speed

    Hello. I'm manage my wiki site https://www.gaonwiki.com This site usually slow. I saw the Develop mode in chrome. load.php spend a lot of time. I want to make my site faster. How can I do?
  25. Thanks for your help.
  26. That is being created by the CharInsert extension combined with the MediaWiki:Edittools page on your wiki. The link to the extension contains more documentation and examples of how to set it up. More advanced uses (such as what you see on Wikipedia with the "Insert" drop-down) also require the Gadgets extension.
  27. I am building a wiki and I was browsing Wikipedia pages to learn more about formatting and templates when I saw this bar at the bottom of the edit window to insert different characters and wiki markups. I was hoping someone here can tell me which extension is being used to add this to the editor or if it isn't even an extension how I would go about adding it to the edit page.
  28. Thank you! I get lost between when it's messages, CSS, or the skin itself that is place to modify different outputs. Or even differentiating between which elements do what. Much appreciated.
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.