[00:00:13] $db->buildLike( $db->anyString(), 'foo', $db->anyString() ); [00:00:34] Like doesnt supprt regex style character classes [00:02:10] bawolff, Reedy: https://wwe.w3schools.com/sql/sql_wildcards.asp [00:02:28] https://www.w3schools.com/sql/sql_wildcards.asp [00:02:42] Yes, sorry, bad link. [00:03:28] https://dev.mysql.com/doc/refman/5.7/en/string-comparison-functions.html [00:04:02] Quick glance suggests it doesn't support [a-z] etc [00:04:03] Oh i didnt know that [00:06:23] Reedy: I see. That's disappointing. [00:06:34] Not really MW's fault [00:06:59] Or] [00:07:05] Or just that article isn't enough [00:07:06] https://dev.mysql.com/doc/refman/5.7/en/pattern-matching.html [00:07:22] looks like you need to do REGEXP not LIKE [00:07:35] Which, MW doesn't support in a nice way [00:08:29] Reedy: Okay. I can work around it in PHP. [00:08:39] Thanks. [00:08:41] you should just be able to do.. [00:08:53] and push it into a where clause [00:11:18] I'm not sure I trust all DBMSs to behave the same, so I don't think I'll go that route. But thanks. [00:11:48] Not sure working around it in PHP will help much either [00:11:56] I think regexp is non standard [00:12:11] so it probably does not work on all dbs [00:12:39] but then again mw barely works on other dbs either... [00:12:58] :S [00:13:10] Oh well. It's not a big deal. [00:14:16] I can skip rows that aren't how I want. [06:03:41] Hel [06:04:00] Help, I am a first time wiki editor... [06:04:27] obiwan: what wiki are you trying to edit? [06:04:41] Hangon.. [06:05:33] The error message is:Error loading data from server: apierror-visualeditor-docserver-http. [06:05:50] i am trying to edit:https://en.wikipedia.org/w/index.php?title=Elms_in_Australia&action=edit [06:06:37] I am logged in from China, using a vpn... [06:06:42] could you submit a bug report at https://phabricator.wikimedia.org/maniphest/task/create/ [06:07:15] Alright... [06:13:55] Hmm...can my global account name and password be used to log into the fabricator? [06:16:37] obiwan: press the "Login with mediawiki" button under the login form [07:08:35] i know i have tried. it brings me to another page to enter username and password. after my input, it says Usernames must contain only numbers, letters, period, underscore and hyphen, and can not end with a period. They must have no more than 64 characters. [07:08:51] my username and password is correct. [07:10:03] i want to report a bug because i can't save my changes. but looks i am unable to report it... [07:12:51] anyone knows what to do...i mean i just did a one line edit and can't seem to get it through... [07:15:53] there was a space in my user name.. removed it and I am in.. [08:46:13] hi [08:46:35] I've updated vagrant to head and I get an error when connecting to it [08:46:43] Class undefined: Wikimedia\ScopedCallback [08:47:19] I've found the commits that introduced them [08:47:29] but I don't see anything wrong with it [08:49:47] any suggestions? [08:54:23] hello [08:55:35] I have installed a working wikimedia and I am supposed to administrate it from now on can someone point me to some administration guide or something like that or do I better start reading the documentation only? [09:21:36] solved by updating composer [10:42:59] yes [10:43:10] gluster ? [13:55:17] hey, i updated 1.22 to 1.28. now i get "Fatal error: Call to undefined method User::saveToCache()" from my skin and have no clue how to fix it. no google results :( any idea? [13:56:13] https://github.com/dantman/monaco-port/blob/a03ba2265af7515fc28e5e12bcf4f979b59a08da/Monaco.skin.php#L261 [15:50:38] so what happens you put the bug on the list.. [15:51:11] when - you put it on the list... [16:03:04] Hello, I have just downloaded Media Wiki, and for some reason I cannot find the commons file in skins. I was wondering if I was looking in the wrong place, or if there was just something wrong? Thanks, MIlo [16:03:27] I would really appreciate an answer [16:05:11] miloden: what commons file are you referring to? what are you trying to do? [16:06:02] I have just started, and was trying to change the logo. I made a mistake: what I meant was the commons directory, which I thought was in the skins folder [16:08:00] it's better if you place your logo somewhere outside of the internal folders of MediaWiki, or inside the images folder, and change $wgLogo to point to it [16:08:21] that way there's less risk in losing it when you upgrade [16:09:17] Thanks, also where do you access the MediaWiki:commons.css and .js [16:12:20] it's a page like any other, so there are multiple ways: from changing the URL directly, Special:Search, editing a random page and adding a link to it then hit preview and follow the link... [16:18:04] hannes2: monaco skin (free) is very unmaintained. You could bug the owner of the repo but probably better to think about using a different skin [16:19:13] hannes2: Could also try https://github.com/Arcane21/monaco-port [16:19:58] Very sorry to disturb you, but my commons.css and .js files don't seem to have any effect - do I need to do anything in Local Settings first [16:26:32] miloden: MediaWiki.Common.js and MediaWiki:Common.css are enabled by default so nothing else is required. Be sure to clear your browser cache just in case [16:27:22] hi guys, i installed the ldap auth plugin and everything works for users which already exist as local mediawiki users. my problem is that new users cannot be created by using the ldap information. the following error is displayed: Auto-creation of a local account failed: Automatic account creation is not allowed. [16:27:55] i already googled for that and found out that problem correlates to the createaccound and autocreateaccount, but it didn't help setting these options [16:28:17] options=>permissions, sorry [16:30:46] tamier: I see that there's a $wgLDAPDisableAutoCreate configuration option, which defaults to false (according to https://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Configuration_Options#MediaWiki_user_creation_options ), if you haven't defined it in LocalSettings it should work, I guess [16:32:10] Vulpix: ok, thanks. i'll try that. [16:33:54] G_SabinoMullane: thanks! [16:34:13] Vulpix: I looked it up. I tried it without this option and i tried it with setting the option to false explicitly. both attempts didn't work [16:36:10] IDK then, I have never used this extension [16:58:58] tamier: what version of mw? [17:27:27] G_SabinoMullane: 1.28 [17:28:40] G_SabinoMullane Vulpix: It works if I set autocreateaccount to true and additionally I have to set wgLDAPDisableAutoCreate to false for my domain. Thanks guys :) [18:27:34] Could anyone please help with [4343b178b16bad3e0086042e] [no req] MWException from line 335 of /srv/mediawiki/w/includes/MagicWord.php: Error: invalid magic word 'default_form' ? [18:27:52] I tried rebuilding LC but it doesn't work because of the error above [19:55:38] andre__: hi. are you available? [20:17:55] Hello everyone [20:18:10] Is there anyone available with knowledge of Scribunto extenstion? [20:34:35] Does anybody know how to install Lua onto their web server? [20:36:51] you shouldn't need to, a binary is included with Scribunto. https://www.mediawiki.org/wiki/Extension:Scribunto#Installation [20:54:29] MatmaRex sorry didn't see your message [20:54:57] Yes, although it is included, I'm getting errors saying that there are errors in the module code [20:55:13] Despite the modules being directly copied from Wikipedia [20:55:45] you probably also need to copy other modules that the modules you copied depend on [20:58:51] I may have forgotten to do that for one module, thank you for pointing that out [22:53:31] MatmaRex, if you're still around [22:53:39] I figured out my problem... [22:53:54] I was on MW 1.23 [22:54:01] Turned out I had to upgrade to 1.27 [22:54:06] It's working fine now hah [22:54:09] Thanks again!