[01:30:53] turns out it just doesn't work if you're using localhost:8080 to view the site. thanks for all the help [08:18:20] Hey Guys, Iam struggeling with updating my mediawiki-farm. Everytime i try to run the update.php Script, the following error is thrown: Fatal error: Cannot redeclare wfProfileIn() (previously declared in /srv/www/htdocs/masterwiki/includes/ProfilerStub.php:19) in /srv/www/htdocs/masterwiki/includes/profiler/Profiler.php on line 19 [08:18:55] and Ive already tried to delete the StartProfiler.php file. It doesnt help [08:20:09] WikiPatt: what version are you trying to upgrade to? [08:21:23] ive tried to update from 1.17.1 to 1.18 but I also get the error when trying to update to 1.19 [08:22:54] includes/ProfilerStub.php was moved to includes/profiler/ProfilerStub.php in 1.18 [08:23:16] so the copy you have in includes/ProfilerStub.php is probably left over from the old version [08:23:53] could you confirm that /srv/www/htdocs/masterwiki/includes/profiler/ProfilerStub.php exists, and if so, move /srv/www/htdocs/masterwiki/includes/ProfilerStub.php out of the way? [08:27:38] WikiPatt: sorry, it's late here, so I'm going to log off. I do think a leftover file from 1.17 is your issue, though. Good luck. [08:27:52] thankyou ori [08:28:08] but it doesnt work anyway :X [08:39:26] and Ive already tried to delete the StartProfiler.php file. It doesnt help. Iam trying to update from 1.17 to 1.18 [08:39:53] Hey Guys, Iam struggeling with updating my mediawiki-farm. Everytime i try to run the update.php Script, the following error is thrown: Fatal error: Cannot redeclare wfProfileIn() (previously declared in /srv/www/htdocs/masterwiki/includes/ProfilerStub.php:19) in /srv/www/htdocs/masterwiki/includes/profiler/Profiler.php on line 19 [08:40:19] Maybe u should try to delete the StartProfiler.php file. [08:44:32] * WikiPatt slaps Bratzer around a bit with a large fishbot [08:52:14] Hey Guys, Iam struggeling with updating my mediawiki-farm. Everytime i try to run the update.php Script, the following error is thrown: Fatal error: Cannot redeclare wfProfileIn() (previously declared in /srv/www/htdocs/masterwiki/includes/ProfilerStub.php:19) in /srv/www/htdocs/masterwiki/includes/profiler/Profiler.php on line 19 [08:54:24] Maybe u should try to delete the StartProfiler.php file. [08:55:18] * WikiPatt slaps AnalDefecation around a bit with a large fishbot [09:02:13] * WikiPatt slaps dizquierdo around a bit with a large fishbot [09:02:22] Hey Guys, Iam struggeling with updating my mediawiki-farm. Everytime i try to run the update.php Script, the following error is thrown: Fatal error: Cannot redeclare wfProfileIn() (previously declared in /srv/www/htdocs/masterwiki/includes/ProfilerStub.php:19) in /srv/www/htdocs/masterwiki/includes/profiler/Profiler.php on line 19 [09:04:03] * WikiPatt slaps _808db around a bit with a large fishbot [09:04:05] * WikiPatt slaps _`_ around a bit with a large fishbot [09:04:07] * WikiPatt slaps addshore around a bit with a large fishbot [09:04:09] * WikiPatt slaps aFreshMelon around a bit with a large fishbot [09:04:12] * WikiPatt slaps albinou around a bit with a large fishbot [09:04:13] * WikiPatt slaps AlexZ_ around a bit with a large fishbot [09:04:15] * WikiPatt slaps AmandaNP around a bit with a large fishbot [09:04:17] * WikiPatt slaps AnalDefecation around a bit with a large fishbot [09:04:18] * WikiPatt slaps andre__ around a bit with a large fishbot [09:04:20] * WikiPatt slaps anev around a bit with a large fishbot [09:04:21] * WikiPatt slaps anomie around a bit with a large fishbot [09:04:23] * WikiPatt slaps AntiSpamMeta around a bit with a large fishbot [09:05:08] * WikiPatt slaps SouthparkfanZNC around a bit with a large fishbot [09:05:14] * WikiPatt slaps RD around a bit with a large fishbot [09:05:17] * WikiPatt slaps physikerwelt around a bit with a large fishbot [09:05:19] * WikiPatt slaps pepijndevos around a bit with a large fishbot [09:08:18] Hey Guys, Iam struggeling with updating my mediawiki-farm. Everytime i try to run the update.php Script, the following error is thrown: Fatal error: Cannot redeclare wfProfileIn() (previously declared in /srv/www/htdocs/masterwiki/includes/ProfilerStub.php:19) in /srv/www/htdocs/masterwiki/includes/profiler/Profiler.php on line 19 [09:09:38] * SlapMe slaps Vedmaka around a bit with a large fishbot [09:13:57] Maybe u should delete your StarProfiler.php file @Bratzer [09:23:33] * SlapMe slaps Vito around a bit with a large fishbot [09:23:50] * SlapMe slaps White_Master around a bit with a large fishbot [09:30:04] * SlapMe slaps Christian75 around a bit with a large fishbot [09:30:09] * SlapMe slaps chrisc around a bit with a large fishbot [09:30:11] * SlapMe slaps ashley around a bit with a large fishbot [09:30:14] * SlapMe slaps AnalDefecation around a bit with a large fishbot [09:30:15] * SlapMe slaps AnalDefecation around a bit with a large fishbot [09:30:17] * SlapMe slaps AnalDefecation around a bit with a large fishbot [09:30:19] * SlapMe slaps AnalDefecation around a bit with a large fishbot [09:30:21] * SlapMe slaps AnalDefecation around a bit with a large fishbot [09:30:22] * SlapMe slaps AnalDefecation around a bit with a large fishbot [09:38:19] huh? [12:15:19] * Hitman_ slaps Reception_2 around a bit with a large fishbot [12:16:08] * Hitman_ slaps Trey314159 around a bit with a large fishbot [13:36:23] @seen sitic [13:36:23] Niharika: Last time I saw sitic they were joining the channel, they are still in the channel #pywikibot at 9/8/2015 1:13:41 AM (16d12h22m41s ago) [14:27:45] is it normal for jobs to stay in the job queue forever? [14:31:32] zerowaitstate: no, it's not [14:32:15] zerowaitstate: you can always use runJobs.php [14:32:38] zerowaitstate: https://www.mediawiki.org/wiki/Manual:Job_queue there you'll find an overview of how it works, maybe you need to tune some variables [15:15:33] hey everyone [15:16:06] are usernames on mediawiki always started with a capital letter? [15:23:40] ahh, it would appear so [15:23:54] jfive: yes [15:27:01] jfive, I think you can start with another character [15:27:05] but not a lower-case letter [15:30:29] Krenair: yeah it seems the usernames follow the same rules as pages, so i guess i have no choice :) [15:30:32] oh well [15:30:41] i just renamed my user using the Renameuser extension [15:37:07] hello [15:45:11] i have a questión about management user [15:45:45] go right ahead and ask it. :) [15:45:46] !ask [15:45:46] 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. :) [15:45:55] jfive: yeah, there's a bug filed about that somewhere. [15:46:21] jfive: there is actually a config option to allow lowercase-first page titles, but it's explicitly not available for the User: namespace. [15:51:03] do you speak spanish? [15:52:35] jasu: not well enough to talk about mediawiki, i'm afraid [16:07:51] jfive: no it doesn't follow the same rules as pages, unless you mean "provided $wgCapitalLinks = true". [16:08:22] ...which is what Matma just said, agem [16:30:29] Hi, one of our wikis (https://allthetropes.miraheze.org/wiki/Main_Page) is showing strange behaviour: when I edit any page, it actually edits the Main Page instead of the page you want to edit. Config is available at https://github.com/miraheze/mw-config. Any ideas? [16:33:53] SPF|Cloud: I can see this behavior on preview/show changes also... looks like the server is ignoring the title= parameter of the URL when the data is POST-ed [16:34:30] do you have any weird configuration on the front server like filtering parameters from requests or something like this? [16:34:50] looking [16:35:51] https://github.com/miraheze/puppet/tree/master/modules/mediawiki/files/nginx is our nginx configuration [16:36:16] This happens now for around ~1.5 hours. allthetropes is the only affected wiki afaik. [16:39:14] what I'd do here is to activate the debug log and see if the title param actually arrives to MediaWiki, to discard a configuration problem on the server [16:39:38] otherwise, an extension may be misbehaving if it's fiddling with $wgTitle [16:40:13] the extension thing may be the problem if this doesn't happen on other wikis [16:40:55] that happened once with Abuse Filter IIRC like a year ago [16:42:30] ok, will look [16:42:37] (we store debug logs of Mediawiki) [16:47:02] Vulpix: Start request POST /w/index.php?title=User:Southparkfan&action=submit [16:47:12] That thing looks good to me [16:47:36] [SpamBlacklist] Spam blacklist validator: [[User:Southparkfan]] not a local blacklist [16:47:49] yes, then the problem is an extension that's redefining $wgTitle somewhere [16:48:21] !bug 53498 [16:48:22] https://bugzilla.wikimedia.org/53498 [16:48:47] well, the AbuseFilter problem was different [16:49:25] VisualEditor, LiquidThreads, TitleBlacklist, AbuseFilter, SocialProfile mention '$wgTitle' in their code. I'll disable those extensions to see if that fixes something [16:51:49] Still occurs, even when disabling above mentioned extensions [16:53:30] try disabling all extensions [16:53:45] uhm.. okay? [16:54:15] maybe $wgTitle is not the culprit here [16:55:36] Literally all skins and extensions are now disabled [16:55:54] and still happens? [16:56:17] Blank page, looking [16:56:45] nvm had to disable a hook [16:57:04] Well it works now [16:58:15] great [16:59:04] https://allthetropes.miraheze.org/w/index.php?title=Special:Version [16:59:11] One of these extension is causing issues [17:00:54] Whoops! The default skin for your wiki, defined in $wgDefaultSkin as vector, is not available. [17:00:55] :p [17:01:24] I'll disable most extensions to see if they change behaviour [17:08:42] Vulpix: I've tested all extensions, and the extension InputBox is causing this issue [17:13:19] the problem about editing main page? [17:13:43] yes [17:13:46] ummm, wait, now I remember something already reported about this... [17:14:55] this is a problem of wikieditor + inputbox https://phabricator.wikimedia.org/T62133 [17:15:15] but should happen only using wikieditor's preview [17:15:18] Yes, we use WikiEditor [17:15:22] *ajax preview [17:15:57] no, read the first comment steps 4 and 5 [17:16:04] Type in a summary if inclined or needed and Click save [17:17:28] but after doing a preview [17:17:41] if you don't see the inputbox on the preview, it won't happen [17:19:05] Is it this hook? https://github.com/wikimedia/mediawiki-extensions-InputBox/blob/master/InputBox.hooks.php#L44 [17:20:09] no, hooks are not the problem here. The problem here is wikieditor on its own, because it places preview content *inside* the edit form, while normal MediaWiki editor places preview content outside the edit form [17:21:00] since inputbox adds a field to set a page title, submitting the form also carries the inputbox field with an empty title [17:21:09] and empty title = main page [17:21:51] a fix should be easy here [17:22:31] a workaround is to disable wikieditor-preview [17:29:05] Ok. [17:29:15] I'll see what I do. Thank you for your help. [17:45:51] need assistance -- installed MAMP and MediaWiki but cannot connect to database server while doing initial mw-config [17:46:38] MySQL server running on localhost port 8889 according to MAMP interface, but MediaWiki says "no such file or directory (localhost:8889)" [17:52:27] namedentity: use 127.0.0.1 instead of localhost [17:52:48] tried that and got "connection refused" [17:54:20] with the correct port number? a firewall may be blocking connections, then [17:55:33] aha, tried it again and it works [17:55:42] I hadn't actually put the whole 127.0.0.1:port [17:55:48] thank you! [17:56:32] yw :) [18:19:17] ahh, do I need to do something other than 'chmod 600' to LocalSettings.php? I'm seeing "LocalSettings.php" not readable, please correct permissions [18:20:38] namedentity: if you set permissions to 600, then the user running the server should be the owner of the file [18:23:09] both are me, I think [18:59:51] anyone here have experience with setting up the ldap extension? [18:59:56] I don't understand some of the configuration [19:00:52] Located here. https://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Examples [19:03:31] explain your issue and if someone that is around that can help, they will [19:07:58] Hi all, [19:10:02] I'm looking at the most recent nightly wikipedia database dumps for svwiki (Swedish). Table externallinks seems to contain a lot of links that are not a part of the page when I inspect it at Wikipedia. [19:10:24] Is it so that externallinks can contain old links that are no longer available in the page? [19:10:39] I.e. that it also contains historic links? [19:10:51] It shouldn't, but it wouldn't be impossible [19:11:14] kalle: note that it also contains links that are added through templates [19:11:24] If so, how would I go about to only list external links as of the current revision? [19:12:26] the api [19:13:17] As in one call per page of the whole site in order to collect them? Sounds slow. [19:13:41] well, you didn't specify that :) [19:13:43] I don't see a "noexpandtemplates" or similar on action=parse [19:40:16] Reedy: Vulpix: forget about it, it was links in the discussion namespace that got me. [20:04:10] !fileabug [20:04:10] https://phabricator.wikimedia.org/maniphest/task/create/ [20:05:10] I trust: petan\|w!.*@wikimedia/Petrb (2admin), .*@wikimedia/.* (2trusted), .*@wikipedia/.* (2trusted), .*@mediawiki/..* (2trusted), .*@wikipedia/MZMcBride (2admin), .*@wikimedia/Krinkle (2admin), .*@fsf/.* (2trusted), .*@unaffiliated/valhallasw (2trusted), .*@wikinews/bawolff (2admin), .*@unaffiliated/jeroendedauw (2trusted), .*@MediaWiki/.* (2trusted), .*@unaffiliated/ciencia-al-poder (2trusted), [20:05:10] @trusted [21:39:30] evening all. Is there any way to have the "Leave a redirect?" box UNchecked by default? [21:42:05] Person, you could set in your personal javascript that it unchecks it automatically [22:05:35] I'd like to do it for every user rather than me myself