[00:09:56] Anyone know how to manually change the configuration in the WikiEditor extension? Whenever I click "Publish" in the top right, a window prompts up that says "Publish to {{SITENAME}}". [00:09:56] *pops up [00:09:58] hi theatrex [00:10:07] I had to scroll up to find your question [00:10:18] Oh sorry. I should've restated it. [00:10:23] maybe [00:10:34] does it literally say {{SITENAME}}? if so that's a bug [00:10:42] Yes. It literally says that. [00:10:45] it's supposed to get converted into the actual site name [00:10:58] Oh jeez. [00:11:05] But yeah it literally says that. [00:11:08] ok [00:11:38] that's message wikieditor-publish-dialog-title [00:11:39] I was looking all over the WikiEditor.php file for an option to change that too haha! [00:12:19] it's used in modules/jquery.wikiEditor.publish.js [00:12:29] english copy is in i18n/en.json obviously [00:12:41] So if I visit that file, I can manually change it? [00:14:29] yes [00:14:29] but [00:14:39] it's a better idea to go to MediaWiki:wikieditor-publish-dialog-title on your site [00:14:41] and change it there [00:15:42] How odd.. [00:15:56] I went to that page, it says the name of my site. [00:16:12] yeah [00:16:28] the view tab will convert it from wikitext to html [00:16:31] (iirc) [00:16:33] go and edit it? [00:17:58] I edited the file and manually put it the site's name but it still comes up the same. Should probably over-ride my browser's cache.. [00:18:41] Yay it's working! :) [00:19:56] yeah caching often gets in the way of things like this [00:20:43] I have another problem that's been lurking around much longer than that issue however. It's with the SocialProfile extension. [00:20:53] And it's been a thorn in my side. [00:22:28] Basically, when I look account my profile, it says "User:FOOBAR" (FOOBAR is just an example name) at the top and it also says it on the SocialProfile menu on my profile. [00:22:37] And I can't figure out how to get rid of it. [00:22:58] By "it" I mean the page title that says "User:FOOBAR". [00:48:00] Hello [00:48:30] Question: I don't suppose it's possible to keep the RC feed alive using the API, right? [00:49:02] Oh [00:49:14] Just noticed the rccontinue tag [00:57:57] when i copy the media wiki files and folders to a other server and also the renamed database ... then i should edit the settings.php and it should work? or is there more i have to do or is it not possible at all? [01:07:10] !backup | Rabutz [01:07:10] Rabutz: See http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki for information about backing up your wiki. For restoring your wiki, see http://www.mediawiki.org/wiki/Manual:Moving_a_wiki#Import_the_database_backup for more. If you don't have database access, try !grabber. [01:10:27] I'm having issues with the SocialProfile extension. When I look at my profile, it says "User:FOOBAR" (FOOBAR is just an example name) at the top of the page but "FOOBAR" on the SocialProfile menu on my profile. I can't figure out how to remove the page title when viewing the SocialProfile. :/ [01:11:03] theatrex: is your wiki public? [01:11:09] Yes [01:11:20] theatrex: can you link to an example of the problem? [01:11:26] Sure [01:11:36] https://corningwiki.org/index.php/User:Iarerootkek [01:13:51] thanks it looks cool i will try to copy my wiki :D [01:14:11] theatrex: its an issue with your custom skin [01:14:24] Ah damn. [01:14:31] theatrex: https://corningwiki.org/index.php/User:Iarerootkek?useskin=monobook [01:15:12] Any idea as to what may be causing it? [01:15:41] theatrex: look at how the page title is generated in you skin vs monobook or vector [01:15:54] suspect its javascript/css related [01:16:01] I am not a skin expert [01:16:47] Where do I view that exactly? The /path/to/wiki/skins directory? [01:19:37] theatrex: I am not sure [01:23:06] Hmm. I'm looking but I can't spot anything obvious. [01:27:05] Is there a page like MediaWiki:SocialProfile or something where I can edit that out? [01:28:43] theatrex: No, its cause by your skin, not mediawiki [01:29:07] if it was a mediawiki message, it would appear on all skins [01:30:52] Ah, yeah true. [01:30:56] Hmm. Well crap. [01:31:48] and its not javascript related either [01:32:51] I'm looking over the CSS right now. [01:34:56] theatrex: looks like its hidden by css [01:36:23] I'm looking through the css and haven't found anything so far. [01:54:23] Ah it's no biggie right now. I can fix it down the road :) [02:37:47] who is good with version control [02:42:01] we want to perform git bash here in a folder. [02:43:20] we want cammand git to auto update the files in that folder from it's source into the folder in realtime. [02:51:39] Jehovahsays: wrong tool, see rsync [02:52:14] ok. [02:52:59] no wrong tool. [02:53:53] Jehovahsays: git isnt used for continuous syncing [02:54:26] we want to sync the mediawiki core [02:55:19] auto update the files and folders with the git repo [02:55:51] Jehovahsays: why? [02:56:15] why not? [02:56:35] Jehovahsays: core is often broken and shouldnt be used in production [02:56:53] using a stable release is suggested [02:57:00] and we are not worry about that. [02:57:10] Jehovahsays: why not? [02:57:23] that is a warning for the faint of heart [02:57:37] none tech [02:58:13] Jehovahsays: No its not, Ive been working with mediawiki for a LONG time, thats not a suggestion, its a rule, using git checkout is begging for a nightmare [02:59:03] we don't have nightmares. [02:59:29] we solve nightmares. [02:59:31] Jehovahsays: example, the recent skin changes would break your site if you did automatic updates [03:00:11] we are not worried about that just give us our answers so we can move on. [03:00:57] we are facing your fears for you. [03:01:19] Jehovahsays: I dont have fears, I am just looking at a stupid idea [03:02:08] we didn't ask for your opinion betacommand we ask for your mediawiki answers. [03:02:40] don't act like these other smart asses just be you. [03:03:02] we like your straight forward answers [03:03:21] Jehovahsays: Im not being a smartass,. I am trying to stop you from shooting yourself in the face [03:03:21] it helps keep moving torward the future faster [03:03:58] Jehovahsays: are you developing code, or just running a website? [03:04:07] why? [03:04:55] Jehovahsays: a production website shouldnt use the current git head [03:05:01] Jehovahsays: wikipedia doesnt even do that [03:05:21] betacommand look at the version we are using on mediawiki website https://www.jehovahsays.net/index.php?title=Special%3AVersion [03:06:13] Jehovahsays: https://catpissforbreakfast.files.wordpress.com/2014/12/shoot-yourself-gun_tfxnt_6648.jpg [03:06:16] thats what your doing [03:06:27] what is that? [03:06:38] Jehovahsays: take a look at the pic [03:07:04] running head on a production website is doing that [03:07:37] why can't answer our question? we will find the answer eventually. [03:07:58] we are not running the head [03:08:12] we are doing something else. [03:08:31] Jehovahsays: what are you doing? [03:08:38] git checkout master [03:08:45] Jehovahsays: that is running head [03:08:49] is that the command we use/ [03:10:01] Jehovahsays: If you want to be stupid and screw your site up every other week, you can write a cronjob to run git pull and run update.php every minute [03:10:30] but Ill grab some popcorn and watch your site crash and have a lot of problems [03:11:19] what about the github does it auto sycn with our close repo? [03:11:40] what? [03:11:51] i meant to type our cloned repo of the mediawiki core [03:12:18] what are you trying to say? [03:14:22] on our github account we cloned the mediawiki core now we want to download that clone to our desktop into a already named folder for it then we want to sycn the mediawiki core with the master keep up to date. [03:15:48] or we could use mingw32 and composer and learn how to sync them [03:16:11] Jehovahsays: you just need to do a git checkout of the mediawiki master [03:16:46] after the checkout you just need to do a git pull [03:17:17] a git pull will update it to the most recent changes [03:19:46] ok [03:20:10] but when your site is not working do not come here to ask for help [03:20:32] because something in the master will break your site [03:21:04] Its not a matter of if, just when [03:22:16] MediaWiki support - but when your site is not working do not come here to ask for help [03:23:16] Wikimedia development - because something in the master will break your site [03:24:07] we are becoming more advanced as we learn betacommand. [03:24:33] all we need to do learn not be held back. [03:24:53] thank you for answers our simple questions [03:25:34] Jehovahsays: Its not being held back its common sense, you have a production site, and a test site [03:26:35] we have a next question we found the answer for our first question cool [03:26:38] you update the test site makes sure nothing breaks, things are stable for a period, and then push that to the production. Then you update your test platform and repeat [03:27:45] For example, the larger wmf sites are running ~2-3 weeks behind the master [03:28:20] i succesfully could copy my wiki into a new virtual host and i also was able to copy and rename the table with the mysql worckbench, in the new wiki i just had to rename the admin user and this was easy done with the special: sites :D ... super cool ... ... it feels super :D [03:28:39] is there a difference between the the mediawiki download on github and this other repo where we cloned the mediawiki core master? or are they the same? [03:29:50] Jehovahsays: I have no clue about your config [03:30:12] !install | Jehovahsays [03:30:12] Jehovahsays: Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [03:30:43] !download | Jehovahsays [03:30:43] Jehovahsays: The latest stable release of MediaWiki can be downloaded from . Files are supplied in a .tar.gz archive. MediaWiki can also be obtained direct from our Git repository . [03:31:28] yeah it takes not so long ... to copy the whole media wiki or unpack it may takes longer then the install it self [03:31:29] we just need to know is this the mediawiki core where everyone is in ideal mediawiki workflow https://github.com/wikimedia/mediawiki [03:31:43] is that the master branch/ [03:33:02] Jehovahsays: if you see https://www.mediawiki.org/wiki/Download_from_Git you would know that master is https://gerrit.wikimedia.org/r/p/mediawiki/core.git [03:33:21] the master isnt hosted on github [03:33:32] i dont know ... i am new in this wiki scene and just installed it [03:33:57] Rabutz: anything you need help with? [03:39:20] yeah many things ... now i have installed media wiki and i chould copy it into a backup virtual host ... and all works .... the next would be to install a cool calendar ... i saw a view .... i did already try some ... last week ... before i did resetup the whole server stuff :)) ... one was nice with pages per event ... it would be perfect ... but i would also like a kind of day agenda ... whre i can insert events by day and time... i gu [03:39:46] cool. [03:40:12] Rabutz: Im not sure, do you know where you saw that in mediawiki? [03:40:36] there are like 3 calendars [03:42:02] https://www.mediawiki.org/wiki/Extension:Calendar ... its hard to decide which one is the best ... even with the table [03:43:11] awsome. [03:43:50] http://www.mediawiki.org/wiki/Gerrit/Advanced_usage#mediaviewer/File:GitWorkflow.svg [03:49:53] now we can continue what were doing thanks beta command [03:53:40] betacommand how would define a pull request... [03:53:49] Jehovahsays: git pull [03:54:12] from within the core directory [03:54:32] no. like an example of what a pull request does. [03:54:44] cool [03:55:06] we see it kind of [03:55:22] Jehovahsays: it updates the checkout to the most current version of the repository [03:55:43] thank you. [03:55:53] Jehovahsays: http://git-scm.com/docs/git-pull [03:56:20] even better more input [03:56:49] Jehovahsays: you know google does exist for a reason [03:57:24] sometimes google isn't human [03:57:54] sometimes google is just light and clock work [04:06:27] how do we update a fork? [04:06:49] Jehovahsay : ahhh another I,Robot fan ! [04:07:04] "just lights and clockwork" ! [04:19:11] ehh ... this composer with the json files ... some times he suggests to install other extenssions ... some times the suggestions are not from media wiki ... one i suggesting phpoffice/phpexcel ... will this work now in media wiki or or how shall i understand it? [04:22:20] composer said mediawiki/semantic-result-formats suggests installing phpoffice/phpexcel ... but i have media wiki .... shall i do it or not? [04:23:30] similar here mediawiki/translate suggests installing mustangostang/spyc .... will this run now in mediawiki ? [04:27:09] we have not try that option yet. [04:37:02] and what happens with this composer in detail ... as i understand he downloads and installs all dependencies ... but what happens if i try to install such a automatic downloaded extension later manualy ... in examplee the semantic bundle comes as a bundle ... but what hapens if i later install manualy just one extension of this bundle of which i was not aware of? [04:42:20] i think composer is easy and quick ... but now i see its maybe not so good ... some extensions come with composer but depend on git extensions ... so i guess a proper uninstall with the composer will not work automated ... so i will have to maintain git extensions and manual extensions and composer extensions .... maybe if i do all manualy it gets more centralized and i could find things better in a year or so if they are on one place [04:46:41] this is what i mean https://github.com/EnterpriseMediaWiki/SemanticMeetingMinutes ... 1 composer extension and 3 git dependencies ... how is composer able to uninstall them all if i drop the meetingMinutes? ... so i guess i will have to write down on a postit that if i uninstall the meetingMinutes i also have to uninstall the other extensions manualy.... its mindblowing [04:55:17] rabutz are you new? [04:55:30] yes! [04:57:37] one week i had to install all the server stuff and php and mysql ... then i installed the wiki and then some thing whent wrong ... then i reinstalled the whole serverstuff and the wiki ... then all was better than before :D ... and now i even found how to copy my wiki into different virtual hosts :D [04:57:50] so basicaly yes i am new :)) [05:02:55] cool. [05:39:12] Did MediaWiki remove the skin I was using recently, or someone else did? [05:40:10] which one? [05:40:30] Cologne Blue [05:40:50] Nostalgia was already removed and that is what I was using before [05:41:31] i see this bluu in the user options [05:42:25] nostalgia is not here as you said [05:43:44] How can I use a custom CSS to make it more like Nostalgia skin? [05:44:14] this is far over my scope ;( [05:45:30] some one should do a skiner extension :D [06:06:10] How can I make a custom JS to override the initial script loader so that isCompatible() *always* returns false so that it won't load any more scripts? [06:13:00] Where exactly does custom user scripts get loaded? [06:18:26] OK, now I can see [07:12:48] Greetings, is there a way to add a CSS style to a transcluded template? I have a template that loads a class=wikitable, but I'd like to transclude it with some border styling without modifying the template itself [07:37:44] o/ [07:38:14] when users navigate from page to page on my wiki, an '/' gets added after the domain name for each new page visited. why? [07:38:18] eg http://wiki.example.net///////index.php?title=E-mail [07:45:43] trailing slash in $wgServer? [07:53:16] nope. $wgServer = "http://wiki.example.net"; [07:55:11] perhaps this: $wgScriptPath = "./"; $wgScriptExtension = ".php"; [07:58:08] changing $wgScriptPath = "./"; to $wgScriptPath = "."; seemed to work. [09:07:02] Ouch, still 5k translation pages to migrate. https://www.mediawiki.org/wiki/Category:Languages_pages [09:47:17] anyone awake? [11:03:21] Newbie question on extension development here. I'm trying to sandbox some stuff in javascript quickly and just grab a PHP variable to store in a JS variable using the syntax var myJSVariable = ; but it's throwing up a "unexpected token <" error. Any idea why this isn't working? I have the MW javascript extension installed and am running the script from there... [14:21:49] is it a js or php error [15:32:29] Hi I wondering if its possible to set a table background depending on a expression. I fill a table form a Template with expression and I like to set the background to green yellow red and so on if the expression has the the value y n and so on. Any On a Idea I have here a pastie may it show a bit more clear my wanted aim. https://dpaste.de/kcE2 [20:49:27] @seen Jamesofur [20:49:27] Krenair: Last time I saw Jamesofur they were quitting the network with reason: no reason was given N/A at 12/20/2014 3:12:10 AM (17h37m17s ago) [21:47:42] PleaseStand, i made the relevant changes in T78637.Kindly review my patch. [22:38:12] hello, i have started with the initial set up - installed git, created gerrit account, added ssh key to gerrit account. [22:38:33] but when trying to ssh connect to Gerrit I am getting network unreachable message [22:39:05] the command that i am trying is - ssh asrajmane193@gerrit.wikimedia.org -p 29418 [22:39:31] i tried changing the port to some random one 29000, still no luck [23:05:30] atul: are you behind a proxy?