Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Last week
  3. Earlier
  4. Could a kind soul offer a how-to (for dummies) on how to get infoboxes setup and configured on a brand new Mediawiki installation? Version 1.36.1, PHP 7.4. I feel like I can handle this with a more simplistic breakdown than the mediawiki/org tutorial. Any other attempts I've found by people to offer a kinder step-by-step are outdated. Would be much appreciated.
  5. Hello! I am trying to set up a default template for my wiki pages. I want that every time I create a new page, this template is displayed directly and I can then edit it and add more sections. My problem is that you can't edit templates in the article. Does anyone know a solution to this problem?
  6. Hi. We are making now the mods of some Polish wikis and we need volunteers who can help us to finish implemetations and fix some technical problems with several scripts errors, site personalisation and visibility of some pages. You can see our work on http://wedapedia.pl (mod of Polish Wikipedia). We want to build effective team and develop our wikis without cenzorship and political impact what makes place in Poland. We want to create real free, independent and reliable wikis. Who wanna join us and start new challenge in the wiki world? For fixing most important scripts problems we can pay little bit gratifications up 100-200$.
  7. I have a Mediawiki page with over 100 links (web pages). Out of that, about 7 of the links (web pages) are highlighted in "red color" and when I hover over those 7 links, I get message (Page does not exist). And indeed no content is found on these pages. I have imported the database from previous version of wiki (and imported images) and all the other webpages show content but these 7 webpages show "Page Does not exist" and highlighted in red color. I have the following settings: $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = []; I am using in Windows server: MediaWiki 1.35.2 Apache 2.4.47 Win64 from Xampp mysql-8.0.23-winx64 (MySQL :: Download MySQL Community Server) PHP 7.4.3 I have successfully inported the database, images, ran "update.php" and all the other web pages and images correctly show. The 7 web pages do not have any content and highlighted in red. can you please suggest what might be the reason?
  8. I am trying to set up Mediawiki for a small business and they are needing to have the Visual Editor extension added. We are using TLS encryption for the site and I've noticed that after completing the Mediawiki installation there is no service for Parsoid or RestBase. I am able to get Visual Editor to work properly without using TLS but I wanted to know is there something that is supposed to be done to initialize the services if using TLS? I am using Mediawiki 1.35.2.
  9. Installed XAMPP to G:/Server/ Installed Mediawiki. Not sure I can get to it again. File paths G:/Server/ So where did Mediawiki get installed? G:/Server/htcdocs/apps/mediawiki ? Http://localhost/wiki does in fact navigate to my wiki. So, yay? Success? Is this secure enough to use on an offline thumbdrive? I was reading instructions from Lifehacker to do this and it says to move LocalSettings.config.php to G:/xampp/htcdocs/wiki/LocalSettings.php I am confused. Do I still need to do this? How could I have done this install better? If I install other server modules like Joomla in the future and it also makes me just install to G:/Server/ again I imagine I will have file spaghetti. Or does it automatically route them into G:/Server/htcdocs/apps/ ?
  10. I have been using XAMPP to install MediaWiki on my Windows 10 computer. The installation was going smoothly while I was following the guide here: https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki#Download_MediaWiki_software until I had to run the installation script. When I typed "localhost/w" into the search bar, instead of telling me that LocalSettings.php could not be found, and I could set up the wiki, it gave me an error that looked like this: MediaWiki 1.36 internal error. Installing some PHP extensions is required. Required components You are missing a required extension to PHP that MediaWiki requires to run. Please install: intl After searching the web for a bit, I figured out that I needed to enable the intl extension by going into php.ini in the php folder and uncommenting "extension=intl". I figured that would solve the issue, but when I tried loading "localhost/w" again, it looks like a new problem popped up: Deprecated: Premature access to service container [Called from ObjectCache::getLocalServerInstance in D:\XAMPP\htdocs\w\includes\objectcache\ObjectCache.php at line 255] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'HookContainer' [Called from MediaWiki\MediaWikiServices::getInstance in D:\XAMPP\htdocs\w\includes\MediaWikiServices.php at line 252] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'ObjectFactory' [Called from Wikimedia\Services\ServiceContainer::{closure} in D:\XAMPP\htdocs\w\includes\ServiceWiring.php at line 535] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'LocalServerObjectCache' [Called from ObjectCache::getLocalServerInstance in D:\XAMPP\htdocs\w\includes\objectcache\ObjectCache.php at line 255] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'StatsdDataFactory' [Called from ObjectCache::newFromParams in D:\XAMPP\htdocs\w\includes\objectcache\ObjectCache.php at line 149] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'MainConfig' [Called from Wikimedia\Services\ServiceContainer::{closure} in D:\XAMPP\htdocs\w\includes\ServiceWiring.php at line 1424] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'ConfigFactory' [Called from Wikimedia\Services\ServiceContainer::{closure} in D:\XAMPP\htdocs\w\includes\ServiceWiring.php at line 734] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'BootstrapConfig' [Called from Wikimedia\Services\ServiceContainer::{closure} in D:\XAMPP\htdocs\w\includes\ServiceWiring.php at line 277] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'DBLoadBalancer' [Called from ObjectCache::{closure} in D:\XAMPP\htdocs\w\includes\objectcache\ObjectCache.php at line 181] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'DBLoadBalancerFactory' [Called from Wikimedia\Services\ServiceContainer::{closure} in D:\XAMPP\htdocs\w\includes\ServiceWiring.php at line 383] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'MainWANObjectCache' [Called from Wikimedia\Services\ServiceContainer::{closure} in D:\XAMPP\htdocs\w\includes\ServiceWiring.php at line 406] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 Deprecated: Premature access to service 'ConfiguredReadOnlyMode' [Called from Wikimedia\Services\ServiceContainer::{closure} in D:\XAMPP\htdocs\w\includes\ServiceWiring.php at line 420] in D:\XAMPP\htdocs\w\includes\debug\MWDebug.php on line 376 If I scroll down, it does give me the option of setting up a new wiki, but I'm not sure if I should without resolving the issue first. If you guys couldn't tell, I don't know anything about coding at all, so any help is appreciated. Some relevant maybe useful information: I am using the most recent versions of Media Wiki (1.36.1) and I am using XAMPP 7.3.28 because apparently (from what I've read) the php files that come with the more recent versions don't work with MediaWiki. Thanks in advance!
  11. Yes, you need a valid working email setup for most email providers to not outright reject emails from you. This is largely outside the scope of wiki management and in the scope of general server management. Set up SPF records in your DNS to let providers know which servers are authorized to send email from your domain Ensure your IP address is not listed in any DNS blacklists, and if it is, go through the processes of those lists to get it delisted Set up MX records in your DNS so that you can receive bounce emails which contain further details of rejections In MediaWiki, configure the outgoing email address appropriately With all of those set up, check system logs to ensure that the mails are being accepted and sent onwards. If they are, checking for bounce replies is helpful to see why something is rejected. Otherwise check firewalls and other things that may block connectivity. If you are attempting to send email from a home server, it is possible your ISP is implementing blocking of their own and you may need a completely different setup (such as connecting to a remote SMTP server to send email).
  12. For an valid user account of wiki (e.g. Acct1), the reset password email is NOT getting received. I have the following settings in LocalSettings.php: $wgEnableEmail = true; $wgEnableUserEmail = true; # UPO $wgEnotifUserTalk = false; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true; I have an valid user account (e.g. Acct1) and that account was initialliy created by not entering any email, as email is optional for account creation. To reset password, the request was sent to gmail. Also attempted by trying to send the email to Microsoft Outlook. I checked the spam and other email folders, but no email was found. Is there any additional setting needed so that the email is received for resetting the password? I see the re-directed web page as below, but no email. I Reset password Jump to navigationJump to search You have a requested a password reset. If the information submitted is valid, a password reset email will be sent. If you haven't received an email, we recommend that you visit the reset password help page or try again later. You can only request a limited number of password resets within a short period of time. Only one password reset email will be sent per valid account every 24 hours in order to prevent abuse. The details you submitted are: · Username: Acct1 · Email address: mygmailwhateveritis@gmail.com Return to Mywikipage.
  13. As this was related to the upgrade of Wiki, I had to upodate PHP. Doing the PHP update using the information below solved the problem. https://www.mediawiki.org/wiki/Manual:Upgrading#Web_updater
  14. I am using in Windows server: MediaWiki 1.35.2 Apache 2.4.47 Win64 from Xampp mysql-8.0.23-winx64 (MySQL :: Download MySQL Community Server) PHP 7.4.3 I have sucessfully created a new account in wiki. After that, I get a page as: Your account has been created. You can change your aocwiki preferences if you wish. Return to Main Page. By clicking on "Main page", I can successfully edit the Wiki page. After that, I log out. Next, when I attempt to log in using the same account (which was created only a few minutes back) and I know the password, I get the error as: A database query error has occurred. This may indicate a bug in the software. [7f3afe2ec265c01f3b4b210d] 2021-06-11 20:21:25: Fatal exception of type "Wikimedia\Rdbms\DBQueryError" [2ada4ab1c4b9b4a87e568f81] /mywiki/index.php?title=Special:UserLogin&returnto=My+Page Wikimedia\Rdbms\DBQueryError from line 1699 of D:\Xampp\htdocs\mywiki\includes\libs\rdbms\database\Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? Error 1146: Table 'wikidb.oathauth_users' doesn't exist (localhost) Function: MediaWiki\Extension\OATHAuth\OATHUserRepository::findByUser Query: SELECT * FROM `oathauth_users` WHERE id = 112 LIMIT 1
  15. This is a browser security feature; most browsers do not allow clicking on file links from an http/https website. There is no solution to make it work, upload the relevant file locally to your wiki and link to it using regular wikilinks.
  16. I am using in Windows server: MediaWiki 1.35.2 Apache 2.4.47 Win64 from Xampp mysql-8.0.23-winx64 (MySQL :: Download MySQL Community Server) PHP 7.4.3 In the source code of Mediawiki, I have code as below: <ul><li><a rel="nofollow" class="external text" href="file://///networkwithaccess/myfolder/myfile.doc">This is my file</a></li> When I click on it, it does nothing, and certainly does not open/download the file (Microsoft-Word document). However, from the same machine (where I am trying to open it from mediawiki link), I can successfully open (download) the file by typing the following in the browser. When I type the following in the browser, the myfile.doc downloads file://networkwithaccess/myfolder/myfile.doc However, from the MediaWiki link, it does not download. The link in mediawiki shows it as a link (with a rectangle and arrow symbol at the end of the link). But clicking on it in Mediawiki does nothing. I also have the correct setting in LocalSettings.php as: # File Link Protocols configuration $wgUrlProtocols = array( 'http://', 'https://', 'ftp://', 'irc://', 'gopher://', 'telnet://', // Well if we're going to support the above.. -var 'nntp://', // @bug 3808 RFC 1738 'worldwind://', 'mailto:', 'file://', 'news:' ); array_push($wgUrlProtocols, "file://"); $wgPFEnableStringFunctions = true; In httpd.conf, I have: <Directory /> AllowOverride all Require all granted </Directory> My .htaccess is: <IfModule rewrite_module> RewriteEngine On RewriteOptions inherit # Fix for bug T64289 Options +FollowSymLinks </IfModule> I did NOT do anything else related to Template:Unc, nor I downloaded anything extra. All I have done is the above. Nor, I understand where to look for Template:Unc. Now, with the above setting, the file successfully downoads in Internet Explorer11, but it does NOT in Microsoft-Edge, Chrome, Mozilla browsers. In Chrome, when I click on that link, it gives the error in the developer console as: Not allowed to load local resource: I have also closed all the Chrome instances and opened a new instannce of Chrome browser using: chrome.exe –allow-file-access-from-files -disable-web-security But that did not help either. Can you please advise what I need to do to make this link download the file from MediaWiki? Or, does MediaWiki download it silently in a directory? I do not have any directory as such configured in the LocalSettings.php. But if it indeed downloads it silently in my local machine, how to verify from any settings? The MediaWiki runs in a different Windows server and I open it from a browser in my personal Windows machine. From my personal Windows machine, I can open the file from browser using the file:// syntax. On the contrary, from the personal machine, when I click on the link in MediaWiki, no download happens.
  17. I copied the files found in the image folder (again, as the past copy had missing files) and now I can see the images. I need to verify it more for additional images.
  18. I have a need to move MediaWiki (and also upgrade to the newer version) from an older Windows server to a newer Windows server. The older Windows server has MediaWiki 1.23.5 along with Apache 2.2, MySQL 5, and older version of PHP from 2010. In the newer in Windows server, I am installing: MediaWiki 1.35.2 Apache 2.4.47 Win64 from Xampp mysql-8.0.23-winx64 (MySQL :: Download MySQL Community Server) PHP 7.4.3 (from Xampp) I got a dump of the SQL file from the older machine and successfullly imported that SQL into the MySQL of the newer machine. I configured MediaWiki in the new machine. After that, I had the wiki page served successfully in the new machine. I even manually copied the content from the old Windows machine from its folder D:\mywiki\images (copied all folders and subfolder except htaccess and readme) into new Windows machine into D:\Xampp\htdocs\mywiki\images. In the new machine, I made sure that the images directory has full control permission. However, I am having two issues. Issue 1: When the wiki page in the new Windows machine is served, it shows the thumnail of the image, but clicking on the thumbnail does not show the image. Are the images not a part of the SQL-dump? What do I need to do to get the images imported in the new Wiki server? Perhaps manual copy of the content from the images folder does not work. I stopped and started Apache, MySQl after copy and tried to access the image and the images are not visible. Issue 2: In some of the content I see see the path of the file e.g. [file://mynetworkname/directory1/file1.html ] after the link. The original (still hosting the older/original wiki) does not show the path. What do I need to do to not show this type of file path?
  19. What do I need to do to make all the wiki pages being served from (fake domain with http) of http://myfakedomain.org (instead of http://mymachinename:8082)? I want to test it out till I purchase the real certificate and domain. I want to figure out what changes need to be made to make it happen. In other words, instead of all the URLs starting as: http://mymachinename:8082/mywiki/index.php/Main_Page/ I want all the URLs to start as: http://myfakedomain.org/mywiki/index.php/Main_Page/ I am using in Windows server: MediaWiki 1.35.2 Apache 2.4.47 Win64 from Xampp mysql-8.0.23-winx64 (MySQL :: Download MySQL Community Server) PHP 7.4.3 (from Xampp) This is what I have done: httpd.conf: Include conf/extra/httpd-vhosts.conf Listen 8082 ServerName myfakedomain.org <Directory /> AllowOverride all Require all granted </Directory> D:\Xampp\apache\conf\extra\httpd-vhosts.conf <VirtualHost *:8082> DocumentRoot "D:/Xampp/htdocs/mywiki" ServerName myfakedomain.org </VirtualHost> In [b]LocalSettings.php[/b], I have: $wgServer = "myfakedomain.org"; In C:\Windows\System32\drivers\etc\hosts: 127.0.0.1 myfakedomain.org With the above settings, my web page does not get served from http://myfakedomain.org/mywiki/index.php/Main_Page What changes, or additional settings do I need?
  20. Ah. I set the $wgGTagHonorDNT flag to false and am seeing the tracking code now. Thank you for your help.
  21. This forum is not for Wikipedia support, so we can't provide much help to you here. The easiest thing to do would be to try resetting your password while on a different IP (for example, if you got that message on your home wifi, try a cellular connection). Failing that, your best bet is to reach out to the Wikipedia admins for assistance; the block message should contain some instructions on how to do that.
  22. By default the extension will omit the tracking code if your browser sends a "Do Not Track" signal to the website. I am guessing this is what is happening for you, as some more privacy-focused browsers send this signal by default, and most other browsers can be configured to send that signal in their privacy settings. The extension page on mediawiki.org goes into more detail on how to configure this behavior, as well as a means of exempting user groups from being tracked.
  23. So I found that the gtag code is being inserted for other users, just not for me. Are certain users not tracked by default?
  24. Hi, I installed the GTag extension and have verified that it is installed and running via the SpecialPages:Version page. I also added my tracking code to the $wgGTagAnalyticsId variable in LocalSettings.php. However, I when I view the source of a page in my wiki, it does not have the tracking code in the source (I did a search for 'gtag' as well as my tracking code). Please advise.
  25. I've created my Wikipedia account 10 years ago and now I want to log into my account. But, now I see an error telling me that I can't reset my password because I'm in a blocked range of IP. I didn't do anything wrong. Actually, I haven't made any changes or edits. So why should I be blocked from accessing my account? I can't even create a new account with my previous user name because it is taken! Would you please help me?
  26. Hey guys, I'm having some trouble getting an OAuth2 client to work with MediaWiki. The install is stock standard, and I have full access to my web server. I had an oauth2 client working with DokuWiki, so the oauth API server and Discord are configured correctly. My gut feeling is that I'm confusing the namespaces or similar in MediaWiki? Any ideas? ```$wgOAuth2Client['client']['id'] = ''; // The client ID assigned to you by the provider (By whom? My API provider?) $wgOAuth2Client['client']['secret'] = ''; // The client secret assigned to you by the provider $wgOAuth2Client['configuration']['authorize_endpoint'] = ''; // Authorization URL $wgOAuth2Client['configuration']['access_token_endpoint'] = ''; // Token URL (?) $wgOAuth2Client['configuration']['api_endpoint'] = ''; // URL to fetch user JSON (I assume this is my API provider, not directly via Discord?) $wgOAuth2Client['configuration']['redirect_uri'] = ''; // URL for OAuth2 server to redirect to (I've seen conflicting info about this setting?) $wgOAuth2Client['configuration']['username'] = 'username'; // JSON path to username (Can't find info about where these are located, relative to the current version of mediawiki) $wgOAuth2Client['configuration']['email'] = 'email'; // JSON path to email $wgOAuth2Client['configuration']['scopes'] = 'openid email profile'; //Permissions (I assume this can be skipped/removed for oauth2 only authentication?) ```
  27. yes, thank you i found out too. Unfortunately it wasn't in the wiki, maybe it should be added as a hint.
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
Ă—
Ă—
  • Create New...

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.