[00:08:44] 03(NEW) ParserFunction to count number of occurrences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20398 enhancement; Normal; MediaWiki extensions: ParserFunctions; (king.of.hearts.wiki) [00:15:04] 14(WFM) ParserFunction to count number of occurrences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20398 +comment (10innocentkiller) [00:41:55] Do you guys have a suggestion for an extension that will embed YouTube? [00:42:10] Check MW.org? [00:42:16] Not sure how secure any of them are. [00:42:58] We use EmbedVideo. [00:43:10] GreenReaper: EmbedVideo isn't working anymore on their portuguese wiki [00:43:25] That's because they upgraded it. [00:43:27] I bet. [00:43:29] It's probably language settings or something, but it's using $wgMessageCache->addMessage, which is deprecated I think [00:43:40] Is it crashing? [00:44:03] The message isn't showing up properly [00:44:11] it's doing the placeholder ("") [00:44:22] Hmm, that's not good. [00:45:03] What's the alternative to that? [00:45:55] making an actual i18n file [00:46:13] but it's stupid to have that embed html snippet in the messages system in the first place [00:49:13] Just ran into my first encounter with the new preprocessor crashing a page. Viewing pages with the old one works just fine. Somehow, the system default was set to the new one (I suspect during an upgrade). How do you set the wiki to always use the old preprocessor? [00:49:26] I guess I'll fork the extension [00:57:08] tyrok, it's probably a bad idea to use the old preprocessor. I don't think it's really maintained anymore in practice. [00:57:22] What does "crashing a page" mean? [00:57:42] AryehGregor: The page is getting truncated, sometimes mid-word. [00:58:02] AryehGregor: I'd show you an example if I could. When I access it using the old preprocessor, it works just fine. [00:58:23] How long is the page? Does it use a lot of templates? Is there an HTML comment about preprocessor limits being hit? [00:58:37] Is the site publicly available? [00:59:00] AryehGregor: No, only accessible through an SSH tunnel, unfortunately. [00:59:22] AryehGregor: I have seen a limits message, but it doesn't always show up. [00:59:44] Could you maybe pastebin the HTML source of an example? [00:59:46] AryehGregor: I'm a little new to using MediaWiki, so if it's any help, you can assume I know very little about it. :) [00:59:56] TimStarling is the one to ask about this. [01:00:10] <^demon|away> (Old preprocessor was removed from svn, I thought) [01:00:31] AryehGregor: Dunno. Works just fine using the timtest $_GET parameter. [01:00:52] The Tim in timtest is TimStarling. :P [01:01:11] ^demon|away: Sorry, wrong person. Last message to AryehGregor was meant for you. [01:01:20] AryehGregor: Cool. [01:01:20] ^demon|away, yeah, looks like it. [01:01:37] tyrok, it's probably still in 1.15, just removed for 1.16. So switching to it isn't a good option. [01:01:40] I'm on Fedora 11, using the stock RPM version. [01:01:49] Oh, packaged versions. [01:02:13] Those can cause trouble. I was just arguing with the Fedora package maintainer a while back about how he moved tons of stuff around and broke various things horribly. [01:02:21] Because he had no idea what he was doing. [01:02:33] AryehGregor: Ah, well, that has a potential for explaining things. :) [01:02:34] I'd suggest you use the tarball from mediawiki.org if possible. [01:03:00] AryehGregor: I'll give it a try. Give me a little bit to see if I can get it working. [01:03:04] It should be possible to just drop it somewhere in /var/www and run the installer pointed at your current DB. [01:03:25] Then copy any customizations in LocalSettings.php, any extensions, etc. [01:03:49] You might want to make a DB backup, though, if Fedora is using an older version. There's no supported downgrade path. [01:04:22] AryehGregor: No extensions, it's a pretty simple install. FWIW, the F11 stock install still seems to support timtest. [01:04:32] AryehGregor: Will do. Thanks for the advice! [01:04:56] 1.16 is still alpha. Fedora isn't quite bleeding-edge enough to use development versions for stock packages. :) [01:08:40] AryehGregor: Downloading the 1.15.1 tarball now... [01:11:15] Parser_OldPP was removed in r43835 [01:13:11] that's 1.14 I think [01:15:15] Well, then, it's probably a good thing I'm going with the tarball. F11 reports 1.15.1, and it still supports timtest, so something's fishy. [01:15:23] Hmm, really? [01:15:54] 1.15 was branched at r48811. [01:16:44] So seems like it, yeah. [01:36:50] 03(mod) LIKE is completely broken for SQLite - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20275 (10Simetrical+wikibugs) [01:37:09] It's, like, totally broken. [01:43:54] 03(mod) A category has been categorised to itself - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20379 (10franklsf95) [02:13:40] 2-col-references don't work on Persian wikipedia!! [02:13:44] http://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7:%D8%B5%D9%81%D8%AD%D9%87_%D8%AA%D9%85%D8%B1%DB%8C%D9%86 [02:16:58] Nobody knows? [02:19:43] I changed [[w:fa:common.css]] but don't work yet(I purged my cache) [02:21:07] Amir1: I apologize for the lack of an answer [02:21:11] on behalf of the channel [02:22:43] please see that link.if doesn't work,tell me [02:23:11] what link [02:23:33] http://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7:%D8%B5%D9%81%D8%AD%D9%87_%D8%AA%D9%85%D8%B1%DB%8C%D9%86 [02:24:09] oh, I [02:24:17] I'm not sure how that works [02:24:26] something in common.js and common.css I'm sure [02:25:09] I going to check those again [02:28:46] .references-2column { [02:28:48] font-size: 90%; [02:28:49] -moz-column-count: 2; [02:28:51] column-count: 2; [02:28:53] } [02:28:54] I checked but doesn't work [02:40:00] what means "/* column-count is from the CSS3 module "CSS Multi-column Layout" */"? [02:40:31] AryehGregor: Installed the 1.15.1 tarball. Seems to work properly, but it's still truncating the output. [02:41:00] AryehGregor: Although more of the pages work, and it is getting further along before it stops. [02:41:17] AryehGregor: Any other ideas? [02:47:12] Here's a paste of the truncated code for the main page (with a lot of stuff redacted, being an internal development wiki): http://pastebin.com/d1975ad69 [02:56:22] Amir1, it doesn't work in all browsers. What browser are you using? [02:57:00] tyrok, oh, that looks like it's something wrong with your web server or PHP. Maybe things are being mis-buffered? [02:57:44] tyrok, try looking into PHP settings relating to buffering. [02:57:51] It's unlikely that that's directly related to the preprocessor. [02:57:54] Firefox 2. [02:58:23] Amir1, I don't recall if that supports column-count. Try in Firefox 3 or 3.5, Chrome, etc. [02:58:40] tyrok, I assume the truncation you're referring to is how it ends "Current e", right? [02:59:25] OK [03:00:21] I check in IE [03:00:42] It won't work in any version of IE. [03:00:56] It's a CSS 3 feature, no browsers fully support CSS 3 yet. CSS 3 isn't even fully specified. [03:01:20] If you really must have it displaying in columns for all users, you need to do it manually with tables or floats or something. [03:02:38] but i can see 2 columan refernces in english wikipedia and my firefox 2.x [03:02:55] Then probably the rule isn't being applied right somehow. [03:04:47] 03(mod) Favicon, apple-touch-icon links matching the defaults should not be sent - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19392 +comment (10Simetrical+wikibugs) [03:05:10] Amir1, I think you need the rule to apply to the ul, not the div. [03:05:32] 03(NEW) action=markpatrolled cannot be undone - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20399 enhancement; Normal; MediaWiki: Page editing; (xu.jimmy.wrk) [03:05:36] Amir1, try replacing ".references-2column" with ".references-column-count-2 ol.references" or something. [03:06:29]
    ? [03:07:00] It's an ol on that page, not a ul. [03:07:02] Er. [03:07:08] So I mean you want it to apply to the ol, of course. [03:07:14] 03(mod) Favicon, apple-touch-icon links matching the defaults should not be sent - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19392 (10greenreaper) [03:07:57] 03(mod) Favicon, apple-touch-icon links matching the defaults should not be sent - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19392 (10greenreaper) [03:10:44] AryehGregor:Chenged [03:12:20] Amir1, you spelled the class name wrong in the rule. It needs to be the same class as is on the div. [03:12:42] Hmm. [03:12:44] Or did you? [03:12:45] One sec. [03:13:54] Not sure why it's not working now. [03:13:59] Use something like Firebug to debug. [03:14:34] what's Firebug? [03:16:14] A Firefox extension for debugging web problems, like CSS. [03:25:13] I add on "," [03:25:24] I add a "," [03:47:36] Help, my mediawiki doesnt work. All the page with the name of UTF-8 cant not access. I just adjust a little with php.ini while instaling egroupware. [04:12:23] howdy [04:12:55] i'm having a real serious problem with my Common.js [04:13:52] most of my functions return errors in my browser's console saying that they're undefined [04:13:57] 03(NEW) 2 columan references doesn't work in Persian wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20400 normal; Normal; MediaWiki: General/Unknown; (ladsgroup) [04:14:00] but i have one function in there that works [04:14:13] and all the ones that say undefined, i tested in a regular webpage [04:14:18] so the syntax is fine [04:14:25] what on earth would be causing that [04:16:07] hello/ [04:16:07] ? [04:17:42] check if the one that works properly has a correct syntax, but manually [04:18:05] not just in a regular webpage, but with your own eyes on the code itself [04:19:09] um, of course the one that works properly has correct syntax. otherwise it wouldn't work, right? [04:19:54] do I really have to answer that question ? :/ [04:19:59] hotchip: can you pastebin your Common.js and Monobook.js and/or link to the wiki? [04:20:14] pastebin? [04:20:29] http://dpaste.org/ [04:21:07] copy and paste lots of text or code (like from your wiki's Common.js) to there, hit 'save' or 'submit', and give us the URL it generates [04:21:22] which reminds me i have to setup a mw for a family member's private use, btw... >_> [04:21:24] okay sure [04:21:30] *Alphos is lazy, and tired... [04:23:37] http://dpaste.org/Ob8b/ [04:23:46] gotoIns() works [04:24:07] contentUpdate() and elmLoop() both return 'function undefined' errors in my browser [04:25:05] nevermind the crap code [04:25:46] if i can get the f'ing thing to load the functions i'll fix them [04:26:11] var theForm = document.forms[0] [04:26:16] semicolon missing ? [04:26:31] *Alphos still noobs at php, but isn't a semicolon necessary here ? [04:26:34] doesnt matter, i just pasted that from the web to test it [04:26:45] it should give a syntax error not an undefined error [04:27:00] and its javascript not php [04:27:11] "works" for me, as in it gives errors when looking for elements it can't find, it doesn't give 'function undefined' [04:27:24] so, where is the rest of it, where are you calling these functions? [04:27:29] user js? [04:27:37] javascript: links? [04:27:53] tried javascript links, onclick events, onchange events, etc [04:27:55] nothign works [04:28:26] the weird thing is, gotoIns() works [04:28:27] can you link to this wiki? [04:28:49] cant make it public right now [04:29:19] well, go to a page you know is loading site JS [04:29:40] whats user js btw [04:29:40] and in your browser paste the pseudo-URL: javascript:void(contentUpdate()); [04:30:23] [[User:yourname/monobook.js]] can be loaded as personal JS (if enabled with a config var) [04:30:25] brb [04:33:23] b [04:33:32] see, the thing is, if that is your entire site JS, then there isn't anything wrong in it, syntaxtically [04:33:56] so there must be some other bad JS somewhere, or something calling those functions before they're defined (extension, edited js files in /skins maybe?) [04:33:58] thats the entire thing [04:34:42] but wouldnt they be defined once any extension had done its thing [04:34:54] i'm using extensions that add parser functions [04:35:03] but once the page loads, they are all rendered into html [04:35:09] and the javascript should be loaded [04:37:37] oh also [04:37:43] that testJs() function worked [04:37:57] but yet contentUpdate() is undefined [04:38:01] from the same page [04:38:13] BIZARRE [04:38:21] try moving testJs() to the bottom [04:39:21] hmm now its not working [04:39:35] not working where it was, at the top [04:39:43] but it was working a couple minutes ago [04:40:08] no idea then, we'd need to see it to debug more, most likely [04:41:03] ever heard of anything like this?" [04:41:36] yah, bad syntax in another JS file or inline