[00:28:26] hey all [00:28:42] Is there an extension where the top article (based on number of likes) can be retrieved and be displayed in a page [00:28:58] thanks in advance for any suggestions :) [00:34:31] hello, could anyone please tell me how to pass a variable into ifexpr? [00:34:40] {{#ifexpr: 2011 > {{{2}}} | 2011 > {{{2}}} | 2011 <= {{{2}}} }} [00:34:52] returns Expression error: Unrecognized punctuation character "{". [00:35:44] Lisured: count your braces [00:36:01] Lisured: I count 11 { and 10 } [00:36:32] I see 11 } [00:37:05] you're right, there's 11 :/ [00:38:13] wmat this is probably documented in https://meta.wikimedia.org/wiki/Help:Calculation#Error_messages [00:39:22] wmat: but I couldn't find a way to bypass this [00:40:03] Lisured: I dunno, it looks ok to me [00:40:28] and i don't have a means to test right now [00:40:52] click the link labeled [43] [00:41:36] wmat: https://meta.wikimedia.org/w/index.php?title=Special:ExpandTemplates&wpInput=%22{{%23expr%3A{{{a}}}}}%22&removecomments=true [00:41:48] is this channel correct for deveopment support ? [00:41:56] yes [00:42:08] Lisured: itsn't it more like 44 [00:42:35] ok so we use a custom skin to basically strip everything out for display of a wiki page on our site (embedded) [00:42:47] is there a way to tell it to not put [edit] links in [00:43:09] without using __NOEDITSECTION__ on the wiki page itself [00:43:18] wmat: I think the docs say expr and ifexpr take the same argument [00:43:48] Lisured: yeah, i'm playing with it now [00:46:02] Lisured: sorry, i dunno [00:46:47] Matt_P: when I see this terrible hack of an extension https://www.mediawiki.org/wiki/Extension:Edit_Section_Link_Transform [00:46:54] I don't think so [00:48:01] is there some part of mediawiki source that isn't pile of crap? [00:48:13] lol [00:50:08] and of course our entire wiki isnt working now haha [00:51:34] caused by having the i18n dir in the skin <_< [01:00:07] Lisured: yes. [01:00:53] hey all, i am trying to use ldap authetication on php 5.3.3 [01:01:04] but i could not find the ldap.dll in my php/ext folder [01:01:09] does php 5.3.3 supports ldap ? [01:01:14] thanks for all suggestions [01:08:02] struggle: I think there's a php5 LDAP mod you need to install? [01:08:32] struggle: https://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Requirements#PHP_LDAP_support_4 [01:08:38] you need to enable the LDAP extension [01:08:46] since you mention '.dll', I imagine you're running windows [01:14:39] legoktm: are you sure? [01:21:37] hello, yes i am running on windows 7 [01:22:07] i have tried to download the ldap.dll and uncomment the extension on the php.ini file, but when i tried to run, it gives me 500 server error [02:23:21] What is the problem with using $wgSharedDB on a non-MySQL db? [02:53:29] Near as I can figure from the git logs $wgSharedDB support was added for sqlite in 1.17 and for pg in 1.19. [04:30:40] karlpinc, what you want to do with it? [07:18:26] wondring why https://commons.wikimedia.org/w/index.php?title=Template:Category_redirect&diff=162012054&oldid=149859342 this does not work :/ [07:18:29] any iddea? [07:20:20] Hi [07:20:42] i have got a newbie question if I may ask? [07:22:43] I'm a newbie so I might be able to answer [07:22:45] what's up? [07:23:27] thnaks, I would like to edit the commons.css but when I enter it, it appears to be empy. is this normal? [07:23:39] common.css? [07:23:44] yes [07:24:09] on a out of box install, yes I think it's blank [07:24:22] there's a page on the Mediawiki Wiki with the stock config you could copy [07:24:28] ah, good. i remember it was not empty in an earlier version? [07:24:53] Don't think so, no [07:25:10] so all i need to do is put there my custom css and go? [07:25:30] or do i need to insert the stock config? [07:25:46] should be able to drop custom and go [07:25:55] hmm [07:26:07] i think i export all pages before doing so :) [07:26:50] ah, is there a way to export all pages without putting them into a category? [07:35:53] ah! great, its working! :D thank you [08:17:52] hi all, how do i enable ldap support ? [08:18:17] i am using php 5.3.3 , apache 2.1.6 , mysql 5.1.3 and using windows 7 [08:20:10] and i want to use the ldap authetication extension . thanks [08:30:35] Hi! [08:31:06] I'm looking for a way to get notification for every new pages [08:31:41] I have been looking at several extension but I seems that they are not more developped [08:31:46] Do you have any advice ? [08:42:27] Hi [08:43:15] is there an extension to get the path of a page at the top of page, for instance: my page > my sub-page > my sub-sub-page [08:43:17] ? [09:24:11] I have installed breadcrumbs, then breadcrumbs2, but I still don't understand how it works [13:25:18] hello all, i wonder if you can offer some advice .. i have a mediawiki install but need to switch away from hashed directory to non-hashed for images/ .. what do i need to do for this? [13:30:54] I seem to be getting a small bug with my mediawiki [13:32:09] When I edit an existing page and insert `[[some new page]]` and then save, it reports an error. However refreshing the page shows that it did behave correctly. [13:32:18] what error? [13:32:24] And clicking on the new link does indeed create a new page. [13:32:32] So the only error seems to be the error itself. [13:33:09] "Database error: A database query error has occurred. This may indicate a bug in the software." [13:45:39] pi-: You can use $wgDBerrorLog to get more information out of the software. [13:46:47] pi-: It's kinda nuts that it does not log all by itself. [13:46:52] pi-: What database software? [13:47:44] znx: I would guess you move all your images out of the subdirectories then set $wgHashedUploadDirectory = false; [13:48:43] MC8: yeah im thinking the same but i was wondering if there was any database changes required with it .. id guess not but it would be good to know before i jump in [13:51:27] I want to use $wgSharedDB on a non-MySQL db to have a single shared login over 2 wikis. Are there still any issues? [13:54:04] !smw [13:54:04] SemanticMediaWiki is an awesome extension that lets you connect wiki pages with semantic relations. See and . Mailing lists are available at [13:55:11] !install [13:55:11] Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [14:22:31] karlpinc: mysql/mariaDB is recommended, not just for shared db, but because that's the only engine that's actively tested [14:22:57] karlpinc: from https://www.mediawiki.org/wiki/Manual:Shared_database "Support for SQLite was added in MediaWiki 1.17. Support for PostgreSQL was added in MediaWiki 1.19" [14:24:13] sqlite is tested but not in real use, and it's slow [14:24:28] postgres is tested by maybe two people [14:27:26] Vulpix: Yes, I added that sentence to https://www.mediawiki.org/wiki/Manual:Shared_database yesterday, based on digging through the git logs. [14:28:36] marktraceur: The few people I know are using sqlite. Their needs are minimal, and so are mine. If I ever outgrow sqlite I'd much prefer to switch to postgres. [14:29:12] I can tell you right now, you won't enjoy that [14:29:20] marktraceur: pg? [14:29:21] I mean, you might get it to work, but it won't be fun [14:30:02] marktraceur: You mean using postgresql? [14:30:20] Yes. [14:30:52] marktraceur: Ok. Thanks. Good to know. Maybe it'll be ready should I ever get around to needing it. [14:50:14] Does mediawiki have regression tests I can run? [14:52:42] karlpinc: if you download from git, it comes with tests [14:52:50] !test [14:52:50] This is a nifty test of niftiness ... http://z0r.de/2650 << lookie, isn't that cool? :) [14:52:55] !tests [14:52:55] There are multiple keys, refine your input: tests, testswarm, [14:53:05] :S [14:53:37] I half-remember some sort of API thing that renders a page in HTML, but I can't seem to find it, does that actually exist? or am I misremembering things. [14:54:02] https://www.mediawiki.org/wiki/Manual:Unit_testing [14:55:38] Vulpix: Thanks! [14:55:46] Rosencrantz: https://www.mediawiki.org/wiki/API:Parsing_wikitext#parse [14:55:56] Rosencrantz: there's also action=render [14:56:07] Ah! [14:57:16] oh, is the action=render off of index.php? [14:57:42] ah ha [14:57:43] it is [14:57:44] ok [14:57:46] that's what I was remembering thanks [14:58:20] yes, you need to use it in "non-pretty URLs", that is, with index.php [15:00:08] just looking for something that's relatively easy to copy-paste [15:25:41] any channels for newbies wanting to contribute to a FLOSS project? [15:31:01] !skin [15:31:02] 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 [15:37:15] golibaba: this one! https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [15:38:44] thankx MC8 [15:50:11] Hello! My problem (no images in wiki) is solved. I had to deactivate an "option" in wiki/images/.htaccess! [15:52:54] i turned "Options +FollowSymLinks" in "#Options +FollowSymLinks". It seems, my providerĀ“s config is a little bit strange, so I had to do so. [15:54:02] Thanks for your help. Bye. [16:39:30] Hello everyone, I have a question regarding the API. [16:40:06] I have a very specific problem: I want to get a list of links in the Wikipedia namespace off of a page, but only ones that do not match a certain pattern. [16:40:58] More specifically, I want to get a list of links in all namespaces off of the English Wikipedia page WP:GO, but specifically exclude, somehow, the links to older WP:GO pages that are present in the tempate at the bottom of the page, and drown out the results I actually want. [16:42:00] I wrote something that grabs a copy of the page and manually strips it to get at the Featured topic links that I want, but it's extremely hacky. I'd rather use the API. [16:42:09] Does anyone know of a way to do this? [16:43:59] thinking about adding a WYSIWYG editor to my current MediaWiki installation (1.25.1)...any recommendations or gotcha's I should be aware of? [16:45:45] was investigating this one: http://www.mediawiki.org/wiki/Extension:WYSIWYG [16:46:11] but wanted to make sure I don't go and jack things up with it [16:46:37] There's also VisualEditor, which is what Wikipedia uses. [16:47:42] harej: thank you, I'll check that one out as well [16:48:17] I don't mind the wikitext style editing but I will have some who have never used a wiki trying to make some basic pages so anything that can make that easier is preferred :) [17:13:08] Hi all, when I look at "Changes" in my wiki, I can't seem to go more than a year into the past [17:13:44] Is there a way to have mediawiki show all changes over a set time period (or from the beginning of time)? [17:13:54] digimer: old entries in the recent changes table get purged [17:14:03] oh crap [17:14:07] oh well. =/ [17:14:14] are they archived before being purged? [17:14:21] no [17:14:29] poop [17:15:41] what do you want to get from that? [17:16:53] I need to be able to show the work I did in the past for something at work [17:18:14] hrm, each page has history older than that [17:19:29] digimer: go to your contributions, that has all the work you did [17:20:18] oh! [17:21:04] Vulpix: BAM [17:21:07] thank you! [17:21:13] yw :) [19:14:10] OK is there a way to check out mediawiki, get all skins and extensions without doing them individually? [19:14:57] *ALL* skins and extensions? [19:15:09] literally all of the ones in wikimedia repositories? [19:16:21] Don't we have a magical repo with submodules that will do that? [19:18:47] Puff the magic repo [19:19:10] Krenair: yes [19:19:57] I think it's possible [19:21:38] Krenair: any idea how? [19:22:43] Betacommand, try cloning mediawiki/extensions.git? [19:22:58] Yeah [19:23:06] That's the magic repo that has every single extension as a submodule [19:23:10] Warning: there are a LOT of extensions [19:24:06] Run git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions.git ; cd extensions; git submodule update --init --recursive; then go have lunch and it might be done by the time you get back :) [19:26:26] and be sure to have some GB of free space (?) [19:27:21] Vulpix: it shouldn't use more than a handful of GB [19:28:32] hey. i have a joomla site where user have to register. i want that the users can loggin with the same login data. there is a description with authjoomla but it doesn't work. i think an external registration where the script is writing in mediawiki database and joomla database. now i searched for the register skript from wiki to see how the register works (sry for bad english :-) ) [19:36:05] i saerch for the register script from mediawiki where can i find it? [19:40:05] dungodung: Was my request for an IRC cloak declined? [19:41:07] polybuildr: I see it is marked "on hold" [19:41:33] dungodung: I'm not sure what that means... there's some missing information that I'll be contacted about? [19:42:35] polybuildr: are you in https://www.mediawiki.org/wiki/Special:Code/MediaWiki/author/ ? [19:43:07] dungodung: No, I don't think so. I'm not sure how you get in that list either, though. [19:43:31] that list is now outdated [19:43:39] heh [19:43:48] no more people on that list since we moved from svn to git [19:43:53] right [19:44:04] it's hard to keep track of mediawiki developers, since anyone can be a developer [19:44:19] so we normally submit developers to standard criteria [19:44:19] Maybe you can look at merged commits in gerrit or phab. [19:44:32] Standard criteria being 200 edits on a wiki? [19:44:51] 250 [19:44:52] https://meta.wikimedia.org/wiki/IRC/Cloaks#Obtaining_a_cloak [19:45:17] dungodung, https://www.mediawiki.org/wiki/Special:Version/Credits should be a pretty good list [19:45:27] Well, I'm not an editor, so I have no edits on any of the wikis. [19:45:29] I hope you haven't been checking people against that old SVN URL. [19:45:55] Krenair: well, I haven't for a while now [19:46:01] Krenair: What's the criterion for getting on that list, btw? :P [19:46:39] polybuildr, nothing written down, you submit a patch including adding your name to the CREDITS file in mediawiki core [19:46:39] Krenair: if only that list held usernames. it's hard to match usernames/nicks with real names (if one chooses to disclose one's) [19:53:30] Krenair: What's the difference between a "developer" and a "patch contributor"? [19:57:37] We should probably have a page similar to https://www.mediawiki.org/wiki/Special:Code/MediaWiki/author/ for Gerrit. [19:57:57] It'll make things quite a bit easier. [19:58:46] Krenair: I'm guessing the "Developers" are +2 access? [19:59:33] polybuildr, I moved myself there after I got +2 access to most mediawiki repositories (including core), yes [20:00:01] Krenair: So other contributors go into the "Patch contributors" list, right? [20:06:32] Hmm, but https://meta.wikimedia.org/wiki/IRC/Cloaks#cite_note-4 says a mediawiki/ cloak is only for developers with +2 access. [20:31:02] Hey gang! I have a question that someone probably has a very obvious answer for. When i upgraded to 2.5.1 and updated Extension:MobileFrontend I noticed that when i am signed in as Admin on my mobile phone there is a lock icon displayed overlapping the edit icon. How do I get my edit permissions back? [20:35:35] kindANDsweet: Maybe mobile editing is disabled by default in that version [20:36:29] I don't know how to re-enable... [20:36:32] !e MobileFrontend [20:36:32] https://www.mediawiki.org/wiki/Extension:MobileFrontend [20:36:50] marktraceur: it's a stable release [20:36:53] seems unlikely [20:37:19] I can't figure out what I would need to change based on the extension page [20:37:52] $wgMFEditorOptions maybe? [20:38:21] Maybe [20:40:26] let me check out if i have the lastest version of mantle [20:40:33] i know that is a dependent extension now [20:43:28] Hello Max [20:43:37] and others of course [20:43:47] hey pal! [20:49:34] Test [20:51:32] your test worked [20:55:47] Alright I'm back and the question changed, can I report bugs for non-English versions of Wikipedia using the TextExtract API? [20:56:25] yes [21:00:24] Also, just to be sure I'm not doing anything wrong, can you check if the following query is correct? I want to get the first 2 sentences but it doesn't seem to work sometimes. [21:00:30] http://en.wikipedia.org/w/api.php?action=query&prop=extracts&explaintext&exsentences=2&redirects&format=xml&titles=Litfiba