[00:04:35] When I upload as WikiSysop an picture from url as WikiSysop I get an error: [00:04:46] "Fatal error: Call to undefined function curl_init() in /customers/ymcawiki.org/ymcawiki.org/httpd.www/nl/w/includes/SpecialUpload.php on line 165" [00:06:52] s000501: you don't have CURL support installed in PHP then [00:07:43] So I should use normal upload. And not too demanding. :-) [00:31:05] is it correct that we have MediaWiki:Monobook.css MediaWiki:Common.css MediaWiki:Monobook.js but not MediaWiki:Common.js ? [00:46:13] hippietrail: we have a MediaWiki:common.js [00:47:11] wknight8111: yes it seems all 4 can exist but whether they actually do is dependent on each wiki... [00:50:58] shouldn't there also be MediaWiki:Cologneblue.js ? [01:00:53] man i can't figure out the mediawiki javascript files for skins other than monobook )-: [01:01:31] hippietrail: can you use MediaWiki:Common.js? [01:02:08] i can use it. i'm just trying to figure out the order and precedence of other scripts on my own site [01:03:10] generally it's common scripts -> skin scripts -> MediaWiki:blah.js -> user js [01:03:33] (with each later one taking precedence over the previous ones) [01:04:27] hmm when i create MediaWiki:Standard.js or MediaWiki:Cologneblue.js and switch to that skin and refresh the cache i don't get the js loaded [01:05:23] *Skizzerz doesn't know if standard.js or cologneblue.js are real messages... [01:06:14] on wikipedia they have deprecated messages, on my wiki there's nothing [01:06:58] wikipedia is more than likely running a different version of mediawiki than you are [01:07:20] i did an svn up last night... let me do it again now... [01:07:53] but, I really don't know much about how js works with other skins [01:08:01] no worries thanks anyway [02:33:20] i am in need of someone with mad css skillz [02:35:12] Landlord: I can help you [02:35:18] for I AM THE TANTRIC AVENGER! [02:35:19] :D [02:35:25] omg [02:35:28] *Landlord is impressed [02:35:41] Hey folks... any word on the 1.12 release? Any day now? [02:36:53] any way now [02:36:55] I shall be released [02:36:58] I see the light come shinin' [02:37:02] From the west unto the east [02:38:03] can you srsly help me or are you just being silly [02:40:37] can we get a kick, up in the house? [02:54:31] No one has an idea if 1.12 is coming in the next couple days? [03:36:09] anyone know of an integration method/extension for wordpress or phpbb3? [04:02:47] why is it, that when I direct connect to my wiki with a literal IPv6 address, it doesn't work? [04:30:17] hippietrail, MediaWiki:Foo.js works only for Monobook-based skins. This is part of the reason Common.js was introduced. [04:30:38] MichaelJE2, IPv6 support may be patchy. I think AaronSchulz worked on that at some point, you could maybe ask him. [04:32:08] k, it's not that important.. I don't have native IPv6 in the first place, I'm using a broker [04:47:18] How do you grant sysop group to a user in mw? [04:47:33] Special:Userrights [04:47:52] thanks [05:54:59] MichaelJE2: what doesn't work? [06:09:37] i have x-cache, does mediawiki cooperate with it automatically or do i have to set some settings as with APC? [06:36:47] re [06:47:25] garding [06:47:28] :P [07:02:16] :) [07:09:33] siebrand: why are you inventing version numbers for extensions that have never been released? [07:12:47] eh? [07:13:01] I said siebrand, not TimLaqua [07:13:22] true enough [07:17:51] yay Tim :) [07:20:28] Timmy Tim Tim. [07:21:43] *TimStarling is in a bad mood... [07:22:33] anyone spreading excessive joy will be banned [07:32:52] you just banned a steward :( [07:35:30] I'm sure she'll get over it [08:00:33] <_wooz> lo [09:08:36] i'm wiki addicted soon [09:08:37] Oo [09:20:08] CIA-6 broken again? [11:44:23] is there a way to call any of the maintenance scripts without a shell account? [11:44:24] I tried enabling the executable bit and insert the script's URL into the browser address bar, but it wouldn't work. [11:47:02] the scripts are protected from being executed from within the context of the webserver [11:47:17] i think this is done in commandline.inc [11:47:43] commandLine.inc [11:48:02] PunkRock: so if I change this, I will be able to call scripts in webserver context? [11:48:30] maybe. but ... this makes the script callable by everone. [11:48:42] with any parameters. thats .... scary [11:49:12] PunkRock: I agree and I don't like it either. But there's gotta be a way to execute scripts w/o a shell. [11:50:45] PunkRock: what adjustments do I need to make in commandLine.inc exactly? [11:50:50] i don't know if it works... you have to test it. and you should protect your directory. [11:50:58] your maintenance dir. [11:51:20] PunkRock: like with .htaccess? [11:51:47] protecting via chmod obviously wouldn't work. [11:52:27] ges. [11:52:29] yes. [11:52:47] yes yes. [11:53:03] ok thanks. [11:53:06] protecting with .htaccess is a good idea and yes chmodding it will not work. [12:00:12] there are php shells that can run the scripts [12:00:34] but it still depends on your host's setup whether you can actually get them to run or not [12:01:18] PunkRock: ok I made the adjustments but I still get "You don't have permission to access /wiki/maintenance/rebuildMessages.php on this server."... [12:01:30] although I've enabled executable bits on all path objects [12:02:16] zocky: I'll look that up [12:09:41] is there a possibility to change the textcolor without using html tags? [12:09:53] (if not, is this feature planned in future releases?) [12:13:37] aton`, you can also use [12:13:54] or you can make your own templates for that [12:28:50] zocky, template is a good idea, thanks! [12:38:45] zocky, i am having problems creating the template, do you have an example by any chance? [13:31:34] Hi, how can I change the left bar links in Monobook skin? [13:41:23] moin moin [13:41:25] DaniloMendes: go to "MediaWiki:Sidebar" (see http://www.mediawiki.org/wiki/Manual:Interface/Sidebar for more info) [13:41:37] hi [13:42:08] can somebody tell me how to remove "help" and "donation" link in the main navigation? [13:42:49] dont know how to remove its "easy", but you can edit the specialpages.php to remove the links [13:43:46] find . -name 'specialpages*' doesnt deliver any result [13:44:05] does anyone know how many (custome) namespaces wiki can use? (its mw 1.9.0) [13:44:06] !sidebar | habinet [13:44:06] habinet : To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [13:45:29] ok, thanks, really great [13:45:42] found that earlier but didn't see the edit button :/ [13:46:06] thanks again [13:46:10] appreciate your help [13:55:17] does anyone know how many (custome) namespaces wiki can use? (its mw 1.9.0) [13:55:35] many [13:56:02] it's an int in php and mysql. so i would expect the max to be at least 2^31 [13:56:35] unless you want to retain your sanity, then the limit is like 100 [13:56:55] ok, namespaces are managedd in an php array, which are pretty inefficient, so having an array with that many entries is likely to fill you RAM completely.... [13:57:27] yea, 100 sounds managable by hand. the system can probably deal with 10000, or 100000 even... [13:58:10] the problem is: [13:58:18] 2^31 of anything is likely to fill your RAM isn't it? [13:58:20] since last update im using more then 100 custom namespaces [13:58:38] now i've corrupt headers in single namespaces [13:58:52] i think its because of the namespace limitations [13:59:26] i dont want 2^31 .. ithink up to 1000 would be enough [13:59:32] TimStarling: indeed :) [13:59:52] rootingbill: "corrupt headers"? [14:00:34] an arbitrary limit on namespaces sounds unlikely. can't think of anything that would impose it. or cause corruption if there are too many. [14:00:39] otoh, you can never be sure... [14:01:21] sprichst du deutsch? [14:01:34] either maxint in php or the field size in the page table are the limit on namespaces [14:01:37] page_namespace was a tinyint, once upon a time [14:01:44] both should be very large now [14:01:51] if that's how it is in your installation, then you should upgrade it [14:02:07] where do i find page_namespace ?? [14:02:14] it shouldn't be in 1.9 [14:02:15] in the page table [14:02:25] ill take a look [14:02:36] you can change the field definition in any version, it's just a DB operation, nothing to do with MW [14:02:51] okay.. and change to what? which type and how big? [14:03:23] i mean, if his installation is 1.9, the namespace field probably shouldn't be a tyniint [14:04:05] if we think its the corret field [14:04:12] then what could be the problem? [14:04:14] for example: [14:04:31] i'm having custom namespaces, starting with 60001 and ending with 60102 [14:04:44] (its because of customer authenticating) [14:05:07] the cusomer has its own area, where he can write, otherweise he just can read his namespace [14:05:39] it sounds like the problem has nothing to do with the number of namespaces [14:06:08] yeah but then what? there is no change since last update, and there was <100 namespaces.. [14:06:14] since update the problem occures [14:06:28] *before last update [14:07:23] maybe this helps you [14:07:34] if the customer select one page [14:07:43] has anyone a tutorial that explanes how to make a bot ? [14:08:08] in the "user-area" normally is written pagename, discussion and so on [14:08:36] before the problem: he selects the page, there was the pagename and discussion (forbidden for customer) [14:08:55] now: pagename is any other namespace (but not the original) and he has selected discussion [14:09:33] its frustrating me, because i dont find the problem [14:10:36] hello everybody [14:11:16] does anybody know how to easily get the backlink number of a given page? [14:13:14] Duesentrieb, i did the fixes... if you want, you can retry now [14:16:26] the value is int(11) [14:16:33] i think this should be corret or? [14:20:08] rootingbill: according to the mysql manual, the may for INT is 2147483647 (which is 2^31-1) [14:20:19] *max [14:20:26] rigid: i already updated :) [14:20:34] ok thx [14:20:47] then its maybe just a displaying problem [14:21:07] Duesentrieb, really? to rev.14? i did it a few minutes ago :) [14:21:14] ah, no, i had 13 [14:22:28] is there a official (or inofficial) support form for mediawiki? [14:22:31] forum [14:23:10] rootingbill: no. but a mailing list (mediawiki-l) [14:23:11] hello. I am doing some linguistic experiments. for this reason I need to parse wikipedia xml files. [14:23:12] !mailinglists [14:23:12] See http://lists.wikimedia.org/ [14:23:19] anyone experienced with java have any ideas doing this? [14:23:27] thanks im looking at it [14:23:29] sleepyd3v: yes. use mwdumper as a framework [14:23:39] I tried to write my own parser, ant it turned out to be a little diffucult [14:24:05] sleepyd3v: really? the format is pretty trivial. oh wait - parsing what? the XML, or the wikitext? [14:24:34] well I got xml files from wikipedia [14:24:42] sleepyd3v: yeeesss? [14:24:44] so I need to turn the xml to plaintext [14:24:57] there are [[xx]] which are links [14:25:12] and '''yyy''' which are italics [14:25:15] sleepyd3v: you see, the XML wraps page content. the page content itself is wikitext. the question is: *how* plain to you need your text? [14:25:28] ah, ok. so you want to parse wikitext. [14:25:47] rigid: segfault. on next try, "fuse: bad mount point `/tmptmp/wikifs': Transport endpoint is not connected" [14:26:21] Duesentrieb, lol... segfault is nich gut :) musst erst "umount /tmptmp/wikifs" machen vorm nächsten versuch [14:26:22] sleepyd3v: parsing wikitext completely is very hard (because there's no real spec, and no real parser, no real grammar - it's a never endign story). [14:26:52] Duesentrieb, what was the last msg before the segfault? [14:27:05] Duesentrieb, with -v6 [14:27:30] Duesentrieb: it's not that hard, you use the special software written just for that purpose [14:27:38] it's called MediaWiki, you know the one? [14:27:56] woah, what's this "MediaWiki" you speak of? [14:27:57] sleepyd3v: i have javacode for striping (most) markup. it's all part of a half-finished project though... [14:28:06] Duesentrieb: TimStarling: so mwtools wont help [14:28:09] TimStarling, mediawiki is php which is not everybody's darling... [14:28:20] no shit :) [14:28:25] tough [14:28:30] yes I have half finished java code too - but does not work that good [14:28:31] learn it [14:29:32] there's never going to be code to do every conceivable task in every conceivable language [14:30:36] TimStarling, what is it you have to learn with php? [14:30:57] TimStarling, yes there is, they call it "compiler" i.e. "api-bindings" [14:31:33] a compiler isn't much good without code to compile [14:31:59] which is the situation you're in if you want to parse mediawiki wikitext in java [14:32:23] sleepyd3v: weeelll... my code is part of my own diploma project. I can give it to you, but we'll have to sort out proper attribution and stuff. you can contact me via http://brightbyte.de if you like. [14:32:45] *Skizzerz knows a "hacky" way to parse wikitext in forums xD [14:32:46] TimStarling: nice stuff like "extract first sentence, because it should be a definition". very handy for linguists.... [14:35:10] rigid: http://pastebin.ca/814708 [14:37:47] Duesentrieb, tnx... damn libhttp [14:38:00] Duesentrieb, do you have valgrind installed? [14:39:52] Duesentrieb, or gdb? [14:40:34] where i can download servmon? [14:40:44] http://download.wikimedia.org/~kate/monit/ [14:40:45] Duesentrieb, can you do "gdb mediawikifs -f ", type 'r', cause the sefgault and then paste the last line of 'bt' [14:40:51] http://kohl.wikimedia.org/~kate/servmon-1.0.tar.gz [14:40:53] doesnt run [14:44:14] Duesentrieb, ah sry... you need to run "gdb --args mediawikifs -f " [14:44:55] Duesentrieb, but I guess i'll replace the parser by libxml anyway... the crash can only either be in the parser or inside libhttp [14:46:58] anybody of toolserver wiki here? [14:52:54] and wikimedia-tech? [14:55:21] ask at #wikimedia-toolserver or #wikimedia-tech :) [14:55:40] gambit: thanks ;-) [14:55:52] :D [14:56:04] uhmm perhaps im banned from wikimedia-tech [14:56:06] can you enter? [14:56:28] yeah [14:56:55] banned....sure! :-P [14:57:01] yes banned :) [14:57:14] why? i dont enter since many time ago... :-S [14:57:29] they never clear bans ;) [14:57:42] a bad practice... [14:57:42] they have bans from the time of the Dinosaurs :P [15:12:49] On enwiki, they recently added WP: as an alias namespace for Wikipedia:. How do I do that on my own wiki? [15:14:31] carl-m: http://www.mediawiki.org/wiki/Manual%3A%24wgNamespaceAliases# [15:14:38] thanks [15:16:32] rigid: i never used gdb - but if i do what you say, the program just crashes in the debugger too. there's no stack to look at. [15:16:44] Duesentrieb, type "bt" [15:16:53] (gdb) bt [15:16:53] No stack. [15:17:09] wow... [15:17:11] the program dies. how should there be a stack? [15:17:33] Duesentrieb, gdb keeps the program from dying.. it halt's at the segfaulting function call [15:17:34] oh, wait [15:17:44] it didn't segfault [15:17:53] heh :) [15:18:17] it should only exit if there's an error during startup or if it gets unmounted [15:18:33] it was still mounted [15:18:37] that was the problem [15:18:41] ok, got a stacktrace for you [15:18:48] ah ok [15:18:49] the last line looks... bad :) [15:18:54] #12 0x00000000 in ?? () [15:19:02] Duesentrieb, heh :) what is the line before? [15:19:10] #11 0x08051a44 in ?? () [15:19:15] and before that? [15:19:18] #10 0x08051848 in ?? () [15:19:22] #9 0xb7f5a91e in ?? () from /usr/lib/libfuse.so.2 [15:19:28] Duesentrieb, hm.. don't you see symbols? [15:19:44] at #2 [15:19:52] bah [15:19:53] pm [15:37:25] can i use transaction-isolation=READ-COMITTED with mediawiki using mysql 5.0.x? [15:39:55] is there a limit on the number of namespaces MW can handle? (256 perhaps?) [15:41:51] can you include webpages from another website inside of a media wiki page? [15:42:16] essentially iframe the content [15:43:10] esm: there is an extension to do this. beware of xss thou. [15:43:49] jamasi: thank you. Yeah I can understand that it can be easily abused. do you know the name of the extension of the top of your head? [15:44:13] iframes as such should (!) be safe against xss. the extension sis too, hopefully. [15:44:48] basically I have a set of Javadocs for a project I'm working on, and I would like to include them on the wiki [15:44:58] esm: does http://www.mediawiki.org/wiki/Extension:Website_in_iFrame sound good? [15:44:58] without having to point users outside the wiki [15:45:01] esm sorry, I don't remember its name. try to search the extensionmatrix [15:45:06] otherwise, use one of the "raw html" features [15:45:07] jamasi: thanks so much [15:45:07] !html [15:45:07] For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [15:45:25] Duesentrieb: oooh nice [15:45:44] awesome thanks all for the help [15:45:48] including mwbot :-) [15:45:58] nice bot [15:46:23] does any of them do protected html sections? [15:46:48] i.e. like and at once [15:46:53] !mysql [15:47:11] zocky: not sure what does, it sounds scary. [15:47:30] zocky: all of the extensions mentioned provide some mechanism to make sure html is protected. [15:47:35] Duesentrieb, it's an old extension that doesn't let non-admins change the bits in tags [15:47:40] asmarin: what are you looking for? [15:48:00] im trying to optimize my.cnf [15:48:13] zocky: that sounds weeewwy scary. sure it realy works and can't be fooled? [15:48:44] i don't think it can be fooled [15:48:48] asmarin: huh - not sure if there's any documentation on this. depends on a lot of factory... [15:48:58] yeah...a lot! [15:49:00] it compares the contents of tags in the current version and what the user is trying to save [15:49:06] asmarin: try to get hold of domas - but be nice, he's got a lot of other stuff to do :) [15:49:23] do you know how to refresh indexes on a innodb database? [15:49:41] we don't [15:49:49] they refresh automatically [15:49:52] asmarin: refresh? drop and recreate i guess. but you can also analyze or optimize tables [15:49:53] when you insert or delete or update records. [15:50:01] surprising, eh? [15:50:01] *Duesentrieb stands back [15:50:14] *domas continues work [15:50:18] :P [15:50:26] :-) [16:12:27] hello [16:17:47] does Special:Disambiguations take a while to propigate? [16:20:42] I am trying to use the show/hide JS technique on meta. Pathoschild says it's "implemented", but it ain't working for me [16:24:01] TimStarling: if PicturePopup does nothing, why did you commit it? [16:25:48] can i use transaction-isolation=READ-COMITTED with mediawiki using mysql 5.0.x? [16:29:59] asmarin, why would you not be able to? It would just change the reliability of transactions. [16:31:25] do you use on your servers? [16:31:31] with mediawiki software? [16:37:43] How do I use it on meta? It doesn't work [16:38:02] *darkcode wonders if Simetrical is around yet [16:38:12] and just as I was thinking it [16:38:25] Oh, that script patch? [16:38:26] Hmm. [16:38:31] ya [16:38:38] Well, I have other things to do first, but if I don't forget I'll get to it today. [16:38:42] :-OOOOOOOOOOOOOOOOOOOO [16:39:07] ok [16:39:11] transaction-isolation= read-comitted increase performance a lot! :-OOOOOOOOOOO [16:40:17] It also decreases reliability, as I recall. [16:40:26] Also, I'm fairly sure it only works if you spell it correctly. [16:41:05] VasilievVV: it was in development [16:41:39] la puta ostia! [16:41:44] como corre el joputa! [16:49:53] ʎɐʍ ɓuoɹʍ əɥʇ ʇɪ ʇɐ ɓuɪʞooʅ ʇsnʆ əɹ,noʎ [16:50:05] ;) [16:54:07] How can I disable a namespace? e.g. if you don't need the "help" namespace. I guess it is not possible, but you never know... [16:56:23] SPQRobin: protect it [16:56:41] I mean totally remove [16:57:07] so you see in the tab "page" instead of "help" :-) [16:58:59] I am unable to get anything to show in the Special:Disambiguations page .. I've created the Template:disambig, linked to it in MediaWiki:Disambiguationspage and implemented it on an article [16:59:07] am I missing something? [17:02:11] Can someone take a look at this basic extension thing I did - http://paste2.org/p/10489 - it doesn't work for some reason. The hook works on an extension I used as an example to create mine - but not on mine. [17:08:50] How do I use Template:Hide begin on meta? [17:22:32] is it possible to make different groups and give different groups the ability to see different content? such as Programmers have access to a programers namespace [17:25:41] Gary_Kirk: collapsible NavFrame is NOT implemented on Meta, only collapsible tables [17:26:34] AlexSm:so it doesn't work, or what? [17:28:43] it doesn't work , but you can use collapsible table for the template [17:29:00] how? [17:31:25] Gary_Kirk: I'm not sure if template already exist, but you can read http://meta.wikimedia.org/wiki/Help:Collapsing and create one [17:34:40] thanks [17:54:09] Hello, I was hoping someone here would be able to help me. I downloaded the newest version of mediawiki. I am running IIS w/ PHP (in ISAPI mode) 5.2.5 & mysql 5.0.45. When I go to the config index, I am getting this error: "Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in C:\Inetpub\ITWiki\includes\Namespace.php on line 44". [17:56:37] thats normally a missing ; syntax error [18:00:45] I didn't modify the file at all. I also just glanced over the code leading up to line 44... didn't see any missing ;s [18:00:53] ; s [18:07:16] any thoughts? [18:07:55] well, what /is/ line 44? :) [18:08:38] Damn, I knew I forgot something [18:08:47] class Namespace { [18:09:14] hm, dunno what is wrong with that...it looks relatively sane :) [18:10:30] yeah... [18:12:17] Hey, everyone. I was wondering if I might be able to get a little bit of help :) [18:12:37] Evie:fire away [18:13:39] Welllll... I have a mediawiki installation here (big surprise, considering the channel I came to for help, right?) and I need to use the Special:Upload page to upload a 32mb .mov file. I've run into a few problems and found workarounds for them all, which I can list off. [18:13:56] And I've got to a point where when I try to do the upload, it processes for a second then just returns the same page, blank, with no error message [18:14:37] I've set $wgMaxUploadSize to 100mb for testing this out, set the upload limit to the same in php.ini [18:14:54] $wgFileExtensions has .mov in (and I disabled restricting by extension anyway) [18:15:02] No errors in the apache error log [18:15:30] I've turned on mediawiki debugging and it doesn't seem to output anything, so I don't know if I either did that wrong or there's just no mediawiki error to output [18:15:44] note: it works fine with a smaller, 4mb .mov file :) [18:16:12] I've got to a point where googling about hasn't been revealing anything new for me try. [18:16:31] And so... here I am, seeking further advice. [18:17:09] (yes, I did restart apache after I changed the php.ini setting to allow larger files) [18:19:40] did you do a phpinfo? [18:19:49] page, check what it says max file is in there? [18:22:46] I hadn't, but I just did. 100M [18:23:44] Jezarith: Check the php version [18:23:59] 5.2.5 for me [18:24:11] 5.2.1 for me [18:24:13] evie: you need to touch php.ini file [18:24:22] max_upload [18:24:36] after restart apache [18:24:40] oops [18:24:46] doesnt read all post :-( [18:24:59] and if it is showing 100MB in phpinfo(), then it is the right php.ini [18:25:35] is it max_upload, or upload_max_filesize? [18:25:45] Is there a function for random pictures in mediawiki? [18:25:50] G_SabinoMullane: I'm running php 5.2.5 in IIS 6.0 using ISAPI. [18:28:21] or exist a mod for that? anyone an idee? [18:29:06] I found my problem! :) [18:29:16] post_max_size was only 8m [18:29:21] Thanks, everyone, for trying to help [18:29:42] yeah, I was just looking at that in my config [18:34:44] DrMeissner: try Special:Random/Image [18:35:01] Thanks again for the help! [18:35:43] Thanks ialex, i will try it [18:37:39] DrMeissner: See also: http://www.mediawiki.org/wiki/Extension:RandomImage [18:39:00] Anyone have a clue on my error when config/index.php: "Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in C:\Inetpub\ITWiki\includes\Namespace.php on line 44"? [18:40:46] too old php? have you modified that file? [18:41:20] 5.2.5 and no [18:46:30] Well, it loads without the Namespace.php, but I don't see anything wrong with it though [18:46:53] Jezarith: No idea, but I will state that "Namespace" was a poor name to choose for the class. [18:47:17] Would it be stupid to run the config script without the include? [18:47:29] Yes. [18:47:42] Does renaming it to "class Gamespace" give the same error? [18:49:19] I don't see any mention that namespace would be reserved word [18:50:04] namespace (PHP 6 only) [18:50:20] renaming it worked.. [18:51:45] Jezarith: then you are telling lies :) [18:52:00] Does renaming that have any impact on anything else? [18:52:13] Jezarith: Yes, unfortunately. [18:52:41] We need to trick PHP into accepting that name, or you need to replace all Namespace refs. The former will be easier, hopefully. [18:52:52] Ok ,this is a shot in the dark, but this is running on IIS... is it possible another ISAPI extension could impact that? [18:52:58] *G_SabinoMullane really dislikes this language sometimes. [18:54:30] I'm going to go ahead and say no to myself [18:54:56] hmm, will we continue supporting 1.6.10 after new year when support of php4 ends? [18:56:13] Do you think I should go to an earlier version of 5.2? [18:56:53] if it helps it's a bug in 5.2.5 [18:56:55] Jezarith: Actually, it looks like it is not used in too many places. [18:57:04] it's not suppoced to have that word reserved yet [18:57:22] So one ugly solution is to replace Namespace:: with Gamespace:: in all include files. [18:57:42] sounds fun [18:58:19] Only about five files. [18:58:20] is there a way to confirm that it is a reserved word? [18:59:08] I think we just have, by that error message. [18:59:21] Well, not reserved per se, but actively in use. [19:00:13] Nikerabbit: Got a URL to the bug? [19:04:34] http://demo.firestats.cc/firestats/ [19:04:35] weee [19:05:05] [19:05:17] :P [19:05:36] [19:05:37] ;-) [19:05:46] those stats give me the willies [19:06:00] I bet you could guess user's IPs from userpage hits :) [19:08:00] G_SabinoMullane or Nikerabbit: What version of php 5 are you using? [19:09:17] A bunch, but mostly 5.1 stuff today. [19:09:33] G_SabinoMullane: wot? only found page of reserved words which states that namespaces is reserved, but only in php6 [19:09:35] going to try to use an earlier version of 5, any suggestions? [19:09:41] I think the only way to fix this is to bite the bullet and rename Namespace.php to MWNamespace.php [19:09:53] 5.2.3 here [19:10:09] Nikerabbit: You said it was a bug in 5.2.5 earlier. [19:10:54] G_SabinoMullane: well it *has* to be or the documentation is wrong (possible too) [19:11:18] yeah, if it works in 5.2.3.. something changed? [19:12:15] they may have jumped the gun on the whole reserved word thing [19:12:18] lol [19:13:53] and it works on php 5.2.4 (version that i'm using) [19:14:08] appreciate your help guys.. going to try downgrading a version to see what happens [19:16:15] Wow, it magically worked after I replaced the php directory files [19:16:58] This web server wants me to give up, I've spent a few days... problem after problem.. almost done! yay [19:17:01] Thanks a ton guys [19:17:07] hmhm? [19:17:12] trails of php6? [19:20:13] hahah, it installed, now it won't work [19:20:16] another problem to fix [19:20:18] PHP has encountered an Access Violation at 02E37BF0 [19:20:44] you've got zero luck with php [19:21:26] I think I'm going to go get lunch and try after [19:21:31] it was doing this on another page too [19:22:34] oh, that's rich [19:22:47] the fix is in the cvs, which has the reserved word namespace [19:22:52] so... yeah [19:23:07] maybe I'll switch from ISAPI to CGI [19:50:46] Meh... Anyone know much about ConfirmEdit? I'm having some problems installing it [19:51:12] !ConfirmEdit [19:51:12] For more information about CAPTCHAs and MediaWiki, see . [19:51:41] *j_smith pokes mwbot with the useless stick [19:59:20] can I create a namespace simply by makeing pages caled "namespace:test"? [19:59:31] or do i have to do something special to add namespaces? [20:07:07] You do need to do something special [20:07:42] !namespace [20:07:42] For help with understanding and manipulating namespaces, please consult . See also !extranamespace [20:07:54] !extranamespace [20:07:54] To add a namespace, modify your LocalSettings.php file, and add namespaces via $wgExtraNamespaces. A comprehensive set of instructions for adding a namespace can be found at . $wgExtraNamespaces can also be used to rename the default namespaces. [20:08:12] Ok, cool. There you go. Thats what your looking for diabeatus2. [20:27:43] hello, I nned help with a misbehaving wiki [20:28:19] it seems when a user hits by email in the Create account section the mail is not parsed correctly or sent [20:29:25] after hitting by email it just says The password for newuser was sent to @mydomain.com [20:56:53] G_SabinoMullane: Are you still here? [21:02:58] or Nikerabbit? [21:11:26] Jezarith: wot [21:11:54] is an artcle's ID a reliable indicator of its age? e.g., are they always incremented sequentially? [21:11:57] Looks like I'm renaming the class... can I do a find/replace on Namespace:: ? [21:14:28] aib, yes, although the order might not agree exactly with the order of the first revision date (since there may be variable delays between the inserts for some reason). [21:16:36] Oh, delightful. Reserved-word conflict for PHP 6. [21:16:49] We should do the rename in trunk. [21:16:50] thank simetrical. what about article moves? I notice that [[Anarchism]] was created on 10/11/2001 and has an ID of 12, but [[George W. Bush]] was created on 10/8/2001 and has an id of 3414021 [21:17:13] (not sure what it's due to, trying to explain it to myself) [21:17:16] aib, as I recall, in the old days, deleting a page would remove its page id. [21:17:19] It doesn't seem to be in too many files Simetrical, about a dozen [21:17:30] Jezarith, and how many extensions rely on it? [21:17:32] Lots, I suspect. [21:17:39] oh, that's a bitch [21:17:43] aib, so recreating it would give it a new id. [21:18:05] See, if PHP actually had case-sensitive keywords . . . [21:18:13] I'm running a snapshot of ~5.2.5 and it has it reserved [21:18:20] ok, that's pretty reliable. any idea of an easy to access yet reliable indicator of age (for someone who doesn't have the full history locally) [21:18:27] I'm not running 6 and it is reserved [21:18:50] rename the class, then re-create a class called "Namespace" extending "RealNamespace" or whatever, but only if php version < 6. [21:18:58] that should keep the codebase as compatible as possible [21:19:49] Duesentrieb, that's what I was thinking. [21:19:53] I don't know if it is a bug, but I'll repeat, I'm running php5 and it has it reserved [21:20:04] Jezarith, ooh, even better. [21:20:15] php5 has it reserved? whot? [21:20:24] we... would have noticed, no? [21:20:33] it isn't in the release [21:20:33] Presumably not the version of PHP 5 we're using. :) [21:20:44] I had to download a snapshot due to an IIS bug [21:20:46] o_O [21:20:54] they introduce keyword in minor releases? [21:20:57] what are they smoking? [21:21:26] aib, page id is reliable if the page was never deleted, I think. If it ever was deleted, in the old days, there was no distinction in the page table between undeleting and recreating it, I don't think, so it might be irrecoverable from the page table. But I could easily be wrong, I think that was before my time. [21:21:29] If "Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in C:\Inetpub\ITWiki\includes\Namespace.php on line 44" means it is reserved, then this version has it reserved [21:21:38] Duesentrieb, what are they ever smoking? [21:22:03] toenails, presumably [21:22:07] thanks for the explanation simetrical [21:22:14] or kittens [21:22:19] aib, hypothesis, more like. [21:22:35] I got my version from http://snaps.php.net/ [21:25:23] oh, shit [21:25:26] I grabbed 5.3 [21:26:23] Simetrical got time? [21:26:58] darkcode, yes, I'm slowly looking at it right now, in between multitasking five other things. [21:27:04] Out of curiosity, why are you so interested? [21:27:51] because there is discussion to use the Gadgets extension Wikibooks, and I want that bug fixed first before Wikibooks does [21:28:18] darkcode: what bug? [21:28:50] Duesentrieb, http://bugzilla.wikimedia.org/show_bug.cgi?id=10184 [21:29:31] oy weh. [21:29:39] actually, i would like a *real* solution for this [21:29:54] like, a single way to add js/css to the header. used by everything [21:30:01] using numbered "slots" [21:30:36] so programmers have complete control over oder of execution, and it can easily and consistently be changed if need arises [21:31:30] Simetrical: the namespace reserve is in 5.3-dev, fyi [21:31:42] ya I wouldn't mind that too [21:31:51] Jezarith: I raised a bug about it, I'v got some replacement mojo in there. Won't work on Win32 boxes though. [21:32:27] G_SabinoMullane: I can't do a find/replace on namespace:: ? ;) [21:33:13] Yes, rename the file, replace the 'class Namespace' and replace all Namespace:: and Namespaces.php lines. [21:33:26] with every extension that's added that makes use of css files, the less the average person is able to override it, since what comes later overrides what comes before [21:33:33] It is fine in 5.2.x, but in their 5.3-dev, it isn't [21:34:29] I just switched versions a few times... 5.2 doesn't seem to work with isapi in IIS, gives me an access violation message [21:35:14] I think the computer gods hate me this week, or something [21:38:21] can i inline a code block in a mediawiki
  • ? [21:39:06] by using
  • instead of wiki syntax [21:39:19] got it [21:40:46] how about some (any) other sort of multi-line block within a single list item, same deal? [21:43:33] yes [21:43:58] well, you can nest *, # and : freely [21:44:03] for everything else, you need html code [21:44:14] our admin migrated our articles from one server to another. on previous server, *blahblah
    my multiline block
    worked [21:44:19] maybe that was an older version... [21:44:43] hi chuck [21:44:44] hi, i'm trying to get the request actions (i think they're called), but i get errors when i go to the skins directory [21:44:50] The action specified by the URL is not recognized by the wiki [21:44:56] anyone know how to fix that? [21:45:51] well, from what you said in the other channel, your files are in /w, but when accessing anything in there, you get an error, because mediawiki gets the path as an action. [21:45:58] chuck: I think you can only use &action=something when viewing index.php, but i might not have fully understood your question [21:46:02] which means you are, for some reason, rewriting /w/ [21:46:14] one good place to ask help with that is #apache, actually. [21:46:22] Duesentrieb, lol [21:46:25] i'm on a wild goose chase [21:46:38] chuck: sorry about that :) [21:46:44] chuck: what exactly are you trying to do anyway? ;) [21:46:51] we cantalk about it here, but you might have more luck there. [21:46:52] Skizzerz, i'm using the ActionPaths where it's like mywiki.org/view/Main_Page or mywiki.org/edit/My_Cool_Page [21:47:00] #wikimedia-toolserver was just wrong [21:47:26] ah, yeah, you'll probably have more luck with that elsewhere :) [21:48:13] chuck: well, the point is, when you ask the webserver for a file from /w/, wile /w/styles/monobook/main.css, mediawiki should never be called, right? [21:48:29] so the problem is outside mediawiki. something about your rewrite rules is off [21:48:36] can you put them in a pastebin somewhere? [21:48:44] i'm no expert, but i could have a peek. [21:48:49] RewriteEngine On [21:48:49] RewriteCond %{REQUEST_URI} !^w/ [21:48:49] RewriteRule ^([a-z]*)/(.*)$ w/index.php?action=$1&title=$2 [L,QSA] [21:49:21] you probably meant ^/w/ [21:49:39] ah... that might be it :) [21:50:04] confusing how mod rewrite wants the leading / for some stuff, and not for other [21:50:15] woo http://www.melbyemedia.org/view/Main_Page [21:50:16] is there a way to rewrite /wiki/ to /view/ for backwards compatibility? [21:50:28] MZMcBride: huh? [21:50:30] ooo yeah, that would be nice too, is that possible? [21:50:37] Duesentrieb, rewrite /wiki/blah to /view/blah [21:50:38] Redirect /wiki /view [21:51:02] just, you know, rewrite it. or redirect, depending on what you want. [21:51:08] internal server error lol [21:51:22] [Thu Dec 13 09:50:57 2007] [alert] [client 12.227.165.134] /var/www/melbyemedia/.htaccess: Redirect to non-URL [21:51:23] twincest: a mod_rewrite redirect would be nicer, you could keep any subpath or parameters [21:51:28] rtfm Redirect [21:51:42] Duesentrieb: doesn't redirect already do that? or maybe i'm thinking of something else [21:51:52] ah, i might want mod_alias [21:51:54] i don't think it does [21:52:01] i think Rewrite ... [R] does that [21:52:05] and it's already loaded [21:52:10] ahhh [21:52:31] oh [21:52:35] alias isn't realy what you want, you want a redirect [21:52:45] otherwise you have two URLs going to the same thing [21:52:48] chuck: anyway, did you try changing ^w/ to ^/w/ as twincest suggested? [21:52:50] twincest, Redirect is in mod_alias [21:53:02] Duesentrieb, yep, it worked http://www.melbyemedia.org/w/ [21:53:10] chuck: did you read the error? it's clearly not caused by the module not being loaded [21:53:10] ah, ok [21:53:34] btw, is there a way i can get / redirected to /view/Main_Page ? [21:54:45] yes, Redirect [21:55:11] but i can't use that because i'm using the Farmer extension for mediawiki [21:58:11] does anyone know a good way to farm mediawiki? [21:58:32] !farm [21:58:32] To run multiple wikis, you do not need anything more than to run one wiki. You simply install them in different folders, and if possible using seperate databases. If you only have one database, simply use a different table prefix. For more advanced setups, see [21:58:36] use a combine harvester [21:59:16] chuck: what does the redirect have to do with farmer? rewrites can interfere with a farm setup, if you are not careful. but a redirect? [21:59:38] with a redirect, you have to use a hostname and everything [21:59:46] the hostname isn't always the same for the farm [22:00:49] you'd have to set up one redirect per subdomain, then [22:01:08] if you use the redirect facility of mod_rewrite, that should be possible with RewriteCond [22:01:13] sucks a bit, admittedly [22:01:36] though... maybe that also supports redirects without hostname. but i'm not sure [22:01:43] perhaps do ask in #apache? [22:03:38] i think mod'rewrite does that do [22:03:52] RewriteRule /whatever /othershit [L,R=302] [22:18:41] chuck: did you get it working? [22:25:43] ? [22:41:22] does anyone know a way to import all entries from a wikkawiki (a PHP-driven wiki) to mediawiki? [22:41:33] there's a link to a tool under http://www.mediawiki.org/wiki/Manual:System_administration, but the address is dead. [22:43:41] I'm writing an extension to include phpBB3 data (global announcements mostly) in a wiki page - should it be a Parser Func or Tag Extension? I'm thinking Parser Func will be more flexible. [22:50:04] TimLaqua: parser functions are generally more flexible - however, be sure to set it up so the result is not treated as wiki text (you probably don't want that) [22:50:37] And unless you plan to fix 2257, tag extension means no variables :) [22:50:49] anyway, it's pretty easy to make a hybrid extension that can be used as a parser function or asa tag hook, if the output it html. [22:50:55] Duesentrieb: well my thoughts were: say the data it's grabbing from phpbb is an announcement - how should that announcement be formatted? [22:51:29] TimLaqua: huh?
    xxx
    [22:51:49] Duesentrieb: but what if there's zero data? [22:52:13] err? an announcement with zero data? [22:52:20] it's dynamic [22:52:25] ah, you mean tehre are no "current announcements"? [22:52:28] make a message for that [22:52:29] if there are no global announcements in phpbb [22:52:30] yeah [22:52:34] so? [22:52:56] so I'm thinking it'd be nice to have nothing displayed if there are no announcements [22:53:34] and the only good way to do that is have the extension handle all the display (i.e. not having static display containers wrapped around the parser func or tag) [22:54:31] afaik. ;-) [22:56:12] TimLaqua: or make modes for that. with tag hooks, you could have "formatting" and "ifempty" attributes, etc. [22:56:46] that could work too [22:58:52] TimLaqua: generally, "easy to use" and "flexible and powerful" are opposites / impose a tradeoff situation [23:00:53] Duesentrieb: i'm a big fan of easy to use [23:02:45] that would mean automatiocally styled and some fallback message if there is no data [23:03:28] Duesentrieb: then some sort of middle ground. ;-) I'm goin w/ parser func for now. [23:16:16] Hi, anyone here know how far along the OpenDocumentFormat export thingummy for mediawiki is? [23:24:36] notagerbil, is there an ODF export thingummy for MediaWiki? [23:25:22] well, that is sort of what my question entails... [23:26:08] if not I guess the answer would be "not very far along at all". [23:26:17] :P [23:36:18] darkcode, okay, fix committed. [23:36:59] cool thanks [23:37:07] hopefully no other bugs [23:41:34] is there a global variable that stores the current file extension? [23:41:42] i.e. .php or .php5 ? [23:47:18] TimLaqua, i think you could do the __FILE__ constant or whatever and figure out the extension with that