[00:44:38] thenets, follows from your needs. [00:47:23] Sveta it's hard to know what I need cause I don't know what exist. I'm looking one by one but without a demo it's hard to choose. [00:47:56] All those extensions are available at Wikipedia? [00:48:08] *are running [00:53:08] No. Check 'usage matrix' link from extension page. [01:03:17] Why does https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php not mention withJS? [01:03:33] thenets, let me know if you have difficulty finding a demo for a particular extension, I could help you. [01:03:40] thenets, what do you use mediawiki for? [01:08:02] Sveta I've created one wiki for my University laboratory about opendata. We want to catalog the content about it and create a walkthrough for who started to learn about opendata. The wiki is wikidadosabertos.org [01:08:39] The wiki language is portuguese [01:09:37] All content is related to opendata concepts and code about CKAN and other tools and plataforms [01:14:51] It is not an extension, but https://www.mediawiki.org/wiki/Help:Categories may be useful to you. [01:14:54] it's pretty much impossible to "recommend" an extension; generally you find that you need to do X, the wiki does not do X by itself, so you find an extension that does X [01:15:09] VisualEditor makes editing easier, as you mentioned [01:15:30] if you plan on copying templates from Wikipedia, you'll need ParserFunctions and Scribunto [01:15:55] if you make use of the categories feature that Sveta mentioned and want an easier way to navigate them, the CategoryTree extension does that [01:34:11] Sveta this feature is very cool. It will help a lot to organize the content [01:35:51] Skizzerz I'm agree with that. The problem is I've started to work with MediaWiki 2 weeks ago. And I haven't found any guide with tips about create your own wiki. [01:36:22] Talk you someone like you looks like a good get started [01:36:51] yes Skizzerz is awesome :> [01:37:49] the CategoryTree, VisualEditor and Scribunto are perfect for my needs. Thanks. [01:38:54] do exist some extension for add HTML/CSS/JS to template from web interface? Or any change will require a new template? [01:50:34] I'll go to sleep. Good night and thanks Sveta and Skizzerz. Tomorrow I'll continue to work with MediaWiki. See ya! [01:52:11] Good night. [04:12:24] Sveta: the withJs feature isn't a core thing, see https://www.mediawiki.org/wiki/Snippets/Load_JS_and_CSS_by_URL [04:12:39] It is not, but it is a param that is accepted by index.php. [04:13:03] index.php doesn't do anything with the parameter [04:13:12] it's the client side code that does [04:13:13] Ooh. [04:14:45] Fixed now. [04:14:46] https://www.mediawiki.org/w/index.php?title=Manual%3AParameters_to_index.php&type=revision&diff=2752916&oldid=2751643 [04:19:28] :) [11:53:13] Hi, I was wondering where I'd need to start the discussion to add a new wrapper method to MediaWiki's Database Abstraction Layer. Should I just create a Phabricator task? [11:54:34] Yes. [11:55:27] Thanks, I'll do that. Just to check, I'd need to use the project MediaWiki-Database? [11:56:33] Yeah, Mediawiki-Database is the one for actual mediawiki changes to the database classes. [11:56:55] The other tags that sound similar are mostly for database-stuff on WMF cluster. [11:57:16] Perfect, thanks. [12:02:34] mainframe98: what kind of database (just curious)? [12:05:09] Any of the supported? The feature (truncate table) is supported on all of them [12:05:43] I thought you are porting it to something not supported already. [12:08:47] Luckily that is not the case, I just need to use truncate and SQLite does that different compared to other databases. (Even Oracle) [14:54:56] any people was have this error to install mediawiki? 2880f2fa507cf7d3eb2735d6] /mediawiki/mw-config/index.php?page=Install Wikimedia\Rdbms\DBQueryError from line 1075 of C:\inetpub\wwwroot\mediawiki-1.29.2\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? Query: CREATE TABLE [mediawiki].[externallinks] ( el_id int NOT NU [14:56:17] Function: Wikimedia\Rdbms\Database::sourceFile( C:\inetpub\wwwroot\mediawiki-1.29.2/maintenance/mssql/tables.sql ) [14:56:26] Error: 257 [SQLSTATE 42000][Error Code 257][Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Implicit conversion from data type varchar to varbinary is not allowed. Use the CONVERT function to run this query. [15:38:43] yo [15:46:09] tico: hey [15:46:39] are you trying to do a fresh install or an upgrade? [15:48:50] anyway the sql server schema is a bit broken in your version of mediawiki; it was fixed in the latest development version (so once 1.31 releases soonish, it should be fixed in that). Otherwise, I'd generally recommend that you install with MySQL instead as that is far better supported [15:54:59] is a new install [15:58:07] so 1.31 is slated for June, which has a fixed sql server schema [15:58:16] is using MySQL an option? [16:04:07] no i'm using the sql server option [16:04:21] microsoft sql server* [16:04:21] I realize that, but sql server just does not work right now [16:04:43] so, is installing and using mysql an option for where you are? If yes, do that [16:04:48] do you recomend change for Mysql? [16:05:13] if no? [16:05:28] I recommend that you use mysql if possible, yes [16:07:11] ok, thank's for your help [16:37:49] If I understand this correctly: ResourceLoader. Module CSS/style dependencies will never be loaded through CSS, but always through the Javascript injector.(Please please please do not actually be this bad and just being a configuration problem I am encountering.) [16:42:49] where on the special pages do i go to see the sql server ip address [16:44:47] Special pages would never reveal that information. [16:46:00] ok where in the web server [16:46:13] i have to reset a users password but the user doesn't have an email [16:46:52] and it won't let me just set a user's password [16:48:03] LocalSettings.php file. [16:48:14] aha, nice [16:51:32] Yep, resource loader is that dumb. :( Going to have to put a work around in for this. [16:54:24] how do i tell which password storage scheme i have [16:54:32] https://www.mediawiki.org/wiki/Manual:Resetting_passwords [16:54:38] i need to do it via sql [16:55:50] why is htis so complicated... [16:57:25] i got it, just updated the password tot he password of another user [16:57:52] litterally copy/paste [17:06:07] Trela: RL does not use js to load CSS. It does minify it and consolidate it into fewer loads. Proof: turn off js and load wikipedia. [17:06:42] It is clearly using Javascript to load CSS over here. [17:08:01] I found it in the documentation as well. If the CSS needs to be loaded in a style tag it has to be done through addModuleStyles(). However, addModuleStyles IGNORES dependencies and instead sends those dependencies to be loaded through Javascript even if they include CSS to be loaded. [17:08:44] The right way would be to queue those dependencies in their own addModuleStyles automatically. [17:10:35] Sounds like a bug that krinkle would be interested in getting fixed. [17:12:18] "Since dependency changes can be deployed independently from caching the page, static loading with addModuleStyles cannot use dependencies." [17:12:32] Sort of sounds like they planned for it to never work that way. Which is silly. [17:16:25] looks like you are far more interested in RL than I am. I was just happy to get it to work. I would recommend finding krinkle and talking to him since he was a big part of RL. Also, RoanKattouw , iirc [17:18:02] I am interested because I am tasked with eliminating the flash of style/text issues plaguing the extensions I work on. :D [17:36:47] 500000 [17:37:11] poor [17:47:45] This is a glorious hack. https://hastebin.com/wunoquqovo.php [17:48:03] hernan corregidor salta argentina capital del plata 2083 ay muchos niños en la calle [17:50:07] email corregidor 546@gmail.com [17:50:51] Trela: looks like it, [17:51:09] yes [17:51:28] I will clean it up a bit first of course. [17:51:50] yes [17:53:37] yes [17:53:44] Trela: if you could write up a bug report, we could use that to submit a patch and get this fixed for everyone [17:54:16] it would allow the devs to think about other uses [17:54:38] I will put in a Phrabricator ticket, but I know my code solution will got nuked. :P [17:57:17] Trela: I'm interested in a discussion, though. Even if no changes are made, I want to understand this better and how to mitigate things like the flashing you're seeing. [17:57:21] Please post the phab task. [17:59:27] Soon!™ [18:09:51] @hexmode: https://phabricator.wikimedia.org/T191652 [18:10:15] @hexmode[m]: ^ [18:11:03] \o/ [18:16:55] Trela: (and anyone else) mwstake has set up a riot channel that is a bridge to this one. We also have other channels. See https://www.mediawiki.org/wiki/MediaWiki_Stakeholders'_Group [18:18:21] (look for riot.im on that page) [18:36:39] Trela, hexmode[m]: You are right that RL loads CSS via JS unless you use addModuleStyles(). So you should use addModuleStyles() for CSS that is needed even if JS is disabled (and needed before JS arrives), and the regular way for other CSS [18:36:54] It's also true that addModuleStyles() doesn't take dependencies into account, but we haven't really run into problems with that much [18:37:10] I have ran into all the problems with it failing to load dependencies. :D [18:37:15] You also are not supposed to use addModuleStyles() to add mixed JS/CSS modules, only pure-CSS modules. I don't know if that's enforced yet [18:37:27] Trela: So what does your module structure look like that you need it to load dependencies there? [18:38:07] RoanKattouw: Pure CSS module loaded through addModuleStyles -> Also has a pure CSS module dependency -> Not loaded. [18:38:17] Yes that's true [18:38:26] We "solve" that by "just" not having those dependencoes [18:38:38] Which is maybe not the greatest but it isn't too hard of a workaround [18:39:04] That requires manually listing out that dependencies in every spot in the code that may require them and lots of places to update/miss if they change. [20:43:23] Wow, Wikiapiry is usable and fast again :) [20:43:59] Trela: Yeah that's not great. For some reason we don't have this problem all that much, idk why [20:47:47] lol, according to WikiApiry, fallback is the 7th most popular skin :S