[00:39:23] Hi everyone, I'm trying to do a template as a seal of notorious article [00:40:51] my idea is : first goal, the template automatic sign with {{REVISIONUSER}} , second goal could be sgined just for sysops [00:41:39] like that : "This article has been approved by administrators . Sign by : Josh Macdowell, at 01 june 2016 as 12:23pm" [00:42:10] I m trying {{subst:{{REVISIONUSER}}}} in my template withou success [00:45:46] REVISIONUSER is a weird beast. [00:46:02] Wikiprf: I think it's {{subst:REVISIONUSER}} ? [00:51:32] Not working but this subst in template code too, I need to subst just in the article that call the template [00:51:43] *not working because [00:53:08] Is there any way to follow redirects on https://en.wikipedia.org/api/rest_v1/page/html/Main_Page type requests? They don't seem to follow. [01:09:27] ? [04:18:42] hey guys is it possible to have a wiki with various levels of what end users can view. [04:19:21] or more maybe like a network of media wikis that share a central DB on the same server but only let certain groups access certain pages [07:28:15] Hello! Can anyone help me with renaming the vector skin? It's a forked version and everytime I rename the classes and files, I am missing something! What is the proper way to rename the skin? [07:42:47] I noticed Mediawiki's database hs no relationships, it is true? If so, why? [08:15:59] TreyDrue: Basically, load the vector skin into a good IDE, even PHP-Storm if you're into PHP that much. Look for anything 'vector' and it most likely needs to be replaced with your custom name. [08:16:11] $wgDefaultSkin = 'yourskin'; in localsettings.php [08:16:34] after I think wgLoadSkin('yourskin'); [08:17:16] CZauX, thanks. I did that all. I changed the filenames, edited the json, edited the folder names, edited local settings... Still the theme wont load. Let me try once again! [08:21:18] Oh, and remember to 'touch LocalSettings.php' [08:21:26] Because whenever the skin uses .less files, it has to recompile [08:21:35] Noted it. :) [08:22:05] or 'copy /b LocalSettings.php +,,' if you're on windows. [08:26:48] I have a question. As I have modified more than 80% of the skin, what should I do with the JSON? Should I append my name to the skin or should I replace the author(s) in whole? [08:29:54] Depends on if you're redistributing or not. Redist, I don't really know, personal use I'd just put in your handle if you've modified a ton of the skin. [08:30:21] If you've only modified a few things, keep the original authors. I'd read up on what license that Skin has [08:30:43] CZauX, not redistribut exactly. But I am going to use it for commercial purposes. This is in reference to another skin that has GPL V2. [08:31:08] Is it mandatory that I should redistribute the skin? [08:31:34] Ooooh. I wouldn't know, I'd read up on the licensing. There's a few sites out there that tell you what you need to do [08:31:51] I'm sorry to ask all these absurd questions... The company I work for really has some crazy rules. [08:32:51] Its np [08:34:18] GPL V2 says, if I redistribute, I should license the skin the sameway... But it is not mentioned that redistributing is mandatory or not! [09:00:15] http://www.gnu.org/licenses/gpl-faq.en.html#GPLRequireSourcePostedPublic [09:01:15] Thanks... [09:09:18] why wikimedia database has not realtionships? [09:22:52] lupus_: what is a "wikimedia database" and what are "relationships"? [09:23:32] andre__: standard wikimedia db, relationships are foreign keys [09:24:37] Talking abt mediawiki databases, I just checked it. ITs stored as BLOB. I am not a database guy, but if I am correct, is that the way the information are stored? Can it be converted to UTF or something? Sorry if this is a dumb question. [09:24:42] lupus_: did you mean mediawiki? [09:25:06] andre__: yes, I'm sorry, I mean mediawiki [09:26:47] TreyDrue: so, the database is realational, but it doesen't use relationships? [09:29:00] lupus_, I am sorry. I am not that good with databases! I am a mechanical engineer, who just got into mediawiki. [09:30:01] lupus_: I was once told that it is because previously Wikipedia used MyISAM and it didn't support foreign keys [09:30:01] TreyDrue: I understand. I am a nuclear physicst. I think I'm not good with database as you :D [09:32:04] I have had some experience looking into Wordpress databases... By relational, you mean the unique keys or ids, assigned to each row? [09:32:58] lupus_, maybe wait up! someone will clarify it in a few minutes or hours. :) [09:34:58] lupus_: mediawiki does not use constraints, triggers, or stored procedures. it does use a lot of relationships of course. but they are not formalle declared as such on the sql level. [09:35:13] the reasons are portability and performance. [09:36:14] lupus_: mediawiki's database swcheme is also carefully denormalized, to optimize for common queries, and safeguard against data loss. [09:36:44] overall, mediawiki is designed to be scalable and resillient, not fast or lean. [09:45:26] DanielK_WMDE, Sorry, if my question does not make sense. But why is the data stored in blobs and not as text? I noticed it when /i tried to delete a spam user. the username was in some other format! [09:47:50] This channel should have +t... [09:51:36] Poke95, I don't get it. This channel should have what? [10:05:11] Poke95: no it shouldn't [10:06:10] p858snake, What shouldn't? O_o [10:06:32] TreyDrue: +t is a channel mode that can prevent topic changes in the channel [10:07:23] p858snake, ha ha okay! I was lil confused and curious. :) Apologies! [10:08:44] p858snake: Why? [10:09:12] Poke95: it based on the decision about wikis being open and editable [10:09:29] when it gets abused we do set +t temporarily [10:10:23] Ah [13:09:01] morning [13:11:18] hi [13:13:57] hey all! [13:14:56] btw, does bd808 around? [13:15:57] anyway... regarding with the issue with with mediawiki-vagrant with xdebug in phpstorm [13:16:23] if i leave /etc/php5/apache2/conf.d/20-xdebug.ini as it is, it seems working [13:17:27] but i setup the that file with this config http://screencast.com/t/FZMSAkZYAGx [13:17:44] as per in here: https://www.mediawiki.org/wiki/MediaWiki-Vagrant/Advanced_usage#MediaWiki_debugging_using_Xdebug_and_an_IDE_in_your_host [13:17:50] it doesn't seems to work [13:20:05] but now, i got new problem, not sure whether this is trivial or not, but i got this message in my console: http://screencast.com/t/zcViorgJ0N9 [13:20:32] anyone has encountered this problem before? [13:43:28] ok, anyway, seems it's kinda working now for mediawiki-vagrant with xdebug in phpstorm [13:43:52] i guess i can just ignore this first http://screencast.com/t/zcViorgJ0N for the time being [13:52:40] ardnet5: bd80.8 will be around in an hour or so if you need him. :) [14:06:29] Niharika: alright, no rush actually, thx! :) [14:08:01] Niharika: reverted the config file and moved it all to localsettings and it still works! [14:08:04] :D [14:08:19] Rein|VPS: Awesome! [14:08:41] Rein|VPS: What are you setting up the wiki for? [14:08:52] something to do :) [14:09:06] Have fun! [14:09:20] locking down security on my sevrer next [14:09:28] and then probably use the wiki to document it all [14:21:13] hey guys.. just upgraded to 1.26.3 and I'm having some issues [14:21:52] first up.. I setup my wiki logo where I normally do which is here [14:21:57] $wgLogo = "$wgScriptPath/skins/images/logo_150.gif"; [14:22:30] verified the file is physically there and has the right permissions [14:22:33] -rw-rw-r--. 1 apache ftpgroup 14K Sep 17 2015 skins/images/logo_150.gif [14:22:58] yet when I go to the wiki there's no logo [14:22:58] http://wiki.jokefire.com/index.php/Main_Page [14:23:09] can I get some help with this? [14:23:43] why give us the link when the wiki is closed? :D [14:26:26] is $wgScriptPath definitely pointing to the right place? [14:27:22] Rein|VPS: whoops! you mean you are prompted for a login? [14:27:26] yeh [14:27:37] its ok, i dont need to see it just noisey :D [14:27:42] oh sorry about that. let me try disabiling that again [14:27:47] nah leave it [14:27:52] cool [14:28:31] yeah I just was able to bring it up in opera which is a browser I never use [14:28:39] would you mind clearing your cache? [14:28:53] no password prompt in opera [14:29:20] seems like a hole then [14:29:27] cos chrome and firefox ask for auth [14:30:00] safari too [14:30:46] ahhhh... ok [14:30:49] nevermind actually [14:31:16] seems it was just that the default theme in MW was not showing my logo [14:31:20] I appear to be all set now [14:31:26] cool [14:31:30] :) [14:31:55] definitely curious why the site is still asking for auth after I disabled it [14:32:03] not important now however [14:32:07] and thanks anyway [14:32:14] i didnt do anything :) [14:32:27] yah but you were willing to help [14:32:42] some channels are a little less than friendly [14:32:49] hah [16:20:36] Hi everyone, I've royally screwed up the permissions on our images folder. I was trying to address a lockdir problem with ConfirmAccount since our upgrade and gave the ownership of the entire images/ to www-data:www-data. [16:21:54] This led to images that are resized (thumbs & 123px ) not to show up and uploads no longer working with a "failed to mkdir "$IP/images/lockdir mode 0777" error [16:22:29] Giving recursive ownership to www-data and recusively chmod 777 to images leaves me here [16:23:14] I have no idea how the permissions were setup before I changed in subfolders of images but images was owned by www-data [16:23:30] if anyone has any ideas of what I could do, it would be appreciated [16:25:43] Lou__: you could always try creating that directory yourself [16:30:57] @MatmaRex creating which directory? images/ ? I have hundreds of pictures uploaded already I can't afford to lose [16:31:37] Lou__: images/lockdir [17:32:57] Lou__: i doubt creating that dir will work [17:33:10] you need to fix all your permissions otherwise it'll be all screwed [17:33:20] also, just chown dont chmod [17:33:32] i.e make www-data owner of all but dont change perms [17:35:24] Rein, just figured it out 5 minutes ago, I had my wguploaddirectory set (for a fix in confirmaccount ) to a path using single quotes not double. Fixing that fixed the problem [17:35:44] cool [17:35:49] I Thanks for your help eh [17:36:23] you may still run into issues, so remember this if it happens as you may have to go back an fix perms [17:36:39] changing recursively all chmod like that is pretty nuts [17:36:41] what should my chmod values be for the images folder then? [17:36:57] erm, 755 iirc [17:37:00] I just follow instructions I find on the iternet [17:37:11] yeah the internet is dangerous :) [17:37:21] and is there anything internallythat would be problematic for? [17:37:31] dont know tbh [17:37:34] yea it is as I've learned a few times running this :p thanks again eh :) [17:37:44] all i am saying is if oyu run into issues remember this incase it is the cause [17:38:03] sure, I'll keep it in mind. [18:06:57] Hello, I have a problem with registering, can anybody help me or just send an email of techsupport? [18:10:20] What's going on with the Jenkins bot? Is it down? [18:11:11] Yaron: Yes. [18:12:17] Niharika: alright, good to know. [18:27:14] hey [18:27:24] is this the appropriate place to ask about the inner details of Visual Editor? [18:31:24] Dragonfly6-7: #mediawiki-visualeditor would be a better place. If that doesn't work replace "mediawiki" by "wikimedia" [18:31:28] Dragonfly6-7: not a bad one, but #mediawiki-visualeditor might be better [18:31:34] ah, thanks [21:01:03] RFC meeting in #wikimedia-office : Replace Tidy in MW parser with HTML 5 parse/reserialize [22:31:36] do we have any example of an AuthManager provider? [22:31:44] tgr perhaps? [22:32:23] Platonides: https://phabricator.wikimedia.org/T110282 [22:33:28] hmm [22:33:36] not exactly what I was looking for [22:34:00] I'd like the users to log in at a very basic login page [22:34:05] and have MediaWiki use that [22:34:16] instead of checking the password on its own [22:34:39] an extension like LdapAuthentication probably supports that [22:34:44] but it's a complex one [22:49:21] Could you make yourself clearer? [22:50:48] :( [22:52:11] I want the actual login process to be performed by a different page [22:53:26] I believe it isn't possible [22:53:36] why not? [22:53:41] think on Extension:Persona for instance [22:54:27] I think this would mean a PrimaryAuthenticationProvider in AuthManager world [22:55:03] Platonides: you want to write your own login page? [22:55:19] probably a bad idea [22:55:29] It's quite confusing [22:55:57] With the API calls to AuthManager and what not and on top of that, there might be a security flaw in the page [22:56:43] drop the LocalPassword and TemporaryPassword providers if you don't want them and there will be no password field at login [22:57:17] fields are generated as needed [22:57:56] but a new provider (fetching from an url) would be needed… [22:58:04] Platonides: I think what you are really looking for is a provider similar to GoogleLogin [22:58:08] yes [22:58:12] check out the pending patch for that [22:58:30] oh, it has a pending patch [23:08:49] still no patch for OpenID [23:26:07] it may be interesting to have a RedirectingPrimaryAuthenticationProvider for auth extensions that rely on a third-party page [23:31:16] self-note: https://gerrit.wikimedia.org/r/#/c/289099/