[00:00:47] Fiona: (sorry, I fogot how to reference people) http://pastebin.com/qstXeUH8 It's trying to create a URL for the UserLogin page and add a parameter [00:03:59] Fiona: I failed to add or delete keys from the data dictionary. Defining the var in a condition now. Would be easier if false wouldn't be true ;) [00:04:20] freedata: The removed method called Title::getFullURL and then passed that through htmlspecialchars [00:04:31] https://github.com/wikimedia/mediawiki/blob/REL1_23/includes/Title.php#L1757-L1768 [00:06:28] bd808: Sounds good. I saw that the function was tiny, so I could recreate it. I was mostly wondering if there was a more 'proper' way to do this in modern Mediawiki [00:07:03] *nod* That I'm not sure about [00:10:48] https://github.com/wikimedia/mediawiki/commit/0ffccfcb694ccb453f5f9b5163d30b37ca8257d0 [00:10:51] Hmm. [00:14:42] https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105923 [00:14:46] && https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105921 [01:30:30] Any idea what I'm looking at here? It says in google webmaster tools under "HTML enhancements" that these are duplicate titles. Am I haxed? [01:30:34] https://dl.dropboxusercontent.com/u/802478/temp/sigh-wiki.png [01:30:44] If anyone dares open a random screenshot. [01:45:41] bd808: It's recommended to use '->escaped()' instead of 'htmlspecialchars' https://www.mediawiki.org/wiki/Manual:Messages_API#Deprecated_wfMsg.2A_functions [02:06:59] hello [02:07:40] is there some way to search for landmarks near my that might need photos to be added? [02:08:17] k-man, got an android device? [02:08:23] nope [02:08:29] iphone or my computer [02:08:51] hmm... ios devices might have it [02:08:54] Krenair, but tell me the android option anyway? [02:09:05] do you have the Wikipedia app on your device? [02:13:21] i used to, i'll reinstall now and check it out [02:13:43] you can do queries like https://en.wikipedia.org/w/api.php?action=query&generator=geosearch&ggscoord=51.503324|-0.119543&ggsradius=1000&prop=pageimages&piprop=name if you know your coordinates [02:14:28] interesting [02:16:21] that returns a list in json format, can i get it as a web pages instead? [02:16:41] although I'm not too convinced about how pageimages is working there. [02:17:18] it's supposed to be used to build a program [02:17:47] yeah [02:18:09] the official Wikipedia apps implement the Nearby feature, which shows a list of pages ordered by distance to your location, and show their primary pictures, and points in their direction [02:18:30] ok, i'll check that [02:24:31] one day I'd like to take a photo for this page: https://en.wikipedia.org/wiki/London_Bridge_(New_South_Wales) [02:27:11] do you live near it? [02:27:30] ~300kms, but I have family near there that we visit from time to time [02:29:15] does wikipedia have a tag allong the lines of "needs a photo"? [02:33:18] ah, it does - found it [02:56:18] can some one help me with the graphviz extension for mediawiki on windows? i think there is a problem in the extension, if i install the graphviz as in the description i get a error in my apache server log about dot.exe command not found or wrong [02:57:18] i did search a lot as i have no idea about php and i think i found the bug ... but i dont know exactly how to fix it [02:59:49] there is a function which executes the dot.exe command $output = wfShellExec( $command, $ret ); ... in that way i get the error in the apache log, i did search now for days and this is the most helpfull info i found http://www.graphviz.org/mantisbt/view.php?id=2496 [03:00:32] some one said there "Just replace "$output = wfShellExec( $command, $ret );" by "$output = shell_exec($command);" and maybe some others parameters are changed." [03:02:45] i did this and then i got a lot of errors on the wiki page, but the first time i can see image files in the graphViz image directors and also the generated sourcefiles ... and the pictures also look as they should ... but now the generated wiki page is just one big error message [03:03:49] can some one please look into this graphViz extension and tell me how to change this commant with out the errors? [03:03:50] have you tried contacting the author of the extension? [03:04:56] i think its not realy maintained by the autor :( ... on the discusion page the people also ask about maintaining [03:05:09] or maintainers [03:06:41] Rabutz: if I were in your position, I'd be strongly considering whether or not that extension is actually a requirement for me, and if there are any other ways of going about doing whatever-it-is that it does [03:07:47] instead of trying to hack around abandonware to get it to work on my system [03:08:39] this extension would be realy a favor :D and as i get it its the only of its kind [03:10:43] just to verify, you have the latest version of it right? [03:11:16] the problem seems realy only to be this wfShellExec command, if i use this instead shell_exec it seems to work, but then it has no return value some how, and so the rest semms to fail some how [03:12:00] jey the lastest version of the extension and graphViz and also msc-gen which is optional [03:12:37] and also the latest mediawiki version but on windows with apache [03:12:53] also the lastest version [03:13:45] wfShellExec is a core mediawiki command that I assure you works just fine on windows [03:13:55] the issue would be with whatever command the extension is trying to run with it [03:16:03] what i found is the second last comment here http://www.graphviz.org/mantisbt/view.php?id=2496 ... i did change this as he said there and it found the command and it did generate the source files and the png files but the site it self is full of errors about a undefinied ret value [03:17:09] before with the wfShellExec i never got a png file or source files ... i just got a error in the apache log about command not found [03:18:13] with shell_exec i get the files but the ret value is empty and the site does not show [03:18:28] * Skizzerz maintains his above statement [03:20:34] may i can run both commands one after the other then one will generate the files and the other maybe will fill some thing into the ret variable [10:00:32] hmm, I'm trying to get the Math extension to work, preferably with MathJax. however these options b0rk the wiki: https://www.mediawiki.org/wiki/Extension:Math#Client-side_rendering_with_MathJax (MW 1.23+) [10:42:59] hi [10:43:09] I've got a problem with wikibase, anyone can help me? [11:24:52] hmz, now have SimpleMathJax working, but it has quite some limitations to MathJax [13:50:28] please can some one tell me how to make the graphViz extension work on windows apache? [13:52:01] the extenssion seems not to work ... some how it cant execute the dot.exe command [13:52:31] Rabutz: Are you on the right channel? [13:53:12] i dont know ... it it is about mediawiki i am maybe in the right channel [13:53:39] there is a graphViz extension [13:54:11] Ah. Okay. I mistook it for the Graphviz software. [13:54:39] Rabutz: I suggest you hang around for a while or maybe come back in a few hours. More people will be awake by then. [13:55:03] yeah i will not give up [13:55:33] its a realy nice extension, it has to work [13:55:45] :) [14:26:25] hey, is there a guide called 'mediawiki hardening for dummies'? [14:28:30] i am getting vtx problem when installing mediawiki-vagrant . the wiki on mediawiki-garant states it occurs when OS/system is 32 bit but it is not in my case [14:28:45] any help / suggestions is highly appreciated [14:29:50] hi there. i've got users out there telling me that they got different results for page content when calling one and the same link. is there something like caching that could result in this behavior? i am open for any ideas... [14:30:51] a few users still get a version of the referred page that is weeks old [14:31:59] kernik: What do you mean by "hardening"? [14:32:11] beli_: There is definitely something like caching [14:32:29] beli_: But weeks old is pretty silly - have they cleared their local cache? [14:33:21] hardening in other words is getting rid of vulnerabilites [14:34:50] !security | kernik [14:34:51] kernik: The manual page on MediaWiki security can be found at http://www.mediawiki.org/wiki/Manual:Security. If you believe you have found a security problem in MediaWiki or in one of Wikimedia's web sites, please contact security@wikimedia.org directly so we can prepare a bug fix release. For security guidelines for developers, see http://www.mediawiki.org/wiki/Security_for_developers [14:35:03] Let's see, there's also... [14:35:06] !fast | kernik [14:35:07] kernik: [14:35:26] So if those aren't what you want, come back and we can find more! [14:38:13] link to manual:security is broken ;) [14:38:45] Oh/ [14:38:56] kernik: https://www.mediawiki.org/wiki/Manual:Security [14:39:00] Stupid period. [14:50:41] !security [14:50:42] The manual page on MediaWiki security can be found at http://www.mediawiki.org/wiki/Manual:Security. If you believe you have found a security problem in MediaWiki or in one of Wikimedia's web sites, please contact security@wikimedia.org directly so we can prepare a bug fix release. For security guidelines for developers, see http://www.mediawiki.org/wiki/Security_for_developers [14:50:44] !security del [14:50:44] Successfully removed security [14:50:57] !security is The manual page on MediaWiki security can be found at . If you believe you have found a security problem in MediaWiki or in one of Wikimedia's web sites, please contact security@wikimedia.org directly so we can prepare a bug fix release. For security guidelines for developers, see . [14:50:57] Key was added [15:22:24] MatmaRex: Good work [15:38:32] marktraceur: it was no cache issue or anything but the user.... Different URLs: Crystal and Crystel is not the same... ;-) [15:39:13] Hah, yeah [15:39:19] beli: PEBKAC as per usual ;) [15:40:32] marktraceur: right, it's evil that such a behaviour has to be found out by 3rd lvl support.... [18:04:30] is it possible to disable a specific script in Common.js? [18:04:50] a specific script? [18:04:56] yes [18:05:20] as in... block any other modules from loading a specific file? [18:06:54] hi guys [18:06:55] I'd like to disable a specific script which is loaded to Common.js [18:06:59] it's a user script [18:07:09] which is then loaded on to common.js with an mw.loader.load [18:07:41] Hello to everyone! I have inserted a custom field to the sidebar by using the "SkinBuildSidebar" hook. Now, I see I don't really have a control over the order the headers appear. [18:07:43] i've updated mediawiki from 1.21.2 to 1.24.1 by following upgrade manual, and now i have a error "(Can't contact the database server: Cannot return last error, no db connection)" on te web [18:08:01] ie. MediaWiki will not recognize the field I inserted in MediaWiki:SideBar [18:08:08] What is to be done? [18:08:16] i'm using a sqlite database, and it is 100% accessable from wiki [18:08:38] i mean permissions is correct [18:08:53] can i turn on a bit more debug in mediawiki? [18:09:14] Glaisher, a user's personal script is loaded into MediaWiki:Common.js ...? [18:09:46] yes [18:11:48] i've tried to add error_reporting( -1 ); to LocalSettings.php, but it still doesnt show any errors [18:14:00] anyone? [18:37:03] mc_fail, http://www.mediawiki.org/wiki/Manual:How_to_debug [18:47:41] now, i've fixed the problem with database [18:47:53] but now i've got default-skin-not-found [18:48:10] but it's defined in localsettings [18:50:39] hi, all. who can do a brainstorm with me, on how to set semantics the best way on my website? [18:50:50] :) [18:55:47] damn, why upgrading mediawiki always causes such a lot problems [18:57:05] :-P [19:00:00] change your nickname from fail to delivered [19:00:00] :) [19:18:19] now, it seems like languages doesn't work [19:18:31] in debug i have something like " Unstubbing $wgLang on call of $wgLang::getCode from MessageCache::getMessageFromFallbackChain " [19:22:23] what is global cache? [19:27:58] it looks like som error in the localisation cache [19:41:30] wait a minute. [19:41:37] * marktraceur starts waiting [19:41:47] doesn wikimedia takes the languages from the internet? [19:41:51] *does [19:41:56] *mediawiki [19:42:19] i have a machine in isolated network [19:42:37] * marktraceur stops waiting [19:42:54] mc_fail: It doesn't fetch them from an external server, if that's what you're asking [19:43:12] marktraceur ok. [19:43:22] mc_fail: Have you rebuilt the cache? [19:43:39] marktraceur locales could be in cache? [19:43:55] There is a full-on localisation cache, yes. [19:44:27] mc_fail: Use maintenance/rebuildLocalisationCache.php to rebuild it [19:45:49] marktraceur ok, praying it help [19:45:59] Praying might not work [19:46:10] I think MediaWiki is a bit more satanic than you realize :P [19:46:19] therefore, pray to satan [19:46:36] Hail satan! [19:48:37] i'd never thought it is so many languages on this planet... it still rebuilding [19:49:48] Rebuilding war... [19:49:57] is it a language? [19:50:44] aand, it still doesnt work... [19:52:59] actually, i have an option $wgMainCacheType = CACHE_NONE; [19:56:28] really, i have no idea what is the problems with langugaes [19:56:51] why it couldn't show me jsut usual english [20:00:02] mc_fail: Can you describe what the problem is exactly? [20:02:22] marktraceur any localisations didn't work [20:02:56] but i've already fixed it the problem was simple: wrong path to the language directory [20:03:07] "didn't work" isn't exact [20:03:10] What didn't work? [20:03:20] Oh. [20:03:21] Never mind. [20:03:40] But for future reference, wandering into a channel and saying "____ DIDN'T WORK" will not get you any useful information [20:11:39] marktraceur щл [20:11:41] *ok [20:12:09] and now, by some reasons instead vector skin i see this http://i.imgur.com/eDCoRdA.png [20:12:28] i don't know why, but other skins works just perfect [20:12:32] instead this one. [20:14:09] https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#The_wiki_appears_without_styles_applied_and_images_are_missing [20:14:33] that's usually caused by some error in load.php. Check server error logs [20:15:30] can please some one help me with the grphViz extension for mediawiki on windows, i installed graphViz and the dot.exe command is in the path variable and it runs from CMD, also the QuickGV extension works with dot.exe and graphical categories too .. but graphviz does not work [20:15:57] graphViz gives me a error in the apache log about command not found [20:16:20] but the other extensions which use dot.exe work [20:17:00] Rabutz: http://www.mediawiki.org/wiki/Extension:GraphViz#Configuration [20:17:54] you need to add $wgGraphVizSettings->execPath = "C:\Path\Of\dot.exe"; to LocalSettings.php, after the line include("extensions/Graphviz.php"); [20:18:02] (replace "C:\Path\Of\dot.exe" with the actual path) [20:19:00] yes exactly i did this and the dot.exe in this extension is onlty the path with out dot.exe but with the last slash ... by the way [20:20:40] GraphViz is in the path and mscgen too ... and they run from the commandline as i said ... do they are definitifely in the path ... and other extensions also use the same dot.exe ... just graphViz fails [20:22:15] once graphViz did create some pictures in the image folder ... this was when i exchanged the wsSellExec command with Exec or SellExec ... but then there was a missing $ret value and so the picture was cenerates but not embeded in the page [20:23:21] but if i use it as it is i get a command not found message in apache log ... other extensions which use the same dot.exe dont rise such a error [20:23:31] in example QuickGV [20:25:41] but i have no idea about PHP ... it does not realy say much to me, ... i did try every thing i could find on google ... but to be honest ... i have no plan ... i just try since 3 days to install a wiki with this extension :/ [20:27:35] it would be very nice if some one could some how fix ;;) [20:28:15] or give me a hint at least [20:30:09] Rabutz: the debug log is the only thing it could give you a hint, to see what exact command it's trying to run (with the full path, etc) [20:33:03] Vulpix thank you [20:33:28] yw [20:35:31] Where is the link for [[File:Foo.jpg|link=http...]] generated? I want to give these links an own class. [20:37:35] it is strange.. in the debug the command looks well ... but in apacha error log it does say command not found and the secong path in the parameter is wrong formated or trimed... but again other extensions working with dot.exe work in the same wiki ... gut graphViz fails [20:40:01] in the debug i read .. wfShellExec: "W:\Graphviz\bin\dot.exe" -T "png" -o "W:\WWW_DOC\(tester.tld)\WWW-ROOT\mediawiki\images\graphviz\images\Test_digraph_G4_dot.png" "W:\WWW_DOC\(tester.tld)\WWW-ROOT\mediawiki\images\graphviz\Test_digraph_G4.src" ... this looks well [20:40:24] in apache error log i get ... Der Befehl ""\"W:\Graphviz\bin\dot.exe\" -T \"png\" -o \"W:\WWW_DOC\" ist entweder falsch geschrieben oder [20:40:24] konnte nicht gefunden werden. [20:40:45] command not found or misspelled [20:41:21] and the command looks not well ... maybe similar as in the debug but there is missing some thing [20:42:01] and other extensions as QuickGV which also use dot.exe work in the same wiki so it is not becaus apache [20:47:21] i think the problem is in GraphViz_body.php at line 1424 there is this command $output = wfShellExec( $command, $ret ); .... if i use sell_exec or exec the images get generated by dot.in the image directory ... but then the $ret value is empty and the picture does not appear on the page [20:47:59] how can i emulate this command on windows? with the right $ret value? [20:50:43] but the problem could also be in RenderParams.php at line 135-151 there is the function to generate the command line for dot.exe and mscgen.exe there some thing happens with wfEscapeShellArg ... but i dont know this at all [20:50:52] i do not even know PHP [20:51:06] nevermind. [20:51:42] it would be nice if some one could give me at least a hint [21:08:02] hi [21:08:23] Hi Juandev. [21:08:32] how to push pagename, to leave the wikicode after saving, but add a proper pagename to the place? [21:08:51] Juandev: Can you be more specific? [21:08:53] I have it in the template transcluding it onto pages [21:09:36] Maybe pastebin what you have? [21:09:37] at cs.wikt, I have a template for nominative of es nouns, I retrive the pagename into the box os sing. and plural [21:09:38] !pastebin [21:09:38] To avoid overflowing the channel with inane amounts of text, use https://phabricator.wikimedia.org/paste/create/ or other awesome pastebin sites to share code, errors, and other large texts. [21:10:22] marktraceur: here: https://cs.wiktionary.org/w/index.php?title=U%C5%BEivatel:Juandev/Substantivum_%28es%29&action=edit [21:10:50] but seemingly we dont wont it in wikicode: https://cs.wiktionary.org/w/index.php?title=congal&curid=95122&diff=548961&oldid=548957 [21:12:17] Juandev: Why not use {{PAGENAME}} in the template? [21:12:53] marktraceur: umm [21:13:26] you mean I will transluce a template into that user:xx/substantivum (es) ? [21:14:49] I mean, do something like {{{snom|{{PAGENAME}}}} and {{{pnom|{{PAGENAME}}{{{psuffix|s}}}}}} [21:15:32] Then your template calls can just be {{Substantivum (es)}} for simple cases and {{Substantivum (es)|psuffix=es}} for the congal page [21:15:42] At least I think it works that way. [21:15:48] It might try to use the page name of the template. [21:15:49] I forget. [21:17:51] okay, lets experiment [21:19:41] so to understand you correctly marktraceur [21:20:19] well, lets experiment [21:31:58] marktraceur: havent fixed the problem. If I add is as a template it is as a template in the wikicode [21:32:17] I need just to move that "value" from the title into to wikitext [21:33:29] like a signature. first time you place~~~~~ next time you have a raw text [21:34:09] I'm...uh...hm. [21:34:17] Juandev: So you probably want {{subst:PAGENAME}} [21:34:37] But that seems like a lot of work, it would be more typing than just saying "congal" and "congales" [22:26:58] Hello, could anyone recommend the best extension to prevent the creation of spam accounts? [22:30:16] AlexJFox: https://www.mediawiki.org/wiki/Manual:Combating_spam#Quickest_solutions_to_try_first