[00:14:35] wow, alot more people here than I expected [00:17:23] Anyone on that can help me with .svg files? [00:22:14] !ask | Hintswen [00:22:14] --mwbot-- Hintswen: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. See also: !gethelp [00:24:49] lol i was wondering if someone was gonna say that [00:25:59] I uploaded the australian flag svg file from wikipedia onto my wiki Link: http://habbowiki.org/wiki/File:Flag_of_Australia.svg and it's not displaying properly. Not sure if I need to install one of those things that will make it convert properly (and if I do, can I even though I'm running on shared hosting?) [00:26:23] @search svg [00:26:23] --mwbot-- Results: [svg] [00:26:26] !svg [00:26:26] --mwbot-- For more information regarding SVGs in MediaWiki, see . [00:26:35] Have you read that? [00:26:37] already checked that [00:27:24] I havent's installed any of those conversters though, not sure if i can because i'm on shared hosting [00:27:26] 03(NEW) action=edit&redirect=yes does not redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20414 normal; Normal; MediaWiki: Redirects; (jidanni) [00:27:58] how doese one edit the content of there special:upload page [00:28:22] Hintswen: Without a converter, it's pretty hard to render the SVGs. [00:28:28] You're probably better off just uploading a PNG. [00:28:44] Can I install a converter on shared webhosting? [00:28:59] Possibly, but I don't think it's simple. [00:29:08] imagemagick might be available on a shared host, but I think it tends to be kind of crappy at SVGs [00:29:22] Yes, you'd probably want rsvg. [00:29:23] thought so. Maybe I'll ask my host if they have any of them installed [00:29:39] Installing anything on shared hosts usually makes me want to... get a real server. [00:29:55] well I have 2 VPS's but I dont use them for hosting any of my sites [00:30:13] So install a webserver? :-) [00:30:25] what shared host you using [00:30:42] both my VPS's are too busy with other stuff to be hosting websites unfortunatly [00:30:45] the one i have for the wiki i run has imagemagick alredy installed [00:30:50] HostGator [00:33:05] ImageMagick is installed [00:43:33] looks like it's just ImageMagick :( [00:43:57] The others can be something of a pain to get on in terms of dependencies. [00:44:12] I think FileRepo lets you use Wikimedia's images without uploading and auto-converters to PNG. [00:44:17] !filerepo | Hintswen [00:44:17] --mwbot-- Hintswen: I don't know anything about "filerepo". You might try: !foreignfilerepos !instantcommons [00:44:26] !foreignfilerepos | Hintswen [00:44:26] --mwbot-- Hintswen: see http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos [00:45:00] It probably shouldn't direct the message to the piped person if it doesn't know anything about it [00:45:38] lol true [00:45:46] thanks for the link, i'll go read it now :) [00:46:49] Emufarmers: Contact Amidaniel. ;-) [00:46:52] :O this will probably save my ALOT of hassels [00:47:00] If you can get it working, yeah. [00:47:08] I've done it on shared hosting. [00:47:23] I'd have better luck contacting the dead [00:47:41] Emufarmers: do you know Java? [00:47:51] lolJava [00:48:21] Depends what you mean by "know"; I took two Java courses last year (well, one Java course and one data structures course that used Java) [00:48:35] http://amidaniel.com/viewvc/trunk/MWBot/?root=svn fixit urself [00:48:46] It's actually written in Java? [00:48:51] Yes. [00:48:52] :-| [00:49:12] Anyway, it's a trivial thing to change, so I'm sure I could do it, but he'd still have to actually apply it [00:49:37] Someone should e-mail him... [00:49:47] It should be a multi-maintainer project on the TS. [00:51:10] *MrZ-man has to re-learn Java this semester :P [00:51:24] Also, trying to actually view the code gives a 500 error [00:51:25] lolopensource [00:51:47] http://amidaniel.com/svnroot/trunk/MWBot/src/com/amidaniel/mwbot/ [00:51:56] yey [00:53:38] Hmm, getUnknownResponse() in MWBotParser.java, I suppose [00:53:55] Warning: file_put_contents(/home/hintswen/public_html/habbowiki.org/images/thumb/Flag_of_the_Philippines.svg/) [function.file-put-contents]: failed to open stream: Is a directory in /home/hintswen/public_html/habbowiki.org/includes/filerepo/ForeignAPIRepo.php on line 172 [00:54:01] I guess i just beed to chmod the images folder to 777? [00:54:05] No, higher up the call chain... [00:54:40] oh wait, sure helps to read the error lol [00:55:30] oh, just make it not add namePart if ret was null [00:55:56] 03(NEW) Magic word 'categorytree' not found - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20415 enhancement; Normal; MediaWiki extensions: CategoryTree; (marius) [01:10:34] 03(mod) Delete threads in discussion page if the page is deleted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19409 +comment (10wlamagna) [01:12:36] 03(mod) External link syntax which adds rel="license" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9666 +comment (10hartman) [01:30:14] 03(mod) Auto account creation creates privacy vulnerability - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19161 (10hozanji) [01:37:02] hmm... [01:37:11] anyone know whats wrong with this: $wgNamespaceProtection[NS_TEMPLATE] = array( 'sysop' ); [01:37:32] trying to protect templates so only sysop can edit, loged in as sysop and it say i dont ave permission [01:37:43] "You do not have permission to edit pages in the Template namespace." [01:39:37] 03(mod) action=edit&redirect=yes does not redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20414 normal->15enhancement; normal->low; +comment (10innocentkiller) [01:43:02] Hintswen: Well, templates can technically be in any namespace, so that's not very secure. [01:43:18] You can transclude any page. {{foo}} is Template:Foo, but {{User:foo}} is User:Foo, etc. [01:43:25] The unnamed namespace is {{:foo}} [01:43:34] As for your specific question, NFI. [01:44:15] <^demon> Annemarie: Does bug 20414 seem useful? [01:44:27] aah, you answered another thing i've eben wondering about lol [01:44:49] &redirect=yes? Haha [01:44:50] tried to include an article in no namespace using {{article}} and it wasnt working, tried Main:Article too lol [01:45:00] I guess it could be. [01:45:11] Does that work with views? [01:45:14] I've never seen anyone use it. [01:45:15] <^demon> No. [01:45:41] So the action=edit bit a bit misleading in the summary, unless they only want &action=edit to work... [01:45:56] bit a bit? Yeah, that makes sense... I need food. [01:45:57] <^demon> "Gentlemen, often one wants to be sure one will be editing the redirect itself, so one gives the URL with redirect=yes&action=edit" [01:46:06] BTW how isnt it secure? I just dont want people editing the templates that are up there cause I know most people are just going to vandalize the wiki. [01:46:14] <^demon> Sure, if they like giving made up URLs that aren't documented to exist anywhere :) [01:46:16] ^demon: Yes, seems like it could be useful. [01:46:45] &redirect=no certainly is. &redirect=yes would be good for future-proofing edit links, presumably? [01:46:58] Kinda confusing, though, if you think about it too much. [01:47:26] Sounds like you're saying the page is a redirect (&redirect=yes!). [01:47:41] &followredirect= :PP [01:47:41] <^demon> Adding redirect=yes would imply to me that no redirect param implies redirect=no...which isn't the case. [01:47:55] It is with ?action=edit. [01:48:12] <^demon> redirect=yes/no/purple doesn't do anything on action=edit :) [01:48:56] Really? [01:49:03] Oh, I guess that's right. [01:49:24] *^demon adds redirect=purple as an easter egg [01:49:35] But it does _not_ redirect when using &action=edit, which would be the same behavior and wouldn't be confusing... [01:49:46] The absence of the parameter matches the implication. [01:50:17] <^demon> True. [01:50:34] *^demon has better things to do than add redirect=yes to EditPage. [01:50:58] What about &redirect=purple? [01:51:05] *MrZ-man tries to think of what redirect=purple would do [01:51:06] <^demon> Now that I can do! [01:52:00] <^demon> Annemarie: I'm boycotting EditPage until somebody decides to make it more like a sane class and less like a crack den. [01:52:27] Change starts at home! [01:54:16] *MrZ-man changes Annemarie [02:00:07] uugh i dont get this lol [02:09:35] Does anyone know if there's an extension for adding extra user prefs and having them accessible from another PHP page? [02:11:47] Extension:PreferencesExtension :O [02:13:03] I doubt it, until very recently, it was a huge PITA to add preferences with an extension [02:15:20] You're a huge PITA. [02:15:37] *MrZ-man spreads hummus on Annemarie [02:15:44] *Annemarie licks himself. [02:23:42] Hintswen: you can protect against the transclusion vulnerability with $wgNonTranscludableNamespaces [02:24:09] that exists? [02:24:09] Hmm, no, that's not what it's called [02:24:37] $wgNonincludableNamespaces[ [02:24:40] -[ [02:25:17] *MrZ-man listens to talks from wikimania [02:25:34] Though...that's irrelevant if you're only interested in restricting editing and not viewing [02:25:53] *Emufarmers slaps Annemarie [02:26:07] The hell? [02:26:36] He wanted to stop template editing. I told him any namespace can be a template. [02:26:42] I'm right, leave me alone. :-( [02:27:51] Yes, because when he says he wants to protect templates, clearly he's concerned about transcludability, not the actual template namespace. :-| [02:28:50] *Emufarmers snuggles [02:28:58] Hintswen: it's not working because $wgNamespaceProtection is based on rights, not groups [02:29:29] You need to say, say, $wgNamespaceProtection[NS_TEMPLATE] = array( 'delete' ); [02:29:46] Or define your own right and give it to the sysop group [02:35:55] yeah i actually figured it out a few mins ago lol [02:36:02] I used editinterface [02:50:57] Is there anyway to whitelist or blacklist pages included in special:search? [04:19:03] Splarka: Was it you who had a bunch of spinners lined up on differing backgrounds? [04:19:22] [[mw:User:Splarka/Throbbers]], I believe [04:19:42] bah, on mediawikiwiki :\ [04:19:51] er, no, wait, maybe it's on test [04:19:52] btw, Mike_lifeguard are you at wikimania? [04:20:00] sadly no [04:20:03] kk [04:20:21] http://www.mediawiki.org/wiki/User:Splarka/Throbber [04:20:27] <3 [04:21:15] any requests for throbbing? [04:21:34] I got a few I didn't upload [04:21:38] Splarka: and when they look bad on dark, the problem is... what? (or alternatively, what should people do to make their spinners look better on dark?) [04:21:40] My only request is for your everlasting TLC. [04:22:38] Mike_lifeguard: for example, blue backgrounds on en.wp non-content spaces [04:22:42] you can never predict the background color [04:22:53] but really, it just shouldn't totally suck on non-white [04:23:05] You can predict all you want. You'll just be wrong in small cases. :P [04:23:17] yeah, exactly, so what should be done differently? [04:23:30] as for what they should do, it isn't easy to do it right, resizing images down to an animated gif merges with some color, usually white, unless you know what yer doing [04:23:36] oh, I draw each frame manually [04:23:41] then I know there is no edge-bleed, generally [04:24:41] *Mike_lifeguard passes along that recommendation [04:25:17] also, creating them at the finalized size, prevents having to resize them down causing background merge [04:25:26] http://img521.imageshack.us/img521/5116/throbberallbackgroundsb.gif [04:26:01] http://img521.imageshack.us/img521/5092/throbberallbackgroundss.gif [04:26:34] well, at least the edges where they touch transparency (since gif is monochrome transparency rather than an alpha layer) [04:27:53] Splarka: http://redmine.emesene.org/issues/show/69 fyi :) [04:28:39] 69 eh [04:29:15] what GreenReaper is to bytes in HTML, I am to anim gif, sorta [04:29:36] dithering is the worst enemy of anim gif [04:30:52] http://img128.imageshack.us/img128/6296/squarecirclespiralanim2.gif [04:31:44] You didn't make that one, did you? [04:31:45] Mike: nice, heh [04:32:01] hm? [04:32:04] I made that one, I didn't make http://blogs.discovermagazine.com/badastronomy/files/2009/08/squarecirclespiral.jpg [04:32:21] Mike: the emesene bug loaded finally [04:32:35] ah :D [04:32:40] The animation just makes it so much better [04:32:52] so your level of awesome just went up by one [04:33:03] is that good? [04:33:15] I think so [04:33:18] yay [04:33:29] bit too big for a throbber tho [04:33:47] File:Loading.gif is nice [04:34:04] yah, is the best one there that isn't mine [04:34:17] which is your pick? [04:34:18] but not very mediawikithemed [04:34:26] eh, I'd vote to keep the flower [04:34:43] ahh, idea [04:34:53] what flower? [04:35:23] http://en.wikipedia.org/skins-1.5/common/images/spinner.gif [04:35:29] that's supposed to be a flower [04:35:54] oh, that's hideous [04:36:43] yah, but is what we got [04:38:15] I wonder if the "spiral" would work if you took just one of its rings [04:38:27] too bad rotsnake doesn't scale [04:40:08] yeah [04:41:19] http://www.ritsumei.ac.jp/~akitaoka/rotsnake7.gif would be an awesome throbber [04:42:06] Heh, just make a version that actually rotates [04:47:17] ehm [04:47:20] http://commons.wikimedia.org/wiki/File:Rotsnake7.gif [04:47:27] http://toolserver.org/~daniel/WikiSense/CheckUsage.php?i=Rotsnake7.gif&w=_100000 [04:47:35] pretty sure that is a photo negative of the original [04:47:37] not public domain [04:47:52] that makes my eyes hurt [04:48:10] just been there 3.75 years, no rush ^_^ [04:54:44] 03(NEW) ee-helper is not compatible with Chinese namespace names and file/title names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20416 enhancement; Normal; MediaWiki: Page editing; (liangent) [04:54:55] 03(mod) ee-helper is not compatible with Chinese namespace names and file/title names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20416 15enhancement->normal (10liangent) [05:00:18] apergos: some eye bleach http://imgur.com/3MyfW.jpg [05:00:37] poor thing [05:01:10] the cans are about perfect :-P [05:03:00] I guess that's about all bud light is good for [05:17:58] howdy [05:23:32] anyone up [05:26:08] !ask | needhelp1 [05:26:08] --mwbot-- needhelp1: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. See also: !gethelp [05:26:30] just came to chat [05:26:35] okay [05:26:38] was wondering if anyone was up [05:28:23] str4nd: what are you up to? [05:35:41] needhelp1, killing vandals [05:35:43] 03(mod) ee-helper is not compatible with Chinese namespace names and file/title names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20416 (10liangent) [05:39:24] I went looking for something on the Amharic/Ethiopian Wikipedia (http://am.wikipedia.org/wiki) and I noticed that when you type in the search bar, it automatically transliterates roman into Ethiopic. Does anybody have more details? [05:40:46] 03(mod) ee-helper is not compatible with Chinese namespace names and file/title names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20416 +need-review +patch (10xu.jimmy.wrk) [05:44:07] 03(mod) ee-helper is not compatible with Chinese namespace names and file/title names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20416 +comment (10liangent) [05:56:50] Anyone? [06:17:20] Hi [06:19:59] rar [06:21:12] i have a small problem [06:21:29] where is logos my wiki [06:33:08] 03(mod) XHTML parse error when using some math formulas - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19177 (10alex.emsenhuber) [06:34:52] morning people =) [06:34:59] torrentow: say what? [06:35:30] how to change my logo wiki [06:35:50] shouldn't be much of a problem, should it? just change $wgLogo? [06:35:58] Yes [06:36:17] if it doesn't work, check your apache error log for clues. [06:36:50] make sure to specify a full path [06:38:12] ?? [06:38:25] ? [06:39:17] all4you.site88.net/wiki [06:39:17] !logo [06:39:17] --mwbot-- The logo that appears in the top left of each page is determined by $wgLogo in the LocalSettings.php file. To change this you simply change the value of $wgLogo to point to the URL of your own logo. See for more information. Be sure $wgLogo is set to an absolute path, starting with "/" (or a protocol "http:"/"https:"). If you are using pretty URLs a relative path will behave oddly. [06:39:35] so most likely you have a bad path [06:39:49] you want to give it a path that a user's browser will be able to access, not a directory path [06:40:33] ok thx [06:42:02] What extensions should I install, if any, to be best prepared for the "digg effect"? (A bandwith surge) [06:42:49] !cache | Neurotiquette [06:42:49] --mwbot-- Neurotiquette: I don't know anything about "cache". You might try: !filecache !memcached !purge !refresh [06:42:56] :< [06:43:17] !cache is http://www.mediawiki.org/wiki/Manual:Cache [06:43:17] --mwbot-- Successfully added keyword: cache [06:43:22] !cache | Neurotiquette [06:43:22] --mwbot-- Neurotiquette: http://www.mediawiki.org/wiki/Manual:Cache [06:43:26] Woo [06:43:40] @search Manual:Cache [06:43:40] --mwbot-- Results: [cache] [06:43:46] Anyway, extensions are mostly about adding functionality, not improving performance [06:43:56] Hmm [06:43:57] !performance [06:43:57] --mwbot-- [06:43:59] huh, nothing else linked to it? odd [06:44:48] !performance is [06:44:48] --mwbot-- Keyword "performance" already exists. Use "!performance del" to remove it. [06:44:57] http://www.mediawiki.org/wiki/Manual:$wgMiserMode <-- will greatly improve site performance [06:45:01] Emufarmers: pm it [06:45:06] yah yah [06:45:21] you might wanna flip on $wgMiserMode if the site slows down too much, temporarily [06:45:35] I feel kind of awkward changing it through PMs, given that bot changes aren't logged anywhere [06:45:58] they is [06:46:02] orly? [06:46:08] orally [06:46:09] http://toolserver.org/~amidaniel/chanlogs/Emufarmers/ [06:46:23] o: [06:46:28] So [06:46:47] I confessed my deepest secrets to mwbot, and now he's betrayed me like this D: [06:46:48] No major changes you'd make in preparation? [06:47:17] Neurotiquette: enable filecache and memcache, and have miser mode ready in a pinch, is what I'd do probably [06:47:19] Er, no, definitely major changes I'd make: the ones in http://www.mediawiki.org/wiki/User:Aaron_Schulz/How_to_make_MediaWiki_fast [06:47:22] oh and disable page hit counters [06:48:57] Splarka: that's not really a log of changes, by the way; it only helps if you know who made a change and that a change was made in the first place [06:51:17] "bot changes aren't logged anywhere" == false [06:51:28] you didn't say "there isn't a log of changes" [06:51:35] they are bot changes, they are logged [06:51:41] not my fault they're widely distributed ^_^ [06:52:20] Meh, it's equivalent to having Special:Contributions but no article histories or recent changes :) [06:52:30] sofixit [06:55:20] kk. [06:55:39] 03(mod) Corrupt content in Description in opensearch results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20411 +comment (10alex.emsenhuber) [06:55:43] have a centralized /privmsg/ folder [06:55:47] or something [06:55:56] 03(mod) Corrupt content in Description in opensearch results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20411 (10alex.emsenhuber) [06:56:51] hm, I actually have a wikilogo problem of my own; [06:57:05] [Fri Apr 24 17:55:02 2009] [error] [client 192.168.100.2] File does not exist: /srv/shares/intranet/htdocs/images/elvaWikiLogo2.png, referer: https://intranet.elva.se/wiki/index.php/Huvudsida [06:57:53] you don't want a system path, you want a web path [06:58:01] ah ok [06:58:21] all wgLogo does is stick that parameter value into a style="background-image:url()" [06:58:51] but, shouldn't it work to have a system path then? [06:59:48] eh no [06:59:57] hehe.. [07:00:01] unless http://yourserver/srv/shares/intranet/htdocs/images/elvaWikiLogo2.png is a valid image [07:00:03] is it? [07:00:11] er https [07:00:27] no.. [07:00:45] doh, [07:01:06] *gamla_kossan missed the "url" part [07:01:12] =) [07:01:26] still, I don't get this problem when I'm on the same net as the wiki box [07:01:35] just when I'm trying to access it via my proxy [07:01:39] Thanks Splarka [07:01:54] I mean, it /could/ grab the file on the backend, and copy it to a public folder, but that won't work all the time, especially if such folders aren't writable... it could make a back end symbolic link but that also might be an access problem [07:02:09] so all i t does is let you specify a web path [07:03:30] hm, not sure I follow. nevermind though, I'll just make it accessible via a web path. [07:03:38] thanks Splarka =) [07:03:51] rar [07:04:28] Anyone have a good strong argument I can use to convince a developer to upgrade a MW installation from 1.13 to 1.15 ? [07:04:56] Daworm: well, why do _you_ want it to happen? =) [07:05:04] Well, ideally you would find some new feature or bugfix that you know he needs [07:05:15] one key features is the |link= ability with images... [07:05:25] There you go! [07:05:29] =) [07:05:31] http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_14/phase3/RELEASE-NOTES?view=markup [07:05:34] http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_15/phase3/RELEASE-NOTES?view=markup [07:05:37] Means less CSS hacking to make the same feature happen (I tried that argument, didn't work :( ) [07:05:38] Otherwise, there's always the old standby: "omg security!" [07:05:46] Emufarmers: :D [07:05:52] Just tell him that if he doesn't upgrade: [07:05:54] !worstcase [07:05:54] --mwbot-- Generally, the worst that can happen is that someone compromises your site, steals your data, deletes it and replaces it with kiddy porn. Then they start a spam service on your server advertizing the kiddy porn to twenty million email addresses, daily. Then your home gets raided, you get fired and your wife leaves you. [07:06:41] Ooo - I should drill through the release notes for 1.14 as well (didn't do that) and then try worst case :) [07:07:07] I can understand his not wanting to do it (at least just yet) with getting a game ready for launch very soon... he would be a tad busy :) [07:07:29] I'm working at getting appropriate access to the wiki install to do tit all myself. That's on the "todo" list though :( [07:08:00] why not let the dev do his job and get the sysadmin to his job instead, ie upgrade the wiki if necessary? [07:08:06] =) [07:08:11] He's both :P [07:08:14] ah =) [07:12:15] morning [07:13:30] rarabbit [07:14:06] Whats the easiest way to display an RSS feed (in this case, from twitter) on mediawiki? [07:14:12] I've got htmlets extension enable [07:14:13] d [07:15:39] Splarka: thanks a lot, works just fine now =) [07:15:46] goodgood [07:16:02] Neurotiquette: http://www.google.com/search?q=site%3Amediawiki.org+rss+extension [07:16:09] several generate RSS, several embed [07:18:44] yes !! I think I found one I can use :) [07:18:44] https://bugzilla.wikimedia.org/show_bug.cgi?id=19693 [07:20:08] I shall form my e-mail during the next day or two and look to finding a few more security bugs like this as examples :) [07:20:38] TY Splarka for the links :) [07:22:04] Daworm: please thank Emufarmers too ^_^ [07:22:46] >_> [07:22:55] TY Emufarmers for the worstcase :D [07:23:07] and the suggestion of bugfix :) [07:23:15] I'm sure there's another golden egg or two I can use :P [07:23:29] One or two functionality, 1 or 2 security fixes... RAWR! [07:23:41] And perhaps convince on doing the quarterly updates... :) [07:23:59] well - *waves* toodles all! [07:24:16] thank you Emufarmers [07:24:25] *Splarka is still winning [07:24:30] :v [07:26:06] how do i check if a page is special page? (in extension!) [07:26:18] check the namespace number [07:26:44] alright. thanks [07:26:58] $wgTitle->getNamespace(), [07:27:28] that'll tell you if it starts with Special: or an alias/translation thereof [07:27:39] okay. got it :) [07:27:56] (or is a bad title, which goes to Special:Badtitle [07:27:59] silently) [07:35:59] is there some hook that will get called before any type of page (regular, special, ???) gets rendered? i need to modify the output based on some rule [07:36:07] probably a skin hook [07:36:11] OutputPageBeforeHTML doesn't cut it [07:36:15] okay [07:36:43] but if you have a squid/varnish cache, anon users won't hit that hook [07:36:54] (though they'll see the cached version of the last hit of it) [07:37:34] http://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay ? [07:37:47] alright [07:37:49] http://www.mediawiki.org/wiki/Manual:Hooks/SkinAfterBottomScripts should be the very bottom of the page, just before [07:38:11] so it is before it is shown, but after it is rendered, or something [07:39:06] http://www.mediawiki.org/wiki/Manual:Hooks#Skinning_Templates etc [07:40:56] thanks. i think i'll manage now :) [07:42:04] Hi :-) [07:53:36] Is it possible to try the new mediawiki beta (Acai) and theme on my own machine? [07:54:09] Sure [07:54:44] Check out the trunk version of MediaWiki [07:54:59] Er, that is, svn checkout it :) [07:55:18] Cool, thanks :-) [07:57:47] is acai going to be included in 1.16? [08:12:37] how to check if a page happens to be the login page? [08:15:29] mmm, SpecialPage::resolveAlias( $wgTitle->getDBkey() ) should return "Userlogin" [08:16:05] http://en.wikipedia.org/wiki/Special:UserLogin http://en.wikipedia.org/wiki/Special:UserLogin/signup http://fr.wikipedia.org/wiki/Sp%C3%A9cial:Connexion etc, all the same [08:16:06] okay. i will give that a go :) [08:17:17] superb! :) [08:17:17] I enabled the new Vector skin, but I can't find Enable enhanced editing [08:17:28] toolbar. Do I need to install an extension for this? [08:17:53] probably http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/UsabilityInitiative/ [08:19:11] Cool, thanks. [08:28:05] 03(mod) Add "view source" links in subsections of protected documents - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20401 (10liangent) [09:52:50] I'm having a problem where occasionally the content of tags is not rendered (i.e. as a png) and instead the raw tex is shown. The png will show correctly if I edit->preview the page but this doesn't cause the formula to render in the regular view. Any idea why this might be happening? [09:59:28] 03(mod) Images accessibility with gallery, alt= doesn't exist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18682 (10bury.rodan) [10:00:36] 03(FIXED) PDF rendering now accepts inline font sizes but doesn't adjust line spacing to suit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19223 +comment (10volker.haas) [10:00:46] hello. I have a mediawiki wiki on my site. I want to link from an article to a page in my domain but outside the wiki. How do I do that without hardcoding the domain name? [10:01:39] 03(mod) Provide a method to allow alternate text for images to be provided at the file description page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19906 +comment (10bury.rodan) [10:02:13] !interwiki | DexterLB [10:02:13] --mwbot-- DexterLB: Interwiki links are links between wikis. For instance, on Wikibooks, [[w:Article name]] or [[Wikipedia:Article name]] will link to a Wikipedia article. To set up interwiki links, see and . For easy configuration, use [10:02:38] qr: Special:Preferences [Math], what is selected there? [10:02:45] thank you [10:03:20] Splarka: always render PNG [10:03:26] odd [10:03:37] You're sure your directories don't have any space / permissions issues? [10:04:05] Splarka: it works 99% of the time, but sometimes one formula will get "stuck" not rendering [10:04:25] does it always work with preview? [10:04:39] yes [10:05:06] hmm [10:05:15] and after preview does it still fail in view? [10:05:54] can you go to a regular page view where it has failed, view the source, and paste the (if there is one)?, eg: 2^2 [10:06:05] Splarka: yes, it still fails in view. Actually I just tried previewing the full page (instead of just the section with the problem) and the problem still shows there. [10:06:17] ahh [10:06:24] then possibly permission errors as Annemarie said [10:06:30] or timeouts [10:06:52] Splarka: timeouts are probably a good guess, the page is very formula heavy [10:07:08] try creating them in increments, rather than all at once? heh [10:07:36] once created, if the contents of the tag don't change, the image is static [10:07:51] (unless you're like apergos and like to delete static images!) [10:07:54] The implementation is just gross. [10:07:57] hm [10:08:08] I usually notice either re-rendering or delayed loading for pages with a lot of formulas. [10:08:12] On every refresh. [10:08:39] The Math reference desk at en.wiki is the worst. The page loads and then everything moves by two pages with the formulas finish. [10:08:51] s/with/when/ [10:08:59] *Splarka nelson muntzs Annemarie [10:09:06] :-( [10:09:29] aww [10:09:46] what setting am I looking for if I wanted to increase the timeout for rendering math? [10:12:02] hello [10:24:03] 03(mod) LIKE is completely broken for SQLite - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20275 (10niklas.laxstrom) [10:28:22] 03(mod) Magic word 'categorytree' not found - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20415 (10niklas.laxstrom) [10:36:21] 03(NEW) Don't show the diff between draft and stable version when editing a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20417 enhancement; Normal; MediaWiki extensions: FlaggedRevs; (claymore.ws) [10:40:28] hi@all [10:40:44] is it possible to import articles from an older mediawiki installation? [10:41:17] why you want to import instead of upgrade [10:42:03] Nikerabbit: it is another installation on another server [10:43:59] i try to move the wiki (1.6.12) from one server to mediawiki-1.15.1 on another server [11:00:55] chah: and, why don't you move the whole wiki? [11:09:54] chah, update, then move [11:10:04] it's the easiest [11:24:47] how can i change the color of an yet unwritten link in mediawiki ? i tried to type a:link.new { color: #087BF8; } in monobook.css(is used) and common.css but the color doesn't change... any hints ? [11:33:23] have you tried a.new:link ? [11:35:56] same result with both... a.new:link { color: #087BF8; } and a:link.new { color: #087BF8; } [11:47:32] 03(mod) Provide a method to allow alternate text for images to be provided at the file description page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19906 (10xenowiki) [11:48:18] remove the :link [11:49:53] how can i properly urlencode the pagename? {{urlencode:{{PAGENAME}}}} returns crap for ampersands. see http://www.mediawiki.org/wiki/User:Subfader/1_%26_2 Here & becomes %26amp%3B [11:50:40] i want to use {{urlencode:{{PAGENAME}}}} in a template that uses the pagename in a {{fullurl:...}} and & should become %26 [11:52:11] but {{fullurl:Foo¶m={{urlencode:{{PAGENAME}}}}}} returns & as & which I can't seem to {{#replace:...}} [11:55:22] {{fullurl:Foo|param={{PAGENAME}}}} [11:55:56] this includes blanks [11:56:21] replacing those with + returns \+ [11:56:58] {{fullurl:Foo|param={{PAGENAMEE}}}} ? [11:57:04] doh [11:57:53] that was it :) [11:59:28] now it has ugly underscores instead of + [12:00:11] i wouldn't mind much but the page name is returned in a form input catched from the url parameter [12:02:06] and {{#replace:{{PAGENAMEE}}|_|+}} replaces _ to \+ [12:07:46] got it. {{#rreplace:{{PAGENAMEE}}|_|+}} [12:27:59] 03(FIXED) Install PdfHandler extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11215 +comment (10thomasV1) [12:39:22] Platonides: on my old server i can't install php5 [12:39:27] 03(mod) Subcategories listed in Category list should have page title in tooltip (title=""). - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20412 +comment (10alex.emsenhuber) [12:39:39] therefore i can't update the old installation [12:40:11] 03(mod) Subcategories listed in Category list should have page title in tooltip (title=""). - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20412 (10alex.emsenhuber) [12:40:43] 03(NEW) Set up "Rollback", "Autoreviewer" group, and assign 'patrol' rights for (Auto)confirmed group on yuewiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=20419 enhancement; Normal; Wikimedia: Site requests; () [12:41:41] Platonides: is it possible to move the database from the old wiki an update it with a new wiki installation? [12:43:36] 03(mod) ee-helper is not compatible with Chinese namespace names and file/title names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20416 (10alex.emsenhuber) [12:52:52] is there a way to add an import command into MediaWiki:Common.css to split it up a bit? [12:53:20] So far I only figured out how to import css via Common.js [12:59:57] you can use the @import method from memory and pull other pages into it [13:03:14] 03ashley * r55617 10/trunk/extensions/Interwiki/ (5 files): [13:03:14] Interwiki: [13:03:14] *cleanup [13:03:14] *add version number [13:03:14] *code comments [13:03:15] *if DB is locked, don't allow editing/adding/deleting prefixes [13:11:07] ok i guess i keep it all in one page. just saw the incredibly long Common.css on wp [13:11:33] Subfader: oh, you can do.. [13:12:49] @import url(http://en.wikipedia.org/w/index.php?title=page.css&action=raw&ctype=text/css); [13:12:55] but you need a stable uri [13:13:17] (ergo, can't work on wikipedia, because some people will use secure.wikipedia.org [13:14:15] but better to have less calls for such a major page ? [13:14:43] in most cases yes. It's cached anyways. [13:21:45] how can i get the most popular pages in my wiki? [13:22:38] go to Special:PopularPages [13:26:49] ialex: thanks, in which table the views are stored? (I want to create a cloud of the most popular pages) [13:27:17] Kfir: in the page table [13:27:43] the field should be page_counter [13:28:20] ialex: thanks a lot :) [13:28:33] no problem :) [13:42:18] *ialex stabs wikibugs [13:43:28] *^demon stabs ialex [13:43:44] o_O [13:47:29] <^demon> ialex: Did you break a parser test in r55601? [13:47:42] <^demon> http://www.mediawiki.org/w/index.php?title=Special:Code/MediaWiki/path&path=/trunk/phase3 [13:47:45] ^demon: which one? [13:47:52] ^demon: see Brion's comment at the bottom [13:48:29] <^demon> Oooh weird. [13:51:22] what does it mean if you use the same media wiki source pool with another institute [13:51:46] are there any other hooks related to adding/modifying tabs besides SkinTemplateContentActions? I'd like to know more information about the page being loaded. I've got it working by doing some stuff with the wgRequest contents, but if there is a hook that takes in more information that would be better [13:52:35] what apppp [13:53:28] hi brion [13:54:07] chasep_work: what kind of information? [13:57:10] hmm, after I asked the question, I realized that even if I had the Title, it wouldn't save me any work. Given a Title, I can get its namespace to determine if its a User or User_talk page. So, what I actually need to know, is, given a Title in the User/User_talk NS, can I determine what User the page belongs too without parsing it out manually from the title text? [14:09:20] werdna: hmm, is this your thing, too, or mdale'? PHP Notice: Undefined property: UploadFromFile::$mLocalFile in /var/www/w/includes/upload/UploadBase.php on line 455 uploading a PDF using the new upload. [14:13:56] Bryan: do you have time to look? [14:15:16] 03ialex * r55618 10/trunk/phase3/ (CREDITS RELEASE-NOTES includes/templates/Userlogin.php): * (bug 20404) Custom fields in the user creation form template can now have tooltips [14:15:40] hi ialex [14:15:46] hello Nikerabbit [14:15:50] in a few minutes [14:16:50] Bryan: thanks [14:18:48] hi mdale [14:18:54] hi [14:22:06] 03btongminh * r55619 10/trunk/phase3/includes/ (api/ApiUpload.php upload/UploadBase.php): [14:22:06] * Output warnings as filenames rather than an array representation of a File object. [14:22:06] * Renamed variable in UploadBase::checkWarnings to better indicate its meaning [14:22:47] Nikerabbit: it's probably something I fixed yesterday [14:23:01] which rev are you using? [14:24:04] 55611 [14:24:33] let me test [14:26:19] hmmm this should not happen I think [14:26:52] Bryan: could not repdocue with latest version hi RoanKattouw_ [14:29:24] I think r55613 fixed it [14:29:33] (explicitly declared $mTempPath) [14:30:07] can I disable the "ctrl-e" handling in the edit-boxes ? [14:30:21] like described here http://blog.ant0ine.com/typepad/2007/07/mediawiki-ctrl-e.html [14:30:27] 03dale * r55620 10/trunk/phase3/includes/upload/UploadFromChunks.php: quick fix for r55604 broken chunk upload class abstraction [14:32:03] 03nikerabbit * r55621 10/trunk/extensions/cldr/LocalNamesEn.php: Added arq [14:32:15] Bryan: but that is local [14:32:46] weigon: use a non-broken browser or disable accesskeys :o [14:33:34] accessibility.accesskeycausesactivation is already off (in FF3.5) [14:34:06] hi all. short question: cl_timestamp is defined as timestamp (the only timestamp that is one) the WP dump files just have a big integer at that place... what is it? [14:34:10] in firefox you can change the modifier keys that trigger accesskeys [14:34:31] babilen: Probably something like 20090827113423 right? [14:34:42] That's August 27th, 2009 at 11:34:23 [14:34:57] RoanKattouw: yes... [14:35:28] RoanKattouw: all other timestamps are defined as BINARY, but contain a string (i suppose utf8/ASCII encoded) [14:35:30] Nikerabbit: k, found http://en.wikipedia.org/wiki/Wikipedia_talk:Keyboard_shortcuts [14:36:08] RoanKattouw: what can i do about cl_timestamp? i can't import that dump? what is the correct type for cl_timestamp [14:36:20] https://bugzilla.wikimedia.org/show_bug.cgi?id=20422 what "turn the page off" means? [14:36:30] RoanKattouw: the meaning of the integer is clear to me... [14:38:24] why the inconsistency with timestamps (they also differ in their default value) [14:40:10] ialex: maybe they want to remove the extra confirmation page [14:41:30] AryehGregor: wtf, someone says that accesskeys are deprecated by w3c... is that ture? [14:41:40] Nikerabbit, not AFAIK. [14:41:48] HTML 5 removed them, but then re-added them. [14:41:52] http://en.wikipedia.org/wiki/Wikipedia_talk:Keyboard_shortcuts#Why_don.27t_get_rid_of_access_keys_at_all.3F [14:41:53] Before we switched to it. [14:42:08] Accesskeys kind of stink, but there's no acceptable alternative right now. [14:43:11] *werdna eyes AryehGregor [14:43:20] *AryehGregor noses werdna [14:44:50] Nikerabbit: greasemonkey + a little js and accesskey is gone [14:45:02] now ctrl-e goes to the end-of-line again [14:45:24] http://jira.atlassian.com/browse/JRA-12378 has more details [14:46:24] https://bugzilla.mozilla.org/show_bug.cgi?id=319929 still says that changing it in the config in FF3.5 doesn't work [14:46:26] who put margin-bottom: 1em; to #wpSummary? [14:47:02] if at least the accesskey keys could be disabled in the preferences of mediawiki [14:47:11] 03dale * r55622 10/trunk/phase3/includes/api/ApiUpload.php: enabled async downloaded via configuration var: wgEnableAsyncDownload (pending windows fix) [14:47:49] RoanKattouw: can you explain? [14:48:07] 03dale * r55623 10/trunk/phase3/includes/DefaultSettings.php: [14:48:07] enabled async download via configuration var: wgEnableAsyncDownload (pending windows fix) [14:48:07] (should have been part of the last commit) [14:53:03] Nikerabbit, fixed accesskey page. [14:55:52] and new RoanKattouw :o [14:57:55] hello. I have a question about MW Extensions... [14:58:19] which is it? [14:58:25] I'm planning to have multiple languages in one wiki a?la Wikitravel and... [14:58:31] 03catrope * r55624 10/trunk/phase3/includes/api/ApiQueryBacklinks.php: API: Do a STRAIGHT_JOIN in ApiQueryBacklinks's first query to counter a MySQL 4 bug where the optmizer chooses to do a table scan on page instead. [14:59:39] I was wondering if there is an extension that enables users to insert infobox contents in one language and the other language infoboxes would fetch the information so that it doesn't need to be added more then once in the wiki [15:00:37] you could try $wgEnableScaryTransclusion [15:01:05] Nikerabbit: where can I find information about that? [15:01:29] !wg EnableScaryTransclusion [15:01:29] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgEnableScaryTransclusion [15:01:37] tx [15:01:39] babilen: No idea why it's a different format, but it shouldn't cause issues, should it? [15:01:40] tnx [15:01:58] http://www.mediawiki.org/wiki/Manual:$wgEnableScaryTranscluding [15:04:34] Nikerabbit: that won't help since I need the infobox to be in a local language and transcluding only the values, not the whole foreign language infobox [15:06:31] don't mix language and content [15:07:46] Nikerabbit: what do you mean? I don't understand [15:07:59] me neither [15:09:49] I'm looking for a solution that enables users to enter company and product data in one language and have the data displayed in other languages too without having to enter the data manually into every langauge version [15:10:24] scary transclusion doesn't do the trick [15:10:34] well, either separate data and display... or use one wiki and translate pages [15:10:35] .. in this case [15:12:16] for the former I'm looking for an extension that will do it and the latter requires massively redundant editing that will drive everyone away [15:15:59] Hi, is there an easy way to insert a header to each page? I am building our sandbox environment and I want to put a large obvious message saying "SANDBOX" for the clueless users :) [15:17:27] Holos: mediawiki:sitenotice ? [15:19:56] Nikerabbit: Thanks.. the $wgSiteNotice will work nicely, more then the mediawiki:sitenotice as I'm dumping our main db weekly to the sandbox. [15:30:32] 03demon * r55627 10/trunk/phase3/js2/mwEmbed/ (3 files in 3 dirs): Rm useless thumbs.db files. [15:33:10] Nikerabbit: this: http://www.mediawiki.org/wiki/Extension:DataTable seems to be what I'm looking for [15:33:13] 03tstarling * r55628 10/branches/wmf-deployment/ (28 files in 19 dirs): Merging r55626 from trunk to wmf-deployment [15:40:48] TimStarling: isn't r55626 a fix for https://bugzilla.wikimedia.org/show_bug.cgi?id=19990 ? [15:42:56] 03brion * r55629 10/branches/wmf-deployment/extensions/Collection/ (Collection.i18n.php Collection.templates.php): [15:42:56] Tracked down mystery bug Johannes pointed out to me with hr localization ... [15:42:56] We tried to create an Article object to check for title existence, which failed if the title was invalid. [15:42:56] This ended up being the case for Croatian due to a one-char typo in i18n. :) [15:42:58] Fixed that and fixed the existence checks not to die. (Need to check if this code is still around in trunk) [15:44:24] ialex: yes [15:44:46] hi. does mwdumper support postgresql? [15:45:25] brion: o good catch [15:45:34] babilen: afaik currently just mysql-friendly output [15:46:06] Nikerabbit: yeah it was extra mysterious because it fails within a section done with output buffering... [15:46:38] so in production it ends up spitting out the collection bits without a skin, then doesn't show the fatal error because we disable display_errors in production :D [15:47:20] aww [15:49:16] hello [15:49:40] hi [15:49:52] sorry for my english im facing a problem with my mediawiki site. [15:50:07] i don't know how to fix it. [15:50:17] what is the problem? [15:51:45] when i tried to edit articles i recieve errors related with the sesion [15:51:59] anyone know how to add a space to the end of a page? something keeps trimming it and replacing wiht a newline [15:52:18] brion: how can i import [15:52:26] WP dumps into postgresql then? [15:52:48] Germ: is the wiki on windows host? [15:53:16] hello everybody! I have the following question. Is there a way to integrate a paid registration system on mediawiki? [15:53:19] uberfuzzy: pages can't have trailing whitespace [15:53:20] no is hosted in a network solutions server. [15:53:30] linux [15:53:35] Germ: is it only you or all users? [15:53:47] nikerabbit, ok, then how do i fix MediaWiki:Pipe-separator ? [15:53:50] babilen: maintenance/importDump.php ought to work (but i've not tested) [15:53:58] there might be some bulk importers for pg as well but i'm not familiar [15:53:59] its only me [15:53:59] google around :D [15:54:09] KostasDi: you could use confirmaccount, but that's not really integration of paying system [15:54:39] uberfuzzy: use   or #32; in trunk, in earlier versions delete the customisation [15:54:42] im the admin user [15:54:56] Germ: try deleting your cookies for that site [15:55:31] im my web browser? [15:55:36] in my web browser? [15:55:45] yes.. or try an another browser [15:55:52] ok [15:56:14] 03tstarling * r55626 10/trunk/phase3/includes/Revision.php: Fixed bug with MW 1.4 style archive rows, with ar_text set: ar_flags can be gzip. Reported by email. [15:57:20] Nikerabbit: do you know any extension pages i could search at, to find something more specific? [15:58:23] http://www.mediawiki.org/wiki/Extension:ConfirmAccount [16:22:07] 03catrope * r55625 10/branches/wmf-deployment/includes/api/ApiQueryBacklinks.php: wmf-deployment: Merge r55624 (fix long-running queries in ApiQueryBacklinks) [16:25:32] hi rainman-sr [16:26:18] hello [16:26:20] if a api parameter doesnt have any value, how do we pass it to the post via an associative array? [16:27:01] tomaszf, http://svn.wikimedia.org/viewvc/mediawiki/branches/lucene-search-2.1/udplogger/ [16:27:10] uberfuzzy: What do you mean no value? [16:27:18] http://www.mediawiki.org/wiki/API:Edit_-_Import fullhistory [16:27:33] do i just give it a value of 1? [16:27:50] theres a couple others like that [16:27:59] that dotn have a value, you just pass them or you dont [16:28:03] thanks [16:28:43] same with 'markbot' in the rollback [16:29:01] 03midom * r55630 10/trunk/phase3/includes/ (Article.php RawPage.php): I LOVE OO PEOPLE <3 <3 <3 [16:31:43] hi domas [16:31:52] I love you too [16:32:00] :) [16:34:09] uberfuzzy: Any value, doesn't matter. It's about presence or absence [16:40:11] RoanKattouw: thanks, means i can rewrite my post code [16:53:53] domas, I don't get what the point is of doing the extra $wgUseFileCache check. It's already done first thing in the method, isn't it? [16:54:49] <[KrusheR]> hi [16:55:21] <[KrusheR]> is the beta wikipedia skin and edit box being incorporated into the main mediawiki releases? [16:55:29] <[KrusheR]> i mean, by default [16:55:52] [KrusheR], it's in the UsabilityInitiative extension. [16:55:59] I don't know how useful it is for third parties at the moment. [16:56:36] <[KrusheR]> you mean it will be completely optional, right? [16:56:51] It's still under development. [16:57:02] It's likely that some version of it will eventually be merged into the core software. [16:57:12] Which parts will be optional are not clear at this point. [16:57:12] 03dale * r55631 10/trunk/phase3/js2/mwEmbed/php/maintenance/mergeJavascriptMsg.php: fixed : spaces to only look outside of "quotes" [16:57:21] Or which parts will end up being used at all. [16:58:39] <[KrusheR]> oh, i see [16:58:41] <[KrusheR]> thank you [17:06:51] werdna, where was the RC legend fixed? [17:07:37] 03catrope * r55632 10/trunk/phase3/ (api.php includes/DefaultSettings.php): API: Add optional API request logging to a file or UDP; intending to use this on the cluster to get some data about API usage and things like which queries are expensive [17:08:03] ooo [17:12:39] AryehGregor: well, I assume it wasn't great originally, and we've fixed it up to a usable state [17:12:44] Brion says we'll give it a shot :) [17:12:47] Okay. [17:14:55] 03jojo * r55633 10/trunk/extensions/Collection/ (Collection.i18n.php Collection.templates.php): applied diff from r55629 (from wmf-deployment branch) [17:15:26] 03brion * r55634 10/trunk/phase3/RELEASE-NOTES: correct notes line for 20404 -- not a tooltip [17:16:29] 03werdna * r55635 10/trunk/phase3/ (3 files in 3 dirs): Revert r52983 for now, could cause unexpected syntax interactions, we want to investigate this before deploying it [17:24:48] Uh [17:24:55] I'm missing some phpmyadmin tables [17:24:59] what do I do [17:25:36] Which ones are you missing? [17:25:58] from within function "SpecialRecentChanges::doMainQuery". MySQL returned error "1146: Table 'sonicthe_wikidb.tag_summary' doesn't exist (localhost)". [17:26:00] Retrieved from "http://sonicthewiki.wikkii.com/wnew/index.php/Special:RecentChanges" [17:27:18] So [17:27:49] I'm missing another one [17:27:51] from within function "ChangeTags::listDefinedTags". MySQL returned error "1146: Table 'sonicthe_wikidb.valid_tag' doesn't exist (localhost)". [17:28:01] ......................................................anyone? [17:28:27] ..... [17:29:16] anybody got a handy-dandy api upload script? there's some recent commits on it and i'm not sure how to test it ;) [17:29:18] https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/55613#c3781 etc [17:31:00] brion: Bryan Tongh Minh maybe? Or mdale? [17:31:28] uh [17:31:31] what do I do [17:31:40] :[ [17:33:25] yeah mdale's not in the room atm :D [17:33:26] what happened to onlyinclude? [17:34:30] uberfuzzy: you tell me :) [17:34:42] got an example of something that doesn't work as you expect? [17:35:15] getting a "Invalid tag extension name: onlyinclude" error [17:38:01] wfm uberfuzzy [17:38:05] can you show us where you see it? [17:38:37] nay, at wikia, but we're on 1.15.1 now [17:39:04] http://sryth.wikia.com/wiki/Quest:Test [17:40:58] uberfuzzy: may be local breakage or a side effect of some local ext [17:41:43] whats strange, is if i take out the text of the rewards section, it doesnt do it anymore [17:42:08] funky :) [17:42:25] their not even using #tag or anything anywhere, i checked [17:42:48] <^demon> what a terrible day. banged up my toe first thing in the morning, all my classes ran long, and then I got caught in a 45min backup on the way to work. [17:44:13] whats the best way to create a Title from wgRequest? $title = Title::newFromText($wgRequest->data['title']); ? that will only work if its a page in the default namespace though right? [17:45:16] <^demon> chasep_work: getText('title'). don't use $data directly. [17:46:12] is newFromText going to be able to figure out if its a different namespace without the second parameter? [17:46:30] <^demon> If you have a namespace prefix, it will. [17:46:59] chasep_work: In theory it should already be present as $wgTitle [17:46:59] *RoanKattouw hides from ^demon [17:47:15] *^demon throws hot lava at RoanKattouw [17:47:23] documentation i read said to avoid wgTitle; [17:47:44] chasep_work: Yeah but doing this $wgRequest thing is worse [17:47:55] So $wgTitle is the lesser of the two evils here [17:48:15] <^demon> RoanKattouw: depends on the context...it may be more or less evil :) [17:48:40] okay. there isn't a better way to get a Title object within SkinTemplateContentActions hook is there? [17:50:20] <^demon> chasep_work: $wgTitle is probably your best bet. [17:50:49] <^demon> (ideally, we could pass the SkinTemplate object in that hook too, since it has a sane title on hand :) [17:50:58] uh [17:51:12] are we talking about the title of current page or just a title? [17:51:18] Title object [17:51:39] I have an intranet path I want to link in our wiki. ie: \\server\videos\yaay.avi but using [\\server\videos\yaay.avi] doesn't work. Is there anything I can use to link it? [17:52:06] tekmosis: there is no cross browser support for that [17:52:40] <^demon> chasep_work: if you're building a title from 'title' in that hook, you're probably referring to the current page yes? [17:52:50] yes [17:53:10] Nikerabbit, nothing to get it to open up in an explorer window? [17:53:20] tekmosis: try file:// ? [17:53:51] no dice :( [17:54:55] basically, I need to know 1.) the namespace and 2.) the unprefixed text, minus any subpages that might be present, so "User:Cpeeler/foo", I need to be able to determine its the user namespace, and get the Cpeeler part. I can accomplish all that with string parsing, but I'm trying to learn mediawiki, so I want to utilize its built-in functionality as much as possible [17:55:29] chasep_work: Title::newFromText("User:Cpeeler/foo") [17:55:40] I'm confused :o [17:55:53] <^demon> chasep_work: if you're talking about the current page and your using that hook, $wgTitle should be relatively (shudder) sane. [17:55:54] flyingparchment: you missed the begining of the convo. [17:55:56] if you are using a hook, the title is likely to be available arleady [17:56:08] brion: i found it, the error was stuck in the cache from where they were incorrectly using {{#tag}} to do something tha broke [17:56:29] chasep_work: i thought newfromtext can extract the namespace. what does the comment say? [17:56:29] changing ANYTHING on the page, gave it a new hash, and no error [17:56:42] <^demon> Nikerabbit: SkinTemplateContentActions doesn't pass the SkinTemplate object (which contains the title). it should. [17:56:48] ^demon: cool. is there any functionality within Title for the unprefixed text and/or text without the subpage parts? [17:57:15] chasep_work: ->getBaseText() ? [17:57:26] but beware, it only works if subpages are enabled for that namespace [17:58:05] flyingparchment: I don't know what the pages title (in text form is) nor do I have the title object. I was determining the best way to 1.) get the Title object or 2.) get the text to create the object; [17:59:18] global $wgTitle; $bar = $wgTitle->getBaseText(); [17:59:39] Nikerabbit: sweet. [18:00:04] with the caveat I mentioned above [18:00:28] flyingparchment: so, what you said was correct, and is the second part of the problem, but thats not really where the issue is, its getting the title object first. [18:00:58] Nikerabbit: they are, does the title have to be a subpage to run that, or just be in a subpage enabled namespace? [18:01:16] chasep_work: the latter [18:01:30] if there is no subpage, it returns the base text (ie. the text) [18:01:43] if subpages are not enabled for that namespace, it just returns everything [18:03:19] brion: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/52083 [18:03:48] Nikerabbit: which wouldn't be wrong. If subpages aren't enabled, then everything is the title, there is no "base" [18:03:54] yep [18:04:06] but I was hit that once... so it is not obvious [18:04:52] Nikerabbit: does that method include the prefix? [18:04:57] no [18:05:20] excellent [18:10:02] whats the best way to get any arguments and their values (ie action = edit) [18:10:26] chasep_work, $wgRequest [18:10:43] Check includes/WebRequest.php for methods. [18:10:44] so, no way to get it from the title [18:12:02] nope [18:13:21] <^demon> I believe $mediawiki contains it, but we generally don't use that global outside of index.php [18:16:28] 03beckr * r55636 10/trunk/extensions/SlippyMap/SlippyMap.hook.php: Load OpenLayers before SlippyMap (fixes JS dependency error) [18:17:10] who is beckr? [18:17:15] does he irc? [18:19:00] *^demon doesn't know [18:19:24] *^demon also wonders why extension stylesheets/js would use $wgStyleVersion. [18:20:33] 03werdna * r55637 10/trunk/extensions/Drafts/patch-draft_token_change.sql: Add patch file for r54462 [18:20:57] ^demon: I wonder why we need it at all... just automatically attach some timestamp to it [18:21:33] *^demon shrugs [18:21:37] 03werdna * r55638 10/trunk/extensions/Drafts/ (3 files): Didn't notice r54759, moving the existing patch to a more standard name (follow-up to r54462) [18:26:06] 03catrope * r55639 10/trunk/phase3/includes/api/ApiMain.php: [18:26:06] API: Cache API help in memcached, inital use of the API log added earlier seems [18:26:06] to indicate that the help is expensive. Cache doesn't seem to help for me [18:26:06] locally, so we probably need to test this on a real server and see if it really [18:26:06] works. [18:27:05] 03dale * r55640 10/trunk/phase3/js2/ (7 files in 4 dirs): [18:27:05] * some js2 cleanup and refactoring for upload support [18:27:05] * some minor work needed to finish cleaning up inline add media wizard upload across all upload modes (firefogg / normal http post) [18:28:15] RoanKattouw: how do we know when memcached/cdb is faster than just generating it? :o [18:31:02] Nikerabbit: Experimentally? [18:31:04] That's what I did [18:31:11] I ran it on prototype and memcached turned out to be faster [18:34:21] :o [18:40:33] brion: Coolness happening @ http://www.mediawiki.org/wiki/Special:Code/MediaWiki/author/catrope?limit=2 [18:42:00] hmm wtf [18:43:47] Nikerabbit: ?> [18:43:54] RoanKattouw: ? [18:44:04] just wondering if there is pattern for the one failing test [18:44:13] Oh right [18:44:23] Someone broke a parser test somewhere, but I'm too lazy to go look at it [18:44:36] RoanKattouw: it's not persistent [18:45:21] <^demon> RoanKattouw: it was ialex in r55603. not sure why :) [18:46:34] heh [18:46:35] /home/parsertests/phase3/bin/ulimit4.sh: Input/output error [18:46:49] ok that may explain why that parser test doesn't work *cough* [18:46:50] ^^ [18:47:21] hehehe [18:47:55] wait... that's a different computer [18:47:59] argh i hate this shitty wifi :D [18:48:05] :D [18:48:24] ok i don't know wtf is wrong with it :P [18:49:01] Yeah it drops some times [18:49:05] But the Ethernet is even worse on my box [18:49:10] Must be overheating or something [18:51:57] <[KrusheR]> can someone recomend a "rate-this-article" extension? [18:52:34] <[KrusheR]> i'm not sure witch one should i pick [18:53:35] werdna, isn't deferred meant to be used for stuff that hasn't been reviewed/resolved but doesn't block deployment? [18:56:19] werdna: Naoko says you can piggyback on her talk with your LQT talk [19:07:06] <^demon> Well bug 20423 seems to be 'enwiki is slow.' That's specific and easy to fix. [19:07:53] yep [19:07:59] just unleash domas [19:08:20] but then they complain about missing features... bah [19:12:27] <^demon> Nikerabbit: people complain? I usually just tune that out :p [19:18:46] <^demon> I think if I've taken one thing away from observing Wikimania, its that the internet connections in BA suck ;) [19:19:14] Oh yeah they do [19:20:08] <^demon> RoanKattouw: I'm pretty sure your joins and quits take up more scrollback than things you've actually said :) [19:22:17] :( [19:22:34] Gerard: "Oh, I lost my question. ... ... ... Oh, now I've got it" [19:24:31] *^demon thinks we should put the code review author list into 2 columns. [19:27:26] ^demon: loan the code from special:specialpages? [19:29:29] <^demon> Nikerabbit: mebbe. I dunno. don't have trunk in front of me. [19:35:44] <^demon> brion: only 21 fixmes left :) [19:36:03] wheeeeee [19:42:06] hi [19:42:40] is it possible to influence the position of info icon when placing audio to a page? [19:50:04] ok, upgraded packages on wikitech and the parser tests seem to be cleared up [19:50:10] now to re-run tests on the last couple days :D [19:50:52] <^demon> :) [20:12:13] anyone have an estimate to when the usability project will start being distributed in the mediawiki package? [20:12:58] akozak: It's a separate extension, and you will be able to install it when MW 1.16 is released [20:13:07] toldya ^^ [20:13:20] :) [20:13:39] RoanKattouw: any idea why it will be a separate extension? [20:13:59] for easier updates? [20:16:19] Yeah for easier deployment [20:16:28] It is a separate and downloadable extension already [20:16:32] But it's not compatible with 1.15 [20:17:11] hrmfl. tests started dying again :( [20:17:25] i think we just need more free memory on the box [20:17:29] ok thanks RoanKattouw [20:17:43] excited for the new editor :) [20:51:31] hey everyone [20:51:58] the wiki is not quite clear on my question [20:52:19] i want to install multiple wikis on a single server, with the same source code, but with different databases [20:52:41] can I just create a number of symlinks to the source code to do that? [21:00:58] http://www.mediawiki.org/wiki/Manual:Configuration_settings#Shared_DB_settings ? [21:01:01] *Ose dunnoes [21:01:58] <[KrusheR]> is there any hook after the sidebar? [21:02:10] <[KrusheR]> oh, found it [21:15:36] 03catrope * r55641 10/trunk/phase3/includes/api/ApiFormatXml.php: API: Refactor the XML formatter a bit so that ApiFormatXml::recXmlPrint() is now actually usable as a generic XML formatter [21:19:08] araizen: Not necessarily [21:19:34] You can just point all URLs to the same place with Aliases or subdomains and then use some smart logic in LocalSettings.php to distinguish based on the URL [21:19:45] That's what Wikipedia does [21:19:59] I'd rather have different LocalSettings.php [21:20:17] isn't that where I set things like the interface language, etc? [21:20:40] araizen: I have a master LocalSettings that sets some defaults and then includes a file based on the normalised url [21:22:03] ah I think I found instructions for how to do what I want on the wiki [21:22:17] I just got confused because it said 'you want to use the same database' and i done [21:22:43] but I can just specify a different db name when i run the config script and it will use that, right? [21:23:53] yup [21:24:26] werdna: did you even look at the code? [21:25:47] werdna: I must be blind since I see no such problem with the new version. [21:40:12] Nikerabbit: no, I didn't look at it [21:40:32] Nikerabbit: just copying the reasoning from the other one [21:48:29] I had a though... [21:48:51] did it have a t on the end? [21:49:01] indeed it did [21:49:25] would it be technically possible to add a parserfunction that would protect itself and its content? like a partial protection? [21:50:30] Ose: there is an extension that does something similar to allow raw html [21:51:19] i.e., {{#protect-sysop:any changes from the opening curly brackets of this function to the closing curlies will be ignored when a non-sysop (or above ranked) tries to save a page}} [21:51:24] but why would you need to when the rollback button is so easy [21:51:42] semantic forms [21:52:31] restricting certain options to admins, while letting the rest be publicly editable would be awesome [21:53:48] werdna: ignoring "Imho the current interface is safe." "I do not see it existing in this version" :( [21:54:07] Ose: abuse filter [21:54:13] oh? [21:54:20] *Ose looks up [21:54:22] !abusefilter [21:54:22] --mwbot-- I don't know anything about "abusefilter". [21:54:27] !abuse [21:54:27] --mwbot-- I don't know anything about "abuse". [21:54:33] !editfilter [21:54:33] --mwbot-- I don't know anything about "editfilter". [21:54:36] grr [21:55:52] no worries, I has a google [21:57:08] Betacommand: does it have a function exactly like/simillar to what I used as an example? [21:57:28] Ose: if your good enough with regex yes [21:57:33] aww [21:57:52] If not bribe someone who knows them well [21:57:59] but a parser function would be so much more win [21:58:39] Ose: will never happen [21:58:48] :( [21:59:21] Ose: look at the extension that allows raw html, it shouldn't be too hard to modify [21:59:22] Ose: whats preventing a non-admin from using the same function for vandalism?? abuse filter rules are better [21:59:38] cirwin: abuse filter would be better [21:59:45] [23:51] i.e., {{#protect-sysop:any changes from the opening curly brackets of this function to the closing curlies will be ignored when a non-sysop (or above ranked) tries to save a page}} [22:00:01] Betacommand: I've never used abusefilter, but it seems that ose's problem is not easily definable by regex [22:00:08] if a non-admin added it to a page, the string would be ignored on save [22:00:11] cirwin: yeah it is [22:00:48] cirwin: he would just define a custom rule that prevents non-admins from modifying a magic word or template he creates [22:01:03] {{sysoponly|whatever}} [22:01:14] !abusefilter [22:01:14] --mwbot-- AbuseFilter is an extension that tags and filters problematic edits. For more information, see [22:01:57] RoanKattouw: you add that to the bot? [22:02:24] ok, I've glanced at the abusefilter documentation and given up, someone-elses-problem [22:09:39] Betacommand: Yeah I added it [22:09:42] 03catrope * r55643 10/trunk/phase3/ (api.php includes/api/ApiMain.php): API: Add user-agent and method (GET/POST) to request logging, and only log the action= parameter for mustBePosted modules [22:13:48] <[KrusheR]> is there any hook being executed just before ? [22:14:23] isn't there an SkinAfterBody or something? [22:14:44] BeforePageDisplay I think [22:14:54] meow [22:15:54] ni-ce [22:16:00] <[KrusheR]> RoanKattouw will do, thanks [22:18:21] <^demon> MrZ-man: Did we ever decide what to do with r53534? [22:21:54] no, I may just revert it [22:22:58] <^demon> MrZ-man: I'm going to go ahead and revert it. Good idea though if you can find a slightly different way to do it that doesn't break in 5.2.8 and below :) [22:27:57] 03demon * r55644 10/trunk/phase3/ (3 files in 3 dirs): [22:27:57] Revert r53534 (bug 15745, Make the edit summary link parser detect links more [22:27:57] like the real parser). Causes preg_replace_callback bug in 5.2.8 and below, [22:27:57] crashes lots of things. See bug 19845 and http://bugs.php.net/bug.php?id=48501 [22:34:43] <[KrusheR]> is there a way to add footer links without modifying the actual skin? [22:48:00] <^demon> [KrusheR]: No, there's a bug requesting it though :) [22:48:43] <[KrusheR]> will it be ready for the next release? [22:48:49] <[KrusheR]> or will we have to wait? [22:55:08] <^demon> [KrusheR]: Whenever somebody finally writes the feature. [23:48:47] hi, can anyone help me with the implementation of the WikEd plugin?