[00:00:05] So my guess is abusefilter really does not work with pg... but doesn't hurt to ask the experts. :) [00:00:31] just a mysql quirk that accidentally allows it to work [00:00:48] Yes. The tables were created, although (it was late yesterday) on one I had to change one of the _id columns from "text" to "integer" [00:01:04] meh [00:01:11] doesn't sound right [00:01:16] then it "mostly" worked, except for that funky af_id='new' thing [00:01:22] it's query that's wrong, not schema [00:01:33] agreed [00:02:42] could you record an exception trace ( https://www.mediawiki.org/wiki/Manual:How_to_debug#SQL_errors ) an create a bug at https://phabricator.wikimedia.org ? [00:03:11] sure [00:03:13] thanks! [00:04:05] also note that we don't really have a lot of contributors who care about PG so patches are especially welcome! :) [00:04:31] you all use mariadb/mysql? [00:04:51] Is it possible to access the value of a magic word from javascript? [00:05:00] even if it isn't on the page, that is [00:05:22] I'm thinking specifically of the protectionlevel magic word [00:05:45] yes, it's the default one. also, sqlite is mostly supported, because we have evil magick that converts mysql schema into sqlite one [00:05:57] and even if it is, would it be a bad idea? The magic word page says that it's "expensive". [00:06:05] (and because our CI runs on sqlite, muhaha) [00:07:10] cgt: you're asking the wrong question, then :) if your real question is "how do i access the protection level of the current page?", then the answer is "use mw.config.get( 'wgRestrictionEdit' )" [00:07:33] edit protection level* [00:07:44] yes, there's also wgRestrictionMove [00:08:00] wgRestrictionCreate... [00:08:23] it is "expensive" enough for mediawiki not to let you check it for 500 pages… it's fine to check it for the current one. mediawiki already uses the value when generating article tabs [00:09:57] I'm asking because I initiated a discussion on the Danish Wikipedia about removing protection templates (because they're hard to maintain), and someone suggested that a the protectionlevel magic word could be checked in JavaScript and the protection icon could be added to the page that way instead. [00:10:13] also upload restrictions [00:10:16] I'm not sure why MediaWiki doesn't support doing this on the server-side anyway [00:10:27] I think some older version of AFT had its own protection type [00:10:50] because that shows up in enwiki's database as well [00:11:37] cgt, every wiki would want to customise the hell out of it [00:12:06] cgt: we have code that does this at pl.wp. [00:12:07] right, but I'm sure that need could be accomodated. [00:12:11] you might want to borrow it [00:12:29] i'm also pretty sure there's a bug for doing this server-side [00:12:44] I don't know JS, but I would love to get the code. Protection templates are a pain... [00:14:09] cgt: https://pl.wikipedia.org/wiki/MediaWiki:Gadget-heading-icons.js . it also does a bunch of other weird things that you can probably safely remove. [00:15:43] MatmaRex: Thank you. I will have a look. [00:29:22] i have a problem with media wiki and https which causes some browsers to detect that there is insecure content in the main page. I have removed one extention that was the main reason but i still get an http:// link originated from there. this one: http://en.wikipedia.org/w/index.php?title=User:MarkS/XEB/live.css&action=raw&ctype=text/css and i cannot find where it is written to edit it to https by default. any tips ? [00:47:19] MaxSem: created T89514 We'll see how it goes. Thanks [00:47:30] thanks:) [00:48:22] I would like to report a defamatory, harassing wiki hosted by MediaWiki. Where could I do that? It puts a lot of defamatory information about people who have never given it or even posted it anywhere online. [00:50:03] Guest52464: What do you mean when you say that it is "hosted by MediaWiki"? Do you just mean that the site uses MediaWiki? [00:50:25] yes. sorry, not that good with tech stuff. it uses mediawiki [00:50:39] MediaWiki is free software. It may be used by anyone for any purpose. [00:50:47] There's nothing we can do about it. Sorry. [00:53:24] so anybody can post anything like that and there is nothing to be done? [00:54:02] Well, there may be other ways to have the site removed. But the developers of MediaWiki cannot do anything about it. [00:54:46] what other ways? [00:55:46] Well, you could file a complaint with their ISP's abuse department, or if the content is in violation of law, you could contact the police. [00:56:10] Guest52464: also you may wish to talk to a reputable lawyer [00:56:20] that's an option too [01:10:41] !wikipmedia [01:10:41] Confused about the differences between MediaWiki, Wikimedia, Wikipedia and wiki? See https://www.mediawiki.org/wiki/Wikipmediawiki [02:31:23] is there any built-in JavaScript to load a wiki page's content? Skimming doc.wikimedia.org isn't showing me but I'm just curious if there is. If not I'll just load in the raw page content [04:58:57] Hi, I'm a student willing to contribute to pywikibot for GSoC 2015. I'm trying to fix a bug and send a patch. I have a question. Gerrit or Phabricator, which one should I use? I found Phabricator has most things, e.g. tasks and bug reports. But there's no configuration doc found. The documentation says I need to configure Gerrit. It's a little confusing. [05:14:11] VcamX: Phabricator is for bugs/task tracking. Gerrit is for code review. You need both :) [05:15:19] Oh, I see. Thanks! :) [05:19:23] VcamX: no problem. Welcome :) [05:31:33] VcamX: hi! we're all in #pywikibot :) [06:41:05] hello [06:41:33] could anybody tell me which css command is added to this wiki to chnage its theme, hdlwiki.com [06:41:42] if anybody know, please tell me [06:57:54] !skin [06:57:55] General skin help: http://www.mediawiki.org/wiki/Manual:Skins / List of available skins: https://www.mediawiki.org/wiki/Category:All_skins / Creating a new skin: see !skinning [17:17:29] Has Title::escapeLocalUrl been deprecated? [17:22:48] it doesn't seem to exist in current master, at least [17:26:05] vanished [19:34:27] Is there a way to retrieve a machine readable list of valid oldids for a given wiki page, without parsing the html of index.php?action=history (I'd like to retrieve them using action=raw from latest to earliest until I find one that satisfies my needs)? [19:36:37] !api | mihi [19:36:38] mihi: The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at < https://www.mediawiki.org/wiki/API >. For client libraries in various languages, see < https://www.mediawiki.org/wiki/API:Client_Code >. [19:37:29] mihi: you probably want an api request for action=query&prop=revisions [19:45:28] Vulpix, thank you. Exactly what I need :D [19:46:03] yeah, the api is very powerful :9 [19:46:06] * :) [20:20:12] do we need to register on beta wmflabs separately even if we're registered on mediawiki? [20:20:53] codezee, ... what? [20:21:32] beta.wmflabs.org has a separate login db to the one used by wikimedia production sites like mediawiki.org [20:23:04] Krenair: ok! and I guess that is mostly used for reproducing bugs, as it as latest code? [20:23:26] Does MediaWiki "This page has been accessed X times." count even robot (e.g. search engine) visits? [20:23:28] it runs the master version of the repositories, yes [20:23:48] wikimedia production uses slightly more stable versions :) [20:26:05] Krenair: ok, thanks :) [20:26:19] but only slightly [22:14:19] !persona [22:14:19] There is no such key, you probably want to try: !pastelocalsettings, [22:14:23] @persona [22:14:31] !plugins [22:14:48] !openid [22:14:48] http://www.mediawiki.org/wiki/Extension:OpenID [22:15:03] why wont the bot give me the persona link [22:15:22] satdav: what are you looking for? [22:15:59] has http://www.mediawiki.org/wiki/Extension:Persona been tested out before [22:16:14] satdav: its: [22:16:21] !e Persona [22:16:21] https://www.mediawiki.org/wiki/Extension:Persona [22:16:43] cool Betacommand [22:16:59] will that work on the latest build [22:17:18] satdav: persona is dead [22:17:29] I wouldnt build support for it into your site [22:17:43] yes I know the server is getting stopped soon for it [22:18:01] Betacommand: can you recommend something simular like social media for login [22:18:21] !oauth [22:18:21] https://www.mediawiki.org/wiki/OAuth [22:19:22] hi, I'd like to ask a question about MediaWiki:Common.css [22:19:37] Not sure if anyone can help [22:20:43] I'm not too au fait with css, but if looks like it's not working for my version of mediawiki 1.24.1 [22:21:10] satdav: honestly using remote auth is a bad idea [22:21:11] i know for sure that no one can help if you don't ask the question [22:21:26] Is there an obvious change I can make in the common.css to raidically change something? [22:21:53] quick: if its broken yes [22:22:44] yes my site is just for personal use and backed up [22:23:18] I can paste it here if you like [22:23:38] quick: thats not what I meant. if invalid CSS is added it may cause the site to not display CSS correctly [22:24:16] Beta: how would I test if it's invalid? [22:25:10] I just wanted to change the background colour on the navigation pane [22:26:04] http://linuxproblems.org/wiki/MediaWiki:Common.css [22:27:59] quck revert to a prior version, clear your cache and see if that fixed it [22:28:39] I've cleared the cache already and disabled caching [22:29:00] If I revert to an older version will that be ok with the database updates? [22:29:58] quck have you made any changes to common.css near the time that things broke? [22:30:34] no I've never tried updating it before [22:31:14] oh actually I guess I must have [22:31:19] sorry I take that back [22:31:36] quick when did you upgrade? [22:31:46] today [22:32:14] quick: revert to http://linuxproblems.org/w/index.php?title=MediaWiki:Common.css&oldid=2206 [22:33:37] I think I can remove the dtree config in there [22:34:23] quick just revert for now [22:35:21] Betacommand: what do you recommend for login as I dont like the default one [22:35:30] satdav: why? [22:35:59] as we keep getting spammers [22:36:08] if their is a way to add a better recapcha [22:36:14] and also a question or code [22:36:37] ah ha [22:37:10] satdav: instead of asking about login methods, let us know the root isuse [22:37:19] !spam satdav [22:37:19] For information about combating and handling spam in MediaWiki, see and . [22:37:43] satdav: I'm happy with this method http://thingelstad.com/updated-dynamic-questy-captchas/ [22:39:13] wmat: thats what I was digging up [22:39:17] satdav: see http://www.mediawiki.org/wiki/Extension:QuestyCaptcha [22:39:30] thanks [22:39:42] Beta: Thanks, I reverted that. [22:39:44] what about shared logins with wordpress or that [22:44:29] satdav: your asking for more spammers then [22:45:26] oh Betacommand was not aware [22:46:17] satdav: any kind of shared login is asking for more spammers [22:47:41] we should add a stop forum spam addon [22:48:32] satdav: if you read the docs the anti-spam features are fairly good, if configured correctly [22:48:50] cool [22:49:02] Betacommand: can we disable new registers from countrys [22:52:18] satdav: not sure [22:56:35] is their any irc bot for mediawiki [22:59:02] satdav: what do you mean by that? [22:59:22] recent changes monitor? [22:59:31] Nahiyan: yes like that [22:59:38] what tells you of recent changes [22:59:41] wikimedia certainly has that for its wikis [22:59:51] don't know if its built in to mw [22:59:58] https://www.mediawiki.org/wiki/Manual:MediaWiki-Recent_Changes-IRCBot [23:00:24] I don't think it's built in, there's lots of APIs, implying that an API-approach was chosen [23:01:03] err [23:01:08] ignore that one... [23:02:56] would be good if you had a rss feed for that even [23:03:51] one second [23:04:12] I'm pretty sure MW has Atom feeds [23:04:18] but maybe its just for the watchlist [23:04:44] nope, RC has atom feed too [23:04:50] hmm [23:05:09] cgt: you got a link to it [23:05:23] it's in the sidebar of the recent changes page [23:05:29] I cant give you a link to YOUR wiki [23:06:06] what? [23:06:08] huh [23:06:40] what? [23:07:27] Every one of the >730 Wikimedia wikis has an IRC RC feed. The channel name is #subdomain.domain. For example, the channel for German Wikibooks channel is #de.wikibooks, and the channel for WikiSpecies is #species.wikimedia. Projects without subdomains are treated as if they were Wikipedia languages, e.g. #wikidata.wikipedia. [23:07:36] ~ Wikipedia [23:07:43] yes on irc.wikimedia.org [23:07:47] hmm [23:07:53] let me find out how they do it [23:09:00] "Web feeds (RSS and Atom) for the recent changes of a wiki are obtained by assigning to "feed" (one of the parameters to index.php available) the value "rss" or "atom", i.e., by adding "&feed=rss" or "&feed=atom" to the URL of the recent changes page." [23:09:22] let me find out about IRC