[00:29:16]   or something could have worked [04:16:27] hi, I'm making research on mediawiki and the possibility to authenticate and authorize users against an active directory - I found several ways to achieve that in the wiki, I'm looking for advices on which extention/method I should use [12:03:42] hello folks! I have a failure in update.php at "Populating log_user_text field". Query is SELECT log_id,user_name FROM `wikilogging`,`wiki_users`.`mediawiki`.`wikiuser` WHERE log_id BETWEEN 1 AND 100 AND log_user = user_id — but it works if I remember the "`mediawiki`" part from the table name [12:05:22] micm: upgrading from which version to which version? [12:05:57] andre__: 1.13 (I think) to 1.30 [12:12:04] I'm confused in general by that ".`mediawiki`". What is it? I understand the db.table notation, but what is the x.y.z notation there? What is y=`mediawiki` in it? [12:17:37] on another level: can I manually re-create an empty user database? Most of the problems came when un-commenting "wgSharedDB". I commented it to upgrade the wiki instances (as per instructions), and then found out about the "--doshared" option. Since that's causing problems, I'm considering simply wiping the user DB and re-initializing. [12:30:51] scrap the above, I found the way. I still need to understand what is `wiki_users`.`mediawiki`.`wikiuser` though. My DB only has "wiki_users.wikiuser" and the update script did not seem to care to apply that change. I don't know how to apply the change manually either. [14:16:28] I have these debug settings in my MediaWiki instance: https://dpaste.de/cF3o . When I load a page, I receive "Error creating thumbnail: Unable to save thumbnail to destination" — but can't figure out which directory it's trying to save into. There are no actual debug messages neither on display nor in log files [16:12:15] micm: https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#Unable_to_save_thumbnail_to_destination [16:13:30] thanks andre__ . It was actually wgTmpDirectory. I'm still confused by MediaWiki not outputting errors on display. But that's not critical right now. [16:17:52] Another problem I have: a page cannot be edited, because "Cette page a été protégée pour empêcher sa modification ou d’autres actions" (= "This page has been protected to prevent modification or other actions"). If I go to Special:ProtectedPage the page does not show in the list. I cleared all entries with that respective page_id in wikipage_restrictions; [16:19:13] michelem2: it might be included on a cascade-protected page, or it might be in a protected namespace [16:19:33] michelem2: in the sidebar, there should be a "Page information" link, and on that page, it should describe where the protection comes from [16:21:02] thanks MatmaRex, that's a good tip. It says Modify & Rename "only by administrators", but I am logged as an administrator. [16:21:42] and why is that anyway, as I manually removed all restriction row from wikipage_restrictions table? [16:23:24] michelem2: i would guess that this protection comes from the configuration: https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection (but i'm only guessing) [16:26:23] uh, there's an "edit" button under the "Informations on this page" (about that page). If I press that, it lets me actually modify the page itself :O :D [16:27:18] and now that I have modified it, it brought me to the page itself and I have the "edit" button in there too. Crazy :D [16:29:47] huh [16:30:14] maybe it was cached or something [16:54:22] Hey all, it's me again. I'm trying to install the widgets extension on my site, but it doesn't work. Any page I try to use a widget on returns with at Server Error page. [16:54:53] The site is on an Azure server, so I want to know if there are any known issues with installing the Widgets extension on Azure web apps. [17:07:04] KSM: https://www.mediawiki.org/wiki/Manual:How_to_debug [17:07:39] if there is some server error, share the exact server error [17:10:37] Ok, I got something more than the white Server Error page this time. [17:10:45] "Fatal error: Call to undefined method Smarty::addPluginsDir() in D:\home\site\wwwroot\extensions\Widgets\WidgetRenderer.php on line 30" [17:14:37] KSM: see the docs? :) [17:14:43] https://www.mediawiki.org/wiki/Extension:Widgets covers this. [17:14:57] So, this is my first time hosting a mediawiki site, or a site in general [17:15:05] Oh, yeah, that's what i was going to ask [17:15:28] Is if the error was what that extension page warning was referring to. [17:26:05] Welp, it may have worked. The widget I was trying to use doesn't work, but at least the page isn't crashing anymore. [17:26:07] Thank you! [17:45:20] yw [18:59:26] Hello there! Having some trouble getting Cite to appear in the WikiEditor ToolBar - just installed MediaWiki 1.30, any idea what could be going on? [19:06:47] Guest44643: Why would "Cite" appear in the WikiEditor toolbar? [19:07:11] (if you refer to the Cite extension, not sure) [19:07:57] I want it to show up in the toolbar like in this image: [19:07:57] Could you clarify what you expect and what is the actual outcome? [19:07:58] https://en.wikipedia.org/wiki/Wikipedia:RefToolbar/2.0#/media/File:RefToolbar_2.0b.png [19:08:21] It seems like somehow I don't have RefToolbar_2.0b [19:08:30] I see what is equivalent to RefToolbar_2.0a [19:08:42] So you want RefToolbar 2.0 and not Cite? [19:08:51] (the extension named "Cite", I mean) [19:09:15] ISn't having Cit a prerequisite for using it in RefToolbar_2.0b ? [19:09:18] See https://en.wikipedia.org/wiki/Wikipedia:RefToolbar - you need to install a bunch of scripts, I think. [19:09:29] Might be. The Cite extension just offers a tag, not some UI. [19:11:51] The installation of these scripts - is it the same as creating those pages within the MediaWiki, or do they have to created as source code? [19:12:28] Scripts are on-wiki content [19:21:06] Added all the scripts there is dependency on... still nothing it would seem :/ [19:21:57] Any error output in your browser's developer tools? [19:22:52] As the latest version seems to be implemented as a gadget, is that gadget listed on Special:Gadgets and enabled in your Special:Preferences ? [19:23:01] Is the Gadgets extension installed? [19:23:09] Gadgets is installed [19:25:59] The refToolbar does appear on Special:Gadgets, and has been enabled in Special:Preferences [19:26:04] still no dice [19:29:14] Hmmm... opening up developer tools console in chrome, shows this error: [19:29:26] [WtT4m7ioLqMAAHRhl2oAAAAS] 2018-04-16 19:25:17: Fatal exception of type "MWException" (anonymous) @ load.php?debug=false&lang=en&modules=mediawiki.action.edit|mediawiki.widgets.visibleByteLimit|oojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1npin9b:4 [19:31:50] Guest44643, https://www.mediawiki.org/wiki/Manual:How_to_debug [20:27:59] Hello, I currently am using transclusion to display a template on a page...i have a button within the template to take to the original page. I want to write a parserfunction to show a different button if on the original page [20:28:14] not sure how to write the statement to differentiate between if its using the template or the original page [23:34:15] Hi kevindank. Bye kevindank.