Jump to content

All Activity

This stream auto-updates     

  1. Earlier
  2. My wiki has a double subdomain because the single "en" subdomain redirects to the main wiki when I click on the wiki directory. Even the domain penguingamestudio.com gives the same error when you click on mw19. If the double subdomain works, then how am I supposed to determine the wiki ID?
  3. Skizzers is correct. It would appear that you are using the code from here: https://www.mediawiki.org/wiki/Manual:Wiki_family#Basic_principles which will show the error ""It was not possible to determine the wiki ID." when the database is not found. The code there is in your LocalSettings.php file so open that file and take a look and see if your subdomain is listed there correctly.
  4. The "wiki ID" is a fancy term for "the name of the database where the wiki lives." So, something in your configuration is not setting the database name and/or database prefix correctly for this wiki. My guess has to do with the fact that it's a double subdomain "en.en" and your mapping of subdomain to database name is not changing that period to something else -- periods are not valid in database names or table prefixes.
  5. MediaWiki Version: 1.30 PHP Version: 5.6.38 (litespeed) Website: en.en.penguingamestudio.com/mw19/ Hello. I have been working on a wiki family similar to Wikimedia Foundation, and I experienced several problems. My third wiki, English Penguingame Studio, failed gracefully with the following messages: "It is not possible to determine the wiki ID." I set up the database and everything, yet I still get the same message. The main wiki is at penguinicewikis.com. How can I fix this on my wiki?
  6. sremick

    mw-config blank while trying to upgrade

    I had used the tarball. But re-uploading it worked. I don't recall seeing any errors the first time, but no matter. All seems well now. Thanks :)
  7. Skizzerz

    mw-config blank while trying to upgrade

    Did you get the new MediaWiki files via Git or by downloading the tarball? If you got it via Git, you will need to install and update all of the dependencies yourself. See here for more information. If you used the tarball, it appears that some of the files didn't get extracted properly or were possibly missed. Re-download the tarball and re-extract it to a new, empty folder. Then copy over your LocalSettings, updated versions of extensions, and images to the new folder. It's always recommended when upgrading with a tarball release to extract to a new folder as there may be issues caused by leaving around files from an old release that were removed in a future release. Unless you are already familiar with using Git and feel comfortable with your systems administration skills, I recommend using the tarballs.
  8. sremick

    mw-config blank while trying to upgrade

    Ok putting it into index.php accomplished something. Here's what I see: Fatal error: Uncaught Error: Class 'Composer\Autoload\ClassLoader' not found in /home/xxxx/public_html/wiki/vendor/composer/autoload_real.php:23 Stack trace: #0 /home/xxxx/public_html/wiki/vendor/autoload.php(7): ComposerAutoloaderInit_mediawiki_vendor::getLoader() #1 /home/xxxx/public_html/wiki/includes/Setup.php(60): require_once('/home/xxxx/...') #2 /home/xxxx/public_html/wiki/includes/WebStart.php(88): require_once('/home/xxxx/...') #3 /home/xxxx/public_html/wiki/mw-config/index.php(39): require('/home/xxxx/...') #4 {main} thrown in /home/xxxx/public_html/wiki/vendor/composer/autoload_real.php on line 23
  9. Skizzerz

    mw-config blank while trying to upgrade

    A blank page indicates PHP errors. See the how to debug manual for information on displaying the error messages so you can get more information. You may want to insert those error reporting lines at the top of mw-config/index.php instead of in LocalSettings.php.
  10. sremick

    mw-config blank while trying to upgrade

    My PHP extensions:
  11. I'm trying to upgrade from 1.29.2 to 1.31.1 and am having a problem I've never seen before. I uploaded my files over FTP, then tried to browse to /mw-config/ Blank, nothing. Nothing even in "view source". I tried renaming .htaccess, that didn't help. I tried enabling error reporting in LocalSettings, still nothing. What I did find was someone else experiencing the same symptoms 4y ago, but no resolution: https://www.mediawiki.org/wiki/Topic:S03zky07ztg52dou Any thoughts? I did make a backup, so I'm not dead and can refer to that, but I'd like to get updated. PHP 7.2.11 MariaDB and Litespeed (not entirely sure how to check those versions... shared hosting, not seeing it in cpanel)
  12. Very odd, is your wiki public? If so, please provide a link to it. If not, please provide the following info: What version of MediaWiki are you running? What extensions do you have installed? In either case, check your webserver configs (for example, the conf file as well as .htaccess files for apache) to see if there's any errant redirects or rewrites in there that is causing it to go elsewhere.
  13. Hi there, I have a mediawiki website in a third level domain (wiki.example.org). When I access to it from any mobile device, the page appears for a while and immediately it is redirected to Wikipedia. It does not happen in desktop browser. I cannot find a solution to this problem, do you have any hint? Thank you!
  14. gaon12

    Image Resize is not working!

    I'm fix another way. I set $wgGenerateThumbnailOnParse = true; in LocalSettings.php Thanks for help.
  15. gaon12

    Image Resize is not working!

    Thanks.
  16. 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.
  17. 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.
  18. 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.
  19. 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.
  20. Skizzerz

    Image Resize is not working!

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

    Image Resize is not working!

    I'm trying your answer, but not working. Here is my Wiki's URL https://www.gaonwiki.com
  22. 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.
  23. 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?
  24. 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.
  25. 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.
  26. 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?
  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.