[01:10:11] !e Semantic_Forms | Woozle [01:10:11] Woozle: https://www.mediawiki.org/wiki/Extension:Semantic_Forms_ [01:10:32] hi, I installed a new wiki to be a part of a wiki farm, but when I access this new wiki, I can't edit a page, Database error A database query error has occurred. This may indicate a bug in the software. is shown on every content page [01:10:45] thx, Yaron [01:12:57] is there some way how to tell what's the problem with the database? it's new, fresh and empty [01:14:06] !wg ShowSQLErrors | auvajs [01:14:06] auvajs: https://www.mediawiki.org/wiki/Manual:%24wgShowSQLErrors [01:17:05] there seems to be a table an extension is using missing; how can I run update.php for the new wiki only? when I run php maintenance/update.php it only affects the default wifi, not the new one [01:17:24] in the wiki farm [01:47:02] Hey all [01:47:30] Thumbnails suddenly not showing [01:47:43] I recently migrated my mediawiki install from dev to production, everything went smoothly and it worked with no issues. [01:47:51] Yesterday I went back to the wiki after a few weeks to finish up some work. when I noticed the thumbnails are missing. [01:48:05] Screenshot: http://i.imgur.com/El3RLqM.png [12:44:20] Krenair: thanks for your reply on https://phabricator.wikimedia.org/T86081 [12:44:24] np [16:21:38] Anyone know how to use configure wm-bot to track user contributions/logs via @configure/@rss commands? [16:22:18] petrb would, haven't seen him around in a while though [16:22:36] Krenair: ^^ [16:31:18] guys need a help [16:31:30] !ask [16:31:30] Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [16:32:06] i need to find the count of a link that is referenced in a wiki site [16:32:11] how can i do that [16:33:27] guys ?? [16:34:38] help [16:34:57] if anybody who knows the answer is around, they will surely reply. [16:34:59] Please be patient :) [16:35:23] ya but desperate for answer [16:35:38] lil quick will help [16:41:59] sorry to pester [16:42:12] but answers will help a lot [16:44:54] anyone ? [16:45:12] Geekride: i don't understand what you're trying to do, sorry [16:45:19] "find a count"? [16:45:22] what kind of link? [16:47:57] inputs a Wikipedia URL and outputs which the most popular link within it. Popularity of the link is defined as the number of pages in wikipedia that link to it. [16:48:06] some think like this [16:48:12] matmaREx [16:48:17] any apporcha [16:48:47] i have used Jsoup to parse all the links from the input url [16:49:05] i am confused for the next step [16:49:17] yeah, you could use the API to get a list of pages that link to every page linked from a given page. (you can't directly get the count, only the list) [16:49:23] uhh, HTML scraping? [16:49:43] if you're that lazy, you can look at Special:WhatLinksHere for each of the page titles you extracted. [16:49:55] and count the entries in the list there. [16:50:27] how is it possible to scrape the whole wikipedia site ? [16:50:42] That will take take loads of time right [16:50:54] isn't there a way to do this [16:51:33] how do i get the list of pages that is linked [16:51:42] help me that [16:51:58] !api [16:51:58] 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 >. [16:52:05] from that i can count the Json object right [16:52:06] let me find out the query [16:52:15] ya sure [16:52:22] thanks man u are a literal god [16:52:32] not really [16:52:41] okay, so here's a random page: https://en.wikipedia.org/wiki/Charles_Leonard_Hamblin [16:53:17] how is everyone feeling today about the level of respect they are getting [16:53:27] ya tel me matmarex [16:54:17] Geekride: to get a list of all the links on that page: https://en.wikipedia.org/w/api.php?action=query&prop=links&format=json&plnamespace=0&pllimit=max&titles=Charles%20Leonard%20Hamblin [16:54:23] or a prettier format, https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&prop=links&format=json&plnamespace=0&pllimit=max&titles=Charles%20Leonard%20Hamblin [16:55:09] dont be afraid of the dark [16:55:13] Geekride: to get a list of all pages that link to the given page: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&prop=linkshere&format=json&lhprop=title&lhnamespace=0&titles=Charles%20Leonard%20Hamblin [16:55:23] you should be able to go from here. have fun [16:55:41] thanks man [16:55:52] i'll walk with you through it until morning [17:00:02] MatmaRex [17:00:04] ? [17:07:47] hm? [17:48:14] !ask Does anyone know how to use configure wm-bot to track user contributions/logs via @configure/@rss commands? [17:48:14] Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [17:50:08] JustBerry: https://en.wikipedia.org/w/api.php?action=feedcontributions&user=JustBerry&feedformat=atom [17:50:16] legoktm: lego! :) [17:50:26] legoktm: I know that, but how do you put it in the bot? :) [17:50:35] legoktm: with @rss [17:50:53] legoktm: with @rss-setstyle and @configure [17:51:04] Any explanation? [17:51:13] no idea. [17:53:38] legoktm: qq [17:54:58] JustBerry: qq [17:55:11] NDK|Cloud: ? [17:55:18] legoktm: I still never fixed those renames... Shhhh [17:55:24] JustBerry: idk I was copying you [17:55:28] NDK|Cloud: k. [18:01:22] well I was able to enable it for mycontributions [18:01:30] but haven't tried formatting yet [18:04:25] JustBerry: [18:04:45] Cladis: How so? [18:04:47] What did you do? [18:05:01] Can you copy and paste the command in a PM or something (in case wm-bot is lingering here) [18:05:34] https://www.irccloud.com/pastebin/iOtpsLAW/ [18:07:43] legoktm: and possibly others, in a phabricator task related to PWB and test.orain.org and someone mentioned having an "Orain" phabricator project. If it doesn't exist, could one be made and how? I'm really new to using phabricator [18:14:10] NDK|Cloud: https://www.mediawiki.org/wiki/Phabricator/Creating_and_renaming_projects [19:01:17] hi [20:22:41] what would suddenly cause my wiki to stop pulling images from Commons? [20:25:05] subvertc: did you recently change anything? switch hosts? upgrade server software? [20:25:32] since wikimedia switched to all-https some weeks ago, some folks who have bad ssl client configuration may have trouble [20:25:38] I migrated from dev to live server. everything worked fine, thumbnails showed up no issue [20:25:51] now its only commons thumb, if i upload an image it shows just fine [20:26:07] this is the error: ForeignAPIRepo::getThumbUrlFromCache Could not download thumb [20:26:33] thanks brion, ill check my ssl client [21:59:30] hello, i have the following error when a new user logins to mw1.25 Notice: Array to string conversion in /srv/mediawiki/extensions/LdapAuthentication/LdapAuthentication.php on line 1722 Notice: Array to string conversion in /srv/mediawiki/extensions/LdapAuthentication/LdapAuthentication.php on line 1722 Fatal error: Call to a member function toString() on a non-object in /srv/mediawiki/1.25.10/includes/User.php on line 3506 [22:00:26] thierry not to ask dumb questions (but im upgrading too) did you make sure to download the 1.25 version of the extension, mediawiki, and run the update.php maintenance script? [22:00:31] the line in user.php refers to 'user_password' => $this->mPassword->toString(), in save_settings function [22:01:32] I'm running an old version of ldap auth. i have some issues with the 1.25 version of ldapauth [22:02:30] ah, ok. do i need to run php update.php even when upgrading extensions? [22:03:09] update.php depends on whether or not the software required it, but usually running it when not needed doesn't cause issues (I believe), and some extensions require it. [22:03:17] Did you at least run it after upgrading mediawiki core? [22:03:56] LDAP auth says it requires database changes. If you're changing versions (even if you ran update.php after installing the old version) I'd run it again [22:04:42] ok thanks. will try the matching version of the extension and a php update [22:10:55] you are right NDK|Cloud [22:11:03] it's safe to run update.php when unneeded [22:11:11] and sometimes it will be required [22:12:35] I thought it was safe :) thanks for confirming platonides [22:14:01] FlaggedRevs requres us to re-reveiw all pages that use a given template, when this template has been changed. How can we set the review policy to apply only to a page itself, not to pages in which it has been transcluded? thanks [22:22:31] doesn anyone know if this is still valid? http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions [22:26:48] mallu: what do you mean by "valid"? [22:27:08] hmm, whatever you mean, the answer likely is "no" [22:27:47] Can i check out from svn? [22:28:37] mallu: you would get an 2012-era extension [22:30:08] Dereckson: OK.. so I should use git [22:30:18] yes [22:30:22] i'm not sure if we even still host the svn repository [22:31:09] svn: E175013: Unable to connect to a repository at URL 'http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Cite' [22:31:12] svn: E175013: Access to '/svnroot/mediawiki/trunk/extensions/Cite' forbidden [22:31:25] oh indeed, svn.wikimedia.org is now a redirect to https://phabricator.wikimedia.org/diffusion/