[00:00:26] 03(WONTFIX) messages: unify Project: and {{ns:project}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10702 +comment (10robchur) [00:04:19] Duesentrieb :) [00:10:56] n8 all [00:19:29] Is there anything I should keep in mind before running the deleteOldRevisions.php script? [00:20:45] Does that script still work? [00:21:48] I don't know; this would be my first time trying it. Given what it /should/ do, I thought I'd check to make sure it was still regarded as safe first. [00:22:52] Is there a more preferred way to eliminate all but the current revision of each page? [00:26:32] ShakespeareFan00: I just went through that proccess; it's not hellish, but it's not trivial either. You'll also need to look for the image files used for the background, and reverse them. Ditto for a bunch of the little arrow and bullet images; they're all set up for black-on-white, and need to have their palette's reversed. [00:33:04] sacolcor, well, I guess you could export all of them (which gives an option for only exporting latest revision), drop the database, and re-import. It's not something done on Wikipedia or sister projects, so it's not necessarily tested. [00:33:18] At least not recently. [00:33:21] By us. [00:33:33] Quite likely the script still works, just be sure to back up first. :) [00:33:43] *Simetrical takes a look at it [00:33:48] Just finished running the backup. [00:33:55] :-) [00:35:10] Hmm, it looks rather specific. Probably will leave bits and pieces lying around, like in page_restrictions and so on. [00:35:31] Would that cause a problem? [00:35:46] Probably not. [00:36:23] *sacolcor nods. [00:36:42] Really all it seems to do is DELETE FROM revision JOIN page ON (rev_page = page_id) WHERE rev_id != page_latest;, effectively. [00:36:47] Well, then it cleans up text. [00:37:03] And it uses transactions, if available. [00:37:07] And prints out pretty messages. [00:37:50] I'm getting ready to open my site, and I'd prefer to just present the finished version, rather than showing all of my (sometimes sloppy) intermediate edits. [00:38:01] You can talk to robchurch when he's around, he wrote it. [00:38:30] The script, that is. [00:38:53] Gotcha, thanks. :-) [00:57:02] 03(NEW) Hardwired message links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10703 trivial; lowest; MediaWiki: Internationalization; (jidanni) [00:57:22] Hardwired? [00:57:33] Into what, the new Core II Duo MediaWiki edition? [01:04:21] 03(mod) Interface links should always be configurable via their own messages ( as sidebar etc.) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10703 trivial->15enhancement; lowest->normal; summary; +comment (10Simetrical+wikibugs) [01:16:12] 03(mod) Interface links should always be configurable via their own messages ( as sidebar etc.) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10703 15enhancement->trivial; normal->lowest; +comment (10jidanni) [01:19:09] 03(mod) Interface links should always be configurable via their own messages ( as sidebar etc.) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10703 trivial->15enhancement; lowest->normal; +comment (10Simetrical+wikibugs) [01:24:35] is there an easy way to add new options to Special:Preferences? [01:27:40] stephenjudkins, there are probably hooks. I don't know if they're easy to use. [01:27:57] Er, to the extent hooks can be. [01:28:32] Simetrical: thanks. found one... not sure if it's what we need. [01:31:02] Simetrical: the UserToggles hook appears to be what we're looking for. thanks. [01:32:32] how do i change a new users discussion page on creation? [01:33:18] Taco_, use a hook on account creation. [01:34:09] where at? [01:35:21] You need to write an extension. [01:35:35] ah, that's what i thought [02:04:17] yep, i suck [02:04:20] :> [02:20:51] Can anyone help me out here? I am having trouble finding a specific Wikipedia page. It talks about all sorts of formatting standards for wikipedia. Things like when you should use italics, and when to use bold, etc. Anyone have any idea where it is or what its called? I can't seem to find it. [02:21:20] i would like to set similar standards on my site, but theirs is a wealth of knowledge. [02:21:27] Leefmc, you should ask at #wikipedia, but as it happens, you're looking for Wikipedia:Manual_of_Style . [02:21:44] I mean, in general you should ask in #wikipedia, where you're more likely to get a correct answer than here. [02:21:47] oo didn't realize there was a #wikipedia :D, i'll have to hang out there too hehe [02:21:54] but thanks Simetrical! :) [02:21:57] always helpful, as usual [02:22:26] I'm the sort to get involved in stuff like that. Maybe there's even still some of my wording hanging around in that thing. [02:22:48] hey I just installed MediaWiki on a home server and I'm trying to upload a movie to it. However when I try to send it, it just sends the request and refreshes the screen with nothing in the forms and nothing having been uploaded. The file is 107MB, anyone have any ideas on why this is happening? [02:23:35] Simetrical: yea, i like formatting standards. And mostly, i need it because i was correcting someone elses overuse of '''bold''' when i realized who am i to say my style is better than his. So i needed some reference of previously discussed and debated styling :) [02:23:46] kyled185, you probably have your POST/upload limits set too low. You'll need to edit php.ini. Consult the PHP documentation. [02:26:19] Simetrical: I've set the upload limit to 1000M and turned uploads on and it still doesn't work [02:26:32] kyled185, also raised the POST limit? [02:26:40] I'm fairly sure that's applicable too. [02:27:02] Simetrical: ah no, I bet that's the problem [02:30:36] Simetrical: That did the trick thanks [02:36:48] are there any mediawiki hooks or add ons that link a copied article to its wikipedia source [02:37:11] i have an idea to help complete this task but id rather use something else [02:37:24] I have to do this before I can put it online [02:42:01] They're all under the same names, right, and you don't have any pages not from Wikipedia? Why not just edit the site notice? [02:42:06] Or the footer. [02:46:01] I am sorry? [02:46:19] Well I am mirroring wikipedia, a full dump [02:46:45] nothing from the dump actually links to the source [02:48:49] nm I think I know what you are saying... [02:48:49] Simetrical: wow, it seems the manual does not cover '''bold'''. What are your thoughts on it? ie, i've got a user making basically every key word bold, vs me who almost never uses it, what do you think is a happy medium? [02:49:06] (Im asking you direct because you said you have some interest in the Manual of Style) [02:49:45] http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style_%28text_formatting%29#Boldface [02:50:00] Use italics, not boldface, for emphasis. Use boldface in the remainder of the article only for a few special uses: [02:50:00] * Table headers [02:50:00] * Definition lists (example: David E. Kelley) [02:50:00] * Volume numbers in some formats for bibliographic entries for journal articles (example: template:cite journal) [02:50:14] Simetrical can I pm you? [02:50:17] You have to look through all the ancillary manuals. [02:50:19] dmb062082, if necessary. [03:05:21] 03(mod) updateRestrictions.php not working - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10700 (10JSchulz_4587) [03:05:31] brion? [03:06:55] he should be asleep [03:07:31] *VoiceOfAll moos at brion loudly [03:08:36] hehhe [03:15:48] <_Danny_B_> VoiceOfAll doesn't have to go to #test and write #moo there today anymore [03:20:07] anyone know how I can track down my wiki going offinto lala land when more than one diff is done at a time? [03:25:01] 03(NEW) invisible navigation not translated - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10704 trivial; lowest; MediaWiki: Internationalization; (jidanni) [03:34:13] 03(mod) invisible navigation not translated for variants - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10704 summary (10Simetrical+wikibugs) [04:24:57] YES [04:25:03] I almost have everything complete [04:25:16] outside of globally changing the infobox colors [04:25:26] it really is not talked about at all on google [04:25:42] ive been reading off and on for hours [04:26:19] some in here say you can not others say you can while using the !important tag (is it a tag) but I have yet to get her done [04:28:56] hi [04:29:16] i installed a wiki on my (old) server [04:29:49] now i've reinstalled........ and i THINK i backed up my wiki (ie. just copied the whole mediawiki folder) [04:30:08] anyone care to tell me how i reinstall it? [04:30:16] i can't seem to find the DB [04:30:30] did i loose it, cause it went in the mysql? [04:31:05] which i didn't back-up......... [04:33:34] ok, anyone have an idea on why api.php is not quite working according to documentation. http://en.wikipedia.org/w/api.php?action=query&generator=allpages&apnamespace=1 Its returning stuff in the main namespace when it should be returning stuff in the talk namespace. [04:35:08] Just access them at ns 1, its the same titles [04:35:37] I am accessing them at ns 1.... [04:35:44] [04:35:44] [04:35:56] thats ns="0" when I want ns = 1 [04:36:07] documentation says to append apnamespace=1 [04:36:22] apnamespace? [04:36:27] What's the "ap" for? [04:36:28] yeap' [04:36:30] Er, right, I'm away. [04:36:31] all pages [04:36:47] Actually I'm not going to be hanging around here anymore for a few weeks altogether. [04:36:48] at least according to http://en.wikipedia.org/w/api.php? [04:36:54] Simetrical|away, O.o :( [04:36:54] Or rather not all the time. [04:37:03] No always-on computer, you see. [04:37:14] ah [04:37:15] Bye, now. [04:37:18] bye [04:37:32] anyway is there a bug in api.php that i need to file? [04:37:53] It is definatly not expected behavior :S [05:06:35] Hi All, got a question (again) about an extension i'm writing. This time it's to do with the user class, anyone know the name of the instance of it so that i can access to then see if the user is logged in? [05:07:13] $wgUser [05:07:18] You have to global it first [05:07:57] Thefearow remember that .infobox thing we were talking about this morning? [05:08:07] company one? [05:08:11] I can find nothing on the web about globally changing its css [05:08:12] yes [05:08:17] oh that [05:08:26] Weird [05:08:29] its ghostly [05:09:15] thanks The Fearow, exactly what i needed [05:09:25] ive added .infobox { border:1px solid #aaaaaa; background-color:#f9f9f9; [05:09:34] well a little deeper, but like the goggles they do nothing [05:32:19] would it be possible to use the improved lucerne accent folding functionality to improve how the go button works? [05:42:35] hippietrail: what is this ? [05:45:03] if you hit go with "FRED" and there is an article "Fred" it will automatically go there. the same should happen if you enter "cafe" and there is only an article "café" [05:45:25] ie go should handle accent variation just as it handles case variation [05:45:33] Its too hard to do that reliably [05:46:07] TheFearow: why? [05:46:43] Because, it would take a lot of processing, and the variations are so many [05:47:09] TheFearow: is that your assumption or your expert view based on knowing how the code works [05:47:36] it seems both lucerne and the lookalike password code handle this very efficiently already [05:48:00] Hippietrail: Both [05:48:07] It would also require changes to the search method [05:50:54] i know the code but not lucerne so you can talk tech if you like [05:51:28] Im not the best person to talk to - you probably want either brion, tim, or rob, who all arent online now [05:52:27] tim is probably best from memory. we talked about similar stuff when i was writing the didyoumean extension [05:52:59] i love you guys [05:53:01] i mean it [05:53:08] mediawiki rocks [05:53:13] and the people who use it are okay too [05:53:38] still dumping though [05:53:39] 3,378,000 pages (23.753/sec), 3,378,000 revs (23.753/sec) [05:53:44] when the hell will it end? [05:53:49] It takes a while [05:53:59] so i can then move it from my local server to hostgator [05:54:08] ober 3 million pages [05:54:14] its kind of... sick [05:54:36] I dont even know why I am making a mirror [05:54:56] it all started because me and a few of my friends joined this little light on dark click [05:55:01] we hate dark text [05:55:22] so i figured i would make a wikipedia clone with dark bgs instead =) [05:55:31] now that its done I might as well host it [05:55:37] even if I am wasting my time [05:55:47] You can create a skin with dark bg [05:55:50] some people might use it over the big dog just for the color scheme [05:56:21] yup i found that out after my 2nd day of dumping [05:56:41] but after all the work ive done there is no going back [05:56:48] simetrical helped me out so much [05:56:55] i owe that guy big time [05:56:59] Simetricals great :) [05:57:01] he is [05:57:08] he helped me with the copyright stuff [05:57:17] so each page links to its wikipedia source [05:57:26] with out him I would still be working on it [05:58:09] only downside is that its going to mix in with 6toe.com when its done and well as ill have 4 million dup content pages [05:58:16] it might hurt my news site [05:58:56] i guess ill create a wordpress plugin for my news articles so when ever i post a news article relevant key words will auto link to the wiki related content [05:59:22] kind of neat feature i guess but im still working on those damn infoboxes [05:59:38] there is literally no info on the over riding color scheme [05:59:50] so im totally at the drawing board by myself on this one [06:00:38] ok im done rambling I think [06:00:50] just a little over tired and excited about all of this [06:00:56] =) [06:09:37] good morning, how i can register my nickname? [06:11:00] Dekoration: On MediaWiki or on this channel? [06:11:09] Type /msg NickServ REGISTER password [06:11:14] But replace password with your password [06:12:00] thank you [06:19:53] i had installed my mediawiki..can someone give me tipps to make wiki more secure? [06:20:30] Its secure by default [06:20:40] As long as you dont give sysop or bureaucrat access to random people, you are fine [06:22:23] ok or have i to delete files? [06:23:17] i would create accounts by myselfe and give them to the user [06:25:42] You dont have to do anything its already secure [06:26:36] ok =) [06:26:39] thank you [06:27:24] but i have another question,too ^^ [06:28:11] wait..i have the answer [06:28:19] now im happy [06:53:27] has the idea of including a basic ajax framework into wikibits.js come up before? [07:21:34] hi, im making my own mediawiki skin based off monobook, however ive moved the logo somewhere else but the blank space still remains. http://a2h.uni.cc/mediawiki/index.php?title=Main_Page&useskin=a2h [07:22:37] how would i go about removing the blank space? i had a look in the portlet css but i did not find anything that would seem to help. [07:27:05] anyone? [07:27:21] grr........ [07:28:48] Move everything up [07:29:14] how would i do that? [07:43:26] how does one go about changing the format of recent changes in a wikipedia wiki ? [07:43:39] i'd like the 'N' to be bold or red or green [07:43:43] or something more standoutish [07:45:30] hi, i am trying to copy wikiEd to my local (personal) wiki, but it is not working... i allowed user js, do i need to do something else? [07:45:47] actually, it is working when i call it from en.wikipedia [07:45:56] but, not if i am calling it from the local wiki [07:46:37] and my page is inside of the main namespace (index.php/wikiEd.js) [07:48:36] TheFearow: how? [07:48:49] super2headshot: What? [07:49:16] how would i "move everything up" [07:49:30] Edit the css to change the privileges [07:49:47] privledges? [07:50:44] ive already removed the #p-logo parts (which are no longer used)... no difference made. [07:51:47] in the mean time i will also ask why when editing a page via my parked domain (preferred), when i click save page it goes to my old domain (ie editing on a2h.uni.cc, save page goes to a2h.8m6.net) [07:52:12] Wrong word [07:52:15] I meant the positions [07:52:27] ... [07:52:35] but all i see for the positions are "relative". [07:52:39] Your script path and domain will be set incorrectly in LocalSettings [07:53:01] Ahh, then you change the size of the logo box, OR you find the x and y values, and decrease them [07:55:10] regards to script path/domain... i had a look in the php file but i see nothing related to my domain name. [07:56:18] it should be there [07:56:22] 03thomasv * r24389 10/trunk/extensions/ProofreadPage/proofread.js: fix bug 10679 [07:58:55] <_wooz> lo [07:59:25] 03(mod) diff deletes text in edit form in the Page: namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10679 +comment (10thomasV1) [07:59:53] all those missing help pages? there is just one anymore [08:00:26] TheFearow: i think that using margin-top:-##px does the job =D [08:00:32] as for LocalSettings... [08:04:33] hmm... where is MW_LOCAL_PATH set? [08:04:43] oops [08:04:49] MW_INSTALL_PATH is what im looking for [08:04:55] where would that be? [08:22:55] nevermind the domain, $wgServer i believe will do the job... [08:25:08] hrm [08:25:25] well for starters I needed to install the infobox extension [08:25:29] i didnt know there was one.... [08:27:30] http://www.mediawiki.org/wiki/Extension:Infobox [08:27:34] not very helpful though [08:30:11] arg I am so confused in infoboxes and my mediawiki [08:30:28] *dmb062082 bands a rock against his head [08:35:28] what? [08:35:37] the infoboxes are EXTENTIONS? [08:37:36] dmb062082, yes, i know how you feel [08:38:45] omg I think I got it [08:40:01] dmb062082, omg let me know what you did! [08:40:02] :) [08:40:11] 1 sec [08:40:31] well half of it anyway [08:40:32] woohoo [08:40:51] http://pastebin.com/m5d117c7 [08:40:55] note the !important [08:41:53] que? [08:41:59] where's the !important? [08:42:09] before the color hex [08:42:17] i think i'm starting to understand.. something [08:42:28] ah yeah [08:45:38] no, wait.. you're working on the css, yes? [08:46:45] yes [08:46:47] well [08:46:57] having the css override the default infobox templates [08:47:20] so everything will be pretty no matter how bad users try and accidentally fuck it up [08:53:13] ANYONE UP? Small question here... [08:53:16] note: http://6toe.com/Screenshot-1.png [08:53:22] see the odd blue colors [08:53:38] well in terms of editing what the heck is that called so I can add it to my css [08:55:01] 03thomasv * r24390 10/trunk/extensions/ProofreadPage/proofread.js: merging code for external images [08:57:39] it would be easier if it was already there in my css [08:57:51] but its not so I am just guessing and so far everything is wrong [09:00:20] trial'n'error [09:00:23] :) [09:03:23] got it [09:03:25] woohoo [09:04:10] umm [09:04:20] I'm still having problems to get my images on mediawiki [09:08:43] salut yannf [09:08:53] salut ThomasV [09:23:16] Hello :) I run a small Wiki and would like to check if some users (administrators for example) use insecure passwords. I downloaded the hashes stored in the database, it seems they are 64-digits decimal numbers. What algorithm is used for that? John the Ripper says "Post.Office MD5 [STD]", but it won't crack the password, even if it is _very_simple_ (I tried the password 'b' on a dummy user). I couldn't find much on the web except for Exten [09:23:17] sion:EnforceStrongPassword, which doesn't help me cracking a password, _after_ it was created... Thanks in advance for your help [09:26:17] 03(mod) Problem logging in - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10696 (10willekens) [09:27:04] ThomasV: I have seen your commits to Proofread, something about costumization. how does it works? [09:29:06] Raymond_: the German have complained about zoom [09:29:29] so they will be able to define their own zoom layout in monobook.js [09:29:30] ThomasV: yes, I have read it [09:29:38] ahhh nice [09:33:09] is it possible to display images from remote links? [09:33:39] I'm using 1.6.10 with php4 on sf, and that version of the wiki is giving me troubles when trying to put some screenshots up for my project [09:33:51] I've uploaded the .png images to images/ [09:40:40] liri, try to set this to "true": http://www.mediawiki.org/wiki/Manual:%24wgAllowExternalImages [09:52:28] hi [09:52:47] somebody here? [09:53:39] Topic for #mediawiki is: [...] Don't ask if anyone's around, just ask your question [09:54:37] sorry, just wanted to be polite. -) how can i enable HTML in WikiArticles?? I cannot find it. -( [09:55:54] Jens, perhaps something like http://www.mediawiki.org/wiki/Extension:SecureHTML [09:58:35] that is not exactly what i am looking for. i think an extension is not right thing [10:03:17] no other ideo? i mean.. on wikipedia Main_Page is also allowed and i am not sure if Wikipedia-Mediawiki uses Extensions.. does anyone know? [10:07:59] Question: I recently upgraded from a 1.3 release to 1.10. After doing so, I noticed that the "Successful upload" page no longer appears by default after I upload a new file. It does appear, though, after uploading a newer version of the same file. Does anyone know why that is? [10:19:18] 03thomasv * r24391 10/trunk/extensions/ProofreadPage/proofread.js: created aux function for edit area, various renamings [10:29:07] 03thomasv * r24392 10/trunk/extensions/ProofreadPage/proofread.js: oops [10:30:35] i am using the latest version of mediawiki. when i replace $text = $this->getContent(); by $text = "<-- Some Wikitext -->"; then the output is <!-- Some Wikitext --> and not <-- Some Wikitext -->. But I edit a page and put HTML in inside then EVERYthing works fine. WHYYY??? [10:31:07] (Article.php line 731) [10:31:36] edit: But I edit = But when I edit.. [10:31:50] Can someone please help me?? -) [10:36:59] saitoo: ok, I set $wgAllowExternalImages = true; in LocalSettings.php, how do I now display an image? [10:37:32] afaik just enter the URL of the image [10:40:42] hi [10:41:04] i search a extension for encrypt wikimedia pages [10:41:21] wikimedia pages or mediawiki pages? [10:41:38] wikimedia is a foundation that runs wiki projects such as wikipedia [10:41:43] wikimedia [10:42:00] the application [10:42:11] the software is called mediawiki [10:42:30] yes sorry [10:42:36] mediawiki pages [10:43:28] what do you want to encrypt??????? [10:43:30] i have protected my wiki from unregistered and registered users, yet $wgRawHtml = true; does not work, any help? [10:43:44] you can have alook at the wiki here: http://a2h.uni.cc/w/Main_Page [10:44:03] if you take a look at the top left, you can see some html code... [10:44:13] i mean top right. [10:44:49] i want to encrypt all pages (not accessible directly via mysql database) [10:45:10] anger2headshot: put it inside tags [10:45:44] tried, layout screwed. [10:45:47] Julia, I don't know how to encrypt pages, but maybe you should read this http://meta.wikimedia.org/wiki/Help:User_levels [10:45:49] [10:46:00] hi [10:46:04] saitoo: right, if I simply put the URL of the image it will display it, is it possible to display it as thumb and when clicked to enlarge? [10:46:18] how mediawiki saves the passwords in the mysql db? md5 encrypted? [10:46:32] the layout totally screwed.... ok wth? [10:46:54] saitoo: using the [[Image:someimage.png]] isn't working, it shows a link that when I click on it, it tries to upload the image [10:47:01] saitoo, thks but in this site don't say how to encrypt the page (i think) [10:47:01] blinx, that's the same question I had :-/ [10:47:36] Julia, yes but it allowes you to restrict your wiki so that nobody can see those pages [10:47:55] never mind, its working now... [10:48:08] liri, I think I saw on another wiki a template for that... try this for example: http://wiki.micronations.info/index.php?title=Vorlage:Bild_%28rechts%29&action=edit [10:48:28] saitoo, but my interess is the pages not visible directly in mysql database (you understand?) [10:48:43] Julia, I understand, but I don't know how to do this [10:48:53] ok thanks :) [10:50:31] liri, enlarging those images with a click could work with http://www.mediawiki.org/wiki/Extension:ImageLink or any HTML-Map extensions... [10:54:39] saitoo: did you get an answer? [10:54:52] 03raymond * r24393 10/trunk/extensions/ (2 files in 2 dirs): Adding some extension credits [10:54:54] blinx, until now, no answer :-/ [10:55:26] i've set [[MediaWiki:Copyright]] to something else, yet the copyright text does not display, what am i doing wrong or what do i need to do? [11:03:42] saitoo: I can't use that because it requires ExtensionClass.php which I don't have apparently [11:04:22] liri, you have to download & install ExtensionClass.php first [11:05:12] where should I put it? [11:06:00] 03raymond * r24394 10/trunk/phase3/includes/EditPage.php: [11:06:00] Adding "thumb" to the image editbutton. In this way it's mainly used. [11:06:02] Per suggestion of Denis Barthel (de.wp) [11:10:24] saitoo: where should I put the ExtensionClass.php file and the ImageLink.php and ImageLinkClass.php files ? [11:20:25] et [11:20:35] hi all [11:30:07] DOES $wgRawHtml enable HTML in WikiText? [11:30:53] 03(mod) Closing of Herero Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10690 (10triyork) [11:31:10] liri, in /extensions [11:32:05] All three? [11:32:23] I don t understand what $wgRawHtml is for! Can someone help me please?? [11:33:50] I can't sorry [11:34:22] Jens: looked in the manual? [11:34:44] yes," Allow raw, unchecked HTML in ... sections." [11:34:56] I give up [11:35:08] this is more complicated than it's supposed to be [11:35:11] Jens: says it all. [11:35:24] i set $wgRawHtml to true but html is not displayed in my articles :( [11:36:03] Jens: within a wiki page, you can use this will be if $wgRawHTML = true [11:36:43] liri, yes all three. See this http://www.mediawiki.org/wiki/Manual:Extensions [11:36:57] okay, this has nothing to do with html like "table", "div" in my wikiarticles? [11:42:06] no [11:43:56] is there a setting to turn the [Edit] links off unless logged in? [11:54:58] you have to remove them manually after you set the rights for * in localsettings.php [11:58:03] ok thanks [12:10:10] 03(NEW) Please clean up and lock Akan Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10705 15enhancement; normal; Wikimedia: Site requests; (jorohr) [12:30:01] 03thomasv * r24395 10/trunk/extensions/ProofreadPage/proofread.js: button to toggle headers visibility [12:46:08] hi. i want to add social tagging links to the sidebar. a link would loook like this http://digg.com/submit?phase=2&url=http://mysite.com but it gives an --error: link target missing-- [12:47:44] does it work without the second http://? [12:48:20] Hello, how can I check (using the Media-Wiki APi) if an article exists or not? [12:49:04] Tim: nope. not with eg http://digg.com/submit?phase=2&url=mysite.com [12:49:30] but http://del.icio.us/post?url=mysite works :O [12:49:36] *.com [12:50:34] must be the &url [12:53:44] Hello, I have been searching the forums and wikipedia and the help pages for a while now. How do you hide or change the Title Tag on any given page from the page's link? [12:54:26] For example, if I name my page gl, how do I have it display the name "General Ledger" [12:54:32] Or is that possible with Mediawiki? [12:59:27] Hello, I have been searching the forums and wikipedia and the help pages for a while now. How do you hide or change the Title Tag on any given page from the page's link? [12:59:37] Or is that possible with Mediawiki? [12:59:42] For example, if I name my page gl, how do I have it display the name "General Ledger" [13:00:15] how would it know to display General Ledger? [13:00:37] Well, I'm hoping there is a command I am missing somewhere. [13:00:41] from the page name? [13:00:52] It wouldn't. [13:00:56] I'm trying to hide the page name. [13:01:04] sure, but where would such a command find that info? [13:01:05] And use my own H1 heading. [13:01:13] Oh I see [13:01:18] Roger. [13:01:21] in the title? [13:01:28] Right. [13:02:15] you'd have to look in the source code I'd say [13:02:41] Sorry about htat. [13:02:42] that. [13:02:44] Jens: the page title for any page can be hidde nusing css [13:02:48] Jens> Hello, how can I check (using the Media-Wiki APi) if an article exists or not? [13:03:15] Sorry Duesentrieb_, I just got disconnected. How do I hide ALL the page names using the CSS? [13:03:25] err, sorry for the nick confusion :) [13:03:28] Or does it have to be done individually for each page? [13:03:45] Jens: Title::GetPageId() (or similar) will return 0 if the page doesn't exist [13:04:21] Jera: .firstHeading { display: none; } [13:04:37] That will hide all page names? [13:05:08] that will hide them all. but if you want to *replace* the page title, you could use the displaytitle magic (i have never used it, but i think it exists now), or you could use redirects to create aliases for your pages [13:05:17] That is awesome! Thanks, you just saved me hours of work. Well, I probably used up as much researching the workaround... but still. [13:05:20] Dueusentrieb_: But that s not API -) Oder? [13:05:27] Well, the redirects leaves LOTS of extra pages that just... redirect. [13:05:33] Jens: oh, you mean the *web* api? [13:05:45] And displaytitlemagic, is that an extension, and do you know if it comes with Bizzwiki? [13:06:07] Duesentrieb_, ahh yes, good idea. [13:06:10] Jens: no, it's not. there's probably a way to find out if a page exists - have you tried to list revisions for a page that doesn't exist? it should either return an error or an empty list. [13:06:15] that should tell you [13:06:29] Jera: wtf is Bizzwiki? [13:06:51] @Duesentrieb_: I will have a look. -) Nice Idea! [13:07:01] A series of patches to Mediawiki that adds a bunch of new extensions. [13:07:31] I'm not the IT guy, basically I'm a glorified data entry guy, who has been charged with learning all this and getting it working for my boss. [13:07:42] Jera: from a quick look at the code, it seems that displaytitle is a core parser function. so you should be able to do {{#displaytitle:whatever}} [13:08:01] Now THAT, I think, is what I was looking for. I'm going to go try that. [13:08:14] Duesentrieb_, I want to make a template page that a person can fill in to create content for an existing page. Does an extension for such a thing exist [13:09:22] Displaytitle doesn't seem to work. [13:10:06] Just tried it. It didn't parse it. [13:10:46] Jera: nor does it for me when trying it - though it is on the code, kind of. i have never tried it before... hm, make sure $wgAllowDisplayTitle is set to true... [13:11:14] but it's true per default [13:11:25] It's in the .css file, or the localsettings.php? [13:11:32] ah, i see [13:11:34] "This option was disabled by default in MediaWiki until 1.10.0, as previous implementations were buggy, incompatible with caching, and didn't perform title normalisation checks, which are essential to allow correct linking to articles." [13:12:00] Jera: $wgAllowDisplayTitle = true; goes into localsettings. [13:12:03] So it doesn't work, or it's turned off? [13:12:15] Alright, so I just add that line, or find it in the localsettings and change it? [13:12:20] Jera: btw, don't modify css files. simply edit the wiki page MediaWiki:common.css [13:12:31] Jera: add it, near the end [13:12:36] Okay. [13:12:56] I've never edited a php file, so I'll give it a try. [13:13:30] Mediawiki:common.css is a file I was looking for for a while. You can add custom styles like
to it, correct? [13:14:56] still doesn't parse it on mine [13:15:22] Duesentrieb_: I got an error message. [13:15:27] has anybody thought of having multiple category namespaces before? http://en.wiktionary.org/wiki/Wiktionary:Beer_parlour#Grouping_types_of_categories [13:15:28] Jera: uh,
is not a stile... it's an html element you can apply styles to. [13:15:39] Right, that's what I meant. [13:16:02] hippietrail: i think that goes under the topic of "namespace manager". yea, there has been talk about that. also multiple talk namespaces, etc [13:16:23] Jera: it's one of the places to define css styles. the right place for site-wise, skin-independant styles [13:16:38] remember to do a hard relaod after changing it (ctrl-r in firefox) [13:16:39] Warning: Cannot modify header information - headers already sent by (output started at .../localsettings.php:127) in .../WebResponse.php on line 10. [13:16:39] Duesentrieb_: cool thanks [13:17:08] In wiki/includes/Webresponse.php on line 10. [13:17:15] Does something in that need to be changed as well? [13:17:26] have you edited Webresponse.php? [13:17:41] No. [13:17:52] Jera: you broke your LocalSettings.php. make sure you put all stuff before the ending ?> mark, and there are no blank lines after that mark [13:17:56] Varange: No, I haven't. I didn't know I needed too. [13:18:02] Varange: "output started at .../localsettings.php:127" [13:18:09] Alright. [13:18:12] Varange: WebResponse is trying to send headers. [13:18:17] spaces at the end of the file will do that too [13:18:24] oh ok [13:18:24] yea [13:18:28] :) [13:18:29] and a BOM at the start, etc [13:19:00] *TimStarling just spent 5 minutes trying to work out why this wasn't working: [13:19:02] while ($bytePos < $bytePos + $bytes) { [13:19:04] ... [13:19:07] Duesentrieb_: No go. [13:19:08] $bytePos++; [13:19:09] } [13:19:14] Duesentrieb_: Still doesn't parse. [13:19:26] Duesentrieb_, in {{#displaytitle:something}}, what is the syntactical meaning of the hash (#)? [13:19:31] Duesentrieb_: is there somewhere i can read about proposed multiple talk pages or multiple category namespaces? nothing is said here: http://meta.wikimedia.org/wiki/Help:Namespace_manager [13:20:15] hippietrail: no idea. [13:20:22] thanks anyway (-: [13:20:33] Varange: "parser function". though displaytitle may work differently. [13:20:59] argh, why do some people have to spam useless templates all over the place on mediawiki.org? [13:21:10] w: interwikilink should be fine for everyone [13:21:26] <_Danny_B_> Duesentrieb_, hippietrail: it actually is {{DISPLAYTITLE:title}} see http://meta.wikimedia.org/wiki/Help:Magic_words#Miscellany [13:22:01] _Danny_B_: on my test wiki, that seems to be interpreted (i.e. hidden from output), but has no effect. might be my custom skin, though [13:22:55] <_Danny_B_> Duesentrieb_: if it works with hash sign, the documentation should be rewritten then [13:23:21] _Danny_B_: afaik core parser functions wor with and without, for backward compatibility... but i might be wrong again [13:23:40] by the way, __NOEDITSECTION__ hides the edit links [13:23:45] way cool [13:23:53] Duesentrieb_, thanks [13:24:03] _Danny_B_: i see no effect on wikipedia either. [13:24:12] Duesentrieb_: Thank you for your help thus far, Duesentrieb_. Is there anything else I need to change. It's still not working. [13:24:27] <_Danny_B_> as the link above says, it's off on wmf sites [13:24:39] <_Danny_B_> oups [13:24:47] <_Danny_B_> forget me ;-) [13:24:49] Jera: "not working" how? you probably made a syntax error when editing LocalSettings.php. [13:24:56] like, forgetting the ";" at the end of the line. [13:25:30] Jera: anyway, read the page danny linked to, displaytitle is documented there [13:25:37] *Duesentrieb_ wonders why he can'T get it working [13:26:21] I put the ; at the end, copied exactly what you wrote. [13:26:28] And added it right before the ?> [13:26:33] No spaces after the ?> [13:26:39] Checking out the link now. [13:26:56] Jera: you are still getting the same error? [13:27:31] Oh! [13:27:55] It is {{displaytitle:whatever}} not {{#displaytitle:whatever}} I'll give it a shot. [13:28:55] Okay, it gives me a link to a Template [13:29:07] Template:Displaytitle:Frumpy Stuff [13:29:29] 03(NEW) Closure_of_Chamorro_Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10706 15enhancement; normal; Wikimedia: General/Unknown; (triyork) [13:29:33] Gonna read up [13:29:35] yea, that's what you get if it's not enabled. [13:29:42] Well, I enabled it. [13:29:50] I think I enabled it. [13:30:26] what version of mediawiki are you using? [13:30:45] How can I find that out? [13:30:50] I didn't do the install. [13:30:55] Special:Version [13:31:13] go to your wiki's special:version page and see there what's the MediaWiki version [13:31:31] 1.10.0 [13:31:32] Got it. [13:31:38] Thanks, Jack_Phoenix. [13:31:57] np [13:32:31] The good news is I'm getting paid for this conversation. [13:32:34] The bad news is, you aren't. [13:32:39] Thanks for the help. [13:32:42] should work then. but as i said, i can't get it to work eihter :/ [13:32:53] hehe [13:32:56] Okay, so despite the fact it SHOULD work, we have determined it does not work. [13:32:59] well [13:33:10] you can use a template and some JS to change a page's title [13:33:17] if you cannot get DISPLAYTITLE working [13:33:18] yuck [13:33:34] Is there another work around. It will be about two days of ten hour work to change all the links in my current wiki files. [13:33:39] Java Script? [13:33:40] yeah, it's a dirty hack, but as long as it works... :] [13:33:43] 14(DUP) Add "changes since last visit" link to Special: Watchlist and page history - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10291 +comment (10raimond.spekking) [13:33:44] 03(mod) Add "show new changes starting from" links to Watchlist and Newpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4903 +comment (10raimond.spekking) [13:33:48] Jera: but again - have you though about simply using redirects? it has the same effect, kind if [13:33:50] As long as it works, yeah. [13:33:56] <_Danny_B_> {{DISPLAYTITLE:}} is obviously been parsed, but the result isn't correct behavior [13:34:36] I have, except that will double the number of pages. Unless I can hide them from the all pages... this is a professional site, being used by my boss's clientelle, which includes almost every major car company. [13:35:04] What is the JS "dirty hack"? [13:35:23] <_Danny_B_> Jack_Phoenix: it isn't that dirty [13:35:33] <_Danny_B_> if it's done correctly [13:35:37] :) [13:35:41] Please note I'm in undiscovered country here. I've never done anything more than BASIC HTML. [13:35:51] So assume you are talking to a fifth grader. [13:35:57] Well, a slow fifth grader. [13:36:02] Remedial. [13:36:18] <_Danny_B_> Jera: check http://cs.wikipedia.org/wiki/Wikipedie:V%C5%A1echno_smazat%2C_v%C5%A1echny_zablokovat especially the header [13:36:30] I'm really nothing more than a glorified Data Entry person atm. Though this job is growing my skill set. [13:36:47] Umm... It's not in english. [13:37:04] <_Danny_B_> Jera: you don't need english to "read" the title ;-) [13:37:25] Jera, I got the DISPLAYTITLE thingy working on mine [13:37:25] True. [13:37:29] How? [13:37:36] <_Danny_B_> Varange: where? [13:37:37] And I don't see a title. I see an angry face. [13:37:47] www.marketplacenz.com [13:37:59] I'm peeking at it now. [13:38:05] <_Danny_B_> Jera: yes, that's it - done by JS [13:38:20] <_Danny_B_> which replaces the header with different content even images [13:38:22] Alright, so I gotta copy the Java script and modify? [13:38:33] Jera, is your Localsettings working now? [13:38:43] <_Danny_B_> Duesentrieb_: how about caching on wmf sites, could that be caused by that? [13:38:57] My Localsettings is working, as in it is not returning errors. But the DisplayTitle command is not. [13:39:12] It gives me a template to a non-existant page. [13:39:18] template link. [13:39:20] <_Danny_B_> Jera: you'll need to create template say {{PageTitle}} [13:39:29] Jera, what is the url? [13:39:31] Alright. How do I do that. [13:39:51] why doesn't it work I wonder [13:40:06] <_Danny_B_> Jera: {{DISPLAYTITLE:foo}} is the only correct syntax. not {{DisplayTitle:}} not {{Displaytitle:}} not {{#displayitle:}} [13:40:07] http://www.nanonomicon.com/wiki/index.php?title=General_Ledger_Overview [13:40:20] Let me try that. [13:40:22] yes, it would give you a template link if it didn't parse it [13:40:22] All caps. [13:40:32] Does it parse spaces, or do I need to use Underscores? [13:40:42] <_Danny_B_> should parse spcs [13:41:04] Oh Emm Gee. [13:41:11] It worked! [13:41:19] By God man, you have saved me TWO DAYS OF WORK... [13:41:36] send him a bill [13:41:44] And since this is a project by project job, you have also cut off two days of full pay. But THANK YOU! [13:41:55] Jera, here's mine, just copy and paste: __NOTOC__ __NOEDITSECTION__ {{DISPLAYTITLE:Marketplace NZ}} [13:42:14] Add that to my edit page? [13:42:21] Oh, if you remove the edit section, how do you edit the page later? [13:42:53] Jera, you see the words underneath "Link to [[Main Page]]" . Want to remove that? [13:43:08] Jera: enter action=edit as a url parameter [13:43:10] you click the edit link at the top of the page [13:43:22] or that :) [13:43:25] As a URL parameter? [13:43:27] (i though that was removed too) [13:43:30] it just removes those annoying links in the page content [13:43:33] Well, I was wondering what the no edit section does. [13:43:38] Oh! [13:43:40] Okay. [13:43:47] you can hide the edit links on all pages using css, too. [13:44:08] section edit links, that is. you'd want to keep the page edit "tab" [13:44:20] How do you remove the Link to main page? [13:45:13] from where? [13:45:26] Under the title. [13:45:37] now you go to MediaWiki:Common.css and add this: div#contentSub {display:none;} [13:45:51] to remove that annoying little text under the new title [13:46:06] Jera: you mean the link to the "parent" page, if you use subpages? like, the link to "foo" on "foo/bar"? [13:46:09] Where is the Common.css located? [13:46:20] Jera: in the database [13:46:35] Jera: it's a wiki page. MediaWiki:common.css [13:46:58] http://www.nanonomicon.com/wiki/MediaWiki:Common.css [13:47:11] but it reports that the page doesn't exist [13:47:19] Yeah. [13:47:20] It does. [13:47:25] hmmm [13:47:32] it doesn't exist per default [13:47:33] The CSS it is using right now, for all my pages, is the monobook.css [13:47:41] I got a 404 [13:47:44] there would eb no point. nothing to put there [13:47:50] why did it exist in mine then? [13:47:55] simply create it, add css code, do a hard forced reload [13:48:05] http://www.marketplacenz.com/wiki/MediaWiki:Common.css [13:48:07] Create a page called common.css? [13:48:09] Varange: because you created it? look at the page hostory [13:48:20] Jera: no, called MediaWiki:common.css [13:48:26] namespaces are important. [13:48:27] ahh, the template creator probably did [13:48:53] Ahh, I had to add it at the end of index.php?title= [13:48:59] If that isn't there, I get 404's. [13:49:14] It says it's a common.css used for all wiki pages. [13:49:32] indeed. [13:49:55] Worked. [13:49:57] if you need index.php?title= or not depends on your url reqriting settings, etc. [13:49:59] Okay, one last question. [13:50:13] btw - putting the wiki into the document root is a bad idea if you want to use "pretty" urls. [13:50:17] And this is less to do with Mediawiki and more to do with HTML. [13:50:29] How do I set up a custom style for the DIV tag? [13:50:52] I know how to use it on the spot, but setting up a style is a bit different. [13:50:53] Jera: define it in common.css [13:51:01] Right, how do I define it. Syntax wise. [13:51:03] simply define a style for an css class there [13:51:07] use the class attribute in the div [13:51:12] well done Jera, looks good [13:51:16] Thanks. [13:51:23] Jera: err, learn css? .classname { ...styles... } [13:51:38] I've been hunting tutorials, but none of them have been... basic enough. [13:51:46] Any links you might know of that will help me? [13:51:53] SelfHTML is greate... but not available in english [13:52:05] You speak Duetsch? [13:52:26] Your name looked German. [13:52:37] And I don't remember barely any of my class, except how to say very. [13:52:40]
and then on the CSS page: .niceclass {color:red;background-color:fuchsia;} [13:52:42] So it wouldn't help even if it was in German. [13:52:56] That's it? [13:52:57] try www.htmlhelp.com [13:53:13] they have a super CSS reference guide [13:53:55] http://www.htmlhelp.com/reference/css/properties.html [13:54:11] Like
and on css page .lefcol {size:20%;padding:1.5%;} or something to that affect? [13:54:24] Ich nicht spreche Deutsch [13:54:32] Ja ja [13:54:46] sprechen or spreche? [13:54:55] sprechen is the infinitive, nm. [13:54:57] ich nichts wissen [13:55:10] *Jera sighs. [13:55:17] ich scheiss doof [13:55:19] You are making me want to dig out my German 101 book. [13:55:21] lol [13:55:34] I only took a year, and passed it with a C-. [13:55:38] And that was two years ago. [13:55:40] oh dear [13:55:48] not bad [13:55:49] It is NOT an easy language to learn. [13:55:52] But I loved it. [13:56:03] I want to learn more when I go back to school this fall. [13:56:05] very easy. Ask Duesentrieb_ [13:56:36] Duesentrieb_ = JetThrust [13:56:37] Well, I like Germans, and I like their language. So it is on my to do list. [13:56:46] where are you from? [13:56:47] Duesentrieb_ can help me practice someday in the near future. [13:56:50] Me? [13:56:53] yes [13:57:04] The land of the Great Lakes. Michigan, United States. [13:57:09] Best state in the U.S. [13:57:14] Better 'n Texas. [13:57:19] ahhh [13:57:22] Jera: kein problem, wenn ich gerade da bin :) [13:57:23] Texas is good? [13:57:28] Though don't say that around Texans... they're usually armed. [13:57:38] Kein is small, right? [13:57:41] No. [13:57:46] Yes. [13:57:49] Small problem. [13:57:55] Texas reminds me of chimpanzees somehow. Wonder why. [13:58:01] *L* [13:58:09] Stay away from the Bush's in Texas. [13:58:10] kein kleines Problem [13:58:12] Bushes. [13:58:14] Jera: "klein" is small. "kein" is "no", as in "no problem". [13:58:19] Oh! [13:58:20] Roger. [13:58:25] I forgot how to say Thanks. [13:58:35] :P [13:58:38] da laust mich der George! [13:58:38] danke. :] [13:58:39] buy me a beer. [13:58:45] *Jera blinks. [13:58:48] How could I forget that. [13:58:49] Danke. [13:58:55] *Jack_Phoenix would like to remind everyone that he doesn't know German :] [13:59:03] How can I disable all Templates?? [13:59:09] Jack_Phoenix, try Dutch then [13:59:18] heh [13:59:22] Roger. And not the american beer. [13:59:24] Good beer. [13:59:32] Maybe Canadian, as I'm not terribly well to do. [13:59:33] Jens__: add all namespaces to $wgNonincludableNamespaces [13:59:36] I must admit that I don't get the template thing generally [13:59:46] I have no idea what a template is used for. [13:59:50] same [14:00:14] templates are a very handy way to stick standard chunks of text/wikicode on a page [14:00:26] like a warning message, or an info box (filled using parameters), etc [14:00:26] Danke Danien Düsentrieb! [14:00:37] Oh, OK [14:00:44] just look at any larger page on mediawiki. templates tend to be used a lot, especially for "boxy" things [14:00:45] thanks [14:01:03] @Daniel, can you repeat the var name, i just closed the chat window ^^ [14:01:12] $wgNonincludableNamespaces [14:01:21] this is new in 1.10 [14:01:33] I notice that some templates only appear on some pages. How is that achieved? The category? [14:01:43] hm? [14:01:45] and then I can still open pages like /wiki/Special:IAmSpecial ? [14:01:59] Duesentrieb_, Varange, and _Danny_B_. Thank you for all your help. [14:02:04] Next time we meet, drinks are on me. [14:02:06] Varange: templates are placed into pages explicitely. using {{templatename}} [14:02:27] Duesentrieb_, Ahh, I see. is it possible to put JS into templates? [14:02:27] Varange: http://www.mediawiki.org/wiki/Help:Templates [14:02:31] thank you [14:02:32] no. [14:02:36] that would be dangerous [14:02:39] :( [14:02:42] templates are just pages [14:02:43] So, I could put a standard disclaimer, on every page, using a Template? [14:02:47] anyone can create or modify them [14:02:49] ok [14:03:05] Like {{sillylegaldisclaimer}} [14:03:19] Jera: if you want it on *every* page, templates would be a bit combersome. better edit some system message that is shown on every page anyway. Look at Special:Allmessages [14:03:25] And it would say, "The author is in no way responsible for any personal injury that occurs from reading this page." [14:03:47] Jera: there's an impressum link at the bottom per default.... [14:03:48] I want to put a textarea on a page and a submit button. When the user clicks the button, the text in the textarea is put into the page. Can such a thing be done? [14:03:51] How long does it take to umm... get Mediawiki savvy? [14:04:02] Jera, 52 years [14:04:06] Varange: there are extensions for this. i think on is named "createpage" or something [14:04:09] Ah. My boss isn't paying for that. [14:04:17] Duesentrieb_, ahh, cool. Thanks [14:04:17] I use Wikidot. [14:04:28] www.earthcolonialgovernment.wikidot.com [14:04:46] http://www.earthcolonialgovernment.wikidot.com [14:04:47] Sorry. [14:04:49] Jera: getting the basics should be fast. from there, it's incremental learning. i don't know *everything* about it either - i think not even brion does. [14:04:58] it's constantly being extended anyway [14:05:13] Well, I sold my boss on a Wiki for his business help documentation. [14:05:16] And now I'm suffering for it. [14:05:17] Duesentrieb_: You have a website? [14:05:32] But feel free to check out my wiki. [14:05:38] Someday it may end up in Mediawiki. [14:06:30] Jens__: brightbyte.de [14:08:55] looks good -) [14:10:54] Alright, out for now. [14:10:55] Thanks. [14:15:04] Duesentrieb_: I added $wgNonincludableNamespaces = array( -1, -2, 2, 4, 6, 8, 10, 12, 14 ); to my LocalSettings.php but there's still a red link to the Template:&action=edit site in my article -( [14:15:50] Jens__: a red link, yes. but if you create it, it will not be included. [14:16:02] Jens__: also note that you did not block out the talk namespaces (odd numbers) [14:17:01] My Array is not complete? I copied the Namespace Identifiers from this site: http://www.mediawiki.org/wiki/Namespace [14:17:28] There are no odd numbers listet -( [14:18:02] Jens__: well, add all positive odd numbers up to 15. these are the talk namespaces corresponding to the respective "normal" namespaces [14:18:22] "MediaWiki ships with 10 built-in namespaces, of which 8 have associated discussion namespaces, for a total of 18 built-in namespaces." [14:18:24] You know where I can find a complette list? [14:18:27] -t [14:18:36] Ah, okay! SORRY :D [14:18:51] Jens__: there are constants defined for all default namespaces in Defines.php [14:19:07] Have to look it up... mom.. [14:20:14] <^demon> (Main), Talk, Project, Project talk, Category, Category Talk, Template, Template talk, Image, Image Talk, MediaWiki, MediaWiki talk, Help, Help talk, Special, Media [14:25:15] if i only want users to access Pages from Articles / Categories then my Array should look like: $wgNonincludableNamespaces = array( -1, -2, /* 0 NS_MAIN ,*/ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, /* 14 NS_CATEGORY ,*/ 15 ); ?? [14:30:38] I also want to disable all images/image galleries (inclduing there description).. is there an option? was looking in defaultsettings.php but could not find what i am looking for [14:39:06] Jens__: you can prevent people from uploading images, but not from using them once they are there. [14:39:19] upload is disabled per default. external images are disabled, too. [14:47:11] 03(NEW) Please clean up and lock Wolof Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10707 15enhancement; normal; Wikimedia: Site requests; (jorohr) [14:48:14] brion, This is odd... I'm doing timings with the Italian Wikipedia vs. English.. 620,017 rows in the Italian version, 5.3M in the English version. With my SQL "quickfixes" at import time, English now takes 46 minutes to import, Italian takes 60 minutes. WTH? [14:49:12] I can't figure out why, but there is one interesting warning from mysql when I query the db: PRIMARY and INDEX keys should not both be set for column `rev_page` [14:49:17] on table 'revision' [14:51:35] Duesentrieb_: thank you! [14:51:59] stupid question ever, but is there a way to wrap text around a table if the table is using wikicode? [14:52:04] Any ideas on how to make a relative link to this; index.php?title=Special:Userlogin&type=signup [14:52:29] can't seem to figure it out for the likes of me! :( [14:53:04] and mediawiki's table help only talks about putting text into the table itself. [14:53:05] "wrap text around"? [14:53:14] yeah [14:53:23] so text is flowing around the table [14:53:34] like if I had a very small table on the left side the screen [14:53:46] a huge realestate is available on the ride side [14:53:49] you should be able to use the regular style constructs [14:54:03] ... which woul dbe how ? :( [14:54:18] never done this before... ever [14:54:21] as per html tables [14:54:55] the only thing that google gives me is
type thing [14:55:02] but i'm using

tags [14:55:04] {| style="blah...;" [15:01:38] bah, i love it when google wont let you find what you want [15:03:20] oop, I see why... the table format changed from MyISAM to InnoDB in the latest mediawiki source code [15:04:51] can someone please tell me why Text is in the articles and what that means? [15:10:30] 03(NEW) Enable deletion of log enteries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10708 15enhancement; normal; MediaWiki: General/Unknown; (meno25bugzilla) [15:12:19] hi all [15:15:35] 04(REOPENED) New namespace for Tables and Charts on English Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2194 +comment (10l8qjvx002) [15:23:28] still dumping 3,876,000 pages [15:23:32] when will it end [15:23:34] i cant take it anymor [15:25:48] 03(mod) Enable deletion of log enteries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10708 +comment (10JSchulz_4587) [15:26:47] 14(DUP) Enable deletion of log enteries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10708 +comment (10JSchulz_4587) [15:26:48] 03(mod) Oversight should be able to hide log entries as well - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7871 +comment (10JSchulz_4587) [15:36:44] 03(mod) Feature request: Upload to commons from Wikipedia, Wikibooks, etc. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1552 +comment (10alpertron) [15:47:22] i am setting up styles for tables in MediaWiki:Monobook.css but it doesnt change anything :( [15:51:46] aton``: show me [15:56:10] aton: common.css [16:44:38] hi, have probably a configuration problem. I can run my 1.10.0 withou problems on one machine, after exporting database and installing sorce on new machine... Everx page I call I receive the page "index.php" Someone any idea? [16:45:55] Kako: the pathes you have in your LocalSettings.php do not match the way your wbserver is configured [16:46:42] ? $wgScriptPath = ""; [16:47:50] Duesentrieb: Which pathes? I doesn't had configured any path. I simple unpacked the tar-ball, so they should all be default. [16:54:49] Duesentrieb: maybe you misunderstood me, I see the hole skin, all pictures.. The only thing I can't see correctly is the text of my Article. The text I see ist "...

...

index.php

...
...
...
..." [16:56:04] Duesentrieb: I don't have an article "index.php". It seems to be so, that the title in the http-request is ignored or overwritten... [17:04:32] 03aaron * r24396 10/trunk/extensions/LanguageSelector/LanguageSelector.php: *Make hook return a value [17:07:26] re [17:07:48] when writing an extension, how can I check whether a page is a category or not? [17:08:03] do I need to use the page_namespace field? [17:14:20] rigid: look in the category table. [17:15:00] MinuteElectron: what for? [17:15:35] rigid: yes, use page_namespace. that's probably the easiest way. [17:16:11] Anyone know if its possible to use MediaWiki with Bluehost?\ [17:17:02] TOR_CNR, thanks... [17:17:06] TOR_CNR: You could scan the table to see if the page was in a category or not. [17:17:27] is there a cleaner way than doing "if($page_namespace == 14)" ? [17:17:37] NS_NAMESPACE or something...? [17:17:54] can I rely on the fact that Categories have page_namespace==14? [17:18:01] TOR_CNR: My bad. [17:18:03] MinuteElectron: that's not what he wants :) [17:18:18] <_mary_kate_> NS_CATEGORY [17:18:22] MinuteElectron, tnx anyway... it's the good will that counts :) [17:18:23] TOR_CNR: I read 'is' as 'in [17:18:28] <_mary_kate_> but it will always be 14 [17:18:30] *nod* [17:18:33] TOR_CNR: I read 'is' as 'is in'. [17:18:42] _mary_kate_, it doesn't work then... neither $NS_CATEGORY nor NS_CATEGORY [17:18:55] _mary_kate_: for various values of "always";-) [17:18:59] do i have to include something? [17:19:14] <_mary_kate_> rigid: it's in Defines.php, but that should be included by default [17:19:22] hm [17:21:18] it works! [17:21:21] thanks! [17:21:32] must have had a typo before... [17:21:51] <_mary_kate_> NotACat: i don't think the standard namespace numbers will ever change. too many things assume them. [17:22:00] *rigid has modified the tag-cloud extension to also count page-visits :) [17:22:27] now there are 2 modes, weighing by articles-per-category or weighing by visits-per-article [17:22:52] my first mediawiki-hack :) [17:28:15] I'm new to MW hacking -- what's the cleanest way to add/change text on system pages, such as the file information page (ImagePage.php)? [17:28:56] <_mary_kate_> krohnk: go to Special:Allmessages on your wiki [17:29:26] Ok, and edit the appropriate placeholder? [17:29:37] <_mary_kate_> yes [17:30:38] So there's nothing inherently wrong about using or extending an existing message for a different purpose? [17:34:19] krohnk: pay attention: some messages are not parsed (they are simply added to the page without any modification) and for the messages that are parsed, if you use a template the text in section is *not* removed [17:36:02] ok. is there a place where I can read more about this? [17:37:09] 03(NEW) Filtering Special:Allmessages by extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10709 15enhancement; normal; Wikimedia: General/Unknown; (meno25bugzilla) [17:38:28] 03(mod) Filtering Special:Allmessages by extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10709 (10raimond.spekking) [17:39:59] 10709 sounds like special:translate [17:40:55] hi Nikerabbit [17:43:20] daniel! [17:44:27] is there a special reason that any html injected into the title line of a page via an an extension gets escaped? [17:44:33] hey dungodung :) [17:44:38] :) [17:50:14] 03(NEW) Move summary should display redirect page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10710 15enhancement; normal; MediaWiki: History/Diffs; (meno25bugzilla) [17:51:09] I did mention it here too, http://lists.wikimedia.org/pipermail/wikitech-l/2007-July/032465.html can anybody enlighten me? [17:51:24] hi dungodung [17:51:32] :P [17:54:34] <_aib> is there anything I can do to help convince someone to make a tarball of /var/lib/bugzilla/template/en/custom/ (or equivalent) on the bugzilla server and place it in http://download.wikimedia.org/bugzilla/ ? [17:55:13] <_aib> or better yet, to put that code into the subversion repository? according to the internets, this is a recurring request...the theme is simply great and a lot of people would greatly appreciate the open sourcing of mediazilla... [17:59:30] How do I programatticaly edit the data on a page, specifically a User: page? [17:59:48] <_mary_kate_> _aib: it's already been open sourced several times, it gets tiring to keep updating it with the current templates [18:00:00] I have a form and I want the data I submit from the form to appear on the user's page - basically like a profile editor [18:00:01] <_aib> that's because those templates aren't in the subversion repository [18:00:21] <_aib> which would make the notion of "updating" much more transparent... [18:00:29] AphelionZ: which form? [18:01:20] Arnomane: I added a few fields to the Special:Preferences page on the user profile tab [18:02:20] AphelionZ: so you changed the mediawiki code? [18:02:36] Arnomane: yup, no other choice.. no hooks were available [18:03:06] i am setting up styles for tables in MediaWiki:Monobook.css but it doesnt change anything :( this is my css: http://rafb.net/p/dVRp1062.html [18:04:01] AphelionZ: ok you want this info to appear on the user page, hm you need to enter the parserhook and insert your infos there e.g. in a table [18:05:13] AphelionZ: http://www.mediawiki.org/wiki/Extensions_FAQ#Parser_hooks [18:06:09] Arnomane: ok, not sure I fully understand yet... [18:06:18] Anyone know which plugin adds support for tags? [18:06:19] AphelionZ: so basically you need to check the page title and everytime you're in user: namespace grap the name and then pull the info of the preferences and display it in a nice custom table [18:07:13] Arnomane: What about just making whatever they enter into those form fields the contents of their user page? [18:07:33] Instead of rendering a different section entirely [18:07:43] AphelionZ: you mean diretcly the wiki source code [18:08:05] well this will cause a lot of headaches when people start to edit their user pages themselves [18:08:18] Arnomane: well I was going to just prevent them from doing so [18:08:45] Arnomane: basically I wanted to change the edit link on their OWN user page to go to the My Preferences page, and if they're looking at somebody elses, don't even show it [18:08:55] 03(NEW) Open Source MediaZilla! - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10711 15enhancement; high; Wikimedia: MediaZilla; (reflection) [18:09:11] ok well I am only just an occasional mediawiki extension coder so I cant give you much more information... [18:09:29] Arnomane: thanks anyway : [18:09:31] +coding [18:09:31] :) [18:10:26] Does anybody else know how to edit the contents of an Article with code? I know you can instantiate an article class.. maybe that's the right start? [18:10:29] I'm trying to figure out where the defaults at initial mediawiki install time come from... for example, the 'you@example.com' email that is stuffed into the form. I've rgrepped the entire tree, and its not in there. Where do these install-time defaults come from? [18:11:13] setuid: LocalSettings.php and DefaultSettings.php [18:11:14] probably from DefaultSettings.php [18:11:23] Arnomane, I looked there, these values aren't there [18:11:27] setuid: apache config [18:11:32] ialexandre, nope [18:12:22] *ialexandre read config/index.php [18:12:24] hrm... ok, you@example.com comes from there, what about the other defaults in that initial mw setup form? [18:12:46] *setuid looks again [18:12:53] Maybe you@example.com was a red-herring [18:13:28] setuid: usually all defaults are in DefaultSettings.php [18:13:42] Arnomane, Looks like it was in the apache config and config/index.php [18:13:46] COmbination of the two [18:14:00] I just want to speed that process up, I have 64 wikis to set up in 8 languages [18:14:53] ok ;-) [18:17:14] Is there any reason to keep _separate_ config/index.php files across wikis? I have a tree of vhosted wikis here, all using the same source code base, and same database.. separate tables with separate table prefixes [18:17:17] Anyone know which plugin adds support for tags? [18:17:19] I should just symlink these [18:17:44] CydeWeys: Syntax Highlight GeSHi extension adds the source tag :) [18:17:48] Stuff like this: [18:18:05] http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [18:18:08] ^that [18:19:25] Thanks [18:19:33] np :) [18:19:55] setuid: the default e-mail is taken form $_SERVER["SERVER_ADMIN"] [18:20:04] Right, I see that [18:21:04] brion: ping [18:21:52] good 'ol bash [18:21:54] for i in en de it pl fr sv es nl pt; do cd $i/ep && ln -s ../../../config . && cd -; done; [18:22:42] crap, it doesn't like that [18:23:51] That's weird, the code checks to see if $MW_ROOT/config is a "real directory", and not a symlink [18:25:47] wtf. Fatal error: Call to undefined function mw_get_session_save_path() in /usr/local/www/apache22/data/mediawiki/wikis/en/ep/config/index.php on line 420 [18:26:14] Ok, that's wacky [18:29:37] can noone help me? i am setting up styles for tables in MediaWiki:Monobook.css but it doesnt change anything :( this is my css: http://rafb.net/p/dVRp1062.html [18:29:55] the tables just have no borders [18:30:46] aton``: did you refresh your cache ? [18:34:33] ialexandre, yes i did [18:36:59] aton``: i can't open the link [18:38:58] I should convert this whole thing back to perl... sigh. [18:51:43] is there a way to make an image link to another article in the wiki? [18:52:15] tried [[article|[[image:blah.jpg]]]] but it didn't work! :o [19:01:34] a ha [19:01:40] found what i was looking for [19:03:19] exit [19:08:39] brion, ping [19:08:55] brion, I thought current mwdumper had fixes for using table prefixes [19:08:59] Was that pulled back out? [19:11:58] hrm, I found it [19:12:06] My old copy had some patches I put in [19:14:31] i'm having some trouble using $wgUser->setOption. the changes don't seem to stick, even after calling $wgUser->saveSettings(). Does anyone have any experience with this? [19:23:37] 03(mod) After Semantic MediaWiki setup fatal error occures on every edit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9857 +comment (10disfasia) [19:29:49] what is the way to edit the contents of an article using php? [19:34:30] I have made some changes to mediawiki 1.8.2 to allow for login with information cards, but I was unable to do it without directly modifying the UserloginTemplate in Userlogin.php. Is there a way to modify the login page via the AuthPlugin that is "not breaking the rules?" I can only see a way to set items in the modifyUITemplate method, which isn't really sufficient for changing how the login page fundamentally looks. [19:35:16] I want to provide an extension that allows users to login with information cards, but can see no way to do it with the AuthPlugin as it now stands. [19:43:36] can I just do $article = new Article('my title'); and then $article->doEdit('my edit', 'my comment')? [19:43:40] is it that simple? [19:50:06] Hello. I am running multiple wikis on one box. Now i like to keep up to date, but updating 30 wiki code bases gets a bit tiresome. Anyone got a good idea or a link to a page/article on how to use the same set of scripts on all the wikis, but only have the essential things differ, like local settings and images directory? [19:54:06] SimonMoon: http://www.mediawiki.org/wiki/Wiki_farm [19:54:18] 03(mod) Make customised BugZilla source available in Subversion - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10711 high->normal; summary (10robchur) [20:00:34] I can't get options changed in an extension to stick. i am calling $wgUser->saveSettings(), but for some reason the changes aren't saved in the database. [20:00:40] does anyone have any suggestions? [20:00:53] rainman-sr: thanks a lot, i knew i saw something somewhere but i couldnt find it with search anywhere. [20:04:16] 03(mod) Filtering Special:Allmessages by extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10709 (10robchur) [20:06:15] $custUserTitle = new Title::newFromText("User:Hen"); <-- what am I doing wrong here? [20:06:46] *Cbrown1023 wonders where my request is on brion's long-to-do-list [20:08:15] AphelionZ: delete the "new" [20:21:21] ialexandre thanks!! that worked :) [20:22:13] 03(NEW) Subst not working inside REF tag - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10712 15enhancement; normal; MediaWiki extensions: Cite; (huji.huji) [20:23:38] 14(DUP) Subst not working inside REF tag - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10712 +comment (10raimond.spekking) [20:23:39] 03(mod) Template parameters unavailable to parser tags - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2257 +comment (10raimond.spekking) [20:36:41] is there a way to remove the edit link from all User: pages? [20:45:29] <_Danny_B_> AphelionZ: by css [20:46:52] _Danny_B_: yeah? [20:47:09] _Danny_B_: there are enough selectors to differentiate between namespaces? [20:47:49] <_Danny_B_> AphelionZ: body.ns-2 #ca-edit { display: none; } [20:48:00] <_Danny_B_> put it in common.css [20:48:09] ok cool, thanks [20:51:57] <_Danny_B_> AphelionZ: be aware of it's still present in html [21:01:36] Raymond_, I didn't think that would be a duplicate bug. I mean 1072 [21:02:04] hojjat: not? feel free to reopen, sorry if i have done a mistake [21:02:11] 03(mod) SVG: installed fonts not being rendered - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10501 (10kjoonlee) [21:02:27] I'm discussing it with you, because I'm uncertain [21:02:54] sure :) [21:03:17] May be I'm wrong, but... does this fact that the subst works when outside a ref mean that, REF can be rewritten in a way that it would do its job "after" the subst is done? [21:03:29] As far as I understand it's a generell problem with the parser, that all magic things in will not be parsed [21:04:32] that's not really a bug, ut expected behavior - though it would be nice to give extension authors a bit more controll over this stuff [21:05:49] ok, I'm convinced [21:06:40] hmm [21:38:33] Low commit rate the last day or two; Is anything amiss with the SVN or is this just a fluke? [21:40:21] fluke... [21:40:58] k. [21:41:28] 03david * r24397 10/branches/liquidthreads/ (. includes/EditPage.php): (log message trimmed) [21:41:30] Merged revisions 24388-24396 via svnmerge from [21:41:32] svn+ssh://david@svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [21:41:34] ........ [21:41:36] r24394 | raymond | 2007-07-26 04:05:47 -0700 (Thu, 26 Jul 2007) | 2 lines [21:41:38] Adding "thumb" to the image editbutton. In this way it's mainly used. [21:41:40] Per suggestion of Denis Barthel (de.wp) [21:41:42] maybe we want brion give some time/rest before he rollout 1.11 :) [21:42:15] good night from germany [21:43:54] 03erik * r24398 10/trunk/extensions/Wikidata/ (3 files in 2 dirs): safe fallback strategy on dm lookup [21:46:57] 03erik * r24399 10/trunk/extensions/Wikidata/ (App.php OmegaWiki/DefinedMeaning.php): hide copy panel [22:02:57] I can't help laughing [22:08:29] Nikerabbit, ? [22:09:23] you'd knew if you saw it [22:09:52] link? [22:10:06] nope [22:10:22] lol why? [22:10:33] hi Raymond_ [22:10:43] hi ThomasV [22:11:13] Raymond_: #wikisource [22:11:27] if you have time... [22:11:58] n8 [22:33:11] 03rotem * r24400 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Update for he. [22:55:50] <_Danny_B_> any op here? looks like nick@c-69-252-158-241.hsd1.ga.comcast.net would need some ban [22:58:50] Stupidity never dies... It only multiplies [23:02:31] <_Danny_B_> who runs mwbot? [23:02:44] <_mary_kate_> amidaniel [23:03:01] <_Danny_B_> actually not mwbot, the wikibugs bot (i accidentaly misplaced them) [23:03:06] <_mary_kate_> brion [23:03:26] <_Danny_B_> ok [23:03:34] <_Danny_B_> thx [23:07:15] <_Danny_B_> attack of the brion's clones [23:23:42] bye [23:26:15] 03brion * r24401 10/trunk/extensions/OAI/oaiUpdate.php: Whoops, left in a debugging bit which woul dbreak it entirely if someone updated. :) [23:28:37] Hmm, anyone got a good idea how to handle Sitemaps (google, yahoo etc)? There is the maintanance script that simply includes everything, which is not ideal. There is the extension which needs a page load as an administrator in order to work properly, again very ugly solution. Anyone got a link that might have a better solution ? [23:31:35] I use that crapola GoogleSitemaps extension [23:31:43] It really is shit, but it works for my needs :) [23:32:02] And I've been too lazy to try to clean it up :D [23:33:31] Well the internal script puts all the crap in that will just blow your rank down the drain [23:34:04] And that extension creates a nice file, but i dont want to go and visit each of X qikis i have every day... [23:34:56] Yeah, none are really ideal [23:35:13] There are some little perl scripts that work of apache log data that are supposedly not bad [23:35:16] I haven't tried them though [23:35:22] s/of/off of [23:36:06] brion_away, brion_away_ ? [23:36:42] Could you backport specialprotectedpages? [23:37:22] 1.10 still uses the group by, and it acts up with null pr_expiry values [23:38:18] MW has a lot of data on the pages already, so it shouldnt be too hard. Maybe if i take appart the extension and the internal script mix them up in a creative way, i get something that can run off off cron or so.. [23:38:49] i thought there was a script that ran directly, like a sitemap.xml.php that you put in the root.. but cant find it anywhere anymore [23:41:11] VoiceOfAll: ain't doing nothing today that's not related to a support contract or something ON FIRE [23:41:37] brion: http://bugzilla.wikimedia.org/show_bug.cgi?id=10700 [23:41:43] not *that* serious I guess [23:42:09] not serious no [23:47:18] *amidaniel sets something on fire to watch brion dance on his day off [23:47:41] The nly dance hell do is the one to your place and kill you with a spoon :) [23:47:58] 03(NEW) Update for Lao language (lo) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10713 15enhancement; normal; MediaWiki: Internationalization; (manop) [23:48:32] 03(mod) Update for Lao language (lo) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10713 (10manop) [23:49:46] VoA: Do you mind if I reenable anonymous acct creation on teh testwiki? [23:51:06] amidaniel: go ahead [23:52:34] k