[03:01:36] hare: What about this API? [03:03:10] can page titles be cammel case but start with a lower case letter? [03:03:45] Start with in what sense? [03:03:56] You can use {{DISPLAYTITLE:iPad}} or whatever. [03:04:05] If you care about the URL, that's a bit different. [03:04:18] !titlecaps [03:04:21] Nope. [03:04:39] !capitallinks [03:04:39] There is no such key, you probably want to try: !lowercase, [03:04:42] !lowercase [03:04:43] https://www.mediawiki.org/wiki/Manual:$wgCapitalLinks [03:04:46] Nailed it. [03:04:47] stupid bot [03:04:52] !capitallinks alias titlecaps [03:04:52] Unable to create alias for titlecaps because there is no such key, if you really want to create this broken alias do !capitallinks force-alias titlecaps [03:05:04] !titlecaps alias capitallinks [03:05:04] Unable to create alias for capitallinks because there is no such key, if you really want to create this broken alias do !titlecaps force-alias capitallinks [03:05:11] Sigh. [03:05:22] !help [03:05:22] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [03:05:22] broken bot is broken [03:05:31] !helpfor [03:05:31] http://www.mediawiki.org/wiki/Help: [03:05:35] Literally the worst. [03:05:40] !dump [03:05:40] For information on how to get dumps from Wikimedia Wikis, see http://meta.wikimedia.org/wiki/Data_dumps . For a how-to on importing dumps, see https://www.mediawiki.org/wiki/Manual:Importing_XML_dumps . [03:05:47] !braindump [03:05:49] !! [03:05:50] bla [03:05:56] @dump [03:06:21] http://wm-bot.wmflabs.org/dump/%23mediawiki.htm [03:06:21] @info [03:06:46] Oh, I see. [03:07:05] !titlecaps alias lowercase [03:07:05] Created new alias for this key [03:07:16] !capitallinks alias lowercase [03:07:16] Created new alias for this key [03:07:53] !helpfor is https://www.mediawiki.org/wiki/Help:$1 [03:07:54] This key already exists - remove it, if you want to change it [03:07:59] !helpfor del [03:07:59] Successfully removed helpfor [03:08:02] !helpfor is https://www.mediawiki.org/wiki/Help:$1 [03:08:03] Key was added [03:08:38] !auth del [03:08:38] Successfully removed auth [03:08:47] !auth alias authentication [03:08:47] Created new alias for this key [03:09:20] !diffusionspam [03:09:20] Chad is an idiot. [03:10:41] !goat [03:10:41] https://phabricator.wikimedia.org/project/profile/2926/ [04:38:59] thanks Ivy and Reedy [05:03:59] No problem. [14:47:59] hi, there is option when querying with cargo to call template with one of the field and showing this result? [14:48:04] something like that: https://pastebin.com/xFGjNvtU [15:09:31] Hi, I am facing a 404 situation after doing a server migration. The web installer section works and I have checked .htaccess and localconfigs! Still no luck! [15:13:55] Anyone? Am I in the right channel? [15:14:10] TridenRake: Depends. Is your question about MediaWiki? [15:14:16] If so, check your server logs. [15:15:50] andre__, There is nothing in the log. It's a 404. [15:15:58] The mw-config page works though. [15:16:20] Anything under /w is throws a 404 (including the main page)/ [15:17:40] I've been trying to wrap my head around this issue since morning. Any small ideas would help! [15:17:47] I'd check the items in LocalSettings.php if they are correct [15:17:48] see https://www.mediawiki.org/wiki/Manual:LocalSettings.php#Standard_settings [15:18:16] I have checked it a dozen times. But I will check it again. :) [15:19:02] if everything under /w is a 404 then your path might be wrong. [15:21:27] my old server had this path - public_html/abc.com/w When I moved to new server, this is my path www/abc.com/public_html/w. [15:22:52] I have set the document root appropirately though! [15:22:57] I am confused now. [15:23:24] hi, anyone has any reference (existing page) that using page forms with autocomplete from cargo table somehow? [15:30:17] andre__, I checked my vhost config! public_html is the document root set. And in LocalSettings.php i hve $wgScriptPath = "/w"; [15:30:34] I still dont what is wrong here. [15:32:10] The images directory is accessible. [15:32:26] It's just the index.php that shows a 404. [15:35:15] Can anyone help? [15:37:26] https://www.mediawiki.org/wiki/Topic:Tpur54h5hws4hcto [15:37:36] This is more or less the same issue I am having! [15:43:02] Any help? [15:43:05] Please? [15:47:12] A small hint on where to look for issues will help me a lot! [15:48:04] Your webserver config is the likely source [15:48:10] It may look right, but that doesn't mean it is [15:48:49] There is not much config in my vhost than the document root. [15:49:18] As I am able to access images and the mw-config page without any issues. [15:50:52] Usual answer is to simplify. Remove any .htaccess. Remove/comment out any MW configuration (wgScriptPath etc) [15:51:18] Will try that now... [16:12:45] Reedy, I did all that. Still 404. [16:12:57] Restarted your webserver after changing config? [16:13:06] Of course. [16:17:56] My current directory structure - /var/www/example.com/public_html/w [16:18:34] http://example.com/w/images/logo.jpg is accessible [16:19:10] http://example.com/w/index.php is returning a 404 [16:19:29] when i visit example.com I can see the server files in the open. [16:22:54] Any other suggestions? [16:26:52] I have now removed all the htaccess, using the base localsettings.php. Still 404. [16:26:59] Please help me. [16:28:27] hi guys. i'm a medical student, and i'd like to launch a mediawiki site for all the medical programmes in sweden. but i want to spend as little time as possible on set-up and maintenance. any suggestions? [16:32:12] Any one? [16:36:43] Any ideas? [16:38:09] TridenRake: check the webserver error logs / access logs to see what path it's actually trying on-server [16:38:11] hi, there any option to set field type as dropdownlist with autocomplete from cargo field - im talking about pageforms, as i see that available only for text input type? [16:38:31] teward, the error log shows no errors. [16:39:09] i'd have to examine your environment then, because every single MW I've ever deployed on multiple different web servers has always dropped the exact errors [16:39:15] niso: do you want a dropdown, or autocompletion? Or are you talking about a combobox, which is a combination of both? [16:40:09] teward, so what should I do now? What info do you need? [16:40:20] TridenRake: i'd bet that whatever path it's actually trying on-disk is nonexistent hence the 404, or something in the PHP side of things has fudged a path (again your configs are critical and if you don't have any logs or anything to actually verify what path is being attempted on disk makes it very difficult to debug) [16:41:06] teward, but the path is existant. To verify this, I tried to access the images folder. It is accessible! [16:41:24] Also, I was able to to the mw-config thing using the same path. It worked as well. [16:41:25] okay let me rephrase [16:41:37] It's the index.php that's returning 404. [16:43:05] combobox looks good great ^_^, if you are yaron koren the writer of pf, that great extension, but little hard to get any references (full example of written wiki code) of some features [16:45:46] teward, I am running php 7. Could that be an issue? [16:47:39] does the php run in mw-config? [16:47:47] Yes, it does. [16:48:03] does api.php work fine too? [16:48:27] Yes, it shows the help page. [16:48:35] But the help page has no CSS styling. [16:48:43] Depending on your MW version, it won't [16:48:57] It's 1.27.1. [16:49:57] $wgScriptPath = "/w"; [16:49:57] $wgScriptExtension = ".php"; [16:49:57] $wgArticlePath = "{$wgScriptPath}/$1"; [16:49:58] $wgUsePathInfo = true; [16:50:07] This is what I have in localsettings.php. [16:54:22] None of that particularly matters if the webserver is giving a 404 for index.php [16:54:45] So what should I further do now? Anything else to check? [16:55:07] niso: yes, I wrote it. Yes, I know it would be better if there were more examples. [16:55:36] file permissions? file ownership? [16:55:49] It's harder to help when we can't poke at it from the web side either [16:56:02] File permission is 775. Owner ship is www-data:www-data. [17:03:55] TridenRake: you can try giving more verbosity to apache logs so it prints 404 errors in logs, it may give you more hints to the actual physical path it's trying to read: https://stackoverflow.com/a/45424198/7268905 [17:11:37] Vulpix, the log shows nothing but File does not exist: /var/www/abc.com/public_html/w/Home [17:12:55] I guess that's correct and /var/www/abc.com/public_html/w/Home doesn't exist after all... [17:13:27] My index.php redirects to Home. I have configures Short URLS that way though. [17:13:33] You are missing rewrite rules to make it work [17:14:14] it needs to rewrite /var/www/abc.com/public_html/w/Home to /var/www/abc.com/public_html/w/index.php/Home or /var/www/abc.com/public_html/w/index.php?title=Home [17:15:48] I do have them thought! Here - https://pastebin.com/raw/0xB9KBBu [17:17:41] having them somewhere doesn't mean they are actually being respected or that there's nothing wrong with them [17:17:59] the .htaccess file is inside the public_html folder. [17:18:11] And as that is set as the document root, shouldn't it work? [17:18:37] if .htaccess isn't being ignored, yes, it should work [17:19:15] maybe it has Option Override None (or similar) in main config? [17:20:25] The main vhost config has nothing other than document root, server name, server alias, and the log level config that I made recently. [17:21:15] https://stackoverflow.com/questions/9632852/how-to-debug-apache-mod-rewrite [17:25:45] Vulpix, I have no clue how to thank you! [17:25:51] AllowOverride All fixed it all! [17:26:03] :) [17:26:06] :D [17:26:31] Thank you so much! And thanks to Reedy and teward for bearing with me so long. [18:13:08] So now from the logs I see this - PHP Warning: Parameter 1 to Cite::clearState() expected to be a reference, value given in /var/www/abc.com/public_html/w/includes/Hooks.php on line 195. Is this a serious error? Researching shows this is due to mediawiki not compatible with PHP 7. [18:15:26] Upgrade your version of MediaWiki [18:15:31] And the extensions [18:43:57] Error: 1044 Access denied for user 'mediawiki'@'localhost' to database 'my_wiki' (localhost) [18:44:04] during setup ubuntu bionic beaver [18:44:05] what's up? [18:44:20] database access not set up [18:44:49] I was under the impression that the installer would create the database [18:45:05] from what? [18:45:14] so do I need to "CREATE DATABASE `my_wiki`CHARACTER SET utf8" [18:45:18] it needs to access the database [18:45:22] as root and then grant priviledges? [18:45:56] the installer will create the database tables [18:46:06] but not the database [18:47:28] it could probably do that if you used SQLite though (-: [18:47:49] Isn't that why we ask for root user details... So it can create it if you need it to... [18:48:41] this [18:54:23] how can I tell which version of media wiki that I'm running? [18:55:12] The title should tell you [18:55:13] MediaWiki 1.32.0-alpha installation [19:01:55] anybody recommend a latex plugin for mediawiki? [19:02:33] I guess I want to format math equation just like normal wikipedia [19:18:29] TheMontyChrist: no recommendations, but look for something that has been around and is maintained [20:05:39] hello everyone ... can anyone help me with connecting more then one wiki ? [20:05:49] connecting? [20:06:24] sync [20:06:50] like wiki family [23:36:39] hi, im getting this error from cargo_query : "... is not in list of table names", ive checked and al jobs finished to run. and i see the required table in cargo special page, what else can be wrong here?