[04:26:12] I have setup elasticsearch along with elastica and CirrusSearch extensions. On hitting http://localhost:9200/ i receive cluster description [04:26:49] I am trying to integrate elasticsearch to my local domain [04:27:54] How can I search my local domain through elasticsearch ? [06:47:20] Hello.. I need some help in setting up the development environment for WikiMedia [06:48:46] I got the code from git and created a symbolic link to it. Then when go to index.php I get "MediaWiki requires the PSR-3 logging library to be present." [06:49:42] How can I integrate this library? [06:57:03] bhagya: Hello. Which OS are you on? [06:59:03] ubuntu 14.04 [06:59:10] bhagya: you need this - http://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries [07:00:30] codezee: Thank you. I will follow these steps.. [07:00:32] :) [09:49:25] hi here [09:49:35] maybe a dumb question [09:50:15] ? [09:50:25] ask away [09:50:40] can i make a wiki page with a form to fill and having an "print button" on the wiki page, would generate a PDF replacing variable with data from the form [09:50:54] huh good question [09:51:15] svetlana: isn't it :) [09:52:34] extension 'Form' and 'Semantic Forms' come to mind, + 'Pdf export', but the content would have to go to an article before it can be printed [10:02:45] svetlana, i'll dig in these few extensions then :) [10:03:08] yes; and keep idling here as my answer might be off the track [10:10:51] svetlana: seems semanticforms can answer part of my question [10:40:07] hi, i need some help with the generateSitemap.php script. [10:40:31] it dies with A database query error has occurred. [10:40:31] Query: SELECT user_name,up_value FROM `user` LEFT JOIN `user_properties` ON ((user_id = up_user) AND up_property = 'gender') WHERE user_name = '𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁 [10:40:31] 𨮁喃' [10:40:31] Function: GenderCache::doQuery/MediaWikiTitleCodec::getNamespaceName [10:40:32] Error: 1300 Invalid utf8 character string: 'F0A8AE' (localhost) [10:43:00] the query is running fine with phpmyadmin [10:45:29] Hi there, I've copied my wiki site to my laptop and set it up with version 1.24 and sqlite. I keep getting an conflict everytime I try to update a page and it says "Someone else has changed this page since you started editing it" [10:46:08] There aren't any errors in the logs so not really sure what it could be? [11:06:49] quick, timezone of your db? [11:12:38] unicodesnowman: thanks I'm not sure how to check, but let me try. [11:27:05] unicodesnowman: sqlite> SELECT datetime('now'); [11:27:05] 2015-03-02 11:26:45 [11:27:17] It seems to be GMT which is right [11:43:25] how do I get a template to stick to the right of the screen [12:45:51] which template? [13:01:24] Not sure whether this is the right place to ask this, but how are the icons at the very bottom of this page licensed? And where do I find some page stating that it's under that license? http://www.mediawiki.org/wiki/Wikimedia_Foundation_Design/Agora_icon_set [13:02:22] http://www.mediawiki.org/wiki/File:Current_icon_draft.png <-- here I only find "Wikimedia Logos" in the license section, and a broken/nonexistant template [13:05:56] (I'd like to use them for a wikipedia userscript) [13:07:16] Hmm [13:07:22] That's a seriously outdated set of icons [13:07:30] And it doesn't seem to say how they're licensed anywhere :( [13:07:40] Where are more recent icons then? [13:07:56] Lemme see [13:09:05] There are like a dozen different documents about this and they're all different [13:10:20] Are the icons tied to the default theme? Maybe in the source of the default theme are some hints? (I don't really know where to find it though) [13:11:31] I think https://commons.wikimedia.org/wiki/Category:Wikicons is the latest one but I really don't know [13:11:49] OOjs UI has icons too, I do know where those are, and I know they're MIT-licensed [13:12:22] Ahh, thanks, that helps a lot :) [13:12:25] https://tools.wmflabs.org/oojs-ui/oojs-ui/demos/#icons-mediawiki-vector-ltr [13:14:02] Great, thanks :) [14:19:24] hey there [14:19:50] how to solve "page text won't appear" problem? [14:20:15] at the same time view/edit works fine and db is fine too [14:20:38] here's a live example http://wiki.m1itv.ru/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0 [14:21:24] Hi! [14:21:44] :) [14:22:35] also when new mediawiki wysiwyg editor will stop requiring nodejs? [14:23:39] Hi, I was reading about DataBase class -> select. It's about the ruturn value / option. In documantation is written: " If there was a query error, a DBQueryError exception will be thrown, except if the "ignore errors" option was set, in which case false will be returned". My question: Where do I find the "ignore errors" option? Found nothing documented about it... [14:32:47] hi, anyone a idea how to deal with a failing maintenance/generateSitemap.php? [14:32:53] http://pastebin.com/ycYMWZkE [14:47:24] so many idlers [14:47:31] :/ [14:51:24] aolko: VisualEditor won't stop requiring nodejs any time soon [14:51:46] aolko: In order for it to not need nodejs, the page content would have to be stored as HTML rather than wikitext, and that's still pretty far away [14:52:07] wingfire: That error message makes it sound like your database is misconfigured [14:52:24] But I don't know enough about that to help you fix it, unfortunately :( [14:55:33] ok, rest of mediawiki is working fine [15:01:04] still, "no text" problem is unsolved [15:01:51] as for visualeditor, then there's no way to install it on shared hosting with cpanel, am i right? [15:03:31] aolko: If you have shell access, you may be able to install it [15:03:55] It's been about 10 years since I last used cPanel, but I think it has a built-in shell thing [15:04:28] It may not allow you to install the nodejs package though, so that could make installing nodejs difficult (but not impossible) [15:06:32] i have ssh access [15:07:04] aolko: That missing text problem is very weird :O [15:07:05] and i "installed" composer that way [15:07:15] Even http://wiki.m1itv.ru/wiki/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%B5%D1%80%D1%81%D0%B8%D1%8F doesn't work [15:07:25] yep [15:09:44] Composer?! [15:09:48] But you're using MW 1.21.2 [15:10:00] That was released well before we used Composer [15:10:04] Did you use Composer to install any extensions? [15:10:15] that was for the other script, not mw [15:10:31] still no composer for mw [15:10:40] hmmm, did the Collection extension lose licensing informatin in recent versions? [15:11:21] in PDFs I mean [15:12:02] i see it works on WP [15:12:57] crap, git servers down [15:24:40] and it's back [15:55:37] still no solution? [16:17:24] in using the mediawiki api, is there a way to get contributors for a given title (or set of titles), but constrained to a specific time period? [16:17:56] prop=contributors does not seem to support this [16:18:08] harej: A naive solution would be to get all the edits with timestamps and then throw away the ones that are not in the time range [16:18:12] is there a limit to the depth of namespaces? i.e. can i have [[en:wiki:subwiki:supersubwiki:title]] ? [16:18:25] cgt: that seems expensive [16:18:42] It depends [16:19:02] *sigh* [16:20:12] harej: You could also get all the revisions within your time range, list their authors and deduplicate [16:21:21] while not the mediawiki api, you can just look just what you want using an sql statement [16:21:37] RoanKattouw: which documentation page will i want for that? [16:21:52] harej: prop=revisions [16:21:55] http://www.mediawiki.org/wiki/API:Revisions I guess [16:21:56] thanks! [16:22:43] and the timestamp format is yyyymmddhhmmss, correct? [16:23:15] try [16:23:50] RoanKattouw: one more question: for titles=, how many different page titles can i pass in at a time? [16:23:56] 50 [16:24:01] Duly noted. [16:24:07] If you're logged in as a bot user, 500 [16:24:18] (or sysop or another group that has the apihighlimits right) [16:24:31] still wondering: is there a limit to the depth of namespaces? i.e. can i have [[en:wiki:subwiki:supersubwiki:title]] ? [16:24:38] anyone know? [16:24:58] can namespaces even be stacked like that? [16:25:19] harej: The timestamp parameters accept pretty much anything that MW accepts as a timestamp, including YYYYMMDDhhmmss. Timestamp output is in ISO 8601 format like 2013-03-02T16:25:14Z [16:25:27] you can have en:Wikipedia:ArticleName [16:25:40] Gravis: One of those is an interwiki prefix and the other a namespace name [16:25:48] en: is an interwiki prefix, Wikipedia: is a namespace name [16:25:50] i suppose you could have a namespace that has a colon in its name, to give the illusion of a sub-namespace. you could also just do "NAMESPACE:Stuff:Blah" where Staff:Blah is a page within NAMESPACE, but that doesn't make it a true sub-namespace. [16:25:56] You can usually stack interwiki prefixes, but you can't stack namespaces [16:26:09] i see [16:26:15] RoanKattouw: thanks for the info! [16:36:01] "but the limit, startid, endid, dirNewer, user, excludeuser, start and end parameters may only be used on a single page." :-( [16:36:07] That just means I will have to query for one page at a time. [16:37:41] But that's what for loops are... for. [16:38:57] Yeah, sorry [16:39:19] The underlying SQL indexes didn't support doing that efficiently, so we decided not to allow it [16:40:50] Wow Firefox's profiling tools are terrible [16:41:07] I mean, my first impression of them so far is pretty bad [16:41:25] I'm profiling a VE load and the top results are plus.google.com and talkgadget.google.com [16:42:19] In other ways they're too good, because browser extensions implemented in JS (like https-everywhere.js) are included [16:42:33] That's simultaneously really cool and kind of annoying [16:44:33] it's very pretty though [17:31:05] in searchTranslations how do i select any group of aggregate groups of aggregate groups [17:44:48] in searchTranslations how do i select any group of aggregate groups of aggregate groups [18:14:12] I am trying to install CirrusSearch through readme file. While running this script "php /extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php" it throws error "Updating Main Page...couldn't create dynamic script!" [18:14:59] How can I update dynamic script? [18:15:14] *create dynamic script [18:51:16] https://www.mediawiki.org/w/index.php?title=Manual:LocalSettings.php&oldid=1427177&diff=1430322 which mediawikiwiki sysop would like to mark this change for translation? [19:22:01] * Nemo_bis sprizza FRiZzO [19:44:55] When translating 'How to contribute' on mediawikiwiki, I get the following error: "Het opslaan van de vertaling is mislukt: The page you're trying to edit is protected because it's included in a cascade-protected page" - can someone help me? [19:47:57] SPF|Cloud, what page? [19:48:24] 'How to contribute' https://mediawiki.org/wiki/How_to_contribute [19:52:29] SPF|Cloud: I tried to edit with translate interace and I dont see problems [19:52:54] Are you an admin? [19:53:37] no [19:54:14] hm [19:54:59] ok I see the problem. the save fail due to "Saving the translation failed: The page you're trying to edit is protected because it's included in a cascade-protected page" [20:02:40] What does i mean if I make a privateWiki using the install script and I can view it from my lan but not the web? I have the ports for http forwarded to the hosts IP and can see the directory listing but when I go to [wikidirectory]/index.php from the URL I get "Page cannot be displayed" [20:03:36] Nemo_bis, can you please remove the protection in [[mw:How to contribute/Translations‎]]? [20:06:45] Guest42339: what URL do you see when you get the error? Is the private IP/hostname? [20:07:02] eranroz: please use project:requests [20:07:41] [domainname]/index.php [20:08:01] no wait - [domainname]/w/index.php [20:08:10] Is this what you meant? [20:08:22] yes [20:08:36] Works fine from lan at 192.168.1.122/w/index.php [20:09:33] I have no index at domain name just the wiki directory "w" when I go to the domain name in my browser I see the directory listing [20:09:49] But when I click "w" I get page could not be displayed [20:09:52] but 192.168.x.x is not accessible from the internet, so you have to set $wgServer to the external domain name [20:11:50] Ok thanks - just changed that in LocalSettings.php I think that was the issue because it was set to "localhost" will report back if I have any further issues - Thanks again [20:15:32] I feel stupid - thank you Vulpix!! [20:15:47] no problem :) [21:22:03] Can I easily redeploy a local MediaWiki-Vagrant from a VirtualBox provider to AWS? [21:23:16] freephile: I don't know if anyone has ever succeeded in that or not. The current Vagrantfile does not support AWS as a provider. [21:23:47] The wiki that Mw-vagrant creates is not really tuned/hardened for being on a wide open host either [21:24:17] There are a lot of settings that are optimized for development and debugging rather than security [21:24:18] bd808: I see docker and vmware_fusion in the Vagrantfile, so I guess it might be... will need to exercise some Google-foo [21:24:38] freephile: Yeah give it a shot. I'd love to hear how it turns out [21:24:59] I've got a patch in review to add support for an LXC provider [21:25:27] I also have a patch to pull the Docker provider out. It really never worked [21:25:39] it *almost* worked. almost [21:30:53] bd808: You say "does not support AWS as a provider". I assume because it's not in there. Is there a reason that you know of why it won't run on AWS? [21:32:15] I don't know of anything that would block it explicitly. It will take some tweaking. AWS wouldn't be able to share directories directly with the host computer that was running Vagrant for instance. [21:32:27] I've got to learn a bit more about Vagrant, but one thing I think might be 'incompatible' is the NFS export/ directory [21:32:40] *nod* [21:33:20] Our base image for Ubuntu 14.04 is a stock image from Ubuntu so that shouldn't get in the way [21:33:34] ok, off to figure it out... will report back [21:33:39] neat [21:34:13] Feel free to open a phabricator task to keep track of the idea and any roadblocks you run into [22:16:26] Hi, I've a tiny question about skins - what's necessary to get tabs on the special:prefrences page to work?