[00:05:42] 03siebrand * r29937 10/trunk/extensions/ (42 files in 42 dirs): Localisation updates for extension messages from Betawiki (2008-01-19 0:45 CET) [00:17:58] 03siebrand * r29938 10/trunk/phase3/ (4 files in 3 dirs): [00:17:58] Localisation updates for core messages from Betawiki [00:17:58] * adding Lingua Franca Nova (lfn), and Xhosa (xh) [00:28:14] how far can I rely on mediawiki [00:28:21] to output valid xhtml? [00:28:33] pardon my linebreak [00:28:34] If you enable tidy, pretty much? [00:29:23] ok -- and does wikipedia.org use tidy? [00:31:09] Dunno [00:32:09] I think all the mediawiki projects use tidy, but I could be wrong [00:32:15] err wikimedia projects [00:32:18] all WMF projects use Tidy [00:32:23] great -- thanks [00:35:24] whats ? [00:39:20] Reedy_Boy: do you mean? http://www.mediawiki.org/wiki/Extension:ExpandTemplates (it is a Special: page though) [00:39:46] Yeah, ive found it.. Im trying to work out someone elses code [00:39:48] Thanks :) [00:40:22] Evening, Splarka :) [00:42:30] That makes sense what it does now :) [00:42:31] rar [01:05:19] I have an old MW 1.4.6 with users and pages and a new fresh 1.11.0 install. Is there a way to migrate users and pages from the old one to the new? [01:08:29] !move | mschiff [01:08:29] --mwbot-- mschiff: http://www.mediawiki.org/wiki/Manual:Moving_a_wiki [01:08:41] Might have a peek at that and see if it answers your question [01:09:19] ok thx I will have a look [01:09:24] Of course the easiest way would be to simply upgrade the 1.4.6 wiki to 1.11.0 [01:10:45] is this really possible in a clean way? [01:11:02] I switched from mysql to pgsql too ... [01:13:44] Ohh ... no, not really in a clean way :) [01:14:03] There are some utilities that will convert mysql to portre [01:14:19] So you can convert the db, dump it, import it .. try to patch it up with update.php [01:14:45] Of course you're also making a huge leap in versions, not sure that update.php will work from 1.4.6 [01:17:23] ok its not so many pages, so maybe i will do it "manually" by recreating each page... thats less work then I guess [01:17:36] history of the pages is not so important [01:17:42] Well, if you're just concerned about the pages, you may be able to import them [01:17:52] Not sure, however, if 1.4.6 had an export mechanism built in [01:18:01] !export | mschiff [01:18:01] --mwbot-- mschiff: To export pages from a wiki, navigate to Special:Export on the wiki, type in the names of the pages to export, and hit "export". See for an example of this form. See also: !import [01:18:23] hm will have a look thx ;) [01:18:36] 03brion * r29939 10/trunk/phase3/includes/RawPage.php: [01:18:36] Restore the complete prohibition on action=raw with arbitrary script entry points. [01:18:36] While only MSIE is known to let the URL's "extension" override the allowed mime [01:18:36] types, other browsers will still happily download a file with the name from the [01:18:36] URL. That seems unwise as the content may be arbitrary (and perhaps executable). [01:19:25] !import [01:19:25] --mwbot-- To import pages into your wiki, export them using Special:Export (see !export). Then, navigate to Special:Import on the target wiki and select the dump file. You can also import pages directly from another wiki (see !importsources). For mass imports, use the dumpBackup.php and importDump.php scripts (or mwdumper). NOTE: when using content from another wiki, follow the LICENSE TERMS, especially, attribute source and authors! [01:19:35] !svn | Mike_lifeguard [01:19:35] --mwbot-- Mike_lifeguard: Subversion is a version control software that allows users to download the very latest version of a branch without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and submit patches. See http://www.mediawiki.org/wiki/Subversion for more information. [01:19:51] i knew that. let's try... [01:19:57] me lols at Mike_lifeguard [01:19:59] !install | Mike_lifeguard [01:19:59] --mwbot-- Mike_lifeguard: Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [01:20:10] knew that too [01:20:35] Mike_lifeguard: May I ask what you're trying to do? [01:20:35] amidaniel: is it possible to install from SVN the same extensions etc. as the WMF wikis? [01:21:09] Umm .. you can look at Special:Version to see what extensions are install and install each individually [01:21:10] ie do I just grab everything in trunk (or wherever) or do I need to do it selectively [01:21:16] booerns [01:21:22] Mike_lifeguard: No, you don't want everything in Trunk :) [01:21:32] !importsources [01:21:32] --mwbot-- For information on configuring interwiki page imports, please refer to [01:21:38] I think Duesentrieb has some bundles with the entire wmf configuration. [01:21:45] Browse her toolserver dir [01:21:49] s/her/his [01:21:53] that would be lovely. /me will look [01:22:01] they <--panacea [01:22:22] pronouns are overrated anyways :P [01:24:20] *amidaniel does not like the "neutral they" [01:24:32] Alright, I'm hungry [01:24:35] Be back later [01:30:00] amidaniel|away: xhe? :p [01:54:54] 03dale * r29940 10/trunk/extensions/MetavidWiki/ (8 files in 2 dirs): [01:54:54] * improved remote image support [01:54:54] * mv_update prunes mvd index [01:54:54] *psymin* added shell script to generate thumbnails [02:19:47] To get the same version WMF wikis are running, do I want HEAD, or should I specify a revision? [02:25:03] Mike_lifeguard: look at Special:Version [02:25:07] there's a rev number there [02:25:29] ok. I can't get TortiseSVN to do it though. Have you used it before? [02:25:47] are you pointing to the right place? [02:26:04] /trunk/phase3? [02:26:41] svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [02:27:07] *Mike_lifeguard is trying to get that, but it won't replace the files already there [02:27:20] *MZMcBride doesn't use SVN [02:27:46] I would delete them and then checkout, but that's scary [02:33:19] 03dale * r29941 10/trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.php: minor updates for syncing with existing data set [02:38:58] although scary, that's what the manual says to do :| [02:58:03] 03(NEW) index.php does not honor the variant param with action=raw - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12683 normal; normal; MediaWiki: API; (jhecking) [03:08:24] What is there to honor in action=raw? O.o [03:08:39] Variant only pertains to the UI, doesn't it? [03:09:10] amidaniel|away: any idea how difficult it would be to get the new messages bar above the page title? [03:09:36] Isn't it already? [03:10:09] hmm... i hope not. i filed a bug... [03:10:24] Meh, prolly not hard [03:10:31] Thought it was above the page title though [03:10:43] Leave me a message somewhere [03:10:43] try leaving me a message? [03:10:47] heh. will do [03:10:55] *amidaniel|away is too lazy to just test it himself :P [03:11:43] left message [03:11:49] (sorta) [03:12:14] Ah, no, it is below the page title [03:12:26] Now the next question: Should it be above the title and why? :) [03:12:35] to make it harder to spoof [03:12:57] Hehe ... interesting "message" :P [03:13:01] Got a bug #? [03:13:44] http://bugzilla.wikimedia.org/show_bug.cgi?id=12681 [03:14:00] <_das> hello; is the evaluation of #if and #ifeq statements something that needs to be enabled or disabled in medawiki? [03:14:42] you need to install ParserFunctions to get those to work [03:14:45] <_das> i.e., if ParserFunctions is missing this not work? [03:14:45] <_das> ok [03:18:02] <_das> ParserFunctions seems to be working, as I can execute the tests [03:18:15] <_das> but a template that uses if/ifeq seems completely broken after an upgrade [03:18:55] what kind of upgrade? [03:19:24] (from what version to what version) [03:19:58] if I set $wgRemoveGroups['bureaucrat'] = true; that'll allow crats to remove all available rights? [03:20:02] Hmm ... I think the bar looks icky up there [03:20:28] icky how? [03:20:43] *Splarka thinks it looks icky anywhere ^_^ [03:20:43] Dunno .. just icky :) [03:20:46] <_das> MZMcBride, one moment [03:21:16] well, it'd be nice to have spoof-proof... [03:21:45] heh [03:22:09] follow this line of reasoning [03:22:23] 1. you could have tidy remove all duplicate ID= in a document, any subsequent duplicates would simply have that ID removed [03:22:38] 2. always have an id=youhavenewmessages at the top of the content, empty [03:22:47] http://cs.unm.edu/~dccannon/Screenshot.png [03:22:51] Is what it looks like to me [03:23:06] 3. for new messages have it
content
[03:23:14] and style it via #youhavenewmessages .newmessages [03:23:28] and then set a background image style [03:23:32] almost unspoofable? [03:23:44] heh. doesn't seem icky at all :) [03:23:47] looks nice [03:23:55] Hmm .. looks icky to me [03:23:59] Maybe just what I'm used to :) [03:24:41] <_das> Does this make sense? [03:24:42] <_das> {{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box: }} [03:24:43] we haven't forked Tidy yet [03:25:01] _das: which version of MW are you running? [03:25:12] <_das> Is there an easy way for me to tell externally? [03:25:30] Special:Version [03:25:44] <_das> 1.11.0 (r27) [03:25:52] r27? O.o [03:25:55] MZM: obviously it would have to wait for that [03:26:02] idea #2: how about putting it above the

.... but having a user option "[x] discrete new messages" [03:26:46] OR we could make the color of the bar dependent upon the user's username! :D [03:26:50] which would style #pt-mytalk someway [03:27:16] (I wrote a javascript to do that, but never used it) [03:27:17] _das: your code makes sense: if plain=1 or mini=1, it will not return "This box: " [03:27:19] Quickly hash up the user's name mod 256 and use that as the hex color code for the bar [03:27:28] Practically unspoofable [03:27:29] sweet [03:27:33] md5 it first [03:27:44] and the sha-1? [03:27:50] hmm [03:27:52] color-blind users [03:28:00] actually, it should use a salt of the user's name, userid, and password hash [03:28:13] Okay, we could randomly select a picture of a lolcat for each user and stick that in the new message bar [03:28:19] Alongside the color coding [03:28:32] And we could determine its position based upon the username too, I suppose [03:29:08] *Skizzerz seconds amidaniel|away's motion [03:29:16] Hurra! [03:29:26] <_das> this is the code that suddenly stopped working: [03:29:26] Or .... we could just not worry about people spoofing it :) [03:29:27] <_das> http://paste.lisp.org/display/54467 [03:29:54] _das: do you have ParserFunctions installed? [03:30:10] <_das> I do, because I can verify that if and ifeq work on their own [03:30:24] <_das> and is doing things, but some piece is not getting evaluated [03:30:35] and you have all the CSS classes/ids defined somewhere? [03:30:48] <_das> let me paste what's happening [03:31:25] is it possible to get a copy of localsettings.php for enwikibooks? [03:32:29] I'm trying to duplicate that installation, and it's a pain trying to remember how we have things configured [03:37:24] noc.wikimedia.org or something.... [03:37:57] Az sent me the link [03:38:15] Don't think wikibooks is up there though .. and if it is, it's prolly quite out of date [03:38:33] yeah. i think those files should be public... [03:38:40] I'm sure someone with teh powerz would gladly went them to you, Mike_lifeguard [03:38:57] <_das> http://das.doit.wisc.edu/misc/example1.png [03:38:59] apparently there's a mirror of them. Az gave me the link [03:39:04] <_das> that's what the code is doing now [03:39:35] _das: Do you have a Template:Znavbar ? [03:40:09] <_das> yes [03:40:22] <_das> that is the template in question [03:40:30] <_das> and those are actually examples on that page [03:41:12] <_das> and the "view talk edit" and "v d e" are things that are within the template [03:41:25] <_das> which is: http://paste.lisp.org/display/54467 [03:41:27] when getting an extension from SVN, do you want HEAD? [03:41:37] yes [03:41:44] thx [03:41:49] HEAD is the latest release [03:42:16] my worry was the latest might not be stable... but you guys keep it functional, I guess [03:42:29] *Skizzerz doesn't keep it anything :P [03:43:02] you can check the diff to see what was changed and all, but usually use HEAD unless it breaks, then try the previous one [03:47:36] <_das> hmm [03:49:07] <_das> both if and ifeq are working [03:49:17] <_das> but something isn't getting evaluated [03:49:38] <_das> because of the trailing or [03:58:09] _das: do you have Tidy enabled? [03:59:02] <_das> again, would there be a quick way for me to test/verify externally? [03:59:24] unless you set it in LocalSettings, it's disabled [03:59:40] <_das> well, i am not the administrator of this mediawiki instance [03:59:46] <_das> just a sysop on it [03:59:53] and Special:Version would have "ParserAfterTidy" in it [04:00:27] <_das> it does not [04:00:56] that could be your issue [04:00:59] <_das> what is your thinking based on what's occuring with the output? [04:01:14] my thinking is that you need to enable Tidy [04:01:17] <_das> what does Tidy do that would affect this? [04:01:26] or rewrite the template code to work without Tidy [04:01:37] <_das> well, I just want to give them as much information as possible [04:01:38] it sanitizes and cleans up the parser output [04:02:07] <_das> Ok, and what would my first steps be to eliminate the need for tidy, assuming that is what i would like to do? [04:02:27] <_das> I.e., what is broken about this now, in general, such that it needs Tidy? [04:02:50] which template did you copy the code from? [04:02:55] too many/few closing tags [04:03:01] tidy would fix that up a bit [04:03:05] <_das> ok [04:03:17] if you give the template, i can to see if it's tidy... [04:03:22] or Tidy, rather [04:03:25] <_das> i can indeed [04:03:27] How does one update CSS files now that refreshing is no longer allowed? I updated < http://meta.wikimedia.org/wiki/User:Pathoschild/monobook.css > to account for the recent change prohibiting &action=raw with simplified URLS, but there doesn't seem to be any way to get the updated code to the browser. [04:03:36] <_das> i can give you the text of the entire page [04:03:50] URLs*. [04:03:54] <_das> it's really called Tnavbar, but i was working with it at Znavbar [04:03:58] <_das> one moment [04:04:05] Pathoschild: you don't. this is upsetting to many. [04:04:19] If you keep trying it'll eventually happen randomly :( [04:04:39] ...I see. So I just need to wait for the server cache to expire? [04:05:00] no if you keep trying, it'll randomly work one or another time. highly frustrating [04:05:03] Pathoschild: blame domas. it needs a fix [04:05:12] there is a fix, which I think is awaiting approval [04:05:29] ...ah, there we go. It did actually randomly worked after a while. -.- [04:05:51] <_das> http://das.doit.wisc.edu/misc/Tnavbar.txt [04:05:58] very frustrating though, when attempting to write a script, and being unable to test changes reliably [04:05:59] <_das> MZMcBride, there it is [04:06:50] Pathoschild: make sure you have "Disable caching" set in your prefs, that can help [04:06:59] quick tidy test: {{#if:1|}}
foobar
[04:07:10] gah. [04:07:22] if you don't have Tidy enabled, that code will screw up your sidebar [04:07:32] <_das> Heh. [04:07:32] http://pruebita.com/wiki/Template:Tnavbar [04:07:42] Mike_lifeguard: I usually run it from Firefox directly using the Technika extension, and only test it from my script subpage when it's just about ready to implement. That neatly circumvents the problem. :) [04:08:06] *Mike_lifeguard has never heard of Technika, but was looking for something like that [04:08:13] Pathoschild: what works for me sometimes is disabling caching in preferences/misc, and then hard reloading the raw url to that monobook.css [04:08:14] *MZMcBride too [04:08:21] *Pathoschild nods. [04:08:37] and the difference in tidy... [04:08:43] <_das> ugh [04:08:50] you can break up html tags, like
or with tidy, but can't without [04:08:56] <_das> one moment [04:09:09] {{div}} with contents
will work as: {{div}}foo
in tidy, break without [04:09:20] {{#if:1|
}}
break without [04:10:05] <_das> MZMcBride, that doesn't fix it, believe it or not [04:10:17] <_das> (the template you pasted) [04:10:21] what you can do , is use wikitables instead of
, that works without tidyt [04:10:34] _das: huh? [04:10:40] <_das> same result [04:10:41] it wasn't supposed to [04:10:45] <_das> oh... [04:10:59] <_das> but it's working on that site because it has Tidy? [04:11:14] no, it's not working on that site; the sidebar gets screwed up [04:11:23] because Tidy isn't enabled [04:11:41] that's what i was showing you... it should do the same thing on your wiki if Tidy is disabled... [04:11:41] <_das> oh, that's my code? [04:11:46] yah [04:11:54] <_das> no, it doesn't screw up the sidebar [04:12:07] <_das> for whatever reason... [04:12:13] well, your fix seems to be enabling Tidy [04:12:14] MZM: depends on the browser, heh [04:12:24] silly browsers [04:12:34] <_das> yeah, but i have a different problem that what you show [04:12:36] <_das> oddly [04:13:00] <_das> so if I can't enable tidy, i need to ensure that all the {{ }} etc are opened and closed properly [04:13:02] can you show a minimal test case? [04:13:15] well, tidy won't help you with that specifically [04:13:31] <_das> this is the issue: [04:13:31] it'll help if the aren't closed properly [04:13:32] <_das> http://das.doit.wisc.edu/misc/example1.png [04:14:13] <_das> this is the code (for Tnavbar, but was testing at Znavbar above, so disregard the difference): [04:14:14] <_das> http://das.doit.wisc.edu/misc/Tnavbar.txt [04:14:43] right [04:14:53] you need tidy, because those html tags are broken up into various functions [04:15:11] not because of {{}} [04:15:12] <_das> ahh [04:15:29] or you can drastically simplify tnavbar for your particular needs... [04:15:39] <_das> ok, so the syntax is right, but without tidy, the fact that html tags are in different functions will break this [04:15:44] {{#ifeq:foo|foo||
}} this will break {{#ifeq:foo|foo||
}} [04:16:00] you might be able to rearrange them to work [04:16:04] <_das> because of the way they're parsed [04:16:11] but then they have to be in the same tier and transclusion level [04:16:18] well, because of the way they're handled after parse [04:16:28] <_das> well, the problem is i have an opening div and span, and a closing much later [04:16:29] tidy cleans up the html after the parsing [04:16:36] and the built in sanitizer cleans it up before [04:16:46] you could just remove the closing [04:16:50] maybe ^_^ [04:17:18] <_das> that seems like a bad idea ;-) [04:18:36] <_das> so is this it: http://www.mediawiki.org/wiki/Manual:Hooks/ParserAfterTidy ? [04:19:13] <_das> or is that something else? [04:19:24] that's the hook that will show up in Special:Version if Tidy is enabled [04:19:28] you need: [04:19:31] !wg UseTidy [04:19:31] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgUseTidy [04:19:58] <_das> thank you [04:20:03] <_das> i will pass that along [04:21:17] sanitizer and tidyfork need to be merged and core, for great predictability [04:21:44] *MZMcBride nods [04:21:50] and fixed [04:23:28] Danny_B: http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.js&oldid=142930822 about 2/3 down [04:23:33] <_das> thanks folks! [04:23:56] bah, wrong chan, damn you overlapping conversations [05:00:03] 03(NEW) a property page gives no no indication that it has subproperties - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12684 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (info) [05:10:49] I'm trying to install Extension:CheckUser, and I'm getting the error "Table 'wiki.cu_changes' doesn't exist" ? [05:11:19] I assume I'm supposed to create the table; are there specs? [05:11:27] !e CheckUser [05:11:27] --mwbot-- http://www.mediawiki.org/wiki/Extension:CheckUser [05:11:58] how do I disable anonymous users from creating and editing? [05:12:25] yes, but it doesn't say [05:13:20] Mike_lifeguard: "Open command prompt and run install.php" [05:13:36] !userrights | grekkos [05:13:36] --mwbot-- grekkos: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [05:13:37] *Mike_lifeguard did that, and it returned an error [05:13:52] well then you get an error on the wiki :p [05:13:54] thanks MZMcBride [05:14:56] it's the same error from the command line (well, same meaning, at least) [05:15:18] >< I hate SSHing to my server, always picks up my backspace key as delete [05:18:29] Ah yes!! Thank you so much MZMcBride that worked perfectly... I did a grep search through the file but I couldn't figure out why my changes weren't working -- i guess I didn't understand exactly what i was supposed to change :p [05:18:41] :) [05:19:11] Mike_lifeguard: if you get an error on command line creating the table, it obviously won't work on the wiki... [05:19:12] hmm.. [05:19:15] !wglogo [05:19:15] --mwbot-- I don't know anything about "wglogo". You might try: !logo [05:19:18] !logo [05:19:18] --mwbot-- The logo that appears in the top left of each page is determined by the $wgLogo configuration setting in the LocalSettings.php file. To change this you simply need to change the value of $wgLogo to point to the URL of your own logo image. See for more information. [05:19:24] *Mike_lifeguard will try maintenance/update.php [05:19:45] oh so there's no wgLogo set in LocalSettings by default hehe [05:19:52] No wonder I couldn't find it :) [05:26:15] there are many many settings which are not in there by default [05:36:06] yeah I didn't realize DefaultSettings was in a different path... i was doing something like... grep wgLogo * in the wiki directory [05:38:14] 03(mod) Support iPhone home page bookmark icon - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12668 summary (10brion) [05:38:15] i'm having trouble using api.php from javascript [05:39:55] 03brion * r29942 10/trunk/phase3/ (RELEASE-NOTES includes/DefaultSettings.php includes/Skin.php): * (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon [05:43:32] Special:Version shows the Gadgets extension, but the tab doesn't appear on Special:Preferences... ?? :S [05:44:29] i'm having trouble associating my ajax results to their query when using api.php [05:45:02] Mike_lifeguard: I think that might happen if there are no gadgets defined. [05:45:11] ahh. ok [05:45:14] *Mike_lifeguard will define some then [05:49:20] What did the URL parameter '&dontcountme' do? [05:56:06] I dunno. But do /you/ know how import sources are supposed to be defined? [05:57:53] Mike_lifeguard: you could try asking for a copy of current set-up or for noc.wikimedia to be updated... [05:57:59] might make life easier [05:58:08] does the pretty URL variable set itself to true by default if it's supported? I don't quite understand what's written in the docs [05:58:13] *Mike_lifeguard asks [05:58:21] :P [05:59:17] grekkos: you have to change apache's behavior and make a modification to LocalSettings.php [05:59:19] for it to work [05:59:32] oh ok [06:00:15] can the modification can be done through an .htaccess? [06:00:46] yep [06:00:59] !man Short URL | grekkos [06:00:59] --mwbot-- grekkos: http://www.mediawiki.org/wiki/Manual:Short [06:01:07] hmm.. [06:01:14] Pathoschild: nothing with hit counters disabled, if not disabled, it prevents the hit being counted [06:01:21] There is currently no text in this page, you can search for this page title in other pages or edit this page. MZMcBride [06:01:28] silly bot: http://www.mediawiki.org/wiki/Manual:Short_URL [06:01:36] oh [06:01:38] the space killed it :) [06:01:42] Mike_lifeguard: Yes, hold on. [06:02:13] *Mike_lifeguard tried the same format as is there currently, and it says "bad interwiki prefix" [06:02:24] I don't think the format has changed since then [06:02:34] As is where? [06:03:22] http://www.mediawiki.org/wiki/Manual:$wgImportSources [06:04:55] as is on noc.whatever... the import sources are defined like 'w' for wikipedia. I tried that, and it returned an error :( [06:07:01] 03brion * r29943 10/trunk/phase3/includes/SiteConfiguration.php: [06:07:01] SiteConfiguration was smashing all variables into strings (or arrays of strings) with the str_replace. [06:07:01] This broke on things that wanted an actual 'false' or 'null' value exactly (or ints, though haven't run across such). [06:07:01] Changed to a type-safe replace that only does replaces on strings and strings in subarrays [06:08:53] Where are you defining it? 'w' needs to be in your interwiki table. [06:09:04] where is are the demonstration config files for WMF stored? it's noc.wikimedia.org... something [06:09:27] -is [06:10:23] hrm. /me tries to find something referring to an interwiki table [06:11:17] oh it uses the ModRewrite [06:11:25] yeah I don't have root on my server heh [06:12:45] I never understood how mod rewrite works... the regexes look really complicated [06:14:07] http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access ? [06:14:17] yeah i was reading that [06:14:26] I'll try it tomorrow i'm going to bed now [06:14:50] thanks for the references MZMcBride [06:14:54] :D [06:15:02] no problem [06:16:30] MZMcBride: These? http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/DefaultSettings.php?view=markup [06:16:44] nah, i found it: http://noc.wikimedia.org/conf/ [06:16:49] thanks, though :) [06:17:15] Mike_lifeguard: The Special:Interwiki extension is great for that. < http://www.mediawiki.org/wiki/Extension:Interwiki > [06:17:20] Welcome. :) [06:17:43] huh. I thought interwiki prefixes were defined in /maintenance/interwiki.sql [06:18:51] Yep, in the database. [06:18:52] *Mike_lifeguard doesn't need that because I can just edit the file [06:19:02] but I don't see why the defaults aren't working [06:19:29] If I'm not mistaken, the .sql file only contains the SQL commands to insert the content into the database; it's not the database itself. [06:19:37] ... do I need to import interwiki.sql into the db or something? [06:20:00] *Mike_lifeguard thinks so, and tries [06:20:02] Did you update an older wiki? I think at some point Wikipedia wasn't in the default interwiki table. [06:20:15] well 'older' being 1.11.x [06:20:36] I'd try Special:Interwiki. :) [06:20:55] Or just try a [[w:foo]] link in the wiki, I suppose. [06:22:28] *Mike_lifeguard looked in the db, and the table is out-of-date [06:22:36] is there a maintenance script to fix that? [06:26:51] 03brion * r29944 10/trunk/phase3/includes/SiteConfiguration.php: Commit ver of doReplace that *doesn't* cause infinite recursion and stack death [06:30:57] 03(FIXED) Support iPhone home page bookmark icon - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12668 +comment (10brion) [06:37:27] brion: does the ipod icon have to be on that blue background (eg. ipod takes only this color as transparent) or can there be any other? [06:40:54] 04(REOPENED) Re-enable upload on Incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12642 +comment (10danny_b) [06:46:03] JeLuF: could you take a look on 12642, pls? [06:51:46] to import a data dump, does one unzip the dump first, then run importDump.php? [06:51:51] test [06:52:46] tset [06:53:07] Links "next 200" on categories with many images not working for not logged-in users [06:53:23] does this have to do anything with page caching enabled? [06:53:33] what kind of "not working"? [06:54:03] it just brefreshes the first page indstead of showing the next 200 images [06:54:46] possibly caching, but i'm no expert (^^) [06:55:08] o.O [06:55:28] sooo... basically i should just turn off caching [06:55:53] umm how do you think does it really speeds anything up because i'm not sure? [06:56:46] k i'll take that as "no" [06:58:12] zxcv: yes, caching reduces server load and therefore increases speed since the page must not necessarily be rendered upon request [06:58:31] I don't know what caching there is for category pages though [07:55:40] 03(FIXED) Re-enable upload on Incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12642 +comment (10jeluf) [07:57:56] 03(mod) Special pages should follow a single standard in showing redlinks or hiding links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11400 summary (10huji.huji) [07:58:05] 14(DUP) Redlinks are not displayed in all Special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12679 +comment (10huji.huji) [07:58:10] 03(mod) Special pages should follow a single standard in showing redlinks or hiding links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11400 +comment (10huji.huji) [08:00:36] 03(mod) Special pages should follow a single standard in showing redlinks or hiding links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11400 (10huji.huji) [08:11:06] MZMcBride: have time? [08:11:24] I'd like to know why you're concerned about spoofing you mentioned in http://bugzilla.wikimedia.org/show_bug.cgi?id=12681 [08:13:20] 03(FIXED) Set favicon for Test Wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12670 +comment (10jeluf) [08:46:13] Hojjat: ping [08:46:19] yay! [08:46:21] so, sup? [08:46:32] people use the CSS for practical jokes [08:46:50] http://en.wikipedia.org/wiki/User:Certified.Gangsta [08:49:51] wow! [08:51:13] 03(mod) New messages bar should appear above page title - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12681 +comment (10huji.huji) [08:52:26] are any api experts here?\ [08:53:25] hippietrail let's see if I can help [08:54:22] thanks Hojjat i'm having some trouble associating synchronous api responses with my queries - it could be a javascript specific problem [08:54:47] could you explain more? [08:56:16] i am looking up interface messages in the MediaWiki api. for instance i pass in 'MediaWiki:Beerparlour-url' and get back 'Wiktionary:Beer parlour' [08:56:47] 03(NEW) Update demonstration WMF config files - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12685 15enhancement; normal; Wikimedia: General/Unknown; (MZMcBride) [08:57:29] but the ajax callbacks only know about the xmlhttprequest object - which is not associated with the page title i pass in [08:58:11] so when i get the response (the page content) it's not so easy to know which page title it was for [08:58:25] oh... [08:59:03] i'm not sure if i have hack the ajax function to pass in an extra parameter or if there's something about closures i still don't quite get [08:59:13] many of the API responses include fields like page title or id. Perhaps you should change the way calling the API. (Or perhaps API should be changed to report such info in more instances) [08:59:51] may be you could paste the code you're using (to be more specific, the API calling section) somewhere (like on rafb.net/paste) and let me have a look at it [09:00:41] yes i do get the title back and i tried using it as a hash key but it seems the hash object reference is overwritten each time i call the function which builds and sends the request [09:01:10] it's bulkier than i'd like so i can give you a link: http://en.wiktionary.org/wiki/User:Hippietrail/apitest.js [09:01:57] at the moment it actually does work but i've tried to hack in a closure that i don't really understand so i'm not sure if it works for the right reasons [09:03:58] 03tstarling * r29945 10/trunk/phase3/includes/ (5 files): [09:03:58] * Eliminated message mode (OT_MSG), using OT_PREPROCESS instead. As proposed on wikitech-l. [09:03:58] * Fixed #tag behaviour in preprocess() [09:03:58] * Fixed #tag quote stripping regex [09:03:58] * Made MessageCache::getMessage() never transform its result, that is now left up to the caller. [09:03:59] * A few other minor changes [09:06:28] yay [09:06:48] that should simplify things [09:08:33] yeah [09:08:53] hippietrail: your code sends requests like this: http://en.wiktionary.org/w/api.php?format=xmlfm&action=query&prop=revisions&rvprop=content&titles=MediaWiki:Recentchanges [09:09:08] Except that it uses JSON as format, while I put XMLFM there for now [09:09:21] Hojjat: cool [09:09:29] as you can see, the output "does" contain info about the page name. You just need to change the correct node in returned output [09:09:43] I'm not a JSON geek, but the internal sturcture is the same as XML [09:09:56] hope it helps [09:11:19] gotta go [09:11:38] yes i didn't explain it well i do try to use revisions/title as a hash key. it's where to keep the hash so that the sender and callback can access the same one when the function can be called multiple times asynchronously [09:11:45] thanks though! [09:16:46] hippietrail: couldn't you just assign a property to the called object? [09:17:22] Splarka: it seems to be working after all. i may have been misinterpreting my results [09:17:49] but i don't have a good understanding of closures which i think is the main problem )-: [09:18:14] *Splarka shrugs [09:18:20] but ah yes i see what you're saying - thanks! [09:27:46] anyone know of an open bugzilla bug for this? (not related to parser changeover) [09:28:01] Template:Passthru with contents {{{1}}} : [09:28:03] {{Passthru|1=foo:|bar}} - {{Passthru|1=foo: |bar}} - {{Passthru|foo:|bar}} - {{Passthru|1=foo:}} - {{Passthru|1=foo:|2=bar}} # {{Passthru|1=foo:|2=bar|baz}} [09:28:11] returns: bar - bar - foo: - foo: - foo: # baz [09:28:35] should be foo: in every instance, no> [09:45:55] is there any way to get to be inline? [09:52:39] div.imagemap-inline div { display: inline; } [09:52:52] courtesy of the Germany Wikipedia [09:53:02] -y [09:53:03] I was about to suggest that [09:53:09] but I got sidetract by an interesting bug [09:53:17] ^sidetracked [09:53:35] [09:53:35] [09:53:35] .. [09:53:35] [09:53:35] [09:53:41] produces: [09:53:56] [09:55:15] could be a Tidy bug... [09:56:05] even weirder [09:56:19] that was just a default [[Main Page]] with no map [09:56:25] *with* a map: [09:56:58] *Splarka will pastebin this spam [09:57:20] http://p.defau.lt/?Geqlnf1QQtRiuAg2aQN76A [09:57:26] the outer span gets cloned twice [09:58:30] *MZMcBride nods [09:59:51] huh, does it on
 too
[10:01:02] 	can you add: div.imagemap-inline div { display: inline; }  
[10:01:08] 	to test.wiki's common.css?
[10:01:09] 	
$$$
[10:01:10]
[10:01:10] 	$$$
[10:01:10] 	
[10:01:22] k [10:01:31] what about the outer div? [10:01:38] div.imagemap-inline, div.imagemap-inline div { display: inline; } [10:02:00] do you want that instead? [10:02:04] dunno; stealing de.wiki's code [10:02:19] their example probably works [10:02:44] well, their example requires wrapping whatever you want inline with the imagemap, in that div [10:02:48] actually, their current version is: .imagemap-inline div { [10:02:49] display: inline; [10:02:49] } [10:02:57] just wondering if you want the outer div inline too [10:03:08] oh, that's the same thing ... [10:03:10] ahh, so works on any object [10:03:17] well, not necessarily [10:03:23] that'd allow you to put it on a table [10:04:10] *Splarka does both [10:04:11] .imagemap-inline div { display: inline; } [10:04:11] .imagemap-inline-withparent, .imagemap-inline-withparent div { display: inline; } [10:04:29] *MZMcBride wonders if caching is going to screw him up again [10:04:58] is screwing me up, yes [10:05:06] http://test.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400 heh [10:11:26] damn caching [10:11:40] has a fix been written yet? [10:11:55] there is a fix, which I think is awaiting approval [10:12:06] yeah, i saw that comment [10:12:13] not sure it's true [10:12:25] doubt it is... [10:14:31] well it works on de.wiki [10:15:04] 03(NEW) Create new namespace alias WP: for Finnish Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12686 15enhancement; normal; Wikimedia: General/Unknown; (str4nd) [10:15:12] i'll update Common.css; hopefully in the next few years the server cache will expire [10:18:28] 03(mod) Create new namespace alias WP: for Finnish Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12686 (10agony) [10:22:46] me begs somebody to fix http://bugzilla.wikimedia.org/show_bug.cgi?id=10837 [10:25:11] hi [10:25:19] anybody out there? [10:25:30] what do you think? [10:25:38] :) [10:25:42] out of 168 users :) [10:25:46] I need a little help ;) [10:26:03] !ask [10:26:03] --mwbot-- 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. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [10:26:05] is anybody out there willing to help me with mediawiki? :D [10:26:17] ah [10:26:25] thanks MinuteElectron [10:27:08] ok, than, this is my question: I finally managed to install my mediawiki 1.11.0-Version on my local computer. [10:27:27] That isn't a question. [10:27:42] I'm not finished, sorry [10:27:49] :P [10:28:13] 03nikerabbit * r29946 10/trunk/phase3/includes/SpecialVersion.php: * Xml:: [10:28:15] I also have a phpbb2-Forum on the same computer installed and running (no users up to now). [10:29:11] I heared it is possible to connect the two programs in order to make it possible that if a user registers at the forum he is automaticly registered at the wiki. [10:29:36] hi! is it possible to have public pages with a hidden page history? [10:29:43] I don't know how to do this, can you help me? <-- question (for MinuteElectron) [10:30:24] http://www.mediawiki.org/wiki/Extension:PHPBB/Users_Integration [10:31:01] MinuteElectron, you saved my day! [10:31:19] I thank you so much! *hugs MinuteElectron several times* [10:31:27] guaka: you'd probably have to hack in a permission check to action=history [10:31:39] ANDYLEE: you're welcome [10:32:48] Splarka, I was hoping for something less more convenient. If that's the case I will just go through 50 pages, 1. copy page, remove phonenr/address 2. delete page 3. paste page back [10:33:04] !oversight [10:33:04] --mwbot-- Oversighting removes revisions from access by normal users and sysops. More information is available here: . [10:33:23] nononononononono! [10:33:32] that lets you delete revisions so that not even sysops can see them anymore [10:33:45] this is for the phpbb3.... is there any extension aiming at phpbb2? [10:33:48] however, guaka: if you don't mind sysops seeing them, you can do something else [10:34:10] delete the page, and then undelete the revisions that don't have personal information, perhaps just the top one [10:34:11] rev delete also works on mw 1.11 [10:34:18] sort of [10:34:26] MZM: perhaps the address was in the history a long time ^_^ [10:34:37] ANDYLEE: There is for MediaWiki 1.9.2 and phpbb2, but not 1.11.0 and phpbb2. [10:35:05] *ANDYLEE wants to excuse for it's bad english, it is not a native speaker [10:35:29] Splarka, awesome! [10:35:32] oh, thats not good... hmm... I will have to upgrade my BulletinBords to phpbb3 :D [10:36:18] ANDYLEE: yeah, phpbb3 is released now so it is the way to go. [10:37:14] seems you are right MinuteElectron [10:37:22] many thanks, anyway. :) [10:38:02] np [10:50:24] <[CodeWiki]Loki> hey, my mediawiki recent changes RSS uses my "old" url, which i used when i first installed mediawiki, but i got a new domain recently.. everything works with the new url, except the RSS feed which uses the old one.. how can i change it? [10:58:57] so, I'm back [10:59:03] and I am confused [10:59:13] I downloaded the extension [10:59:30] there are 3 .php-Files in it [10:59:38] what do I do with them? [10:59:45] where do I copy them? [11:01:18] You put them in the extensions/ directory of your mediawiki wiki. [11:01:29] ah one moment [11:01:51] done, and now? [11:02:34] I don't have a file "localsettings.php" in my phpbb3-folder [11:03:07] you want to edit the LocalSettings.php file in the mediawiki folder [11:03:39] ah, oh,... in the mediawiki folder there is a localsettings.php, indeed. you are right :) [11:05:28] ok, I edited the localsettings.php [11:06:06] now I have to create a usergroup in phpbb3, right? [11:07:43] If you set $wgPHPBB_UseWikiGroup to true, only users in the Wiki group can edit MediaWiki. [11:07:48] how do I do this? :O [11:11:59] 03(mod) View image in several resolutions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2581 (10adziura+wiki) [11:22:40] 14(INVALID) Messed are the parameters for recent changes and watchlist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12275 (10spiritia) [11:41:32] Uh-oh. Can anyone tell me why my wiki might suddenly have started throwing this error: [11:41:33] [08:55:00] * ElfBoy has joined #gayteensex [11:41:33] [08:55:01] * X sets mode: +b *!*@69-179-88-150.stat.centurytel.net [11:41:33] [08:55:01] * ElfBoy was kicked by X ((todd1890) No Reason) [11:41:37] Eek, wrong buffer. [11:41:52] There we go, this error: [11:41:52] [08:55:00] * ElfBoy has joined #gayteensex [11:41:52] [08:55:01] * X sets mode: +b *!*@69-179-88-150.stat.centurytel.net [11:41:52] [08:55:01] * ElfBoy was kicked by X ((todd1890) No Reason) [11:52:37] 03(NEW) hidden URL and email properties display a [1] with link - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12687 normal; high; MediaWiki extensions: Semantic MediaWiki; (info) [12:21:11] 03(NEW) property with a single [[Display units]] has redundant pop-up - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12688 15enhancement; high; MediaWiki extensions: Semantic MediaWiki; (info) [12:27:14] 03shinjiman * r29947 10/trunk/phase3/languages/messages/ (4 files): [12:27:14] * Update Chinese translations [12:27:14] * Update Cantonese translations [12:27:14] * Update Old Chinese / Late Time Chinese translations [12:30:05] is there a channel for Wikipedia? [12:30:09] or is this it? [12:30:15] #wikipedia [12:35:32] 03siebrand * r29948 10/trunk/phase3/languages/messages/ (16 files): Localisation updates for core messages from Betawiki (2008-01-19 13:27 CET) [12:41:48] 03siebrand * r29949 10/trunk/extensions/ (25 files in 24 dirs): Localisation updates for extension messages from Betawiki (2008-01-19 13:27 CET) [13:15:59] 03(NEW) Orphaned pages and other special pages do not show pages in custom namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12689 minor; normal; MediaWiki: Special pages; (codecat42) [13:32:21] hi [13:32:55] <_das> Hello. Can sysops change the default MediaWiki skin via a Special: page, or does it have to be set via $wgDefaultSkin in LocalSettings.php? [13:33:47] They change it in preferences [13:34:05] (or maybe that's just wikia... not sure) [13:34:19] <_das> I know individual users can... [13:34:31] <_das> But what about the default for all users? [13:37:33] Looks like it's a wikia-specific feature. In plain mediawiki it's LocalSettings or boot [13:38:09] <_das> ok, thanks [13:40:26] 03(FIXED) Add {{GRAMMAR}} to Polish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11837 +comment (10jeluf) [13:43:39] 03(mod) Namespace request for Wikibooks Turkish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12677 +shell; +comment (10jeluf) [13:51:20] 03(mod) Namespace request for Wikibooks Turkish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12677 (10serhat.er.95) [13:53:24] 03tstarling * r29950 10/trunk/phase3/includes/Parser.php: Fix for more than 6 equals signs on their own line. [13:55:42] Hi, quick question, is it possible to get MediaWiki to email address with a list of pages that have been updated over the last 7 days. [13:56:23] send an email to a distribution list. [13:57:00] TimStarling: have you already heard about looped query issue in filerepo? [13:59:12] 03(NEW) wfGetForwardedFor (X-Forwarded-For) doesn't always works - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12690 15enhancement; normal; MediaWiki: User login/settings; (petya) [14:11:51] 03(NEW) Fatal Error - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12691 15enhancement; normal; MediaWiki extensions: Preloader; (gafoley) [14:14:03] I will have to hear about it some other time [14:26:56] 03(mod) Kazakh i18n updates for extensions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7971 +comment (10alefzet) [14:27:06] 04(REOPENED) Kazakh i18n updates for extensions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7971 (10alefzet) [14:29:14] 03(NEW) Upload-summary is missing in MessagesEn.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12692 15enhancement; normal; MediaWiki: General/Unknown; (robin_1273) [14:34:50] 03(mod) Support iPhone home page bookmark icon - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12668 (10mczeke) [14:41:24] 03(mod) Fatal Error getLocalURL() calls non-object in WikiChat extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12691 15enhancement->04CRIT; summary (10darklama) [14:52:44] after importDump.php and rebuildall.php, must I run rebuildrecentchanges.php seperately? [14:59:41] What does op_ prefix means in SVN account name? [15:00:12] A spam bot has put loads of spam in my wiki, how can I remove it all? [15:00:29] Remove everything since a certain date? [15:01:52] depends what extensions you have installed [15:02:17] You can use Extension:Nuke to delete many pages of a single user quickly [15:02:33] Mike_lifeguard: ok thanks, I will install that extension :) [15:02:51] Nakamura: is it page creation? If not, there are other things you can do [15:02:59] page creation [15:03:05] loads of pages have been created [15:03:09] ok; that should do nicely [15:03:24] ok thanks [15:12:46] Hi... I'm using LaTeX to write some math equations and sometimes font size is too small. Is there any way to use a larger size? [15:14:16] I assume you mean you're using TeX markup within pages? Use the appropriate TeX commands [15:15:26] Mike_lifeguard, yes, TeX markup it is... However, commands such as /large etc. are not working... [15:16:20] and you have math installed correctly? [[Manual:Math]] [15:18:22] Mike_lifeguard, I use Gentoo, so I suppose everything installed fine. Math types are generally working [15:18:53] 03siebrand * r29951 10/trunk/extensions/ (31 files in 2 dirs): [15:18:53] * merge multiple message files into one [15:18:53] * use wfLoadExtensionMessages and delay loading a bit [15:18:53] * add version in extension credits [15:18:53] * remove EOL whitespace [15:18:54] * update Translate extension [15:18:55] *Mike_lifeguard doesn't know then [15:19:22] Mike_lifeguard, ok, thanks for trying... :D [15:26:00] 03(mod) requesting Special:Userlogin shortcode Special:Userlogin/signup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12674 (10danny_b) [15:27:49] <[CodeWiki]Loki> my mediawii rss points to an old url, how can i edit it? [15:31:45] [CodeWiki]Loki: if you're using this extension: http://www.mediawiki.org/wiki/Extension:News [15:32:02] otherwise, look in the documentation for the extensions you /are/ using [15:32:56] <[CodeWiki]Loki> no extention, its the RSS feed from recent changes [15:35:05] <[CodeWiki]Loki> anyone? [15:35:17] *Mike_lifeguard finds the documentation for you [15:39:10] [CodeWiki]Loki: I can't find what you're looking for, though it does exist. [15:39:21] ! rss [15:39:25] !rss [15:39:25] --mwbot-- Feed aggregator extensions: . Feed generator extensions: . [15:39:30] there you go [15:49:39] <[CodeWiki]Loki> still not what im looking for.. [15:49:51] <[CodeWiki]Loki> in "recent changes".. there is an RSS\Atom link... [15:50:40] <[CodeWiki]Loki> i need to edit the URL's, as they point to the correct pages, but using an old domain.. so instead of linking to website\category:site, it links to "oldwebsite\website\category:site [15:51:03] [CodeWiki]Loki: Nobody here is your research assistant. Look in the documentation. [15:51:22] There is s $wgSomeVariable that you must change in localsettings.php [15:51:36] <[CodeWiki]Loki> hmm, i must have missed it.. my apologies.. will look again [15:53:08] <[CodeWiki]Loki> cuz i only find info on downloadable extensions.. while the RSS\Atom thingie im talking about is integrated in Mediawiki [15:55:11] !localsettings [15:55:11] --mwbot-- *All* configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can *look* in DefaultSettings.php. See , , [15:55:29] it is in there somewhere [15:55:56] <[CodeWiki]Loki> thank you.. [16:02:44] Hello all [16:03:00] I've come for a bit of help, if anyone is around for a few Qs [16:03:30] denkino: yes, but I'm not a developer; I don't know the code, just how to use it [16:03:48] I'm actually looking for some help with writing an extension [16:03:55] i've hit on the UNIQ QINU problem [16:04:02] >_> [16:04:23] Mike_lifeguard: any expertise in that area? [16:04:46] none whatsoever. you'll need a dev, methinks [16:05:19] ok, i'll chill out here for a while [16:11:29] 14(DUP) requesting Special:Userlogin shortcode Special:Userlogin/signup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12674 +comment (10robin_1273) [16:11:33] 03(mod) Special:Userlogin?type= signup should have an internal link to it - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11897 +comment (10robin_1273) [16:15:28] any devlopers around? [16:15:32] Hey. Any ideas on why my bullet is showing up in black instead of blue? http://olr.freemason.com/wiki/index.php?title=MediaWiki:Monobook.css [16:15:59] Hello, I have people that are running diff queries on my medaiwiki instance on very large article and they are pegging out my CPU, I am trying to block them using iptables but is there anything that I can do on the mediawiki side? Decrease the timeout on the diff? [16:16:29] Steev43230: if you are in firefox, you can go to the dom inspector and analyze the sytle sheet cascades to verify nothing is overwriting each other [16:16:57] gotcha....I think.... [16:17:20] its under the tools menu [16:17:48] and then, you click the box on the top left where it says 'Document - DOM Nodes' and swith it over to stylesheets mode [16:18:09] I've got it but there's tons of stuff to look through [16:18:10] and then you can click the button with a mouse cursor on it, and then click the bullet, and it'll bring up the applied styles [16:18:44] it should help you weed through it so that you only see what is applied to the bullet [16:18:53] should be much much smaller [16:19:38] sorry, bad instructions [16:19:50] first click the mouse cursor button, and click your bullet item [16:20:07] then go to the middle of the screen, and change that menu to the stylesheet [16:20:16] it'll show only the rules applied to the list item [16:20:36] and the line number ^_^ [16:21:19] on the link you provided, i see no rules for color applied [16:21:31] the image itself is blue [16:22:07] denkino: yes, we're around [16:22:16] these lines in the DOM inspector are very long - what am I looking for? a reference to a filename for hte image? [16:22:50] Steev43230: hmmm i guess you're looking for what is applied to the li element.. but, i'm not a css guy [16:23:04] VasilievVV: awesome [16:23:27] VasilievVV: I'm having a problem with an extension I'm working on, I'm getting a UNIQ QINU issue, that i've seen a lot of posts about [16:23:45] Parser extension? [16:23:58] denkino: what are you triing to do? [16:24:01] I'm adding two hooks [16:24:04] Do you have to type someone's name each time? In this chat window? [16:24:43] I'm writing an extension for gnuplot, and want to have ......... [16:24:53] Steev43230: people's IRC client will ping them upon seeing their nick [16:25:19] denkino: no ideas about parser. I've heard there were bugs when UNIQ markers were in the parser output [16:25:25] also helps so we know who's talking to who [16:25:27] Huh? I mean, you started your text line with my name - Steev43230 - did you have to type it each time? [16:25:45] yes, I did type it [16:25:49] denkino: instead of the replacement UNIQ shows up? [16:25:54] OK [16:26:03] When I pass back the output of my extension as the return from my top level function, it looks great [16:26:25] but, I am writing to a temporarily file to run the gnuplot executable, and the output has the ... stuff as UNIQ----QINU [16:26:31] Isnogud: yeah [16:26:32] THe DOM inspector seems to reference list-style-image: bullet.png, which would be correct. [16:27:41] i've already disable the zeno compatability mode as a ticket describes, and also tried against trunk/phase3 with the same issue [16:27:54] so, I'm begining to think I'm either missing something.. or hitting on some weird case [16:28:02] Though I don't know how to check to see if something is overwriting that. [16:28:17] updated to bulletred.jpg just to be sure.... [16:28:29] Dunno. i once hassled around and fixed something similar with changing a parser function header. [16:29:02] but i am not sure if the fix that i have done is more like a cargo cult programming fix. [16:29:16] I just find it really odd that I only see the bug on filesystem output.. and not when returning from the function [16:31:06] denkino: so everything that is in dataset is the plot itself as a picture? [16:31:42] dataset would have a list of x-y pairs, with a carriage return after each pair [16:32:00] let me online it and paste it in here [16:32:07] Any thoughts on why the image color is being changed? [16:32:18] set title "Text" set yrange [0:60] set xtics (0,1,2,3,4,5,6,7,8,9,10) set xrange [0:10] plot 0 10 1 13 using 1:2 title "Burndown" with lines [16:32:30] thats the command with all CRs removed (dont wanna spam) [16:33:15] denkino: well. so everything in dataset should be passed in a file that is then used for gnuplot to work on or smth. very similar. [16:33:42] yeah, i save dataset to a file, then save the gnuplot internals as another file, and run gnuplot on it [16:33:46] denkino: dataset should not be replaced, am i right? [16:33:57] dataset is replace with the filename of the temp file [16:34:13] well. [16:34:17] plot "/var/www/wiki/images/tmp/f4191a7f185cccb771d0fd07a375d849.dat" using 1:2 title "Burndown" with lines [16:34:20] yes. [16:34:24] is the replaced version [16:34:46] and then on the filesystem, the saved version looks like this: [16:34:51] plot UNIQ4169df9d99df283-dataset-00000003-QINU using 1:2 title "Burndown" with lines [16:35:01] but there is no output in the MW for that, right? You pass all theses parameters and get the plot back and display it, right? [16:35:17] i think you don't need to embed dataset. [16:35:27] the return to MW is the destination filename [16:35:42] you may just pass dataset as a attribute to gnuplot. [16:36:00] Isnogud: very true [16:36:12] but, i want to handle multiple datasets [16:36:15] and everything that is in gnuplot may be replaced by the file, right? [16:36:20] well. [16:36:36] you mean n-dimensional? [16:36:52] no, just multiple plots on one graph [16:36:59] ah. no i got it. [16:37:17] plot UNIQ4169df9d99df283-dataset-00000003-QINU using 1:2 title "Burndown" with lines [16:37:20] ack [16:37:23] http://gnuplot.sourceforge.net/demo/finance.html [16:37:32] but they will still show up in one plot. [16:37:37] correct [16:37:57] each would be one generated image [16:39:16] hm. if you are stuck in embedding tags in tags with Parser extension of MW i would think that you just pass em as an attribute and separate every dataset with a semicolon. [16:39:36] *denkino thinks [16:40:09] you just need to let gnuplot know how many fields per line there are. [16:41:02] if you have 12 line it could be 6x2 4x3 3x4 and so on. you should pass that info also to the special attribute. [16:41:18] that feels like a lot of extra work [16:41:27] i agree that it would work [16:42:14] \o/ yay! [16:42:19] *Mike_lifeguard got a fatal error [16:42:33] "Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\mediawiki\includes\SpecialUpload.php on line 180" ?? :( [16:43:18] denkino: i don't think it's that much work. [16:43:53] it's one explode on the dataset attribute. [16:44:38] hmm [16:44:55] i guess i'm more interested in seeing the problem resolved than just getting my extension to work [16:45:03] i think the more relevant issue is the usability issue, since it feels beeter to have it as a embedded tag. but there you also have to pass the arity of the fields. [16:46:19] ack.. my mouse just died.. *cries* [16:46:36] could you paste the code in pastey? [16:46:50] yeah, I can do that [16:48:49] pastey.net/80921 [16:49:08] well. [16:49:32] you always have two fields in one plot. this info is not needed. [16:49:38] in one line. sorry. [16:50:43] thats just my example usage, it supports tons more [16:51:22] i'm trying to leave the gnuplot commands as clean as possible so that any gnuplot command would work [17:00:22] denkino: well. i am not sure if i really understand everything. You should be able to place more then one plot in one page, right? [17:00:27] yeah [17:00:45] Isnogud: it does a hash of each 'script' to keep them unique [17:00:55] denkino: so every gnuplot has one or more dataset. [17:01:01] Isnogud: yes [17:01:22] Isnogud: actually, that could be false.. if you have a mathematical function, you dont have to provide data [17:04:14] I just wander if there is a mechanism of the parser to replace the UNIQ---QINU things before it reaches the html rendering part.. that I need to call early to make it fill out the parsed value before I write to the file system [17:04:18] wonder* [17:04:44] since, i'm really circumventing the normal ordeal of things by going to the filesystem [17:05:23] hm. [17:05:27] i think i uploaded a version to you with a debuging thing still in it, like 122 needs to be replaced with line 123 [17:07:10] denkino: well i am sure if this may work like you want to. [17:07:53] you're not sure? or you're sure? [17:07:56] The first thing are lines 44 and 45 that make me wonder. [17:08:39] line 44 & 45 are straight out of the extension guide, and they work on their own [17:08:54] it's just having the dataset inside the gnuplot that gets weird [17:12:21] ic. [17:12:29] well, i dont want to hold you up on this Isnogud, if you need to do something else, i can start work on the extension page and get some feedback from others [17:12:38] you need the replacement for that, right? [17:13:00] replacement? [17:13:33] oh, the replacement for the UNIQ-QINU, yeah.. i need to have the output of [17:19:32] the replacement is the file itself. ic. [17:19:43] yeah, absolute path to the file [17:19:53] gnuplot needs that to load it up [17:20:00] denkino: well. what you could do is to look for the replacement your self. [17:20:33] actually split off the myself.. yeah, i thought of that as well [17:20:39] the placeholder and it's replacement is stored in the parser object as a replacement arrey. [17:20:46] oooooooh [17:21:42] in the stripState array. Like this stripState->ReplacementArray->data['UNIQxxxxxQINO'] [17:22:13] I would be really happy if there would be one of the core developers in here also. [17:22:52] *nods* [17:23:00] i looked at the functions of the parser class but didn't find a appropraite method. [17:23:08] appreciate your help a LOT, Isnogud [17:23:16] well. [17:23:31] glad to here. [17:24:04] i'll get my code onto mediawiki.org as an extension, and check back in here a little later [17:29:50] denkino: the replacement is a little bit different as i descriped: to access the field it's not 'UNIQ...' but '\x07UNIQxxxx-QINU\x07' [17:30:25] 03siebrand * r29952 10/trunk/extensions/ (30 files in 2 dirs): [17:30:25] * merge multiple message files into one [17:30:25] * use wfLoadExtensionMessages [17:30:25] * add version in extension credits [17:30:25] * remove EOL whitespace [17:30:26] * update Translate extension [17:30:34] denkino: look in the Parser.php file in the includes folder of MW> [17:30:49] ok [17:33:44] i see the method extractTagsAndParams [17:34:22] that looks like it breaks down the internal things and makes those UNIQ names [17:34:36] so i guess i'm looking for the reverse method? [17:34:47] well yes. [17:34:56] that was what i wanted to say. [17:35:31] but i didn't found any. [17:35:45] what doesn't mean that it does not exist. [17:36:37] Sanitizer::normalizeCharReferences( [17:36:39] hmmmm [17:37:14] no, that doesn't look right [17:37:56] well. [17:37:59] there is a method named 'tidy' [17:38:17] yes. but it does not what you want i think. [17:38:27] k [17:47:56] insertStripItem [17:48:05] from doc : "The tag will be replaced with the original text in unstrip()" [17:52:25] YAY! [17:52:28] it WORKS!!!!!!!!!! [17:52:37] $w=fprintf($fp,$parser->mStripState->unstripBoth($full_plot_script)); [17:52:45] thanks Isnogud !!!!!!!!!!!!!!!! [17:54:18] 03(mod) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [17:54:50] 04(REOPENED) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [17:56:20] Hey.. I just installed trunk.. I'm trying to use my custom skin, however I'm getting an unexcpected error: Parse error: syntax error, unexpected $end on line 383. Line 383: ?> [17:56:39] same skin works fine on 1.11 [18:03:30] anyone? [18:03:43] Wiredtape: sorry, i dont have any idea [18:03:54] Well, you could start by saying what's line 383 :) [18:04:37] line 383: ?> :) [18:06:53] I know that ?> doesn't explain much... but I've gone through the skin, and I don't see any unclosed brackets, or additional closing brackets with no openings.. [18:07:22] I'm puzzeled about this as well.. I've also checked that there are no additional characters after ?> [18:07:47] Maybe you should put the skin on a paste site then [18:10:49] Dashiva, http://rafb.net/p/mA47y420.html [18:10:49] just kill the ?> :) [18:10:58] probably a mismatched quote :) [18:11:18] Jack_Phoenix, the problem is that ?> closes this: wfRestoreWarnings(); [18:11:18] } // end of execute() method [18:11:19] } // end of class [18:11:19] ?> [18:11:19] denkino: yeah. way to go. happy to see the new gnuplot extension! [18:11:32] hm [18:11:33] *denkino has a huge grin [18:11:45] Isnogud: I'll have it on mediawiki.org momentarily, just cleaning up my documentation [18:11:47] I think I have killed ?> tags from skins before, and nothing bad happened...might be wrong [18:12:14] Hello, everyone. I was hoping someone might be able to help me with the initial coding of a navbox. [18:12:46] Jack_Phoenix, I dont know.. but the question is also why it works on 1.11 and doesn't on trunk? [18:13:14] because trunk is a in-development version while 1.11 is stable? :) [18:13:36] :), perhaps.. but it works with other skins? [18:13:44] Wiredtape: The use of endif syntax makes me wonder [18:14:53] Dashiva, monobook, has same endif.. my skin is derived from monobook. [18:15:43] Well, as long as you keep the different nestings straight [18:17:32] Dashiva, I tried seeing if something was missing, if it is I can't spot it.. [18:18:41] There's too much all over the place for me to be of help. I'd recommend cut-and-paste debugging at this point [18:19:31] Point taken... [18:19:43] thanks though.. [18:35:48] Isnogud: http://www.mediawiki.org/wiki/Extension:Gnuplot [18:36:03] Isnogud: I gave you a thankyou at the bottom, Thanks again for your help! [18:36:30] Isnogud: has an image of the dual dataset plot; showing my intent to use it as mainly an agile burndown chart [18:37:53] Isnogud: I have another graph plugin that I wrote ages ago i'll have up as well, that uses pic2plot, antoher gnu graphing program [18:39:50] denkino, do you have one that can draw a tree :)? [18:40:06] I use the UML one for diagrams [18:40:14] and on the discussion page has a sequence diagram one I wrote [18:41:07] http://metauml.sourceforge.net/ [18:41:16] much appreciated :) [18:41:16] has some examples, pretty simple to learn syntax and VERY powerful [18:41:22] welcome welcome ^_^ [18:41:55] *DavidSeymore might as well use realname..... [18:46:02] 03(NEW) New messages bar - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12693 15enhancement; normal; Wikimedia: Site requests; (NavouWiki) [18:47:56] hello [18:48:06] i've a question [18:48:27] shoot tauro.. [18:48:36] can I use media wiki with joomla? [18:49:11] ? [18:49:46] hmm.. interesting question, in what sense.. would mediawiki be more of a cms, or would you like mediawiki as a plug-in for joomla? [18:51:24] I will, that media wiki use the users from joomla (Can you speak German?) [18:51:36] nope sorry.. [18:52:08] 03(ASSIGNED) New messages bar - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12693 +comment (10agkwiki) [18:52:26] I beleive it would be very hard to hack mw to use the joomla user database.. I do remember an extension that allows you to use ldap though... [18:52:36] tauro: both joomla and mediawiki can authorize with LDAP [18:52:47] http://extensions.joomla.org/component/option,com_mtree/task,listcats/cat_id,1786/Itemid,35/ [18:53:05] http://www.mediawiki.org/wiki/Extension:LDAP_Authentication [18:54:01] 03siebrand * r29953 10/trunk/extensions/ (6 files in 3 dirs): [18:54:01] * merge multiple message files into one and move i18n up one directory level [18:54:01] * use wfLoadExtensionMessages [18:54:01] * add bumped version in extension credits [18:54:01] * remove EOL whitespace, update CHANGELOG [18:54:02] * update Translate extension [18:55:02] *DavidSeymore walks away [18:55:31] 03(mod) CheckUser log URLs depends on user language preference - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12669 15enhancement->normal; +comment (10lejonel) [18:56:16] 03siebrand * r29954 10/trunk/extensions/Translate/MessageGroups.php: Fix path [19:03:26] 03(mod) New messages bar - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12693 (10cbm) [19:04:57] 03(mod) New messages bar - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12693 +comment (10cbm) [19:06:23] 03(mod) Add username in new messages bar to prevent UI spoofing - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12693 +patch; summary (10kalan.001) [19:13:25] 03(NEW) {{REVISIONID}} is broken just after page save - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12694 normal; normal; MediaWiki: Page rendering; (kalan.001) [19:16:45] Hello. Got a problem with importing images. I run this in the maintenance dir, the import dir is inside it and readble: "php importImages.php import". Now the error i get back is this: "Non-existant page . Please contact an administrator!" Besides there being a typo, anyone got a clue as to where that error comes from and how i can make it work? There is no such text at all inside the import scripts directly. [19:26:26] 03nikerabbit * r29955 10/trunk/extensions/Translate/ (Exporters.php MessageGroups.php Translate.php export.php): * Some hacks for multiplefile exporter [19:29:50] tauro: I speak some German, if you still need help. [19:31:31] *Isnogud speaks german also tauro [19:32:04] Isnogud: Native? If so, you'd better handle it [19:32:14] ah. but the question is already answered. [19:32:27] RoanKattouw: yes. native as can be :) [19:32:50] Ah, I'm a Dutchie, so I've learned some German at school, but it's not that good [19:33:09] 03(mod) Add username in new messages bar to prevent UI spoofing - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12693 +comment (10cbm) [19:36:18] well. i am originally from austria. but that should not harm a normal conversation ... is it normal to learn german in school? [19:36:42] Dutch students are taught Dutch (obviously), English, German and French [19:37:15] Some schools also provide optional classes in Arabic, Spanish and Frisian, but there aren't many of them (not many teachers) [19:37:33] *Isnogud is impressed. [19:37:44] What do German students learn then? [19:38:49] 03nikerabbit * r29956 10/trunk/extensions/Translate/Exporters.php: * Right amount of quoting [19:39:03] well. i learned english, latin. thats it. normally there would be french in addition but i could choose from a different branch where i did not have to learn languages anymore. [19:39:29] it was called 'wirtschafswissenschaftliche Zweig' [19:39:43] Ah [19:39:48] hejsan [19:39:52] So you get physics and chemistry and all that? [19:39:59] business. i should have learned more from that but i wasn't really interested in it. [19:40:04] yep. [19:40:50] math sports biology ... [19:41:48] Well I'm in my last year of high school now and I've got maths, physics, chemistry, Dutch and English [19:43:07] *Isnogud leaves now. [19:43:13] Bye [19:43:14] have a nice evening.... [19:46:04] 03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582 +comment (10rosspatterson) [19:53:13] 03siebrand * r29957 10/trunk/extensions/Translate/MessageGroups.php: Update export filters. All MediaWiki message groups supported. Yay! [19:59:18] hey how do I access that page that shows me what extensions I'm running and what not? [19:59:41] Blaenk: Go to Special:Version as if it were an article [20:00:30] thanks [20:18:31] Hi... Whenever I create a math type, I get some logs in Apache's error-log [20:19:04] I suppose they are not fatal as I get the proper images... Is there any way to remove them? [20:19:28] JoKo: Can you paste an example log line? [20:19:55] RoanKattouw: of course, they are all the same: [20:19:55] This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com) [20:19:55] ' TeX output 2008.01.19:2216' -> [20:19:55] . [20:19:55] [1] [20:20:22] Hmm [20:20:49] Can you run dvips --help on the command line and see whether its output mentions a --quiet option (or a similar one) [20:21:20] RoanKattouw: it's -q [20:21:22] for dvips [20:21:33] q* Run quietly [20:21:36] Ah thanks carl-m [20:21:52] JoKo: Somewhere in LocalSettings.php there is a line saying where dvips is, can you find it? [20:21:57] 03siebrand * r29958 10/trunk/extensions/Translate/MessageGroups.php: No auto exporting for FreeCol [20:22:54] RoanKattouw, I have only $wgUseTeX , $wgMathPath and $wgMathDirectory [20:23:37] Hmm [20:23:43] JoKo: you need to edit render.ml in the /math directory [20:25:56] Hi, I was wondering why whenever I include a template in the it produces


before and after it.. it is causing a bit of a design problem.. [20:26:08] JoKo: do you see what to change there? [20:27:41] Wiredtape: in the what? [20:28:04] carl-m: Unfortunately I can't find render.ml, math directory has only texvc... :? [20:28:06] Splarka, in the what what? :) [20:28:15] JoKo: how did you compile texvc? [20:29:16] carl-m: I use Gentoo Linux, so compilation is pretty much automated... Let me see the ebuild [20:29:23] Splarka, for instnace: http://en.wiredtape.com/wiki/Main_Page [20:29:35] "I include a template in the [ ] it produces" [20:29:47] JoKo: I will ile a bug, maybe you can put up with the error output until someone fixes the bug [20:29:50] file [20:30:09] 03(mod) Add username in new messages bar to prevent UI spoofing - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12693 +comment (10random832) [20:31:06] 03(NEW) texvc sends dvips output into the webserver error log - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12695 15enhancement; normal; MediaWiki: General/Unknown; (cbm) [20:31:13] ahh... in a page.. (seem to have missed that..) [20:31:22] carl-m: sure [20:31:53] carl-m: By the way, I'm using the 1.8.5 version, maybe it's already fixed? [20:32:07] Probably [20:32:12] I remember hearing about that bug before [20:32:14] the bug number is 12695. you can fix it yourself, but you would have to edit one of the source files, and that's hard if you are using an autobuilder. and it's not fixed, I am using the version from svn [20:32:17] Don't remember whether it's been fixed though [20:32:47] 1.8.5 is very old, though [20:32:53] !bug 12695 [20:32:53] --mwbot-- http://bugzilla.wikimedia.org/show_bug.cgi?id=12695 [20:33:55] VasilievVV: yes [20:34:58] old bugs are the best bugs [20:35:01] 03nikerabbit * r29959 10/trunk/extensions/Translate/ (6 files): [20:35:01] * export.php can now export most supported groups [20:35:01] * autoexport.php helper [20:35:01] * updated readme [20:35:01] * small fixes [20:35:20] the New Parser Action Unit Team Special Police found a bug in mw 1.3 the other day [20:35:22] RoanKattouw and carl-m: I'll try to fix it, thanks [20:35:39] (wfMsg() parses input twice) [20:35:52] mw 1.3? [20:35:58] MediaWiki 1.3 [20:36:06] Is it still present? [20:36:10] introduced 3 years, 5 months ago [20:36:13] being fixed nowish [20:37:01] a simple example: put {{foo|{{{bar|}}}}} into MediaWiki:Newarticletext and you'll see an extranuous }, disappears if you change it to {{foo|{{{bar|}}} }} [20:37:27] Weird [20:37:35] in the old parser, this only happened at the top level, in the new parser, this happens at any transclusion depth [20:38:00] (wiktionary found it while testing the new parser, because they had such a case 3 transclusions down from the message) [20:38:23] Splarka, have any ideas regarding my prob? [20:38:26] in the old parser, that means you never saw it, unless you had an undefined template parameter at the top, which wouldn't happen [20:38:43] Wiredtape: I'll look [20:39:00] thx [20:39:59] Wired: move the in the templates up [20:40:08]  [20:40:10]  [20:40:13] I did.. didn't help much.. [20:40:15] [[Category:System Templates]] [20:40:17] change to [20:40:22]  [20:40:36] ok.. [20:40:37] and then you can have blank line returns in the noinclude that won't be included [20:40:47] [20:40:59] [[Category:System Templates]] [20:41:08] and have no line returns after that last close [20:41:24]


comes from two blank lines in a row, usually [20:42:05] fixed.. thank you very much :) [20:42:24] np [20:47:41] 03nikerabbit * r29960 10/trunk/extensions/Translate/autoexport.php: [20:47:42] * Prefix comments with # [20:47:42] * List all exported languages with --summarize [20:52:49] . [20:53:55] , [21:04:10] 03(FIXED) Create new namespace alias WP: for Finnish Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12686 +comment (10jeluf) [21:07:54] 03(FIXED) Create "WT" and "Appendix" namespaces on Swedish Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7933 +comment (10jeluf) [21:16:08] hi [21:16:58] can someone help me, perhaps in german, please? [21:17:15] mfg08: I speak some German [21:17:32] oki [21:19:15] ich habe eben mediawiki installiert (version 1.11.0) die installation verlief auch erfolgreich, habe danach die localsetting.php in den stammordner verschoben und bin dem Link gefolgt, doch da bekam ich nur einen leeres Fenster zusehn [21:19:50] Hmm [21:20:27] Was ist deine PHP version? MediaWiki >1.6.10 braucht version >5.1 [21:20:58] ja hab ich [21:21:02] Hast du Apache? [21:21:27] (i.e. Ist Apache deine Webserver?) [21:22:15] ja ich mein schon und php version 5.2.5 [21:22:37] Ok, hast du Zugang zu Apaches error_log ? [21:23:11] wo find ich den? [21:24:00] In dem Directory in dem du Apache installiert hast [21:24:08] find ich net, hab space nur gehostet [21:24:29] 03siebrand * r29961 10/trunk/ (57 files in 37 dirs): Localisation updates from Betawiki (2008-01-19 20:50 CET) [21:25:27] Kannst du eine Datei "phpinfo.php" machen mit dem Inhalt "" und mir den Link geben? [21:27:19] http://ah72.thekis.de/wiki/php.php [21:33:28] can anyone help me to get these two tables to take up 100% of the screen? http://bahaikitext.org/The_B%C3%A1b%2C_Qayy%C3%BAmu%27l-Asm%C3%A1%2C_As_to_those_who [21:33:46] i can't get them to do it while reminaing next to each other [21:34:03] 03siebrand * r29962 10/trunk/phase3/includes/GlobalFunctions.php: Revert 'oops' [21:34:11] mfg08: Hmm phpinfo sieht gut aus [21:34:23] das is ja schon ma was [21:34:54] Es gibt leider keinen Weg, die error zu sehen weil du eine shared host hast [21:35:11] Kein Zugang zu error_log, kein Zugang zu php.ini [21:35:13] Hey [21:35:21] Ik weiss etwas (vielliecht) [21:35:48] wasn= [21:36:56] Kannst du die folgende zwei Regel hinzufügen? [21:36:58] error_reporting(E_ALL); [21:36:59] ini_set("display_errors", 1); [21:37:04] An LocalSettings.php [21:37:18] wohin denn? [21:37:24] In LocalSettings.php [21:38:19] irgendwo? [21:38:19] ziemlich am Anfang am Besten [21:38:20] Genau, am Anfang [21:38:20] sonst sehen wir den Fehler nicht, wenn er schon am Anfang ist [21:38:31] Es ist möglich, dass ini_set() nicht zugestanden ist (shared host) [21:38:37] aber innerhalb von J [21:38:42] a [21:39:14] dann kommt das [21:39:17] hi, is it possible to restore a mediawiki 1.5.4 dump into a fresh installation of 1.11.0? [21:39:19] "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /srv/www/htdocs/web228/html/ah72/wiki/includes/SpecialPage.php on line 797" [21:39:44] maintenance/importDump.php complains " unserialize(): Error at offset 0 of 21 bytes in /var/www/mediawiki-1.11.0/includes/BagOStuff.php on line 392" many times [21:40:31] <_das> Hello, can anyone see anything wrong with this code? It's rendering like this in my MediaWiki installation after an upgrade: [21:40:34] mfg08: Ich wird mal sehen was SpecialPage.php:797 macht [21:40:47] <_das> http://das.doit.wisc.edu/misc/Znavbar.txt [21:40:55] <_das> http://das.doit.wisc.edu/misc/Znavbar.png [21:40:57] mfg08: fueg mal ini_set( 'memory_limit', '20M' ); in die LocalSettings.php ein [21:41:01] <_das> I broke down the code for readability [21:41:06] <_das> but I don't see anything wrong [21:41:15] Hey, I am trying to create a table with nested tables.. however, I am trying to make the nested tables have border-right:1px solid #ccc; and it's ignoring it for some reason... [21:41:15] RoanKattouw: nein, SpecialPage.php macht da nichts falsches. [21:41:33] RoanKattouw: 8MB reichen einfach nicht fuer MediaWiki. [21:41:36] <_das> so what is what the trailing divs and spans, and obviously the text isn't being formatted properly in terms of font size and whatnot [21:41:49] was soll ich nun tun [21:42:14] mfg08: ini_set('memory_limit', '20M'); am Anfang der LocalSettings.php [21:42:16] hjubal: No, that doesn't work. You have to import the dump into an empty DB and call the installer afterwards, so that the installer can upgrade the DB schema [21:42:29] ja, das steht da.. [21:42:44] " [21:42:45] # If PHP's memory limit is very low, some operations may fail. [21:42:45] # ini_set( 'memory_limit', '20M' );" [21:42:53] hjubal: In other words, import the dump into a 1.5.4 installation, then upgrade it [21:43:15] mfg08: Die init_set muss ohne # sein [21:43:27] oki [21:43:52] JeLuF: RoanKattouw ok, but I'm migrating my sites from MySQL to PostgreSQL too :\ [21:44:03] Hmm [21:44:07] # If PHP's memory limit is very low, some operations may fail. [21:44:07] ini_set( 'memory_limit', '20M' ); [21:44:16] Does 1.5.4 support PostgreSQL? I think not [21:44:18] so steht, das jetzt da, hat trotzdem nix gebracht [21:44:19] mfg08: Richtig [21:44:26] hjubal: Good luck. [21:44:39] mfg08: Selbe Fehlermeldung? [21:44:43] joa.. [21:44:56] oder muss der fehler script jetzt raus? [21:45:02] Nein [21:45:04] nein [21:45:15] Bekommst du immer dieselbe Meldung, mit die 838... rein? [21:45:18] ich fuerchte, Dein Provider erlaubt nicht, dass Du mehr RAM anforderst [21:45:31] _das, where is the example you gave to show how it renders..? [21:45:34] Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /srv/www/htdocs/web228/html/ah72/wiki/includes/SpecialPage.php on line 797 [21:45:37] RoanKattouw: 1.5.4 is running with MySQL, but now mw supports postgresql [21:45:43] JeLuF: :D [21:45:44] <_das> Wiredtape: http://das.doit.wisc.edu/misc/Znavbar.png [21:45:46] JeLuF: richtig [21:46:09] hjubal: I'd advise to [21:46:11] <_das> font is not xx-small, and there are trailing and [21:46:19] 1. Import everything into a 1.5.4 install [21:46:21] <_das> but I can't see anything wrong with the HTML [21:46:27] 2. Upgrade it to 1.11.0 (still MySQL) [21:46:36] 3. Make a new dump from 1.11.0 [21:46:50] 4. Import it into a 1.11.0-postgresql wiki [21:46:51] <_das> and obviously the template isn't working... [21:48:21] RoanKattouw: Yup, that should work. [21:48:50] RoanKattouw: ok, by this way mediawiki has the same db schema in MySQL and in PostgreSQL [21:49:05] RoanKattouw: Actually, there's no need to install the 1.5.4 PHP. Just point the 1.11 installer to the DB with the 1.5.4 data [21:49:17] True [21:49:21] RoanKattouw: was soll ich tun? [21:49:35] mfg08: Anderen Provider suchen. [21:49:42] RoanKattouw: I'm going to do this way, thx 1e+03 [21:49:44] hm [21:49:54] das kann man auch net beeinflussen? [21:49:57] hjubal: A million is 1e+06, you know that, right ;) [21:50:09] mfg08: Nein, nur dein Provider kann das beeinflussen [21:50:14] RoanKattouw: eheh [21:50:15] aso oki [21:50:31] Du *könntest* versuchen mit deinem Provider zu reden [21:50:44] Aber ich denke nicht dass das erfolgreich sein wird [21:51:18] _das, though it doesn't truly matter but I would use #switch in this case instead of all the #if's.. [21:51:18] oki danke auf jedenfall [21:51:23] _das, and I'm not sure as to the necessity of   [21:51:36] gibts irgendwie freehoster von denen ihr wisst, dass die das unterstützen [21:51:49] Keine Ahnung [21:51:50] <_das> well, even without any nbsp, it still fails [21:52:19] oder gibt es nen anderes wiki die weniger braucht? [21:52:44] <_das> would something not being defined in the css templates affect this at all? [21:53:19] _das, also I am not very sure as to your structure.. you've opened up a span on #if:{{{nodiv|}}} but don't close it.. and the same for the div... [21:53:41] <_das> where? [21:54:03] <_das> how should it be closed? [21:54:04] <_das> i'm seeing all {{ and }} matching... [21:54:13] ... [21:54:22] you close it at the end.. [21:54:25] <_das> yes [21:54:45] <_das> so is that malformed? [21:55:02] <_das> (this is all stuff that worked before, but may have simply appeared to work because of other issues) [21:55:18] <_das> i guess i'm looking for the right way to do this [21:55:36] ?? [21:55:47] I don't get what you are trying to do.. explain.. [21:55:57] <_das> just fix it so it works [21:55:59] of course, i understand the selection.. but after that.. [21:56:13] <_das> this is just a template where people can do what is in the table shown in the image I gave [21:56:31] <_das> that makes view/edit/talk links for the box that it's in, etc [21:57:08] <_das> and now it's not rendering properly, and having random trailing divs and spans, and I can't see why, since, to me, nothing appears wrong with that code [21:57:19] <_das> the thing that changed was an intervening mediawiki upgrade [21:57:22] <_das> nothing else changed [21:57:48] <_das> the previous mediawiki installation had its own HTML errors in customized parts, which were fixed [21:57:56] <_das> and now this template appears broken [21:58:13] <_das> so i am trying to determine whether it is the template, or something else in this mediawiki instance that broke this template [21:58:19] mfg08: Weiss ich nicht [21:58:48] <_das> so, is this template just ugly, wrong, or should it be rewritten in some other way, or...? [21:58:56] oki thx [21:59:25] <_das> because I have never used any of the parser stuff before, this isn't my code...I'm just trying to see why it's broken now, and it doesn't look like there is anything wrong with it to me [21:59:28] <_das> that is the back story ;) [22:01:20] _das, where is the check for nodiv=1; plain=1; etc...? [22:01:56] <_das> i thought that was just a check to see if it existed [22:02:22] <_das> obviously it works for the last if nodiv, because you can see it dumps out a or correctly as expected [22:02:31] <_das> so that, to me, means that syntax works [22:04:00] well.. obvisoully you define nodiv=1; somewhere, therefore, something in the template should check whether nodiv is true or false.. [22:04:33] ok.. nm I saw where it checks for it.. [22:07:53] _das, try deleting last #if:{{{nodiv|}}} , and uptop, where {{{nodiv|}}} is checked, just add and ... at the end of the elements.. tell me what happens... [22:08:10] <_das> i don't think the opening or
is being evaluated [22:10:44] Well, doing it like this works on my wiki :) [22:12:18] Can anyone help me with this table: http://en.wiredtape.com/wiki/Template:Contribute , it seems that it's ignoring my border-right and font-family style... [22:16:07] <_das> Wiredtape, if I do that, the tabs and sidebar of mediawiki are font size xx-small [22:16:31] <_das> that means somehow that initial div and span are getting evaluated outside of the content area, but as part of the general web page? [22:18:04] Wiredtape: why border-right white? why not border-right:none; ? [22:18:24] *Splarka also sees no font-family there... [22:18:45] Splarka, probably because I didn't know none was a paramater :) anyhow, it's fixed now.. i found that the "" around the font was causing the problem [22:19:53] ahh [22:19:53] _das, sounds strange.. I do believe content is parsed and inputted into the skin as a complete entity, and cannot affect the skin.. however, I might be wrong; give me a second i'll test. [22:20:09] <_das> interesting [22:20:32] <_das> if i run an HTML validator against it, MediaWiki is inserting its own divs and spans too [22:20:48] <_das> and the that are supposed to be part of the code are getting discarded [22:21:07] _das, all of this would be much simpler if you provided a link... [22:21:24] <_das> I can't, because it is Intellipedia [22:21:35] <_das> http://en.wikipedia.org/wiki/Intellipedia [22:21:52] <_das> or else I would be happy to ;-) [22:22:19] hehe [22:22:45] ok.. well, on my test, if you open a
somewhere as an example.. parser fixes it to close..
[22:22:54] <_das> hm [22:22:58] so, afaik no chance it's affecting the font-size [22:23:44] without tidy, one finds lots of ways to screw up the page though [22:24:05] now, just as a note.. I would change this whole template to use #switch with nested #if's... [22:24:06]
usually works [22:24:22] <_das> splarka i did find out from one of the admins that Tidy has never been enabled here [22:24:25] <_das> fyi [22:24:46] <_das> but there is nothing wrong with this html [22:24:50] <_das> so there is nothing to "clean up" [22:24:58] <_das> i guess there is some issue I need to work around... [22:25:12] _das, just as an example.. [22:25:42] instead of saying, do i define nodiv or plain or mini, just ask the person what option they want.. [22:25:52] so: #switch [22:26:05] {{{type}}} [22:26:09] <_das> problem is it will have to be compatible with several thousand legacy pages [22:26:14] ahh [22:26:24] well, now that's a problem.. :) [22:26:35] oh, this was a good one without tidy: [22:26:36]
 
[22:26:43] it put the logo and sidebars into the content [22:26:48] <_das> ok...just this on the page works: [22:26:50] LOL [22:26:50] <_das> test [22:27:00] http://uncyclopedia.org/wiki/Uncyclopedia:Proper_Wiki_Formatting should still have it [22:27:24] 03(mod) query doesn' t return pages where object is in category namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12253 +comment (10info) [22:28:00] <_das> so there is something wrong with how the if/ifeq statements are set up [22:28:07] <_das> but I can't see what that would be [22:30:35] _das, i'll go over it again.. [22:30:49] <_das> thanks...but i just can't see what would be wrong [22:31:01] So, usually people set parameters to 1? [22:31:10] <_das> well, some examples are in that table [22:31:18] <_das> http://das.doit.wisc.edu/misc/Znavbar.png [22:31:38] <_das> but not necessarily [22:32:01] k [22:35:11] _das, test: does {{Znavbar|nodiv=1}} work? (assuming you have closed and
[22:39:18] <_das> the second argument is the name of the template [22:39:34] <_das> so you mean like {{Znavbar|Znavbar|nodiv=1}} on this testing page? [22:39:55] I know... , but let's just try it without the name argument [22:40:34] if there's additional code that I can't see, and it requires it.. then just copy paste the code u pasted into a test page.. [22:40:59] if you want you can also specify argument "1" [22:42:40] anyone know of a way to specify min-width for ie? [22:42:41] <_das> {{Znavbar|nodiv=1}} gives [22:42:43] <_das> This box: [[[:Template:Fullurl:Template:]] view] • [[[:Template:Fullurl:Template talk:]] talk] • [[[:Template:Fullurl:Template:]] edit] [22:43:11] did you delete the last #if:{{{nodiv|}}} ? [22:43:53] oh, and btw what mw ver? [22:48:41] <_das> 1.11.0 (r27) [22:49:24] <_das> and removing the last if nodiv statement results in the sidebar and tabs in the skin being the small font size, and malforming the whole page [22:49:46] hmm... that is so weird.. [22:50:03] is there some sort of connection between the classes used and the skin sidebar and tabs? [22:50:18] <_das> you're seeing the whole template [22:50:20] <_das> that's it [22:50:53] Hello, I have a site running apache2.2.3 behind a squid proxy. I run a fairly large mediawiki site. I have a bunch of people DOSing me by running CPU intensive web pages one after another. Does anyone have any advice for me. I have already limited that amount of connections a single source IP can make via port 80. I would love to hear more thoughts though. [22:52:08] right, but i'm not seeing the classes or id's css ... [22:52:59] eghjaytee: Which CPU intensive pages? [22:53:29] I know that Wikipedia runs behind Squids that also cache stuff [22:53:31] 03huji * r29963 10/trunk/phase3/languages/messages/MessagesFa.php: Added Persian translations [22:54:11] RoanKattouw: well they were doing diffs on large articles [22:54:25] Ah [22:55:05] eghjaytee, in that case you can make a timer for amount of edits per ip per [22:55:22] Wiredtape: is that within LocalSettings? [22:55:23] sorry *timer=check [22:55:47] eghjaytee, unfortunatelly no, but you can write an extension using a hook.. I need to look up which hook though [22:55:56] Also now I am just getting a lot of requests for pages that dont exist [22:57:41] eghjaytee, this is the hook: $wgHooks['ArticleSave'][] = 'fnMyHook'; [22:58:03] ok word [22:58:14] I was going to dcrease the timeout as well [22:58:15] Wiredtape: That's *edits*, not requests [22:58:17] yes [22:58:19] as for requests for pages that don't exist.. have no idea... [22:58:25] Diffs won't trigger that hook [22:58:27] but now I also have a request problem [22:58:36] RoanKattouw: I was wondering about that too [22:58:40] RoanKattouw, I know.. Diffs!= save an article? [22:59:05] Wiredtape: What do you think would happen if someone diffed a very old version of [[WP:Sandbox]] to the current one? [22:59:17] That's what's going on right now [22:59:40] Oh wait, [[WP:Sandbox]] isn't that large, try any large article [23:00:03] RoanKattouw, ahh.. I was thinking that when he said Diff's he meant making differences (as in making edits) [23:02:40] is it supposed to happen that you get a read timeout error when you edit a highly used template? [23:03:53] RoanKattouw, is there any hook that works for diffs? [23:04:06] diffing enwp [[George W. Bush]] from first to cur: [23:04:47] hmm, I don't think the /age/ of the diff makes much difference... [23:05:16] me neither, just the size of that revision/cur rev... [23:05:34] just loading the current page [23:05:46] well, isn't that page alrady absurdly long? [23:06:07] 115 kilobytes [23:06:12] yep [23:06:26] *Splarka chose it for being one with nearly the most revisions [23:06:41] (as well as long) [23:06:56] there really should be a diff hook... [23:07:39] eww [[Line of succession to the British Throne]] - 315 kilobytes [23:07:40] there is one for displaying a diff.. [23:07:55] MrZ-man: how long does [[intelligent design]] take to load? [23:08:36] 17.025 secs [23:08:50] that's one I know is over 100kb [23:09:00] eghjaytee, you might want to use $wgHooks['DiffViewHeader'][] = 'fnMyHook'; for future reference.. (if all they are doing is viewing diff's) [23:10:06] longest page: 358kb, list of association football players.. [23:12:24] Comparing parser output from [[George W. Bush]] [23:12:24] Parser_OldPP took 14.108 seconds, Parser took 6.143 seconds. [23:12:52] Wiredtape: Not any more [23:12:58] That was mass-add vandalism, I reverted it [23:13:07] But got reverted by ClueBot :( [23:13:38] *Splarka looks at Cobi [23:13:43] Splarka, hell of a difference... [23:13:48] Splarka, nice. [23:14:12] Sim! [23:14:14] http://en.wikipedia.org/w/index.php?title=Lists_of_association_football_players&action=history [23:14:29] hehe [23:14:33] Splarka, the age of the diff makes no difference, it just retrieves both of the revisions and runs a diff algorithm on them [23:14:42] AaronSchulz: I know, quite a lot of confusion there [23:14:46] Don't try to diff those [23:14:49] One reason why storing revs as diffs is probably worse than the current system. [23:15:03] Simetrical: I know, but old revs and new revs often differ greatly [23:15:29] well [23:15:33] if you wanna beans it up [23:15:34] If you run diffs on any of the reverts at http://en.wikipedia.org/w/index.php?title=Lists_of_association_football_players&action=history you'll give the servers a hard time [23:15:35] Well, that doesn't necessarily mean it's slower. [23:15:43] Comparing a file to an empty file -> strcpy() to stdout. [23:15:43] Not necessarily, but more likely [23:15:43] take the top revision of two largest articles, and diff them [23:15:55] or find the two largest revisions you can find in the db, and diff them [23:16:07] Oh right, the diff engine doesn't care whether the revs belong to the same article [23:16:12] It's true that the diff algorithm tends to eat memory for too-large diffs, IIRC. [23:16:14] sure don't ^_^ [23:16:18] Simetrical, any thoughts of making a hook for when diff's are done? (other than view diff) [23:16:28] Wiredtape, I don't have any opinion. [23:20:24] is it conceivable to have the ParserDiffTest comparison other than side-to-side? say, top-to-bottom? would it be possible to hack an option for that? [23:21:16] BrokenArrow, uh, probably? [23:23:43] Simetrical: unless you have a very wide screen, the comparison is not terribly useful for thing like main pages, etc. I understand it's a one-off thing, but if it's relatively easy to do... [23:23:59] Tim wrote it, bug him. [23:24:06] Personally I prefer fixed-width unified diffs. [23:24:18] Although they aren't so ideal for really long lines like you get in plain text/wikitext. [23:25:42] hmm [23:26:03] IS there an easy way to display iframes? [23:26:12] for Amazon.com code [23:28:16] !iframes [23:28:16] --mwbot-- I don't know anything about "iframes". You might try: !iframe [23:28:18] !iframe [23:28:18] --mwbot-- To embed iframes on wiki pages, you can use . Alternatively, see !html for information on using full HTML on your wiki pages. [23:28:28] !iframes alias iframe [23:28:28] --mwbot-- Successfully added alias: iframes [23:36:50] can anyone help me to get these two tables to take up 100% of the screen? http://bahaikitext.org/The_B%C3%A1b%2C_Qayy%C3%BAmu%27l-Asm%C3%A1%2C_As_to_those_who [23:37:02] I can't get them to do it while staying next to each other [23:37:12] RON PAUL FOR PRESIDENT! [23:39:36] can ron paul fix my tables? :/ [23:39:58] Can he fix bug 2257? [23:40:39] lol [23:41:36] o_O @ r29942 [23:42:06] Dashiva, that's quasi-fixed in the new parser, with {{#tag:}}. [23:42:29] Pipe hell isn't a fix, it's just a different kind of broke [23:42:30] t0lk: {|style="border-spacing:8px; margin:0px -8px;width:100%" [23:42:37] on line 4 [23:43:02] *Splarka called Ron Paul's tech support [23:44:01] "border-spacing"? [23:44:08] Since when is there a CSS property border-spacing? [23:44:39] css3 [23:44:45] http://www.w3schools.com/css/css_reference.asp#table [23:44:54] ok let me look thank you [23:45:25] Oh, it's one of the table-specific ones. [23:45:41] *Splarka shrugs, only added width:100% [23:45:58] Er, or is it? [23:46:08] Ah, yeah. [23:46:14] http://www.w3.org/TR/CSS21/tables.html#separated-borders [23:46:22] Applies to: 'table' and 'inline-table' elements* [23:46:29] Not surprising I didn't know about it. [23:46:35] probably the attempt to replace cellspacing="" [23:48:32] thank you Splarka :) [23:49:38] thank Ron [23:50:23] who? [23:51:05] ron paul! he fixed your tables [23:55:34] does anyone know how to install styles in mediawiki? i am having a grand time trying to figure it out... [23:59:34] oh haha