[00:35:10] The update to MW 1.7.x broke my installation somehow [00:35:54] Negative24: 1.7? [00:36:03] that's like eight years old [00:37:22] Whoops. I meant 1.23.x [00:38:20] sumanah! I looked over MW::Gateway [00:39:37] fhocutt: I don't think she's here :-( [00:39:51] ah, right... [00:41:43] Can someone check out this image (http://s13.postimg.org/6ql89ry3b/Screenshot_2014_07_13_at_11_03_28_PM.png). Notice how the Actions/More menu doesn't have a label. Its only an arrow. [00:45:17] Negative24: it used to look like this for years, the label was only added recently [00:46:06] So it was taken out on 1.23.0? [00:46:17] sorry? [00:46:44] the menu looked like this ever since the Vector skin was created [00:46:50] Can I get it back? [00:46:55] the label was added a few weeks ago, i don't think it's included in the 1.23 release [00:47:28] Okay, because it was in 1.22. Will it be added to 1.23? [00:48:16] i'm pretty sure it wasn't in 1.22… [00:49:21] Maybe I'm just forgetting... [00:49:22] Negative24: i'm leaving now, sorry. try posting on https://www.mediawiki.org/wiki/Project:Support_desk or reporting a bug at https://bugzilla.wikimedia.org/ [00:49:51] Alright. Later... [00:57:30] hey i asked last night but dont think i got a response. i did a new install. i have not used namespaces on my pages. how do i edit the editinginterface that corresponds to my pages? right now I have modified the MediaWiki:Editinginterface but it does not show on my pages only ones in the MediaWiki namespace [01:16:15] OldCampingStuff: what do you mean by the "editing interface"? [01:16:58] MediaWiki:editinginterface is a specific message that probably isn't what you're trying to change. [01:21:33] im trying to edit the top of the page that is shown when editing a wiki page [01:22:27] OldCampingStuff: it's a different message, then. [01:22:43] You can see the names of all the messages by adding a "?uselang=qqx" to the URL. [01:23:08] i will try that [01:23:25] what does qqx stand for anyways [01:23:48] query query xmessages [01:25:10] an adaptation from 'qqq' which has the descriptions, I guess. [01:25:18] thank you yaron [01:26:19] what does qqq stand for then? -.- [01:26:24] is the absolute only way i can get javascript into the editor page to use common.js and add to all pages? [01:30:10] Hello71: i guess it's "query query query"? [01:30:24] akin to "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo"? [01:30:28] :) [01:30:55] i do not understand the buffalo reference lol [01:31:29] well if query is plural [01:31:31] https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo [01:31:41] or query is singular [01:33:55] "some easy-to-remember three-letter combination that is not in use for a real language" [01:35:49] qqq does not do anything here only qqx does [04:36:59] Could anyone possibly point me to the appropriate file to edit the footer links displayed on MediaWiki? I'd like to add a line break between the page data and the actual footer links, such as the privacy policy. [05:51:38] TimStarling, do you agree with the use of https://git.wikimedia.org/blob/mediawiki%2Ftools%2Fcode-utils.git/master/stylize.php on http://tools.wmflabs.org/stylize/ ? (I think I sent an e-Mail) and is it possible to add a license to this repo https://git.wikimedia.org/tree/mediawiki%2Ftools%2Fcode-utils.git ? [05:51:46] or is there some kind of default license ? [05:52:32] oh, sorry about not replying [05:53:08] MIT is fine, also any OSI license is fine per the license policy at https://www.mediawiki.org/wiki/User:Tim_Starling [05:53:20] n.p. thanks for your work :) [05:53:39] a GPL dual license is "encouraged" according to that policy [07:03:44] qbphcqdw AT sharklasers.com... weird bugzilla users :) [09:57:36] hello [10:51:48] Isn't there anyway to post articles llke blog? [10:57:13] PotatoGim: https://m.mediawiki.org/wiki/Extension:BlogPage ? [11:07:29] Vogone: Thanks. I will refer to that. [11:08:52] :) [12:16:12] So i've set the logo file path in LocalSettings.php, and the logo shows up fine on any PC, but for some reason it shows the Wikipedia logo when I view it on my phone. Anyone know why? [12:25:24] clear cache? [12:28:10] browser cache? it's been cleared [12:29:33] Are you using MobileFrontend? [12:29:53] nope [12:30:18] just a standard install via a cpanel [14:42:04] I created a user object from user id. Now, how do i check if the returned object is a valid user ? [14:44:53] It'll return a user object.... Which obviously isn't necesserily valid [14:46:15] Reedy: Yes. But how do i check ? [14:47:04] Just looking [14:47:13] > > var_dump( $user->getName() ); [14:47:14] string(9) "127.0.0.1" [14:47:16] unhelpful [14:48:41] Yeah i tried that too [14:49:03] is there a reason User::newFromid doesn't return null for invalid ids ? [14:50:52] It doesn't look them up [14:52:19] I guess it assumes you will pass a valid user id as you'll be pulling it from elsewhere [14:53:37] if ( !IP::isIPAddress( User::newFromId( 999999 )->getName() ) ) {} [14:53:40] hackhackhack [14:54:10] rohan013: Where are you getting the user id from? [14:54:54] if ( !User::isValidUserName( User::newFromId( 999999 )->getName() ) ) {} [14:54:59] It just gets worse [14:55:09] The user id WILL be correct. I just wanted to add an extra check [14:55:43] the user id will be passed as parameters in a url [14:56:50] There's User::idFromName() I guess [14:57:06] But that's potentially 2 db queries (the latter might be cached though) [14:58:58] Reedy: Actually, i can pass userid or name. I just thought userid will be more secure as it is not widely known [15:02:08] rohan013, wait what? [15:02:20] "userid will be more secure as it is not widely known"? [15:02:25] Security though obscurity! [15:03:04] Krenair: Well, isn't it ? :/ [15:03:46] Wikis are designed to be public [15:04:20] The API will expose user ids in many cases [15:04:28] https://en.wikipedia.org/w/api.php?action=query&list=allusers&aufrom=Y [15:05:18] Yes, but most common users don't use the api [15:05:28] but it's there [15:05:37] Probably just much easier to use username [15:06:19] I guess so [15:06:33] so username it is ! [15:11:52] hi foks! [15:11:56] *folks [15:12:23] i would like to authenticate mediawiki against openldap [15:13:24] i don't see, in the config file, where to put my account and password to read ma database ldap [15:13:31] thanks very much! [15:15:15] Have you installed the LdapAuthentication extension? [15:16:58] yes yes [15:19:37] it works fine with anonymous conexion with one of my ldap db. i'm testing also with an another one ldap db but with account and password [15:19:51] and it's the last one that doesn't work [15:20:15] Have you seen https://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Configuration? [15:20:30] $wgLDAPProxyAgentPassword = array( [15:20:30] 'openldap_example_com' => '*****', [15:20:30] ); [15:20:31] i tested with "$wgLDAPProxyAgent = array(" and "$wgLDAPProxyAgentPassword = array(" [15:40:26] Hi all! Is this channel a good place to ask extension-specific questions? [15:41:01] as good as any [15:41:05] unless it's SMW [15:41:17] in which case #semantic-mediawiki is better [15:42:24] 18<rohan013> [16:05:18] Yes, but most common users don't use the api [15:42:26] This does not make it secure!! [15:57:43] i'm able to activate the debug files [15:59:36] directly under "$wgDebugLogFile = "/var/log/mediawiki/debug-{$wgDBname}.log";" i put "wfErrorLog( "An error occurred.\n", '/tmp/my-custom-debug.log' );"? [16:23:25] ok here goes then [16:24:47] so I'm trying to install cirrussearch / elasticsearch on a 1.22.6 wiki. I've got the thing working, but I don't seem to get the intended result: the search behaves just as it did before. $wgsearch type is set to 'CirrusSearch', so I'm quite sure that it's actually active. The indices are also green and contain all my documents. [16:25:25] Reedy: there is no output in /var/log/mediawiki/debug-{$wgDBname}.log . I'm running on ubuntu [16:26:04] So I'm trying to see what could cause such a behavior, or if there's something I've missing in the install process [16:28:15] paco11: You might need to touch it first [16:46:56] Reedy: ok, the debug works. Now, i need to activate LDAPDebug [16:50:16] what's the proper way to interpret a Message as an integer? cast to int directly? [16:51:05] SudoKing: um, why would you do that? [16:51:11] a Message is not an integer by any means [16:51:13] configuration messages [16:51:45] so that the variable can be configured on-site [16:52:02] use $message->text() then, and then do whatever to the string that is returned [16:52:18] or actually, you might want ->plain() (it skips wikitext transformations) [16:52:50] yea. just feels like casting to int seems ugly [16:56:53] particularly in certain cases where any string could be interpreted as a 1 [17:00:08] Hey YuviPanda|food, andre__, thedj, multichill - I have vague plans to do a bug triage sprint for UploadWizard in the near-to-mid future (like, the next two weeks), could I twist some of your arms into helping out? :) [17:06:00] Reedy: i have a problem: when i test with ldapsearch with "(&(distinguishedName=$value)(objectclass=user))" it doesn't work. ldapsearch with "(&(uid=user)(objectclass=posixAccount))" works [17:09:24] marktraceur: Ha, you have more luck with JeroenDeDauw I think [17:09:30] Fair 'nuff [17:09:52] JeroenDeDauw: You're Invited! to an UploadWizard bug triage. "Sometime". [17:10:00] (if you're interested) [17:11:37] andre__: when you get the chance, could you add me as a default CC to the ExtensionDistributor and CentralAuth extensions? [17:53:17] Reedy: i followed a thread on the forum and now the access through ldap works [18:44:09] hey fhocutt - is this any better? [19:23:07] Article count on my wiki shows ~80 articles less, than I have. Is there any way to force fixing it? I have been waiting for 2 days. [19:23:18] ... [19:24:52] Hi Piotrek [19:25:11] Piotrek: I think there might be a maintenance script you can run -- look in the /maintenance directory -- to force an update [19:25:37] OK, I'll try [19:25:56] Piotrek, initSiteStats.php I think? maybe. [19:26:12] oh, um. careful with that [19:26:25] use --update to keep your total views count [19:30:39] PHP Fatal error: Call to undefined method SiteStatsInit::update() in [my dir here]/maintenance/initSiteStats.php on line 78 [19:31:28] ... did you modify the script? [19:31:41] no [19:31:54] of course I did not [19:32:20] What version of MediaWiki? [19:34:25] Reedy: 1.23.1 [19:35:17] <^d> Obvious error is obvious. [19:35:17] https://github.com/wikimedia/mediawiki-core/commit/04feb7f68d3a2f23b7346613568b59acc8ccfff0 [19:35:20] That's slightly amusing [19:35:27] <^d> Maybe we shouldn't call missing functions. [19:35:43] We don't in master [19:38:32] Piotrek: Has your wiki been updated? [19:38:36] (from a previous version) [19:38:54] Reedy: no [19:39:23] MW was set up few days ago. [19:40:13] I used update script, when installing AbuseFilter, but I wasn't upgrading from previous version.:D [19:40:17] ups [19:40:33] emoticon in wrong channel [19:42:24] Yeah... Already fixed in the 1.23 branch, but not deployed [19:42:25] https://github.com/wikimedia/mediawiki-core/commit/04feb7f68d3a2f23b7346613568b59acc8ccfff0 [19:42:30] s/deployed/released/ [19:43:13] Should i download fixed versipn from git? [19:43:18] *version [19:43:45] If you want to run the script, I guess so ;) [19:46:11] I'll try. [19:55:34] Reedy: Downloaded that file, placed it into includes dir, but script still doesn't work. [19:56:13] there was 2 files updated in that commit [19:56:22] aaa [19:56:26] wait [20:02:40] Yay. [20:02:46] It works. [20:03:05] Thank you for your help Reedy. [20:03:10] :) [21:51:09] Hey guys, having an issue finding an extension. Wanted to know if there was a way to export new/edited pages via RSS? [21:51:27] All im finding is readers :| [21:52:19] and im retarded. [21:52:25] atom feed right there in the damn menu. [21:53:50] Milenko I don't know MediaWiki very well yet, but I've found that: http://meta.wikimedia.org/wiki/Help:Recent_changes#Web_feed [21:54:05] yep... I didnt even notice it [21:54:06] lol [21:54:35] just gogolized :D [21:55:13] Going to sleep. Bye [21:55:30] bye bye