[00:05:03] Whats this? " Notice: Uncommitted DB writes (transaction from DatabaseBase::query (LinkBatch::doQuery (for Skin::preloadExistence))). in /volume1/web/wikiprivat/includes/db/Database.php on line 4147 " [00:15:37] also, what do I do when most of my images is without thumbnail? they does not show... [00:15:42] *do [00:40:20] is there a way to request that the data for the most redlinked stuff gets updated [02:33:12] where can I request assistance in collaborating with people to get information regarding frequently queried things that have no page [03:13:35] sleighbells: https://lists.wikimedia.org/mailman/listinfo/wiki-research-l is a good starting-point. [03:14:16] ori thanks [06:26:23] hello [06:26:33] i could finally add one footer in my wiki [06:26:48] but i want to have 2 text as footer [06:26:52] i followed this [06:26:55] text one [06:26:59] enter [06:27:01] text 2 [06:27:04] but it show [06:27:07] text1 text2 [06:27:12] awith 1 link [06:27:17] could any body help? [06:37:51] i asked this question yesterday from you [06:37:57] thanks for your help:) [06:38:04] i found how could i add footer [06:38:10] but i just can add 1 footer [06:38:15] not two [07:30:01] to everyone, i am a first year b tech student. basically i have completed my c language course. can any one advise me what to do next [07:58:59] hello [07:59:08] i need to add two ffoter [07:59:12] footer* [07:59:26] i could add one text as footer [07:59:34] but i could not add two [07:59:40] i followed like this [07:59:42] text one [07:59:44] enter [07:59:49] tet 2 [08:00:20] but it show text1 text2 [08:00:27] could help me? [08:14:26] could anybody help me?? [08:20:49] are you online to help me? [08:21:06] sasan: I am tempted to point you to http://catb.org/~esr/faqs/smart-questions.html [08:21:32] sasan, you probably want to explain how you added one text as a footer. and you probably want to explain what you tried to put a second text to the footer. [08:21:43] don't make me guess. and don't ping random people, it's considered impolite. [08:22:01] : hello [08:22:06] thanks for your help yesterday [08:22:23] i have added footer by use of the link you sent me [08:22:30] but that link helped me to add one footer [08:22:44] i want to add 2 footer [08:22:57] understand my question dear? [08:24:37] sasan, you are in a public chatroom. [08:24:52] if you want anybody to help you, then "the link you sent me" is not the way. [08:24:56] be clear. [08:25:15] sasan, and let me repeat what I just wrote before: you probably want to explain what you tried to put a second text to the footer. [08:25:30] yes [08:25:50] my problem is it [08:26:05] for the others here: "link you sent me" = https://www.mediawiki.org/wiki/Manual:Footer [08:26:58] yes, you are right [08:31:02] i have folowed [08:33:06] i have followed thosesteps in [08:33:11] http://www.mediawiki.org/wiki/Manual:Footer [08:33:18] i can have just 1 footer [08:33:21] not two [08:33:25] you can see my wiki [08:33:31] parsintelligent.com/wiki [08:33:48] sasan, what have you tried to add a second text to the footer? [08:34:09] assume i add [08:34:13] text one [08:34:13] then after it [08:34:16] text two [08:34:22] i have follwed the link, [08:34:28] i add text 1 and text 2 [08:34:35] that's too vague. [08:34:42] MediaWiki:Termsofservice [08:34:44] please don't paraphrase. [08:34:54] why vague? [08:34:55] ok [08:34:56] how did you "add" exactly. [08:35:03] add footer? [08:35:23] if I have too guess from your words what exactly you did, it's too vague. [08:35:39] i want [08:35:48] to add two text in footer [08:36:05] one up and one lower than first one [08:36:12] now you understand? [08:36:31] no. [08:36:43] assume i want to add sth link it [08:36:45] Pars Right [08:36:48] Pars ddress [08:36:57] one up and then second one lower [08:37:00] what's the code you tried? can you paste the code that you tried for adding the first AND the second footer somewhere? [08:37:09] each one refer to special page [08:37:16] to some website or such? like http://pastebin.com/ [08:37:27] i add [08:37:42] pars right [08:37:45] enter [08:37:48] pars address [08:37:52] in MediaWiki:Termsofservice [08:38:42] I don't know what "pars" is. [08:38:51] pars in name dear [08:38:54] just a name [08:38:55] can you paste the code that you tried for adding the first AND the second footer somewhere, like on pastebin.com [08:39:15] pastebin.com is forbiddon in my country [08:39:19] i tried this now [08:39:25] but it is forbiddon [08:39:37] then use a differrent page. [08:39:46] http://fpaste.org/ or whatever :) [08:40:29] i have pasted [08:40:33] you can see? [08:42:01] i paste those codes in MediaWiki:Termsofservice [08:42:05] page of my wiki [08:48:33] sasan_, if you don't tell where, nobody can see it except for you. [08:48:50] the question was: can you paste the code that you tried for adding the first AND the second footer [08:48:57] i told you i use this code in MediaWiki:Termsofservice [08:49:02] i told these 100 times [08:51:19] sasan_, that's not my question. [08:51:29] the question was: can you paste the code that you tried for adding the first AND the second footer somewhere, and give me the link to it. [08:51:47] http://ur1.ca/i6gj3 [08:52:24] that's not what I asked. [08:52:39] I have no idea where that is from. [08:52:44] what's the *code* that you added? [08:52:53] PHP. [08:54:16] please se this [08:54:17] http://ur1.ca/i6gkz [08:54:26] i add these codes in local setting.php [08:54:51] and then i go to MediaWiki:Termsofservice [08:54:52] and that code supports exactly adding one link. [08:55:04] my question was: can you paste the code that you tried for adding the first AND the second footer somewhere, and give me the link to it. [08:55:17] i just add this code [08:55:19] so second link is just the text (not code) that you tried? [08:55:21] not anything [08:55:24] yeah. that code can add one link. [08:55:26] ONE. [08:55:36] how can i increase [08:55:37] ? [08:55:42] to two link? [08:55:55] do you understand what the code does? [08:56:12] you mean thsi [08:56:13] http://ur1.ca/i6gkz [08:56:14] ? [08:56:28] yes. [08:56:37] we haven't looked at any other code so far. [08:56:39] it just add termo service [08:56:55] do you have an idea how to add something else than "termo service"? [08:57:16] so what would you do if you wanted to add not the terms of service, but something else there? [08:57:33] oh [08:57:36] you mean if i add [08:57:44] some thing, not teram of service [08:57:53] i can add another [08:57:54] yes? [08:58:01] my question was how you would do that. [08:58:08] that code is example code. [08:58:13] code can be changed. [08:58:17] let me try this [08:58:20] i show you [08:59:23] http://ur1.ca/i6glp [08:59:23] please see this one [08:59:29] i can follow this [08:59:30] yes? [08:59:44] for any desired text [08:59:45] yes? [09:02:26] am i right? [09:02:36] sasan_, probably. why don't you try it? [09:02:46] i am tringLd [09:02:49] i am tring:d [09:03:14] and if you add a second function like this, you probably want to also rename 'lfTOSLink' for the second one. [09:05:39] please see [09:05:41] i added [09:05:42] http://ur1.ca/i6gml [09:05:47] it is not working [09:06:06] my wiki is not loading [09:07:17] wait, maybe i can find out the problem [09:08:21] yes, it is ok, but it shows the second one bside [09:08:32] i want to have them upper and lower [09:08:33] not beside [09:10:47] (andre__, you are the nicest) [09:11:24] ori: not really, just patient. :) [09:13:05] you can see my wiki [09:13:10] parsintelligent.com/wiki [09:13:22] you can see that both footer is places beside [09:14:17] please post full URLs so I can click them [09:14:21] you miss http:// [09:16:57] http:..parsintelligent.com/wiki [09:17:02] http://parsintelligent.com/wiki [09:33:34] : what happened? [09:33:40] could you find the problem? [09:33:57] sasan_, what problem? what happened where? did you ask me a question? [09:34:10] i asked you, you see my wiki [09:34:20] both footer placed beside [09:34:20] could you quote the question? [09:34:34] is that a question? looks like a statement. [09:34:37] i want them to be placed upper and down of each other [09:34:39] h eh e:d [09:34:41] yes, both footers are placed beside, correct. [09:34:59] Sure. I won't stop you from doing that. [09:35:08] yes, but i want not beside [09:35:22] i should add a code [09:35:27] you should. [09:35:34] how? [09:36:10] oh, a question. :) [09:36:16] I don't know. [09:46:16] sasan_: but as those HTML elements are all
  • elements, I guess you could change the CSS accordingly, e.g. by removing the "float: right;" [09:47:49] what? [09:47:53] could you help me more? [09:49:06] not before you've tried to google that and find out yourself :) [09:49:17] https://www.mediawiki.org/wiki/Manual:CSS [09:49:47] or in short: you can likely achieve what you want by removing one line. [09:49:54] good luck, I'm out for now. :) [09:50:07] which line?? [09:50:17] I wrote that above. [09:50:19] please help?? [09:50:25] I did help you already. [09:50:27] which? [09:50:32] please tell me again [09:50:33] please [09:50:35] :( [09:50:36] "Help" to me does not mean "let somebody else do the complete work". [09:50:43] "Help" to me means: Provide hints. [09:50:53] I explained above already. [10:28:15] hello [10:30:36] hi finch_ [10:37:39] hey [10:37:48] how this works? [10:38:03] is this a global ? [10:40:21] hello andre [10:40:33] hi finch_. [10:40:56] how did u hide ur ip? [10:41:55] Clerks. [10:42:22] ? [10:42:24] (Assuming u stands for you and ur stands for your.) [10:42:27] ! [10:42:27] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [10:42:59] https://www.mediawiki.org/wiki/MediaWiki_on_IRC provides some general information on using IRC (though might not cover your specific question). [10:43:30] ok..thank you [11:10:07] Hey. I'm trying to get the shorter urls, removing the "/index.php" part of each url. I have edited ".htaccess" and "LocalSettings.php" as adviced by the automated wizard I found on the mediawiki page http://www.mediawiki.org/wiki/Manual:Short_URL/Apache [11:11:47] There's two problems. One is that the links are redirected to "/wiki/wiki/Page" rather than to "/wiki/Page". The other is that neither of those links works, it says "not found". "/wiki/index.php/Page" links still works. [11:15:46] Xzenu: if /wiki is the real directory where your index.php resides, you can not use it for the virtual path. [11:19:46] what do you mean? [11:19:48] by removing the "float: right;" [11:19:50] ? [11:20:00] that's CSS [11:20:33] you mean i add [11:20:43] float: right; [11:20:46] ? [11:21:06] does "remve" and "add" mean the same to you? [11:21:09] Hi FoxT: My wiki is located in the "www.servername.com/wiki" folder. As I gave the URL to the wizard, it told me to make the folölowing .htaccess: [11:21:10] *remove [11:21:29] RewriteEngine On [11:21:30] RewriteRule ^/?wiki/wiki(/.*)?$ %{DOCUMENT_ROOT}/wiki/index.php [L] [11:21:30] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f [11:21:30] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d [11:21:30] RewriteRule ^/?wiki/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/wiki/thumb.php?f=$1&width=$2 [L,QSA,B] [11:21:30] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f [11:21:31] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d [11:21:31] RewriteRule ^/?wiki/images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/wiki/thumb.php?f=$1&width=$2&archived=1 [L,QSA,B] [11:23:49] Hmm, I just got disconnected. Probably my internet connection. If I got booted for spamming, I apologize. (If anyone posted since my previous post, I didn't recieve it.) [11:24:40] Xzenu: :D next time use dpaste.de or similar [11:25:25] Xzenu: Anyway that second line looks not right. [11:26:01] i confused realy [11:26:04] please tell me [11:26:08] the right one [11:26:09] please [11:26:13] i confused realy [11:26:31] sasan_, I would only repeat my words from above. What is unclear with what I wrote? [11:27:12] Thanks for the link, I have bookmarked that page now. Oh, and the second line of htaccess does say wiki/wiki. Strange! [11:31:56] i should add sth in mediawiki:common.css [11:31:57] ? [11:32:20] why do you think so? [11:32:53] maybe [11:33:02] that's not an answer to "why". [11:33:28] you told me i should write css [11:33:55] so i think that i should add sth in common.css [11:33:56] ? [11:33:58] no, I never did. If I did, show me the quote. [11:34:23] guess you could change the CSS accordingly [11:34:39] yeah, "change" maybe. I never wrote "add". [11:34:43] I wrote "remove". [11:34:48] yes, [11:35:00] so in where i shsould remove ? [11:35:02] common.css? [11:35:11] do you see any such CSS code in common.css? [11:35:35] no, i do not see, i searched in my common.css [11:36:07] so I recommend that you start the Developer Tools of your browser and find out from which file that specific line comes from, and hence which file to edit. [11:39:46] andre__: FWIW, it's certainly an interesting conversation and all that, but it might indeed be best to change mw:common.css. If MW CSS files are changed directly the changes will be lost on the next MW update [11:40:26] [11:40:28] footer-places-foot2 [11:40:29] Okay! I changed that second line, removed the extra "/wiki". This solved one of my two problems! I still have the "/wiki/wiki" instead of simply "/wiki", but now it works. (before, the two problems was that the URL was wrong and that the page wouldn't load. Now the link is still wrong, but at least the page will load. :-) [11:40:32] this is the id [11:40:51] you mean this? [11:41:16] FoxT: ah, thanks for correcting me then! [11:41:31] so I should better shut up I guess with my half-knowledge. :) [11:42:05] what do you mean? [11:42:14] what I just wrote. [11:42:14] i do not understand you:( [11:42:22] and I don't know what's your question. [11:42:23] h ehe:d [11:42:33] he he, i asked you 100 times [11:42:43] just make the second footer to next line [11:42:45] just this [11:43:01] andre__: Not at all, but combined with my half-knowledge we might achieve something. :D [11:43:15] :d [11:43:26] i found out its id [11:43:38] now i should write special code? [11:43:51] sorry [11:43:52] remove [11:43:56] special code [11:44:43] sorry i made you disturb, just help me with it [11:44:56] LOL! I'm now aboe to slove one problem at a time... but not both at the same time! Changing the localsettings line "$wgArticlePath = "{$wgScriptPath}/wiki/$1";" to "$wgArticlePath = "{$wgScriptPath}/$1";" solved my remaining problem... but brought me back to the [11:44:56] "404 - Not Found - The resource requested could not be found on this server!" error. [11:45:06] sasan_: two hours ago I wrote: sasan_: but as those HTML elements are all
  • elements, I guess you could change the CSS accordingly, e.g. by removing the "float: right;" [11:45:22] "able to solve"* [11:47:17] i have checked, there is no flot:right [11:47:25] in order, that i remove [11:48:08] i have checked, but there is no float:right [11:48:14] such that i can remove [11:48:29] sasan_: Add the following line to your MediaWiki:Common.css: div#footer #footer-places li { float:none; } [11:49:30] its name is footer-place-foot2 [11:49:36] so i should add [11:49:47] div#footer #footer-places-foot2 li { float:none; } [11:49:49] ys? [11:49:52] I tried changing the other thing in Localsettings that mentioned /wiki from "$wgScriptPath = "/wiki";" to "$wgScriptPath = "";". That didn't help at all, merely facked up the scripts. Changing that one back. Sorry for being a noob, I'm kinda working blind here as I'm not a programmer. [11:50:13] Xzenu: If your index.php is at /wiki/index.php, you will not be able to have /wiki/PageName (to my best knowledge). Maybe better go for /w/PageName [11:50:29] sasan_: yes [11:50:32] oh [11:50:45] sasan_: NO! [11:50:54] Add the following line to your MediaWiki:Common.css: div#footer #footer-places li { float:none; } [11:50:58] the folder must not be named "wiki"? [11:51:29] on wikipedia and mediawiki, the folder is named wiki. And they both have the short URL:s. :-/ [11:51:34] Xzenu: Yes. No.Maybe. :) The point is, the names of real and virtual path must be different [11:51:43] : yes it is worked [11:51:54] just tell me that command what should it do? [11:52:25] Ah! So the URL will still be "/wiki", but forthat to work, the FOLDER must be named "/w" instead? [11:52:40] Xzenu: Yes, that would work [11:52:57] sasan_: See https://developer.mozilla.org/en-US/docs/Web/CSS/float [11:53:25] Awesome. So, I'll simply rename the forlder to w. However, I guess some lines in Localsettings should refer to /wiki and some to /w? [11:53:37] Xzenu: Yes, probably [11:57:46] or rather index.php. Hmm [11:58:01] shoudl I even edit that one? [11:58:05] Xzenu: That should definitely not be necessary [11:58:11] good [11:58:45] I renamed the folder to "/w", still getting the 404 error. [11:59:38] Xzenu: Check the rewrite rule again. The second part needs to point to the new directory [12:01:41] Ah, so "RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/wiki/index.php [L]" should be changed to "RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]" ? [12:02:21] Xzenu: I think so [12:04:42] sadly, it didn't. the only effect was that the scripts are facked up again. (the wiki is still available at /w/index.php/Main_Page) [12:06:53] Xzenu: what message do you get if you just go to http://URL/wiki? [12:08:03] Is it possible to click on image and have it direct to a URL? [12:09:23] Okay, scripts are back online, changed the script paths in localsettings to "/w" as well. I can still access the wiki only through "/w/index.php/Main_Page". If I enter "/wiki", it gives the "404 not found". If I enter "/w", it gives the same error... but also changes the URL to "w/Main_Page". [12:09:28] It would be quite nice if I could embed the http:// source as a property of the image, but I can't see any way to do that [12:12:05] Xzenu: IIRC you set the script path in LocalSettings. Did you also set the Article path? Should be something like "$wgArticlePath = "/wiki/$1";" [12:16:23] It used to be like that, but it gave me the "/wiki/wiki" problem. Changing it to "$wgArticlePath = "/$1";" solved that. I can try changing it back. Btw, rootaccess was mentioned twice more in htaccess. I tried changing them both to "/w". Didn't help. [12:17:10] oh, wait [12:17:42] It is currently "$wgArticlePath = "{$wgScriptPath}/$1";" [12:18:48] since ScriptPath is already "/w", adding a "/wiki" there should give the same problem again... but maybe I shoudl remove scriptpath from articlepath [12:20:14] Xzenu: Just try "$wgArticlePath = "/wiki/$1";" for a moment. Your remrite rules have changed, so the wikiwiki problem should not come up agaon [12:22:29] I think that was a step in the right direction! "/w" now properly redirects to "/wiki/Main_Page". Still getting the "404 not found", however. [12:22:59] Hmm, maybe the remaining error is something I did right before, but changed because it didn't work because this part was wrong. [12:25:41] still getting the 404, but setting scriptpath to "/wiki" doesn't break the scripts anymore. [12:26:16] The ScriptPath should be /w [12:27:15] (Still have to use "/w/index.php/Main_Page" to access the wiki.) Okay, changing that back. Was it right of me to change "RewriteRule ^/?wiki/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/wiki/thumb.php?f=$1&width=$2 [L,QSA,B]" to "RewriteRule ^/?wiki/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/w/thumb.php?f=$1&width=$2 [12:27:15] [L,QSA,B]" in htaccess? [12:27:34] I thinhk so [12:31:25] Hmm... the "RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]" means that whenever a URL contains "wiki" then this is reinterpreted as "w/index.php", right? [12:32:05] and it is correct of me to have this htaccess file in the "/w" folder? Or should it be elsewhere? The wizard told me to put it in the wiki folder. [12:33:02] Xzenu: That'S how I understand it [12:33:22] Although it should probably not be in the /w folder [12:33:59] With a URL like http://foo/wiki/SomePage it would never know to look in the /w directory [12:34:32] Yeah, that would explain why the translation only works in one direction. [12:34:42] Maybe try putting .htaccess in the root folder. [12:34:47] Trying to put it in the root forlder [12:35:44] it... it... WORKS! [12:35:59] \o/ [12:37:56] So many thanks [12:41:53] Now I'll just have to create a few "/wiki/index.php/page_name" pages as redirects to the real new pages. As legacy redirects for links I have already shared with people. :-) [12:43:21] Ugh, hairy. Have fun. :) [12:45:05] No problem, finished already. :-D But thanks again. Today I had two problems, and the by far most important one of them has just been resolved. <3 [12:45:53] The other problem is that I'm trying to create sidebars on my wiki. I have installed Scribunto, and the extension seems to work... but I gail to create the modules I need to get a sidebar going. [12:46:54] * FoxT never got the hang of Scribunto. [12:52:53] * Xzenu neither :-) [14:58:05] hi [14:58:20] i am php developer [14:58:35] i want to start the work on mediawiki [14:58:40] please guide me [14:58:49] !start | sofat [14:58:49] sofat: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [14:59:01] bonjour : currently trying to update mediawiki [15:16:37] xtof: how far have you gotten? [15:18:14] @PIRSquared : Bonjour, I’m a totally newbie currently reading pre-requisite xtof.me/w/Manual:Upgrading/fr#Avant_toute_chose [15:26:11] xtof: avez-vous lu la page ? [15:28:10] PIRSuared : oui c’est lu ! Database backup is not so easy…. A bit afraid with the command line http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki/fr But I will find the way ;) [15:28:47] xtof: did you install with tarball or git ? [15:29:06] (not that it has anything to do with backup) [15:29:43] my first install last year was via FTP … I hope to be able to SSH (I’m a non programmer) [15:30:14] ok [15:56:57] sir i want to contribute mediawiki [15:57:05] in mediawiki [15:57:29] how i do this? [15:57:38] please guide me [15:57:57] sofat: have you read https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker? [15:58:11] yes [15:59:02] First, you can request developer access (to git) https://www.mediawiki.org/wiki/Developer_access [15:59:37] i made one extension in mediawiki [15:59:38] To start, find something easy to fix https://bugzilla.wikimedia.org/buglist.cgi?bug_status=NEW&bug_status=REOPENED&columnlist=product%2Ccomponent%2Cchangeddate%2Cbug_severity%2Cpriority%2Cshort_desc&keywords=easy&keywords_type=allwords&order=changeddate%20DESC%2Ccomponent&product=MediaWiki [15:59:42] sofat: which? [16:00:04] this is project in GSOC [16:00:21] i convert this project into mediawiki extension [16:00:29] Okay. [16:00:47] You want to read https://www.mediawiki.org/wiki/Manual:Developing_extensions [16:01:31] sir know this. [16:01:55] What do you need help with *specifically* ? [16:02:25] How to commit it to Gerrit? [16:03:00] i want to create skin for mediawiki and also want to contribute in mediawiki [16:03:29] otherwise sir you give me some kind of work [16:03:32] in mediawiki [16:04:40] To create a skin, you should read https://www.mediawiki.org/wiki/Manual:Skinning [16:04:56] That should tell you how to add CSS etc. [16:05:33] You could also just fork an existing skin [16:05:44] okay [16:07:09] If you are interested in contributing something else to MediaWiki, you might start with http://tinyurl.com/mweasybugs (Easy Bugs) or search on Bugzilla for something "harder" you are interested in [16:08:19] sir mediawiki ui is not responsive according to device [16:08:46] sofat, what does that mean? [16:09:03] sofat: we already have Extension:MobileFrontend to make it look good on mobile [16:09:16] okay [16:10:25] You don't need to address people as "sir" here either (except brion or TimStarling) [16:10:51] :p [16:12:42] that's mean if i want to open mediawiki on mobile then we need extension for that purpose [16:13:23] Yes, but there are already extensions for that purpose. Are you trying to hack/install MobileFrontend? [16:13:41] What extension for GSOC are you trying to develop? [16:15:20] benchmark performance database [16:21:20] sofat: what kinds of benchmarks? [16:21:41] sir this project for BRLCAD [16:21:50] there's already https://www.mediawiki.org/wiki/Performance_profiling_for_Wikimedia_code [16:22:18] Open Source Solid Modeling? [16:22:23] yes but this extension is dedicated for brlcad log file benchmark [16:22:24] https://www.mediawiki.org/wiki/Manual:Performance_tuning#Benchmarking ? [16:22:24] yes [16:53:19] I was wondering if someone is willing to help walk we through setting up short URLs, My site is hosted on a subdomain vrail.ratime.org.au/w/ and I wont to be able to get to the site via vrail.ratime.org.au/wiki/main_page. I have followed the insturctions on mediawiki.org and they will not let me access any special pages. So I am lost and in need of some help. [16:55:16] Okay. [16:58:19] are there any regex snippets that you recommend for parsing tables ? [17:06:37] Kunda: eeek, why do you want to do that? :) [17:08:40] I'm not sure it can be described using regex, because {{ needs to match each }} [17:09:15] Don't want to spam but do need the help [17:09:26] FusionOz: with what? [17:09:47] Kunda: you can find one on StackOverflow here http://stackoverflow.com/questions/2249340/python-mediawiki-table-regex-find-strings-of-a-particular-format-then-extract does that work for you? [17:09:47] getting short URLs working [17:09:58] FusionOz: what do you have in LocalSettings? [17:09:59] I have spent 4 days trying to get things done lol [17:10:23] what did you set $wgScriptPath to ? [17:10:42] What about $wgArticlePath ? [17:14:53] I have removed everything from localsettings but what I did have was https://pastee.org/7v43n [17:17:10] Kunda, hmm... Is this your own MediaWiki you want to parse tables on? [17:17:40] Krenair: Is MediaWiki even describable by BNF? Not sure where on the Chomsky hierarchy its syntax lies [17:18:13] although technically any string is valid MediaWiki syntax... [17:18:51] I have no idea. [17:19:15] Anyway you could shove the table through MW's parser and deal with the HTML result. [17:19:42] if it's on a wiki you don't own, you could do ?action=parse or render or whatever it is [17:20:39] PiRSquared: it isn't, but people tried [17:20:41] Well yes, if the table is the only thing on the page. Otherwise you'll want to send only the table text to the API [17:20:56] PiRSquared: there are some remains of the attempts on mw.org or meta, somewhere [17:21:34] Krenair: It's the Scribus Mediawiki [17:21:39] thanks PiRSquared [17:21:44] * Krenair googles [17:22:31] Kunda: what do you need this for, exactly? [17:23:11] i want to move our issue roadmaps from tables to a mediwiki extension that integrates mantis bugtracker [17:23:39] https://www.mediawiki.org/wiki/Extension:Mantis [17:24:17] These are the tables i'd like to migrate: http://wiki.scribus.net/canvas/1.5.x_Roadmap [17:24:41] You can parse the HTML, no? [17:25:30] i guess i could [17:26:30] for your purposes I guess a simple regex could work, but you still have to convert to mantis syntax [17:27:31] FusionOz: what happens if you uncomment the last line? [17:28:03] !shorturl [17:28:03] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [17:28:03] every thing goes back to non short URLs [17:28:50] PiRSquared: They are what I have been using to try and get it to work [17:29:28] * FoxT does not know if he likes that beta tool. Tools tend to be brittle. [17:29:30] FusionOz: what server? [17:29:45] XAMPP [17:29:48] on windows 8.1 [17:30:20] https://www.mediawiki.org/wiki/Manual:Short_URL/Apache#Server_config [17:34:05] FusionOz: what's in your htaccess? [17:35:13] The same as you see on the page you gave me [17:40:34] Hey [17:41:10] I just installed mediawiki on my dev box, how do i get twinkle for example installed [17:41:32] Wikiwannabe: for just yourself? [17:41:58] It's probably easier to just make yourself an admin so you have rollback. However, if you want to install Twinkle specifically, I can help [17:42:36] PiRSquared: yes its on my local machine, for myself [17:42:48] how do i make myself an admin [17:43:15] When you created the wiki, it should have created an admin account (probably called "Admin") [17:43:42] i did have a login, where at the bottom it had a button, Make this page as patrolled [17:43:46] thats the admin user isnt it? [17:44:06] does it have the delete tab at the top? [17:44:25] let me log in as that user, just a sec [17:44:30] by default only sysops can delete [17:44:55] patrolling might be sysop-only by default too, not sure [17:45:19] its not in the top tabs, but on the drop dox delete is there [17:45:22] protection also [17:45:32] move, change protection are the other two options [17:46:03] For twinkle, do you want to install the whole thing (including a lot of Wikipedia-specific "junk") or just a subset? [17:46:29] whatevers required for a local isntance, not wikipedia specifically [17:46:46] Download this https://github.com/azatoth/twinkle [17:46:49] but alot of the nice features from wikipedia are missing in the vanilla install [17:47:04] What features specifically? [17:47:14] Things like Twinkle are not part of MediaWiki, they are not even extensions. [17:47:18] Gadgets [17:47:33] Gadgets are user-maintained scripts. [17:47:53] Krenair: but (s)he wants it specifically "how do i get twinkle for example installed" [17:48:00] *manly cough* [17:48:33] im learning both the media wiki enviornment and more abt wikipedia, so this isnt specific project need [17:48:42] a* [17:50:05] PiRSquared I have just recreated the rules if you head to http://vrail.ratime.org.au you will see the message Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. Error 403 [17:50:18] I downloaded it [17:50:23] do i put it in the extensions folder? [17:50:29] Wikiwannabe: no [17:51:01] Wikiwannabe: You can run the awk script in the README, and add that to a gadget file [17:51:08] btw wheres the documentation on this. [17:51:08] but you need to add the CSS and morebits JS too [17:51:11] stuff like this [17:51:17] [[mw:Gadgets]] [17:51:19] !link [17:51:19] http://www.mediawiki.org/wiki/ [17:51:23] FusionOz: looking [17:51:59] here is the code for both .htaccess and localsettings.php https://pastee.org/hx3ur [17:52:01] FusionOz: what are the permissions on the directory? [17:53:03] They are able to be read by everything [17:53:19] PiRSquared: so i've downloaded the file, how do I run the AWK script [17:54:16] Wikiwannabe: first, you can delete anything you don't need from the 'modules' directory [17:54:25] You probably don't need to, but you can [17:54:33] ok noted [17:54:35] If you do, you should remove it from twinkle.js as well [17:54:44] When done (or just skip), run this: awk 'FNR==1{print ""}{print}' twinkle.js modules/*.js > alltwinkle.js [17:56:21] Wikiwannabe: copy the text of the resulting alltwinkle.js file to MediaWiki:Gadget-twinkle.js, then copy morebits.js to MediaWiki:Gadget-morebits.js, and morebits.css to MediaWiki:Gadget-morebits.css [17:58:20] then add: * Twinkle[ResourceLoader|dependencies=mediawiki.user,mediawiki.util,jquery.ui.dialog,jquery.tipsy|rights=autoconfirmed]|moment.js|morebits.js|morebits.css|twinkle.js to MediaWiki:Gadgets under some header [17:58:40] MediaWiki:Gadget-twinkle.js <-- this is a page I make? where is this [17:58:55] ... [17:59:09] If this is too hard, you can just load the JS from Wikipedia directly [17:59:17] this isnt too hard [17:59:20] just new to the concepts [17:59:42] is MediaWiki:Gadget-twinkle.js a file I copy or a page or what is it [17:59:56] Wikiwannabe: it's a page on your wiki [17:59:56] it's a page on the wiki [18:00:04] ah so i create that page [18:00:25] and copy the contents of alltwinkle.js to that page [18:00:32] Yes. [18:00:34] got it [18:01:39] MediaWiki:Gadgets-definition not Mediawiki:Gadgets [18:01:48] Glaisher: I'm an idiot [18:01:52] no [18:02:57] Wikiwannabe: oh, you might need to copy https://en.wikipedia.org/wiki/MediaWiki:Gadget-moment.js to your wiki too [18:03:35] the page name is MediaWiki:Gadget-moment.js or Gadget-moment.js [18:03:40] when I create it [18:03:51] You need the MediaWiki: prefix [18:03:58] index.php/Gadget-twinkle.js [18:04:00] is wrong then [18:04:02] i see okay [18:04:29] is there a way to change a page name? [18:04:44] yes, but you might not be able to move to .js pages due to silly limitations [18:04:52] see the "move" button [18:04:55] done [18:05:09] index.php/MediaWiki:Gadget-twinkle.js [18:05:16] are they all installed? [18:05:23] just a minute i did the first one [18:05:33] morebits.css/js, twinkle.js, moment.js [18:06:33] Glaisher: can you help FusionOz ? I'm not good with server config [18:07:17] :) Thanks for your help PiRSquared [18:08:13] FusionOz: what is $wgPathInfo ? [18:08:34] #$wgUsePathInfo = true; [18:09:11] almost done [18:09:20] God, short url config is so confusing [18:09:31] (excuse the name in vain) [18:10:52] PiRSquared your not tell me anything new lol [18:10:56] ok [18:11:11] i added the text to the definitions file as well [18:11:24] which already existed somehow [18:11:29] Wikiwannabe: go to your preferences, gadget tab [18:11:34] do you see it? [18:12:14] [18:12:14] [18:12:24] i checked it and saved, but didnt see it :P [18:12:33] FusionOz: how about Require all granted? [18:12:37] i mean, i dont see it showing [18:12:55] FusionOz: can't think of why it would be forbidden unless you didn't configure apache right [18:13:16] Wikiwannabe: any JS errors? [18:13:38] where would i see those [18:13:53] under the httpd-vhosts.conf https://pastee.org/yzv2a [18:13:55] [Edit] [18:13:55] (Edit | Export) Uses: Gadget-moment.js, Gadget-morebits.js, Gadget-twinkle.js, Gadget-morebits.css [18:14:16] Wikiwannabe: if you go to a diff page, do you see "restore", "rollback", etc? [18:14:59] [rollback 1 edit] [18:15:05] restore isnt there [18:15:10] but do you see the Twinkle? [18:15:13] hmm [18:15:24] Wikiwannabe: is this wiki public? [18:15:41] FusionOz: that looks correct :/ [18:15:56] So I have no clue what is going on lol [18:15:57] Its a clean install of mediawiki on my local server [18:16:05] remembering it is under a subdomain [18:16:37] Reedy: Hey, we were talking about a problem I was having with garbled pages after upgrading from 1.21 to 1.23 a few nights ago. [18:16:39] Wikiwannabe: what browser do you have? [18:16:52] Reedy: I found what the cause was. [18:17:52] Reedy: Our custom theme was created a long, long time ago and had a mytheme.deps.php as part of it. Apparently having one of those went from being unnecessary in 1.21 to actively harmful in 1.23. When I removed that file, the rendering problem went away. [18:17:58] Wikiwannabe: oh! try removing "|rights=autoconfirmed" from the gadgets definition [18:18:20] wait, you should have it anyway [18:18:27] PiRSquared: another thing is that when I moved the page, it redirects it [18:18:38] so im going to delete the page and recreate twinkle.js [18:18:44] seems like its not picking it up as a code page [18:18:48] There should be a "suppress redirects" button [18:19:00] let me just delete and redo that page [18:22:39] Wikiwannabe: if that doesn't work, you can copy the content of meta.wikimedia.org/w/index.php?title=User:PiRSquared17/twinkle-beta.js&action=raw&ctype=text/javascript to twinkle.js, that should be the *bare minimum* and it doesn't even have batch delete, etc [18:23:11] Can you check if you are autoconfirmed? [18:24:52] I have last | unlink now showing [18:25:17] if you go to a diff, do you see the colorful buttons? [18:25:28] yup rollback [18:25:31] vandal [18:25:37] thats working [18:26:04] Wikiwannabe: did you end up copying from the Meta or from the version you already had [18:26:13] Meta=the link I just gave [18:26:38] your version [18:26:50] so all-twinkle is the issue [18:27:27] I think you can fix all-twinkle by changing the line under "Check if account is experienced enough to use Twinkle" to just: Twinkle.userAuthorized = 1; [18:27:35] but meh, it works now :D [18:27:52] Wikiwannabe: any other gadgets or extensions you want? [18:28:28] well i now pasted all-twinkle again [18:28:32] and the links stay [18:28:37] let me see a diff [18:29:02] did you fix the Twinkle.userAuthorized line? [18:29:14] no but its working [18:29:19] at least i can see everything now [18:29:22] full twinkle [18:29:29] Okay [18:29:31] which is great! PiRSquared, great support [18:29:38] sorry if I confused you [18:29:41] not at all [18:29:55] at least now you know how to add gadgets :P [18:30:11] any others while you're at it? [18:30:22] definately a good thing. yeah where do i create user grops [18:30:23] groups [18:30:31] i see the admin is a part of Administrator and some others [18:30:35] wheres the screen for that [18:31:17] to create user groups you edit LocalSettings.php [18:31:47] Wikiwannabe: https://www.mediawiki.org/wiki/Manual:User_rights [18:32:07] If you're the only user using the wiki, you might as well just give the rights to the 'sysop' group [18:33:23] sorry dc'd. [18:35:54] are there any more skins that the default [18:35:58] few they provide [18:36:16] PiRSquared: how do i give rights to sysop [18:36:23] is that the highest? [18:36:49] there are many more skins [18:36:49] $wgGroupPermissions['sysops'] ? [18:36:58] Wikiwannabe1: yes, see https://www.mediawiki.org/wiki/Manual:User_rights [18:37:13] you can create other groups too (see 'ninja' example) [18:37:39] also 'sysop' is not the "highest" group (by default, "bureaucrat" is, but it doesn't even *need* to be a hierarchy really) [18:38:22] do i need sysop if im already in bureaucrat? [18:39:25] $wgGroupPermissions['sysop']['right'] = true [18:39:34] this will give all users sysop rights? [18:43:25] PiRSquared: Got it to work just had to remove %{DOCUMENT_ROOT} from my .htaccess file [18:43:27] how easy was that lol [18:52:59] Did something changed between 1.21 and 1.23 that makes $this->data['personal_urls']['logout'] not exist or have different values than it used to when accessed within a theme? [18:57:27] maybe [18:57:31] what's the issue you're having? [19:01:44] Wikiwannabe1: sorry for delay, did you read the page I linked? [19:01:52] It would give all sysops that right [19:02:20] if you want to give it to everyone, use * (includes logged-out users) or user (logged-in only) [19:02:35] eg $wgGroupPermissions['*']['right'] = true; [19:03:02] Wikiwannabe1: want to download another skin ? [19:03:11] yaeh i saw some on the mediawiki [19:03:27] https://www.mediawiki.org/wiki/Manual:Gallery_of_user_styles [19:03:32] ah another one [19:03:42] https://www.mediawiki.org/wiki/Category:All_skins [19:03:50] I think the category is more up-to-date [19:04:08] the manual might be outdated [19:04:56] now regarding the permissions, say i want to give myself sysops right [19:05:03] $wgGroupPermissions['sysop']['right'] = true [19:05:07] isnt going to work right [19:07:15] ah [19:07:23] i had 2 mirc's open :| [19:07:25] dumb [19:14:41] ill keep playing, thanks for all the help. i'll be back! [20:00:59] What's the current preferred way to check whether the user is logged in from inside a skin? [20:01:48] uckelman, $this->getUser()->isLoggedIn() ? [20:02:07] Krenair: Thanks, I'll give that a shot. [20:04:37] Krenair: Are you sure that getUser() is a method of QuickTemplate? [20:04:47] No, of Skin. [20:05:10] Krenair: How do I get that from a subclass of QuickTemplate? [20:05:39] Krenair: Oh, oh. It looks like I have $this->skin there. [20:05:56] uckelman, $this->getSkin()->getUser()->isLoggedIn() [20:06:01] use $this->getSkin() [20:07:13] Krenair: Hmm. Apparently that was not the problem. It looks like the page thinks I'm not logged in. [20:07:27] Krenair: Did something change w/r/t authentication between 1.21 and 1.23? [20:07:47] umm... [20:08:02] probably. [20:08:09] shouldn't break that though.. [20:09:08] Krenair: I have a SSO system for my site which we've had for ages now. It works by logging users in via MW's web API. That stopped working with 1.23, but was fine in 1.21. [20:09:37] stopped working? [20:10:18] Krenair: I log in using the site-wide SSO system. All non-MW parts of the site show me as logged in. MW is still showing me as logged out. [20:10:49] uckelman, okay, but what is the API saying about login attempts? [20:11:08] Krenair: It's succeeding, so far as I know. [20:16:17] Krenair: When we call the web API, we're checking the result key, and if it's not 'Success', we throw an exception. I'm not seeing any exceptions. [20:17:41] Krenair: What we're doing is here, in mediawiki_login(): http://sourceforge.net/p/vassalengine/site/ci/master/tree/sso/ssolib.php [20:18:37] ok, what is it saying other than 'Success' ? [20:19:02] Krenair: What else could it be returning? [20:19:22] Krenair: I don't understand the question. [20:19:48] The rest of the response? [20:21:58] Krenair: How would I get that? [20:22:21] var_dump()ing $content? [20:22:33] Krenair: Do you mean the rest of the key-value pairs in the map that has 'result' in it? [20:23:01] Sigh. On line 28 you set $reply = $reply['login']; [20:23:06] What is $reply before doing that? [20:24:38] Krenair: Ah, I see. Checking now. [20:25:04] Also, extract(), ew. [20:26:25] Krenair: This code is very, very old. [20:28:19] Krenair: It looks like $reply is a dict with the key 'login', and no other keys. [20:28:54] Okay. What about the contents of login then? [20:29:18] Krenair: The value of 'login' is a dict with keys, 'result', 'lguserid', 'lgusername', 'lgtoken', 'cookieprefix', 'sessionid'. [20:29:44] lguserid and lgusername look like what I expect to see. [20:30:12] Krenair: 'result' => 'Success' [20:30:24] Okay, so that's okay. [20:30:29] lgtoken is a string of hex digits. [20:30:52] Krenair: It looks to me like logging in via the API is succeding. [20:35:57] Krenair: Did anything change with the names of the cookies between 1.21 and 1.23? [20:38:14] uckelman, I don't know, but your program should be able to handle any names. [20:40:54] Krenair: What do you mean by "handle any names"? [20:41:17] Krenair: Oh, I see. [20:41:57] Krenair: Right, because we pass on whatever we get. [20:44:00] Krenair: Er. It seems to be working now. [20:44:21] :p [20:44:22] Krenair: I wonder if I had a stale cookie... except that I cleared them more than once. Hmml. [20:46:07] Krenair: Thanks for your help. We're back to normal now, which means I can spend time working on our project again instead of yours. :) [22:12:53] Hi... I need to restrict the read to certain pages for anonymous users... can this be done right? [22:17:48] Just upgraded a mediawiki instance to 1.23.3. Nearly achieved… Manually via FTP/Web. I’m a newbie ! Any idea about this IndieAuth-mediawiki extension https://github.com/aaronpk/IndieAuth-MediaWiki which worked with my previous version ? currently meeting some php Warning http://xtof.me/w/2014-256#IndieAuth [23:09:48] bonjour xtof [23:10:13] bonsoir PIRSquared [23:11:00] Do you have a file called "NerdhausBot.inc.php" ? [23:12:16] No I can’f find it [23:12:38] Did you have it before? [23:13:29] What happens if you comment out line 20 of IndieAuth.php ? [23:15:18] one warning and one fatal error only http://christopheducamp.com/w/ [23:15:52] xtof: try commenting out line 46... if that doesn't work, use the full path to AuthPlugin.php [23:16:16] or replace it with '../../includes/AuthPlugin.php' [23:16:29] or only one '../' [23:16:31] whatever [23:16:32] it seems great ! [23:18:57] trying to understand a bash startup script... Does anyone know what this is? [23:18:59] [ -f $CONF ] || exit 0 [23:20:06] [ -f PATH ]??? [23:21:55] is checking if file $CONF exist [23:21:56] http://www.shellhacks.com/en/HowTo-Check-If-a-File-Exists [23:22:29] gute: ^ [23:24:25] uniqdom, thanks! [23:34:12] I have created a page called Test:test1 using something like www.example.com/wiki/index.php?title=Test:test1. When I try to read the content I see Test:test1 as the title. In order to hide the namespace, do I need an extension? [23:38:27] Hey everyone! I'm trying to make sidebars. Downloaded and installed the "scribunto" addon, but I get error messages when I try to create the needed modules (by copypasting their code from wikipedia). [23:40:46] Xzenu: I can't provide help as I'm really new with mediawiki, but I'm sure that if you provide the error messages somebody can help [23:43:05] xtof: anything else ? [23:43:57] It says: "[a88f3039] 2014-09-12 23:14:42: Fatal exception of type MWException". [23:44:02] No I cannot connect with your both insights. Think I need to sleep, just dropped an issue on github [23:44:10] Anyone got a clue to what kind of error that is at all? I don't. :-/ [23:46:22] Xzenu, you need to check your error log [23:46:56] or you can set $wgShowExceptionDetails to true, but that might be a security issue. [23:47:05] PirSquared I used to love IndieAuth and I’m hopeful - Hope aaron will understand : https://github.com/aaronpk/IndieAuth-MediaWiki/issues/4 Thanks for all and and have a good night. 1:46 in Paris. need to sleep. Nite [23:47:29] Xzenu: re Krenair's comment: on a private or small wiki it's not a big deal to turn it on temporarily though [23:47:43] I don't think I have a log. Got some info about debugging, but it didn't work... and lots of disclaimers about opening my wiki for attacks if I make any mistakes. :-/ [23:48:13] Xzenu, apache? [23:48:18] yup [23:48:24] xtof: good night [23:48:24] ubuntu/debian? [23:48:40] Xzenu, ^ [23:48:57] no idea [23:49:44] Xzenu: what operating system do you use? [23:49:53] Windows? [23:50:02] If it's Unix like do uname -a [23:50:24] I use windows, but the server is some kind of Linux. [23:50:33] I don't own the server. [23:51:19] Xzenu: do you have shell access? [23:51:39] Not sure what that is. [23:52:10] command line [23:53:11] ah. no, I don't think I have that. [23:53:16] Xzenu: just try $wgShowExceptionDetails = 1;, reload the page to get the error again, and then disable it quickly [23:53:37] that shouldn't be too much of a security problem unless people visit your site every minute [23:57:19] Okay! Now I got a error message that actually contained a message! [23:57:54] [3dd309e5] /wiki/index.php?title=Module:Sidebar&action=submit Exception from line 158 of /hsphere/local/home/xenuce/categorism.com/w/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php: The lua binary (/hsphere/local/home/xenuce/categorism.com/w/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua) is not executable. [23:57:54] Backtrace: [23:57:54] #0 /hsphere/local/home/xenuce/categorism.com/w/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(105): Scribunto_LuaStandaloneInterpreter->__construct(Scribunto_LuaStandaloneEngine, array) [23:57:54] #1 /hsphere/local/home/xenuce/categorism.com/w/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(72): Scribunto_LuaStandaloneEngine->newInterpreter() [23:57:55] #2 /hsphere/local/home/xenuce/categorism.com/w/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load() [23:58:19] can you make the Lua binary executable? [23:58:39] aaand dpaste.de didn't really help... sorry about the spam [23:59:19] huh? [23:59:31] Xzenu: You could use pastebin.com or any other pastebin (tools.wmflabs.org/paste is Wikimedia's) [23:59:35] if you need to do it again