[00:21:48] What is the current best-practice for installing/maintaining mediawiki? [00:40:24] hi [00:40:34] there is a problem with my account on mediawiki [00:40:39] I've a global account [00:41:02] when I give my email adress to reset it => There is no email address recorded for user "Popolon". [00:41:30] when I try to create account it say there is already one ? [00:41:40] hello [00:42:07] I'm loged on fr/en/wikidata/commons/... [00:42:35] so… what exactly is the problem? [00:42:38] I already used mediawiki account to transfer image from a specific wiki to commons [00:42:54] MatmaRex: I can't log on www.mediawiki.org [00:43:27] so I can't use tool to transfer from ru.wikipedia to commons with commonshelper [00:45:13] popolon: what exactly happens when you try to log in? are you sure you're typing the password correctly? [00:46:07] perhaps it's different from commons or fr ? [00:46:19] if that's the case, I use a wrong password [00:46:24] perhaps [00:46:38] but anyway I can't ask to reset it on commons [00:47:00] because it says there is no email associated to account :( [00:47:17] and global accoun seems to be dissociated from him [00:47:25] well, presumably there isn't one? [00:47:34] the global account appears fine, at a glance. [00:47:44] https://www.mediawiki.org/w/index.php?title=Special%3ACentralAuth&target=Popolon [00:48:09] it's possible for your password on different wikis to be different, i think… [00:52:01] how can I reset it on mediawiki then ? [00:52:16] I used commons helper few weeks (or month) ago [00:54:57] ok connected [00:55:04] I will reset password to the same than other [00:55:08] thanks and sorry [00:55:19] didn't work at first time, perhaps mispelled it ??? [00:57:35] ... [00:57:47] so now commons helper write I'm not connected :( [00:58:25] ok [00:58:27] workd :( [10:50:16] hi guys, someone can help me in italian? thanks :) [12:01:49] hi [12:02:17] hi [12:02:46] I'm trying to install mediawiki and it stops at Creating main page with default content... [12:03:19] anyone knows where to look for errors or something? [12:18:06] Guest63535: What command were you executing? [12:22:42] no command [12:22:45] just install [12:23:07] i've put the files in a folder and I made web installation [12:23:26] it creates the database, every other step is marked as 'done' [12:23:58] but the page stops at 'Creating main page with default content...' [12:24:10] and the LocalSettings.php does not get created [12:24:57] i'm treying to set it up on windows 2012 [12:25:00] IIS [12:45:25] ...IIS [12:51:37] on windows [12:51:59] Internet Information Services [12:55:03] Guest63535: Can you please follow the installation steps given in https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker and notify if you get any error? [13:07:33] i did [13:07:38] and i ran php maintenance/install.php [13:08:05] Argument required! [13:08:25] after i ran it with [13:08:47] it says: The system cannot find the file specified. [13:09:56] Could you paste exact commands, instead of paraphrasing them? [13:10:11] Just to avoid misunderstandings. [13:10:52] php maintenance/install.php :xxxxxxxx [13:11:02] instead of xxxx is my name [13:12:54] which page do you exactly follow? [13:12:57] oir guide [13:17:07] https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki [13:20:29] Guest63535: If you are installing for development or testing, consider using MediaWiki-Vagrant, https://www.mediawiki.org/wiki/MediaWiki-Vagrant [13:24:10] Guest63535: if it says "The system cannot find the file specified.", and as "php maintenance/install.php" is a relative file path, either use an absolute path or or go to the correct folder first. That's my guess. [13:24:29] but I don't know what you're trying to do. If you "just" want to develop or test, I'd also recommend Vagrant, just like ankita already wrote. [13:35:05] eh [13:35:17] windows does not have / but \ [13:36:05] Also, what can it not find ? php or the install.php ? [13:36:22] also, file named iinstall.php does not exist [15:28:14] would anyone know why wgScriptPath doesn't work in the conf array? [15:28:31] example? [15:28:49] err, 2 mins [15:35:46] Reedy - https://github.com/WikiMissing/mw-config/blob/master/LocalSettings.php#L53 and http://wikimissingfoundation.org [15:37:29] Just looking at WMF config... [15:37:36] It has it in both InitialiseSettings and in CommonSettings [15:38:59] I suspect it's done for a reason [15:40:03] !rights [15:40:03] For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [15:40:07] I just removed it from IS in https://gerrit.wikimedia.org/r/260242 [15:42:31] the thing is, it works if I take it out of the array, but I don't see why it stops working if it's in the array [15:42:48] I've no idea [15:42:57] Maybe it gets set too late in the process [15:44:17] not sure [15:44:25] could it be the rewrite rules are wrong? [15:44:38] Maybe, but I wouldn't think so [15:45:04] Like I say, the WMF config has it in both, so for it not to be removed from the way not setting it in the array, suggests there's an issue [15:45:11] You could file a bug about it [15:48:28] http://pastebin.com/jS3KCc73 [15:56:29] oh, I think I see it [15:56:45] https://phabricator.wikimedia.org/T117899 [16:29:02] ok no, but it is having a problem pulling from the array [16:30:08] File a bug [17:51:03] does mediawiki have a cache for the urls it serves? [17:51:14] I'm trying to disable short urls but it keeps redirecting [17:52:22] what are "short URLs"? [17:52:56] foo.com/wiki/bar [17:58:50] Chiyo: I don't think mediawiki caches that but the browser might have a cache for 301 redirects [18:01:14] i've cleared it out, restarted apache but it still keeps it [18:05:46] Chiyo: Maybe try asking at the apache channel? [18:14:41] Glaisher: try using curl to test [18:15:09] curl never caches redirects [18:15:34] I think you meant to ping Chiyo [18:20:45] oh yes, i read the backlog too fast [19:23:47] hello! [19:24:24] hi [19:28:00] andre_ do you know of a way of knowing the amount of viewers any wiki page may have? [19:29:43] We removed the hit counters [19:30:55] what is that? [19:31:59] A rubbish implementation of knowing page viewers [19:32:13] https://www.mediawiki.org/wiki/RFC/Removing_hit_counters_from_MediaWiki_core [19:32:26] Suggested method is Piwik or Google Analytics [19:34:11] Reedy: ah, I see [19:36:42] aand, one more problemo: https://meta.wikimedia.org/wiki/Presentations/en [19:37:03] this page's pdf's don't open, click on them and you see pics [19:38:09] Which pdfs? [19:39:16] see the link? [19:39:34] in the file column, PDFs [19:44:21] https://meta.wikimedia.org/wiki/File:Turing100-talk-fin2.pdf works fine for me [19:44:24] first one on the table [19:47:56] Reedy, I have an example of T122009 now [19:49:52] Husun, please provide a specific example of a PDF link not opening on that page [19:50:06] Husun, I won't try all of them myself. :) [19:50:31] Red links will not open and that's intentional. Blue links should if they are not on external servers. [19:51:08] Husun, why are going through all these presentations and want to open them? :) [19:52:07] andre__ whooppss, my mistake, it was my internet troubling, :D [19:52:46] andre__ I'm not going through them, just having quick view to see what they are like. :D [19:52:52] ok [20:42:40] Chiyo: FYI https://github.com/WikiMissing/mw-config/blob/master/LocalSettings.php#L137 [20:42:45] Don't put ?> [20:43:08] I think that was added automatically, but I'll chop it off [20:43:26] It won't have been by MW [20:43:50] Is $wgSkin correct in eval.php after everything has loaded? [20:45:34] I note WMF does $globals = $wgConf->getAll() and then extract($globals) [20:47:37] Chiyo: Yeah, you're not following the instructions [20:48:00] https://github.com/wikimedia/mediawiki/blob/master/includes/SiteConfiguration.php#L102-L109 [20:50:53] woudn't that also be the efGetSiteParams part from https://www.mediawiki.org/wiki/Manual:$wgConf#for_1.14_and_newer ? [20:51:48] If it's done in a callback... [20:52:00] God knows when it gets run :) [20:52:30] But you're not putting them into the global scope either [20:52:43] $wgConf->extractAllGlobals( $wgDBname ); [20:52:45] You don't have that [20:52:51] Or some variant thereof [20:53:22] ah [20:53:36] well now that I know that github exists, I'll do some more reading :) [20:58:43] Chiyo: You've got that file in your checkout anyway ;) [21:16:37] ah! thank you Reedy [21:39:03] Why is mediawiki's API the worst in the world? [21:40:14] What's the worst aobut it? [21:41:15] show me the API query which tells if a page is disambiguation or not [21:42:02] "Why must every software bug that I personally experience definitely be the worst one in the world?" :P [21:42:51] I think disambiguation pages are a feature, or are they a bug? [21:43:08] sim642: more seriously, would you fancy help improving the API by providing a patch? For more info, see https://www.mediawiki.org/wiki/Developer_access [21:43:30] sim642: No, they're not really a feature [21:43:46] Not of the MediaWiki software anyway [21:44:25] andre__, so you're saying no person in the history of mediawiki, for 13 years, has ever needed to check programmatically if a page is disambiguation? [21:44:45] Have they been around 13 years? [21:44:57] sim642, https://lists.wikimedia.org/pipermail/mediawiki-api/2013-July/003080.html ? [21:45:12] sim642, "you can check if a page has the property using prop=pageprops, optionally with &ppprop=disambiguation" [21:45:18] Does that help? Or do I misunderstand? [21:45:51] Is that actually documented anywhere other than a single email? [21:46:01] Don't know. I don't read docs, I'm no programmer. :D [21:46:15] If it's not documented, a bug report in Phabricator is very welcome! [21:46:32] see https://www.mediawiki.org/wiki/Phabricator/Help [21:47:04] PageProps are new [21:47:05] "new" [21:47:26] New! [21:47:32] https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bpageprops [21:47:50] https://en.wikipedia.org/w/api.php?action=query&list=pagepropnames [21:47:54] !bug 1 | andre__ [21:47:54] andre__: https://bugzilla.wikimedia.org/1 [21:48:39] Is broken. Bugzilla == dead! [21:48:43] !task 1 | andre__ [21:48:43] andre__: https://phabricator.wikimedia.org/T1 [21:48:47] Cool. [21:49:02] should have taken T2001 though