[02:49:19] * Ivy pets Reedy. [02:49:30] I was just coming here to check the channel topic! [02:49:57] I cant seem to install Parsoid onto mint 18.3. I cant get keys, file or directory. Any suggestions? [08:55:43] hi there. can someone provide an example configuration/howto for AuthManager with LDAP? i am using Ryan Lane's LDAPAuth-Extension so far, but i want to switch to Mediawiki-Standard. [09:52:57] beli: https://www.mediawiki.org/wiki/Topic:Tymyywv880j3yh47 ? [09:55:28] andre__: thanks a lot [10:53:24] hello [10:54:27] I updated my wiki today to 1.30 Now some pictures, not all are there but not shown on page. Anybody here with same issue? [10:55:54] hello [11:03:38] hi. [11:03:58] if they are not shown, what is the error? [11:14:41] https://plateau-trivial.de/wiki/index.php?title=Hauptseite [11:16:02] One pic is on this page. The other pics are only shown by links. I just don´t know why. Before updating all pics were on the right place. [11:16:17] Does anyone have an idea? [11:19:31] mobile view is a white page (server error) [13:41:39] Sigh. Any quick ideas why mediawiki install from git is being a pain updating to 1_30? i made a new branch based on origin/REL1_30, updated all of my extensions (using git subtree) but when i ran composer update --no-dev it removed everything except for oojs which was downgraded from v0.24.3 to 0.23.0. Certain parts of my wiki work but on special:search and editing pages (anywhere the oojs ui is used??) I get Fatal error: Class [13:41:40] 'OOUI\WikimediaUITheme' not found in /var/www/html/includes/OutputPage.php on line 3986 [13:43:01] PuppyKun: did you update composer [13:43:32] Nevermind [13:43:36] I didnt see that [13:45:41] well [13:46:15] assuming vendor/composer/installed.json is a list of currently isntalled things and not previously installed things, it seems theres still plenty there so dont think thats the issue [14:21:02] Welp I got 1.29 working again :D if anyone has any ideas about ^ 1.30 that'd be great [16:18:29] hi [16:18:58] how can I remove mediawiki core css file from my skin? [16:19:43] like, I don't want `core/resources/src/mediawiki.skinning/elements.css` to be loaded when my skin is active [16:23:27] freq_: So that file is only included if your skin requests it as far as I can tell [16:24:06] bawolff: where does the skin request it? [16:24:24] freq_: So all you should have to do is make sure the mediawiki.skinning resource loader module is not included in your skin [16:25:16] freq_: In vector, its done in the SkinVector::setupSkinUserCss [16:25:27] Other skins may potentially do it in different places [16:25:47] Look for addModuleStyles calls [16:27:01] bawolff: that was very helpful. thank you :) [16:58:14] PuppyKun: that class exists in 0.23.0: https://github.com/wikimedia/oojs-ui/blob/v0.23.0/php/themes/WikimediaUITheme.php [16:58:34] so it's probably a failure of composer generating the autoloader [16:59:00] try running composer dump-autoloader and see if it works properly [17:06:33] tgr: I will try it again later or maybe set up a new instance on my computer. Messing with the work wiki sucks but ty for the advice [17:09:22] Is anyone else having problems with updating their wiki to 1.30? [17:10:03] I am constantly getting this error, when trying to access the mw-config [17:10:05] https://dpaste.de/NcZ2 [17:19:17] Clarkcj: sounds like you only updated some of your files? [17:19:41] I have even tried, to remove all files, to upgrade it still even does it after a fresh install. [17:20:31] I am able to access mw-config after but then, when I click the continue with fresh install it gives that error tgr [17:20:31] well the method is there: https://github.com/wikimedia/mediawiki/blob/REL1_30/includes/parser/ParserOptions.php#L786 [17:20:56] so it looks like some older version of ParserOptions is getting loaded for you [17:21:03] Then, if I try to use my old LocalSettings.php it just give an Error 500 [17:21:18] or maybe you have some kind of opcode caching you need to clear [17:25:57] tgr: unrelated to my previous problem but I've noticed for a long time that changes to local settings don't take effect unless I reload apache2. Is that normal? [17:26:27] depends on your definition of "normal" :) [17:26:48] it's not something PHP does on its own [17:27:13] but if e.g. you use APC with a certain configuration it will do that [17:27:44] Hmmmm. I think I have apc installed (recommended for other software iirc) but don't think I've intentionally configured it to do that. [17:28:28] checking all the PHP files for changes has a nontrivial performance impact so large servers are usually set up so that you need to do some kind of manual step to tell PHP to recheck the files [17:28:41] reload apache, or clear the cache [17:29:25] Any idea how to clear the cache [17:29:46] restarting apache is probably the easiest way [17:30:02] if you want to disable that behavior completely I think it's set via apc.stat [17:38:29] Okay, restarting php7.1-fpm fixed the parser issue, but for some reason, everytime I try to upgrade using, the LocalSettings, I get an Errror 500 [17:38:52] Clarkcj: internal server error. Very descriptive [17:39:04] Check your webserver logs or set up mediawiki debug logging? [17:39:14] How do I do the debug? [17:41:06] !debug [17:41:06] For information on debugging (including viewing errors), see https://mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging Also see https://mediawiki.org/wiki/Manual:Errors_and_symptoms [17:41:37] Didn't know that command was a thing [17:43:38] Never mind, I figured it out looking at the Nginx Error, logs apparently it couldn't find the Scribunto Extension 🤦‍♂️ [17:43:53] Heh [17:43:54] So it works, now yay! [17:44:09] Funnily enough I upgraded to 1.30 which switched to the extension.json [17:44:27] When I switched back to 1.29 (and the extension version) it said it couldn't find the .json file [17:44:33] I just disabled scribunto [18:05:54] .... tgr as much as i hate to say it.. i think wiki would have worked earlier [18:06:09] but i think i restarted apache2, then installed composer stuff, then didnt restart.. [18:06:35] i just tried the upgrade again.. had a different error regarding the elastica extension. navigated to extensions/Elastica and did composer stuff. still didnt work. restarted apache and it worked.. [18:07:22] yeah, it's an annoying thing [18:08:00] on servers that are not intended to be high-performance I just tend to turn it off [18:10:02] maybe we can add a warning to the error message we show on class not found [18:17:37] tgr: hate to bug again but making good progress it hink [18:17:42] any ideas on No submodule mapping found in .gitmodules for path 'extensions/VisualEditor/lib/ve' ? [18:18:05] stackexchange says to git rm the path if its not actually supposed to be a thing, but last i checked it is and im pretty sure its why visualeditor is the only thing not working [18:18:31] (clicking edit with visual editor just does nothing, like reading the page. no error or anything visible.. last time this happened git submodule update --init fixed it) [18:24:53] PuppyKun: what command gives that error? [18:25:23] git submodule update --init inside of extensions/ve or git submodule update --init --recursive anywhere [18:26:14] weird, that mapping does exist [18:26:26] do you have this file? https://github.com/wikimedia/mediawiki-extensions-VisualEditor/blob/REL1_30/.gitmodules [18:27:28] maybe git gets confused if you run it from mediawiki root and you should do it from the extensions/VisualEditor instead [18:28:05] although, why would you run from there in the first place? [18:28:24] tried it for giggles after it didnt work in the dir [18:28:26] and yes that file exists [18:28:33] path = lib/ve [18:28:39] url = (link to visualeditor on gerrit) [18:29:41] maybe you installed VE as a tarball so its not it own git repo, and git goes back to the .gitmodules in the MW root dir? [18:30:40] hm [18:30:46] so apparently git subtree [18:30:49] basically adds submodules [18:30:54] except the syntax is better [imo] [18:30:55] welp[ [18:31:06] idk why this worked but makes since i guess.. maybe? [18:31:22] the root dirs .gitmodules had all of my extensions listed [18:31:33] and it had lib/ve listed (even though thats not a valid path in the root dir) [18:31:46] changed it and then did update --init in ex/ve and it worked [18:31:54] yayyy visual editor works [18:31:56] ty tgr [18:33:21] also i think i got my updates to take effect. i added "apc.stat=1" to the bottom of my php.ini file [18:33:35] weird tho. docs say it defaults to 1, and it wasnt set to 0 in the file... :/ oh well, adding =1 fix'd [19:44:26] hi [19:44:45] I want to fork and rename VectorV2 [19:44:55] what do I have to rename in order to rename the skin? [20:18:14] Can I remove all the css that is delivered by individual components? [20:31:50] Fraq_: probably not, but i'm not entirely sure what you mean [20:51:47] mediawiki comes with a css file resources/src/mediawiki.action/mediawiki.action.view.filepage.css. how can I disable it in mediawiki? [20:52:05] MatmaRex: [20:53:27] Fraq_: yeah, i think it's not possible [20:53:45] horrible :D [20:55:05] why do you want to do that? [20:55:13] what's the best/recommended way to fully backup and restore a mediawiki installation ? [20:56:38] legoktm: I want to start a skin from sketch [20:56:54] hello as world became so social and expressive im great admirer of wikipedia services and information bit relative providing for well being im reading an artical regarding stock market trading and trends FUTURE Market i am seeking an answer regarding financial trading services: does Future Market trading is a fair free platform to be adopted by any national stock exchange to be used as trading insturment as all contract buying a [20:57:00] and mine has a dark background. there is no need for white backgrounds on tables [20:57:48] Fraq_: https://www.mediawiki.org/wiki/Manual:$wgResourceModuleSkinStyles [20:59:01] legoktm: that looks useful [20:59:03] thank you :) [21:18:20] tgr: thanks again for helping me get the work wiki fixed up ^^ [22:13:21] hey! how can I add cite to a block quoute using visual editor? [22:53:17] ebernhardson: Also in regards to moustache, you wouldn't happen to know if there was a way to make it so it doesn't escape things to weird entities (e.g. if you want to use it for XML, where < et al is ok, but → should not be converted to → ) [22:55:03] tbh, I'm not sure why you would even want to convert → to → in html. Its more bytes, and UTF-8 is everywhere [23:00:37] 1995 called, they want their HTML entities back [23:01:16] I wonder what this library does for things not having non-numeric entities [23:02:12] yep, it passes "正式命名的恐龙。" through just fine without converting to entities [23:04:14] Looks like its calling: htmlentities((string){$v[0]}, ENT_QUOTES, 'UTF-8') [23:17:13] Hello [23:17:17] hey! [23:17:25] How are you? [23:19:45] Rather than having to enter the same data twice, is there a way of doing a kind of lookup on a table? [23:20:35] So if I had a table with two columns, date and person on one page, listing all of the dates I spoke to people [23:21:58] And each person had a page listing information about them, could I display only the rows in the first table that related to that person by looking up their entries in the forst table, rather than having to enter the data again? [23:23:06] OliverUK: So one way is with templates [23:23:09] !templates [23:23:09] For more information about templates, see . See also: !templateproblems , !wptemplates [23:23:23] The other way is using some sort of extension for data management [23:23:27] So each 'person' page would list the dates I have spoken to them but I can see the whole table for all contacts on another 'main' page? [23:24:00] Of which there are three schools of thought, either Wikidata (see https://wikiba.se . This is the method wikipedia uses), the other approaches are Extension:SemanticMediaWiki or Extension:Cargo [23:24:01] bawolff: I'm not sure how I could do it with templates [23:24:41] I mean you have a template named something like Person_name/date containing just the date, and include it in two places [23:24:55] Oh I see [23:25:02] Yeah, that could work [23:26:02] Then the tables would be built from the transcluded data from the templates? [23:26:10] yeah [23:26:29] If you want to get really complex, you can write the templates in Lua using Extension:Scribunto [23:26:40] Then put a sort on the main table to display then in chronological order [23:27:35] Thing is it is quite a lot of work if there is only one contact per person [23:28:37] I was also thinking of other uses: list of IP addresses and computers and then listing the IP address per conputer page, so there would only be one row per computer [23:29:00] That means having a separate page per computer just for thr IP address [23:29:06] Seems excessive [23:29:20] Or is that normal mediawiki use? [23:29:28] Haven't used it for anything fancy yet [23:30:06] Normally MediaWiki is used more for free-form input [23:30:43] Once you start getting highly structured input, people tend to move to something like SemanticMediaWiki [23:31:54] Out of the three extensions you mentioned, which of the three would you recommend/most supported/mature? [23:32:02] Thank you for all your help by the way [23:36:02] So this is highly subjective [23:36:30] I consider wikibase to be the best developed, and least buggy. However it is also the least flexible [23:37:00] My reccomendation after that is probably SemanticMediaWiki - as the older of the two and probably more mature. But I don't have a lot of experiance with it [23:38:01] Thank you so much for your time, I will look into them both tomorrow after I wake up. Thank you again :-) [23:42:39] Best of luck