[00:20:42] Hi, the post-upgrade mess improved after I manually deleted all ancient files, but there are still error messages. MessageBlobStore.php gives an invalid argument in a foreach() on line 342, which is followed by a database error. [00:24:48] I now have an error log for the first time. [00:26:31] Lots of "Cannot redeclare wfProfileIn()" [00:28:12] MatmaRex, thank much for replying. I have tried to follow your advice to no avail. I have placed a breakpoint on the load.using call, and stepped through the entire code until it throws an exception. https://dpaste.de/SmUM [00:29:37] GuidodB: Sounds like you've got an old version of a file including it... [00:29:47] I'd grep for function wfProfileIn() and see what you find [00:31:07] MatmaRex, https://dpaste.de/HCxh shows the code I inserted to the js, per your suggestion. please help i have spent alot of days trying to solve this [00:32:26] ProfilerStub.php and Profiler.php are both current [00:32:58] MatmaRex, I have removed mediawiki.util as a dependency everywhere. I have removed explict addModule("mediawiki.util") that was in a couple places (two I inserted, one in the originial code, in SemForms) [00:33:49] why would you do that? [00:33:50] MatmaRex, i am now going to disable SemForms (this is the WYSIWYG extension I'm debugging) [00:34:24] because when i stepped through it, it said in the registry that it was already loaded. [00:35:01] so now when i step through it, it is only registered, and theoretically load.using would load it synchronously [00:35:44] A comment in StubProfler.php syas: "Stub profiler that does nothing", but apparently it does. [00:36:02] but the weirdest thing is that even after making those changes, it still says it is not defined BEFORE it hits the breakpoint placed at the load.using [00:36:10] Do. Something. Cause fatal errors. [00:36:24] sorry, i need to go. good night [00:36:37] though still indicating the same line in the stb code (second pastebin) [00:38:55] Another error: "Cannot redeclare class LBFactorySimple" [01:01:36] What could the invalid argument be in: foreach ( $res as $row ) {$module = $this->getModule( $row->mr_resource ); if ( $module ) {$module->setMsgBlobMtime( $lang, wfTimestamp( TS_UNIX, $row->mr_timestamp ) ); unset( $modulesWithoutMessages[$row->mr_resource] );}} [01:11:05] $res is presumably null [01:11:23] [01:20:42] Hi, the post-upgrade mess improved after I manually deleted all ancient files, but there are still error messages. MessageBlobStore.php gives an invalid argument in a foreach() on line 342, which is followed by a database error. [01:11:30] Which makes sense [01:18:08] Reedy: any idea how I can solve this problem? [01:23:59] You could try deleting all rows from the msg_resource and msg_resource_links tables in the database [01:28:09] Interestingly, I get no error message at all if I enter Special:Version [01:48:48] You might wish to ask Chad (daemon, ^d, and -d) how many times he or another dev have taken down the wikis. Then ask them to compare/contrast that number of events with the number of times the community has done so. Which they have been able to do ever since common.js was added.l [01:48:48] The fact the community has occasionally done so doesn't come near to the frequency with which the devs have done so. [01:48:52] ^d, ^^ [03:36:27] Svetlana: ^d is on vacation right now. [03:37:59] legoktm: ta; not a hurry. (when is he back?) [03:38:49] not sure [03:39:25] I can't actually think of a time when common.js took down the site (itwp took down tool labs with it...), but it's not an equal comparison either [05:50:30] Hi! [06:19:53] ritika_coder_101: Hi [07:07:42] kunalg_: Do you know how to instal one of the mentioned mysql packages in mediawiki-vagrant environment? [07:07:59] It says ask your administrator to do so. [08:36:18] hi, I'm using 1.23.2 and it sets 'srcset' attributes incorrectly on img tags, causing chrome to not display the images and do requests for '1.5x' urls. specifically srcset=' 1.5x, 2.0x' i.e. missing the urls in it. I'm a php noob and couldn't figure out yet how to disable the setting of the attribute (looked at includes/Html.php) [08:36:43] is this a known issue? (firefox 31 doesn't know about img.srcset so ignores this problem and uses the src only) [08:38:51] ok, nm - should have looked at bugzilla first. seems to be a known svg issue. Thanks for being here :) [09:17:59] hello all, I am in the process of setting up a new mediawiki installation, everything seems to be working fairly well but when I enable VisualEditor and hit 'edit' on an article, it seems to open an edit panel for a completely different article. I was originally on 1.23.2 but upgraded to a newer release from git. Do I need to run a maintance script or anything to re-index the previous content [09:17:59] ? [09:18:52] 'edit source' (the one w/o VisualEditor) seems to work fine as it pulls up the proper content [09:44:43] hmm well got around that I think.. [09:44:45] http://i.snag.gy/AMmc1.jpg [09:45:11] however now its injecting these things in various places [10:13:14] hmm must be a problem with the i18n stuff... [11:38:56] andre__: with [Bug 32189] A general interwiki language link to oldwikisource is required ... As I am not a code genius, I am not sure what isn't happening, and what is happening, and the dates of go live [11:39:25] would you please extrapolate [11:39:38] sDrewth, patches that have been merged are already deployed [11:39:51] sDrewth, and the one patch that still needs review still needs review :) [11:41:15] sure, but what functionality is in the unmerged patch? [11:42:00] as the mul: interwiki isn't functioning as of today [11:43:23] sDrewth, I don't know - what does its summary say? [11:43:26] andre__: ^ [11:43:28] I'm not a dev either :) [11:43:48] so I'd like just read aloud what its patch summary says. not sure if that would help :P [11:43:48] okay, I will ask on bug [11:44:02] yeah, best idea [11:45:00] how i can make a 'citation-needed' reference? [11:46:20] {{cn}} if at at enWP [11:46:24] Tuju: in your own MediaWiki installation? It's a template on Wikipedia: https://en.wikipedia.org/wiki/Template:Citation_needed [11:54:27] Hi all, does anybody know how it's called the extension that makes source code editing available on VisualEditor like here http://www.mediawiki.org/wiki/Profiling?veaction=edit? Thanks [11:59:10] wild guess: CodeEditor [12:01:57] I know this http://www.mediawiki.org/wiki/Extension:Source enables the tag, but VE does not edit it. CodeEditor does not reference VE in any way, only WikiEditor..? [12:02:55] I think these souce blocks are from https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [12:03:26] ack, thanks - i try that. [12:04:29] Svetlana: Yes, but Ve does not have the editor [12:05:45] what editor? a popup for editing the source? I see a small popup here [12:05:55] for each of those source snippets [12:07:12] Svetlana: That's it, the source buttom [12:07:17] *button [12:07:52] it's getting harder and harder to figure that out as it may be picking up some of that information from wikidata [12:08:53] I looked for it for at least 20 minutes with no luck [12:09:24] It COULD be a transclusion, but it's too personalized to VE [12:10:48] so I put "visualeditor source syntaxhighlight geshi" into a web search engine [12:11:19] it piped me over to https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi/VisualEditor [12:13:55] I'm frustrated. It does not have documentation on how to enable the "syntaxhighlight" module, or what it is a module of (parsoid or visualeditor or syntaxhighlight-geshi). [12:15:03] Not a module of parsoid, I'm sure. there are multiple syntaxhighlight modules, but the geshi version is used on the wiki syntaxhighlight [12:15:08] http://www.mediawiki.org/wiki/Special:Version [12:15:33] beanixster at gmail (https://www.mediawiki.org/wiki/Extension:VisualEditor/Plugin_for_source_code_editing_(SyntaxHighlight_GeSHi_support)) may be bugged about this. He coded it but didn't document it. [12:16:24] andre__: how do i install Citation_needed into my own wiki? [12:16:44] do i need to copy the mw-source code into my own template? [12:16:58] i have it there now, but it's preview doesn't look good. [12:17:03] its [12:17:29] https://en.wikipedia.org/w/index.php?title=Template:Citation_needed&action=edit [12:18:57] mc128k: did you install SyntaxHighlight GeSHi ? [12:19:51] Svetlana: Yes, and it works, but no VE integration. I am writing an email to the coder [12:21:15] mc128k, thanks! Once he replies please share the results here. Would be lovely to have them documented on all 3 pages (parsoid, visualeditor, syntaxhighlight-geshi). [12:21:54] I don't think he will answer in a short time, would you please tell me which page to edit, so I can add the necessary steps? [12:23:12] He usually would be interested to reply soon. :) You can edit the last page I linked if you like, i.e. append a section to the end. Someone would move it to the right place anyway. [12:23:26] Asking at #mediawiki-visualeditor and idling for a couple hours could also work. [12:33:31] there is currently no support in VE [12:33:41] (other than being able to edit the contents with the usual dialog) [12:33:56] Svetlana: mc128k: [12:34:10] MatmaRex: yes, that's what he'd like [12:34:48] as for the GSOC project, i think the code is somewhere in gerrit – it runs, but not very well and so wasn't merged yet [12:34:52] currently VE doesn't even show that small popup yet [12:34:58] at his install [12:35:05] Svetlana: then you must be using an old version [12:35:06] (he) [12:35:23] latest from git [12:35:33] can you link to the wiki? [12:35:46] mc128k, ^^ can you link to your Special:Version please? [12:36:32] Svetlana: Latest from git, I use the beta. http://wiki.mc128k.info (kinda slow, thats why I was looking at the profiling page) [12:38:36] mc128k: it works for me on your wiki exactly the same as on mediawiki.org [12:38:53] http://wiki.mc128k.info/index.php/Sandbox?veaction=edit [12:39:00] MatmaRex: ..????? [12:39:23] I don't see it, no browser caches... [12:39:53] oh wait, it broke now. huh. [12:40:20] fascinating [12:40:31] it loaded correctly once and now it's showing the raw code in the editor [12:40:56] Never showed the editor for me. funny [12:41:27] watching debug logs... [12:42:10] it sometimes parses correctly and sometimes not. weird [12:43:03] i got this: http://i.imgur.com/pExVHaJ.png or this: http://i.imgur.com/N094Y5F.png [12:45:05] Debug logs show nothing, trying to update parsoid [12:50:47] Updated parsoid, ran npm tests, now it works for me..! [12:52:06] oooh [12:52:15] how did you install parsoid initially ? [12:52:38] git [12:52:47] from what git repo ? [12:53:02] The module now works every time, it only has a bug that the language cannot be changed, nevermind. [12:53:15] now I'm curious, where did this code end up living? [12:53:57] I think I got this one... https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid [12:55:05] Yes, I'm sure. this is the URL it's using and I just updated [12:56:08] It looks like the code comes from a combination of VE, SyntaxHighlight_GeSHi and Parsoid, the syntaxhighlight primarily [13:01:38] Added note https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [16:03:41] What is the prefered characterset for MediaWiki databases, binary or UTF-8? [17:20:26] any idea why suddenly all my wiki edits have "This edit has not yet been patrolled" [19:11:26] Can someone walk me through gerrit setup? I have a wikimedia dev account, but don't see a way to login at gerrit.wikimedia.org [19:14:23] Hello, I've been trying *very* hard to to set up the use of .htaccess files on my new server in order to use short URLs for my Wiki - Nothing's working, period. Is anybody here experienced with Linux? [19:15:43] https://dpaste.de/i3hW There's my .htaccess file, I've tried putting it in several locations with no success. [19:16:24] G_SabinoMullane: "Sign In" in the upper-right corner? [19:16:43] Polkadot: i can't help you, but maybe this can? [19:16:45] !shorturls [19:16:45] 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 [19:16:52] MatmaRex: Nope, only thing is textbox with "status:open" in it. [19:17:37] Could be a browser issue? Using chrome [19:17:39] G_SabinoMullane: what browser? gerrit is really badly written and might not work with older or uncommon ones [19:18:04] heh, no, chrome should work… can you upload a screenshot somewhere? [19:18:26] MatmaRex: I've read that - It seems that my server won't accept .htaccess files for some reason :/ [19:18:30] https://gerrit.wikimedia.org/r/login/ [19:18:35] MatmaRex: I will work on that [19:19:18] Right now I'm stuck with a URL that looks like: http://{{website}}/mediawiki/indpex.php/{{Article}} - That's too long! [19:19:32] *index.php [20:19:25] helo any one here [20:19:35] yup [20:19:50] porom: on irc don't ask to ask [20:19:53] just ask :) [20:20:10] is it a chat room for support technical details [20:20:38] well, kinda [20:20:48] there's no paid support here [20:21:22] dont get wat u mean by paid [20:21:34] i just downloaded a softwr [20:21:46] but there was some error [20:21:52] porom: this is channel to chat about mediawiki software [20:22:01] and i coudnt complete it [20:22:26] porom: what software? [20:23:05] steinberg.cubase [20:23:28] recording soft [20:23:55] porom: nah, this is channel about software that runs (among many others) Wikipedia [20:24:22] porom: you probably want to look here http://www.steinberg.net/en/support.html [20:24:25] can u tell me where i can get [20:24:45] thanks let me try [20:46:15] MatmaRex, good day - would you be kind to look at my problem now ? [20:46:40] MatmaRex, this is the oneabout mediawiki-util [20:47:09] MatmaRex, where i get the message 'mw.util not defined' though the module has been loaded [20:50:04] in the module registry, it says the module is 'ready' however i get that darn js message that mw.util is not defined.... [20:52:24] in the module registry, it says the module is 'ready' however i don't see the module listed under 'sources' in the console [20:53:10] maybe someone else is familiar enough with javascript that can help me out please [20:54:08] i see roan is not available, and it appears matmaRex has stepped away... anyone else who can help me please [20:55:18] hypergrove: hey, could you give me a bit of context? [20:55:25] where are you seeing this? [20:55:27] ori i sure can [20:55:34] http://64.146.253.228/index.php?title=Main_Page&action=edit&mode=wysiwyg [20:56:23] i don't see any error, but perhaps i need to login so i can edit the page [20:56:25] if you could put a bpoint on the line with the error... [20:56:42] ok let me create guest/guest [20:58:00] guest/irc [20:58:04] done [21:04:13] ori, are you able to see the error? thank you for your time [21:09:53] ori, further context is that in my effort to find the problem here, i've removed all statements of dependencies on mediawiki.util, and also a few explicit loadModules(medaiwki.util), all in order to trigger loading the module at the first moment it is used, ie this script. So that is why it's status i s'registered' when you first go in... [21:15:41] hypergrove: sorry, got distracted. i'll look in a moment [21:16:09] ori, thanks overflow [21:19:21] hypergrove: this, you mean: Uncaught TypeError: Cannot read property 'getParamValue' of undefined ? [21:20:35] wha? [21:21:43] wait - the error i see is 'mw.util not defined' -- you seem to suggest mw.util is defined, but that fn is not? [21:22:07] the sequence in which modules are loaded is somewhat arbitrary [21:22:28] if you don't declare an explicit dependency of one module or another, it's possible for either module to load before the other [21:22:42] so it's entirely possibly that 'mw.util' is indeed not defined when that code runs [21:22:58] yes it can be, but i'm given to understand that load.using() loads the code synchronously [21:23:09] no, mw.loader.load() does [21:23:09] ori, further context is that in my effort to find the problem here, i've removed all statements of dependencies on mediawiki.util, and also a few explicit loadModules(medaiwki.util), all in order to trigger loading the module at the first moment it is used, ie this script. So that is why it's status i s'registered' when you first go in... [21:23:58] I get Uncaught TypeError: Cannot read property 'getParamValue' of undefined STB_Framework.js:688(anonymous function) STB_Framework.js:688window.mediaWiki.loader.using VM1764 load.php?debug=true&lang=en&modules=jquery%7Cmediawiki&only=scripts&skin=ontoskin3&version=2…:7173(anonymous function) STB_Framework.js:685jQuery.extend.ready VM1764 load.php?debug=true&lang=en&modules=jquery%7Cmediawiki&only=scripts&skin=ontoskin3&version=2 [21:23:58] …:392DOMContentLoaded VM1764 load.php?debug=true&lang=en&modules=jquery%7Cmediawiki&only=scripts&skin=ontoskin3&version=2…:748 [21:24:27] is mw.util defined there for ya? [21:25:38] ori: hmm, i just merged a patch to merge something like that today [21:25:46] to fix* [21:26:04] hi hypergrove. sorry, i was busy [21:26:20] https://gerrit.wikimedia.org/r/154459 [21:26:26] no need to apologize, it is I the supplicant ! [21:28:09] in my debugger (and who knows that could be a problem) mw.util is not defined, but if it is for others, i suppose possible, then that fn can be looked for [21:29:41] MatmaRex, looked at that fix, but not clear that's relevant here? [21:30:19] yeah, it probably isn't. sorry [21:31:16] hypergrove: by the way, MediaWiki 1.17 (which this wiki is using) is a bit old [21:31:28] ori & MatmaRex - before i went this route of load.using() as suggested by Roan/Matma, i had dependencies stated on mediawiki.util... the problem was the same... mw.util not defined [21:32:37] MatmaRex, i agree but my life is contrained at the moment, i DO want to move this code to 23 asap, but cannot now. [21:33:30] ori & MatmaRex, should i change load.using to loader.load()? [21:33:48] hypergrove: right, understood [21:33:51] hypergrove: most definitely not [21:34:30] i have no idea why this is not working, and i don't know the quirks old old MW versions :/ i wasn't a developer when 1.17 was being released [21:34:36] quirks of old* [21:36:14] this is jq 1.4.2 if thats useful to your thinking about what i can do [21:37:15] hypergrove: i debugged this a bit and it looks like mw.loader.using is not actually waiting for mediawiki.util's files to load :/ [21:37:41] hmmmm [21:37:53] hypergrove: why is ResourceLoader debug mode enabled on your wiki? [21:38:11] perhaps it might work if you disable it? [21:38:17] well... i can disable that pronto, yes? [21:38:27] doing... [21:39:00] (you can trigger that per-request by adding '&debug=true' or '?debug=true' to the URL) [21:39:18] (or at least i hope you can do that on MW 1.17, you can certainly do it these days ;) ) [21:40:01] done... yes that's what i was doing, but was hoping for further debug info [21:40:12] but i get the deal on that now [21:40:17] that switch [21:42:21] hypergrove: seems to work for me now (or at least, there are no JS errors) [21:42:40] strange no errors. [21:42:49] hypergrove: no idea why would RL debug mode do that, it is a lot more reliable in newer MW versions [21:43:57] with debug=true, the error is there.. without, yes no error but same behavior... that is, no editor [21:48:20] is the general RL behavior that it minifies js and all its named dependencies, except those already loaded? [22:00:01] yes [22:03:24] hmm well i never see mediawiki.util is ever said to be part of any module, when looking at the info, regardless of the value of debug [22:04:03] hmm well i never see mediawiki.util is ever said to be part of any minimized js, when looking at the info, regardless of the value of debug [22:04:49] hmm well i never see mediawiki.util is ever said to be part of any minified js, when looking at the 'sources, regardless of the value of debug [22:07:18] I don't see mediawiki.util is ever said to be part of any minified js regardless of the RL debug's setting... that is, when looking under the console at the list of 'sources' down-loaded by FF. [22:14:20] MatmaRex, anyone, why/how could a javascript error be shown when debug=true, but no error when not specificed, in the url? [22:15:16] hypergrove: i honestly don't know how to debug this, MW 1.17 is not code i'm familiar with :/ [22:16:10] any hints about what i might look at then? [22:16:28] any hints about what i might look at some more? [22:17:58] MatmaRex, i DO thank you sincerely for the time you've spent. I the supplicant! [22:18:21] no idea :( [22:18:31] and no problem, glad to help as much as i can [22:18:33] :) [22:18:44] maybe this is something i should take to roan? [22:18:53] other suggestion? [22:20:15] your best bet is really to upgrade MW to a recent version [22:39:36] I think I found a bug in the mw api [22:41:57] when creating a new section via the api - if the title param is supplied - the edit summary is discarded [23:02:42] hello [23:02:58] anyone online? [23:03:05] helloooo [23:03:07] ??? [23:03:10] I NEED HELP [23:04:45] derppo: I would suggest that you ask your question, and patiently wait for a response. [23:04:57] ok sorry [23:05:12] I have an issue with my page [23:05:43] its the fact that the infobox doesnt stay on the top right of the page, [23:06:05] and im using a html code somewhat instead of the default Template:infobox [23:06:12] because it gives me a loop [23:06:17] heres the code and link [23:06:23] http://pocketplanes.mywikis.com/index.php?title=Pocket_Planes_(game) [23:06:39] {| class="infobox" style= "float:right" "font-size:89%; width:60px; background-color:#fFF;" |- ! colspan="2" style="background-color:#35A9D3; color:#FFFFFF; font-size:120%; padding:1em;" | {{{Box title|Pocket Planes}}} {{!}}- {{!}} colspan="2" style="text-align:center;" {{!}} [[File:pocketplanes.jpg]]
''{{{caption| (Airport inside the game [[Mexico City]]) }}}'' | |- | style="float:right""width:30%;"background-color:#ABE9FF | ' [23:06:47] nvm [23:06:54] its not the full code [23:06:55] Pastebin any large lines of code if you need to [23:07:04] dont have a account [23:07:09] but sure [23:07:25] no account required pastebin.com [23:07:38] Just type in a captcha and you should be good to go [23:07:44] If you think you need to. [23:07:53] http://pastebin.com/GhZhVEAi [23:09:38] hmmm [23:09:47] I pretty sure the infobox doesn't end [23:09:54] ? [23:09:58] as in it needs a } at the end [23:10:49] ok ill try can u try again [23:11:10] nope [23:11:18] It didn't fix it? [23:11:56] This is what I see: {{!}}- '''''Pocket Planes''''' [23:11:58] i mean do i need a html thing to make it stay there [23:11:59] ? [23:12:02] oh [23:12:05] I think it'd want you to fix it. [23:12:19] no [23:12:24] no difference [23:12:28] like previewed it [23:12:30] and no luck [23:13:03] It shouldn't require html code to put it on top as long as the code comes first [23:13:46] Are you putting the } one line above "Pocket Planes is a business-themed"? [23:14:59] i suggest to get get rid of the {{!}} -- it's likelyy confusing the table markup parsing [23:17:05] ? [23:17:09] uhhhh [23:17:15] ok [23:18:29] nope [23:18:38] i need some help [23:19:52] yeah [23:19:54] i think [23:20:22] Well, you are starting with a { | so its kinda hard to help because http://pocketplanes.mywikis.com/index.php?title=Template:Module seems a little confusing to me [23:21:19] you want the code? [23:21:31] It's your code and stuff, so I can't be sure, but you could try starting with {{ and putting }} at the end. [23:21:41] It might (keyword:might) work. [23:25:40] WHAT? [23:25:42] what? [23:25:44] sorry caps [23:25:55] And by that I meant the pocket planes page, not the template page, but it is quite confusing to me. [23:28:01] can i have another person to reply me? [23:34:48] hello? [23:46:35] ? [23:53:15] how do you put a infobox at the top right? [23:59:58] hello?