[00:00:06] As it specifies for, in fact, any parsing error. [00:00:11] In any type of XML. [00:00:18] Strangely enough, browsers are more kindly toward errors. [00:00:46] Which is good, because otherwise MW wouldn't display for any page with, say, a duplicate ID. [00:01:27] escualido: read up on microformats. it's all about embedding metadata in html, in a nice, compliant and unobstrusive way. [00:01:44] ok [00:01:54] didn't hear about that before [00:02:30] Hey everybody! I have a sidebar section called "me too!" - with the exclamation point. The element name appears to be "me_too.21" but in Common.css div#p-me_too { font-size: .95em; } doesn't work and neither does me_too! nor me_too.21 - any thoughts??? [00:02:41] You know what would be funny? If someone added an element with id="ca-unwatch" to some page, and screwed up the entire AJAX watch system. [00:03:11] Steev43230, do you have a link to your wiki? [00:03:22] If it's producing dots, that will cause a problem. [00:03:22] Maybe they would unwatch all of California - and it would go into the sea - link is olr.freemason.com [00:03:31] http://olr.freemason.com [00:03:51] Which is interesting. XHTML id allows dots, I think, but you can't use it in a CSS selector [00:03:52] . [00:03:59] Probably some escaping mechanism. [00:04:06] Don't make me use the sad face now.... [00:04:17] No, I'm sure there's some escaping mechanism. Let me see. [00:04:18] I'll try quotes and slashes and stuff. [00:04:27] Steev43230: try this [00:04:40] * Link|metoo [00:04:49] and at MediaWiki:Metoo put in: me too! [00:04:54] the ID should then be 'metoo' [00:05:25] or, heh [00:05:35] Lemme see, in the Sidebar I use *Link|metoo - then create the page and use element metoo? [00:05:45] li[id="me_too.21"] [00:06:03] use element metoo in the css, that is ? [00:06:16] the parameters in MediaWiki:Sidebar are the names of existing pages in the MediaWiki: namespace from which to grab the info for links and titles [00:06:23] if those pages don't exist, the text is rendered as literal [00:06:34] Ah [00:06:46] the ID though appears to always be the literal text, so you can have the id != the text by using it as it was intended [00:06:55] another route, heh [00:07:03] What do you mean by li[id="me_too.21"] ? [00:07:09] a third idea: call it |Me too [00:07:10] li#me_too\.21 should work. [00:07:21] then use #me_too:after {content:" !"} [00:07:28] what does li mean - list item?? [00:07:28] No, no. [00:07:35] Just use li#me_too\.21 . [00:07:40] You're overcomplicating this. :) [00:07:40] bah, you're no fun [00:07:47] and you're not? ^_^ [00:08:06] No, I'm just telling him how to enter the selector he wants. [00:08:08] Where do I put this li#me_too\.21 ? Ideally I would prefer not to craete a page [00:08:10] fair [00:08:18] Steev43230, the same place you put any CSS selector . . . [00:08:24] OK [00:08:36] li[id="me_too.21"] is an advanced css selector, wouldn't work in older browsers [00:08:38] div#p-me_too { font-size: .95em; } -> div#p-me_too\.21 { font-size: .95em; } [00:08:40] Or whatever. [00:08:42] div#p-li#me_too\.21 { font-size: .95em; } [00:08:44] Splarka, does it work in IE7? [00:08:49] Steev43230, no, see above. [00:08:51] div#p-me_too { font-size: .95em; } -> div#p-me_too\.21 { font-size: .95em; } [00:08:52] it means tag[element="parameter"] [00:09:00] Just replace "me_too.21" with "me_too\.21". [00:09:06] do what sim says [00:09:15] but call me sometime when you want to get more advanced (wink) [00:09:47] Thanks - div#p-me_too\.21 { font-size: .95em; } works fine in Firefox [00:10:26] Next question - what is "community portal" generally used for? [00:10:48] Steev43230, beats me. [00:11:07] Splarka, I can do advanced, I just don't do it needlessly or by sacrificing compatibility with IE6. :P [00:11:09] throwback to bygone days [00:11:22] Sim: the third method was more of a "you could also..." trivia [00:11:30] the second is the proper way to do it [00:11:36] to allow for translation [00:11:39] IE6 doesn't support your [id=...] method. [00:11:41] That's true. [00:11:44] no shit ^_^ [00:11:44] If translation is desired. [00:12:10] remember the &uselang tricks on commons uploads [00:12:12] IE is not desired. There. I've solved everyone's problems! [00:12:23] sometimes translation is desired for non-translation [00:12:34] bye now [00:13:30] "Ask a question, get an assault" [00:25:46] Simetrical: did you find the reason for those crazy fixup loads? [00:26:10] domas, nope. At least they won't load Opera 9.5 fixes now, though. :D [00:26:54] go on, find the reason! [00:26:55] ;-) [00:28:26] it was the professor in the computer lab with Windows... [00:37:49] brion: you there? [00:37:55] wot [00:38:13] *qsheets had a strike of genius ;) [00:38:41] I fixed the Cite extension w/ Special:Version [00:39:23] you have to use HTML entities for avar's name [00:39:36] raw text should be just fine [00:39:43] unless it's misencoded, of course [00:39:57] might of been... [00:40:16] file seems ok to me [00:40:50] well, at least my wiki works now [00:42:22] :D [00:43:54] <(^^,)> [00:44:04] still no response to http://bugzilla.wikimedia.org/show_bug.cgi?id=12483 about a bug in the Titleblacklist [00:44:22] *darkcode provided a patch [00:46:28] ok got a couple dump threads running [00:48:50] \o/ [00:50:29] darkcode: the underscore thing? [00:50:37] yes [00:51:24] moment [00:56:54] Is there a CSS element line for links to pages not created yet? I know how to set color for visited, unvisted, etc. but not for unexisting. See http://olr.freemason.com/wiki/index.php?title=MediaWiki:Common.css - thanks [00:57:12] a.new [00:57:22] kewl!!!!!! [00:57:43] rar Splarka [00:57:45] note you can also do a.new:visited etc [00:57:49] rar [00:58:26] You mean a new link that has been visited? [00:58:53] a link to a page that hasn't been created yet, but has been visited [00:59:05] 03brion * r29200 10/trunk/extensions/TitleBlacklist/TitleBlacklist.list.php: * (bug 12483) Transform '_' to ' ' in blacklist regexes for convenience [00:59:15] gotcha [00:59:15] 03(FIXED) TitleBlacklist fails to match regular expressions containing "_ " correctly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12483 +comment (10brion) [01:01:20] a:new:hover ? [01:01:29] a.new:hover [01:01:44] "new" is a class= on the tag [01:01:45] Yep, sorry. How about a.visited:hover ? [01:01:52] nope [01:01:56] :( [01:01:59] :visited is a pseudoelement applied by the browser [01:02:17] not a class in the tag [01:02:21] 03brion * r29201 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialSearch.php): [01:02:21] * (bug 9939) Special:Search now sets focus to search input box when no existing [01:02:21] search is active [01:02:29] I don't know if you can combine pseudoelements [01:02:55] does work on FF - check my site to see, but give me 2 min to fix up the css for new links [01:03:40] 03(mod) Focus cursor in search box when accessing search page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9939 (10brion) [01:05:43] Nope - I've done something wrong - theyire not showing up in green.... [01:06:00] Greetings [01:06:01] brion, replacing the underscore with a space after the trim leads to cases of "_foo" being converted to " foo" and the space not trimmed... [01:06:34] darkcode: garbage in, garbage out [01:08:06] Still not working for it - any thoughts on http://olr.freemason.com/wiki/index.php?title=MediaWiki:Common.css ? [01:09:01] I'm developing a tool derived from Mediawiki parser class. I asked some day ago about finding the original contributor list (thanks again to who helped me), I'm here again just to ask if putting the list in a CREDITS file in the project root dir, in the about box and in the html documentation is adequate for the GPL [01:09:19] "Join OLR" in the "me too!" section is a link to a page not yet created [01:09:41] (sorry for the very poor english) [01:10:07] Steev43230: sidebar links don't get class="new" [01:10:24] OK let me check again - thanks [01:10:41] so you can't style them based on whether the page exists or not [01:11:07] only inline links, and certain p-caction buttons [01:11:25] Sigfrido, if you say it was from MediaWiki and give the website, that's probably enough for us. You can get a list of contributors with svn blame if you really want. [01:11:32] Or use the credits at the top, which I assume there are. [01:11:55] huh :visited:hover does work, how silly [01:12:20] brion, I'm familiar with that principal, the only reason I was suggesting this fix was because of how its handled internally if its done wrongly, e.g. [[ foo]] [01:12:34] On the main page, at the very bottom is a link to [[Membership]] but not in green :( [01:12:54] brion, in order to be consistent [01:12:57] 03brion * r29202 10/trunk/extensions/LuceneSearch/LuceneSearch_body.php: * (bug 9939) Put focus in the search box when going to Special:Search with no active search [01:13:20] I do wish new links would not bring up an edit box though! [01:13:27] 03(FIXED) Focus cursor in search box when accessing search page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9939 +comment (10brion) [01:13:59] huh, :active:hover works too, or at least it pre-empts both :active and :hover, and :active doesn't seem to be triggerable in that case... [01:14:20] *Splarka learnified something, (if almost useless) [01:15:16] Simetrical: there is no credit at the top of parser.php, I got the contributors list from svn and added real names (where applicable) from your project website. Of course I also link to mediawiki.org. Just wondering if giving credits in that way is good for a derivative work :-) [01:16:34] 03brion * r29203 10/trunk/extensions/LuceneSearch/ (LuceneSearch.php LuceneSearch_body.php): Disable the suggestion type-ahead since it's broken. [01:17:04] Thoughts on the problem with my CSS? [01:17:59] what do you want to do still? [01:18:05] you could change the code to not append action=edit, or you could use javascript to remove it [01:18:55] I want links to non-existent pages to be green - the link at th ebottom of my main page is such a link - [[Membership]] at the bottom of http:\\olr.freemason.com [01:19:21] Um, and no, folks, they wouldn't let me have any of the "national treasure" - something about I don't take care of my toys [01:19:32] a.new { color: green; } [01:19:50] in /includes/Linker.php [01:19:58] darkcode, my css shows that but not working. [01:19:59] $q = 'action=edit'; [01:20:10] mmm, treasure [01:20:41] maybe you got something overriding it somewhere else [01:20:51] the :hover is working [01:21:00] like MediaWiki:Monobook.css [01:21:03] a:link {color: blue !important } [01:21:06] Maybe these need to be above the others? [01:21:08] don't use !important [01:21:14] you shouldn't need it for anything you're doing [01:21:33] hmmm, why? I thought I hadda use !important [01:21:37] nope [01:21:42] just be more specific [01:21:49] or at least as specific as the existing css [01:22:14] http://olr.freemason.com/wiki/skins/monobook/main.css?97 [01:22:22] a:visited { color: #5a3696; } [01:22:54] OIC - you mean I don't need to use !important if I use a color code instead [01:22:55] can be overwritten simply with a:visited { color: red } in a later sheet [01:22:57] "cascading" [01:22:59] no [01:23:01] I don't mean that [01:23:30] #bodyContent a:visited { color: red } would preempt a later a:visited { color: blue } for example [01:23:41] egads [01:23:48] your CSS is way messed up [01:24:12] a:new and a.new, duplicate definitions, too many !importants, heh [01:25:11] I tried to use a simpler one, without the repetition, and it didn't work so I went back to this. [01:25:29] your using a:new, not a.new [01:25:36] that's why the color isn't taking effect [01:25:53] Aw!!! I thought I fixed that! [01:28:04] Steev43230, try this: http://p.defau.lt/?DGmDWYPj1Q_m7NBkbOrpqg [01:30:07] maybe Steev43230 wants to change more styles for links for more then just the content body [01:30:14] You re-did that whole thing? wow [01:30:17] well [01:30:23] Steev43230: that will only affect the body [01:30:30] prefix with #column-one for the UI/navigation [01:30:43] eg #column-one a:link {color:foo;} [01:31:36] bbl [01:31:39] UI/navigation? #column-one is whole sidebar or just that navigation section? [01:32:21] its the whole sidebar as well as the tabs at the top, like main, edit, move, etc. [01:35:02] and the user, my talk, my preferences, my watchlist, etc links [01:35:09] ok [01:37:21] not specifying #bodycontent has what effect? [01:37:48] all links [01:37:53] anywhere on the page [01:38:02] even sidebar? [01:38:06] yes [01:39:16] Sparkla said, sidebar links don't get class="new" - so that would be an exception for "new" links then, right? [01:39:46] yes [01:42:34] This is interesting. If you create a page, but then delete it, it will not be in the class="new". Apparently. [01:44:59] nonsense [01:45:27] deleting a page invalidates the cache of all pages that link there [01:45:56] unless you're talking about the sidebar of course... [01:46:19] links in the sidebar are not registered, for good reason [01:47:55] Comment withdrawn. Visited link color overriding... [01:50:05] What is #p-personal ? [01:50:25] it's an ID selector [01:50:51] it selects an element with id="p-personal" [01:51:30] 03(NEW) Warning needed if dimensions of upload differ - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12490 15enhancement; normal; MediaWiki: Images; (phi1ipp) [01:52:20] why is a.new limited to #p-personal ? [01:53:35] it's not, any element can have the "new" class [01:53:38] a.new, #p-personal a.new { color: #ba0000; } is the line from main.css [01:54:51] is it possible to bypass the protect screen with url parameters like you can do with delete and move? [01:54:52] note the comma [01:55:03] Charitwo: only using javascript [01:55:34] heh, figured. Not the biggest js whiz [01:56:08] hold on... [01:56:09] Steev43230: a comma makes it so that the rule applies to both parts of the selector [01:56:31] the first part is a.new, that applies to all a elements with class=new [01:56:49] the second part applies to all a elements with class=new that are descendents of the p-personal element [01:57:10] ok [01:57:24] the tricky thing, you see, is when two rules apply to the same element [01:57:38] what is a.stub ? [01:57:47] in that case, there is a complex algorithm which determines which one wins [01:58:09] new is for links to pages not created yet, not sure what stub is. [01:58:48] the reason the "#p-personal a.new" thing is there is to override some other rule that also applies to those elements [01:59:01] Charitwo: http://en.wikipedia.org/wiki/User:Splarka/formfiller.js [01:59:14] a.stub is for stub links [01:59:21] that's nicely commented; shouldn't be too hard to figure out [01:59:24] what is a s tub link?? [01:59:39] links to small pages [01:59:41] short articles [02:00:01] it's an ugly feature that should not be used [02:00:11] a user preference, off by default [02:00:39] So, in my CSS, to set the colors for new links I should use: [02:00:44] a.new, #p-personal a.new { color: #ba0000; } [02:00:45] a.new:visited, #p-personal a.new:visited {color: #a55858;} [02:00:49] ? [02:01:04] with whatever colors I want [02:01:15] might work, might not [02:01:17] CSS sucks [02:01:28] don't tell bert I said that though [02:01:45] I'll tell Ernie. I'm sure he won't tell Bert though.... [02:07:19] TimStarling, it does, doesn't it? It's mostly better than HTML, is all. [02:07:30] But in HTML, of course, you could at least easily understand WTF you were doing. [02:07:48] In terms of tables and so on. [02:08:41] ah, it doesnt seem to be working in the way I wanted to, I wanted to trick mediawiki into doing something you normally can't do [02:10:56] MZMcBride: [02:33:13] How do I create an XML dump? [02:33:30] I don't have access to /maintenance/dumpBackup.php [02:36:38] anyone on? [02:36:51] ... [02:36:57] :'( [03:08:02] 03shinjiman * r29204 10/trunk/phase3/languages/messages/ (4 files): [03:08:02] * Update Chinese translations [03:08:02] * Update Cantonese translations [03:08:02] * Update Old Chinese / Late Time Chinese translations [04:24:53] Fresh install of mw 1.11.0 on my MacBook Pro running Leopard.. unpacked contents, moved tree to under my www directory, pointed browser as it.... just sees the directory [04:26:55] http://httpd.apache.org/docs/1.3/mod/mod_dir.html#directoryindex [04:27:14] needs to include index.php [04:27:34] Thanks [04:27:45] I knew what the basic problem is, but wasn't really sure how to word it. [04:37:16] weird, still not working [04:41:01] restart the webserver [04:41:16] i.e. apache [04:41:24] oh yeah [04:41:49] do you know how I can tell which httpd.conf is being used by apache? [04:42:35] Cause I'm seeing both /private/etc/apache2/httpd.conf and /private/etc/httpd/httpd.conf [04:44:01] httpd -V [04:44:52] -D HTTPD_ROOT="/usr/local/apache" [04:44:57] -D SERVER_CONFIG_FILE="conf/httpd.conf" [04:46:13] thanks Tim [04:46:53] weird... wonder why apple left the httpd/httpd.conf around [05:37:45] 03tstarling * r29205 10/trunk/phase3/ (includes/Parser.php maintenance/parserTests.txt): [05:37:45] * Removed noargs/noparse in braceSubstitution(), they have been largely obsolete since the introduction of replace_callback() and now just cause bugs and confusion. Did some related code cleanup. [05:37:45] * Fixed a bug 529 regression -- uncovered line-start syntax in parser function results was not recognised. Added a parser test for this failure plus another three bug 529 tests for good measure. [05:39:25] mmm.... seems some users having some requests from the Chinese WP:VPT.... [05:39:59] it's requesting to adding the delete reason drop down list for the Image: deletion form... [05:40:29] file a bug report [05:41:43] I've found a related bug at bugzilla:9633, should I just add the comment on that bug, or file another new bug? [05:43:48] I think it is the extended case for the Image: namespace, there's already had been added for other namespaces. [05:44:08] ... so I will reopen the bug for the Image: namespace. :) [05:44:17] when was the drop-down list added for ordinary deletion? [05:45:09] reopening bugs isn't very nice [05:45:46] if I were you, I'd file it as a new bug report, severity=enhancement, then contact huji to see if he wants to do it [05:46:22] huji was the one who added this feature, so he's most likely to be interested in extending it [05:47:34] 04(REOPENED) Add a predefined list of delete reasons to the deletion form - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9633 +comment (10shinjiman) [05:48:13] ok, too late now [05:48:24] oops, too late and it have been reopened........ :( I will file a new bug instead. :( [05:48:30] no no [05:48:42] huji was on the cc list, so he'll get that request [05:49:25] no need to add to the spam by closing it again and opening another one [05:50:22] okay, I think I will leave it as a reopened bug request [05:52:55] i think there are other open bugs for the Image: namespace... [05:53:23] http://bugzilla.wikimedia.org/show_bug.cgi?id=12214 [05:55:39] mmm...... I think I would need to close the bug 9633 for now as the bug 12214 is present..... :( [05:56:45] add another comment citing bug 12214 when you close it [05:57:33] 03(FIXED) Add a predefined list of delete reasons to the deletion form - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9633 +comment (10shinjiman) [05:57:36] okay, done and cited the bug 12214. [06:24:15] I have a standard install of Mediawiki on my website. Anyone know why archives.org would not be maintaining a copy of it in their web archives? [06:24:49] they archive pretty infrequently; how recent is your install? [06:25:02] 1 September 2006 [06:25:17] do google and other search engines pick it up? [06:26:43] Yyyyyup, just did a Google search for an invented word on my wiki, and there it is! [06:27:00] (My wiki is dedicated to a space-opera universe I created...) [06:27:29] (...so I plugged in one of the race-names from it to Google.) [06:28:06] hmm... interesting [06:28:35] wayback DOES however have my mainpage archived, and my phpBB site, but not the wiki. [06:29:41] Although, oddly enough, they don't have everything on my regular website archived, either... :-| [06:32:09] Hmmmmm... it has the main menu page of my phpBB, but clicking on any of the forums yeilds "Not in Archive" [06:33:28] I mean, aren't they supposed to spider an entire site and preserve every publicly-accessible page on a given site? [06:33:55] that's outside the scope of this channel :) [06:34:02] :D [06:34:42] I came on here thinking maybe I had a "Do not arcbive" flag set somewhere in the system without me wanting it to be, but... [06:36:41] did you check your uncrawled pages for (shouldn't show on action=view) and your robots.txt ? [06:37:38] Okay, I've followed an FAQ link on the archives.org "Not in Archive" page, and it directed me to a "Crawl My Site" page, where I can make them crawl my site. [06:39:07] Hmmmmmm... looking at page-source... [06:39:16] and then sit back and wait 6-12 months for results [06:39:24] hehe [06:39:42] in this age of web2.0 that is quite a wait [06:41:58] Splarka: you mean your age of web 2.0 BC, right? [06:42:03] <(^^,)> [06:42:40] Well, looking at the source for the main page of my wiki, I do see alot of rel="nofollow" in the External links part of the article... [06:43:34] Five links have that on them, but none of the others, on the main page... [06:45:04] And only on the section related to External links... (which point to some pages outside the wiki related to the wiki, most of which are elsewhere on my own site but one of which is an external site) [06:45:19] http://www.joshua-wopr.com/wiki/ [06:45:24] That's my wiki. [06:45:56] I'm guessing the "nofollow" just means to the crawler to not bother going there, right? [06:47:16] That is, it's NOT a "delete these places from your memory if you've already got 'em," right? [06:51:34] NomadOfNorad: right enough interpretation for your purposes, I am not sure if archive.org even does anything with nonfollow in links or meta tags [06:52:57] Well, that seemed to be the only one of those tags I could find in the sources, so I guess I'm safe... :D [06:53:26] probably wouldn't hurt to put something at http://www.joshua-wopr.com/robots.txt [06:53:36] Anyway, it doesn't matter to me if it takes 6 months before my site gets archived... it's not like there's tons of activity there! :^D [06:54:21] Other than a 404, you mean, right? :D [06:54:35] Splarka: Other than a 404, you mean, right? :D [06:54:40] yah [06:54:44] :D [06:54:55] would save bandwidth to put something there instead of sending all that error text [06:55:06] #robots: go wild! [06:55:28] NomadOfNorad: just an fyi, you wiki's name doesn't have to be condensed into one word [06:55:37] The 404 is what my webspace provider pops up if one enters ANY non-existent page addy at my site. [06:55:39] camelcase [06:56:06] qsheets: True, but... :D [06:56:13] lol [06:56:30] hey, you should game google a bit too, white-hat of course [06:56:35] http://www.joshua-wopr.com/wiki/index.php?title=MediaWiki:Pagetitle [06:56:52] $1 - {{SITENAME}}, the wiki about this thing I created [06:57:12] [06:57:15] I'm looking at http://en.wikipedia.org/wiki/Robots.txt right now.. [06:58:32] There's nothing at my site I don't want crawled and archived, tho... [06:59:54] I've dragged the URL shortcut to my desktop for that page, so I can come back later to it. [07:06:56] The actual line that had a nofollow in it reads 

The Joshua-Wopr.com main page with some interesting links. [07:07:53] I don't see anything like  in there, tho... [07:08:32] What purpose would Mediawiki have for the "nofollow" in this part of the document? [07:08:55] Some internal reason, perhaps? [07:12:57] Is there a way to add spaces to my Wiki name (as it appears in the headers) without potentially breaking something? [07:18:54] Splarka: So what would that suggested bit of Google-gaming code you suggested actually accomplish? [07:20:32] *qsheets hasn't played Yahoo! pool in forever [07:24:58] qsheets: Aren't'cha afraid you'll get your computer wet if you jump into the Yahoo! pool? :D [07:25:46] that must've been the reason why i stopped <(^^,)> [07:25:54] hehe [07:26:19] NomadOfNorad, well for example, wikiality.com's rank for the google search for "Truthiness" went from #70 to #2 in about 3 days, when I added it to their MediaWiki:Pagetitle -> $1 - {{SITENAME}}, the Truthiness Encyclopedia [07:26:43] extreme example though [07:27:03] they had it as their site motto, but only in the logo (not as text anywhere easily crawled) [07:27:45] you can add spaces to your page titles without changing {{SITENAME}}, just don't use {{SITENAME}} there [07:28:09] Well, concidering that the wiki is all space-opera stuff (planet names, race names, characters names, ultra-tech device descriptions...) I don't exactly think truthiness is a factor here. :D :D :D :D [07:28:21] the "nofollow" is used by google for ranking, it is a (disputed) anti-spam device [07:28:56] that is, any content that is user editable, especially on blogs, the links are given the rel="nofollow" attribute, meaning that for the purposes of page rank, those links are ignored (as potential linkspam) [07:29:12] So is that why Mediawiki automatically inserts nofollow to all External Links links? [07:29:16] Wikimedia and mediawiki have seesawed on the issue several times [07:29:19] yah [07:29:30] that is a setting, you can change it if you need [07:29:55] So that Google won't think I'm spamming their links by having those links there? [07:30:02] well [07:30:13] if you ever allow anonymous editing, you might get hit with spambots [07:30:38] if you never will, you might get occasionally hit by a spambot that registers, but there are not as many [07:30:44] Ah. Well, I've got anonymous editting turned off as a matter of course. I'm not a glutton for punishment! :D [07:31:14] In fact, you have to be a specially-enabled user to be able to post and edit the wiki. [07:31:28] That is, I have to hand-enable each person that wants to edit pages there. [07:31:28] set $wgNoFollowLinks = false; if you want then [07:32:39] And at the moment, there's only me and one other guy that has writes to edit or create pages there. [07:32:51] er... rights to, that is [07:32:57] LMAO [07:34:48] Of the 10 users I've got on my wiki, 8 of them are complete gibberish names... hehe... [07:43:49] 03siebrand * r29206 10/trunk/phase3/ (13 files in 2 dirs): [07:43:49] Localisation updates for core messages from Betawiki (2008-01-03 8:37 CET) [07:43:49] * lad (new), lij (new) [07:46:45] 03siebrand * r29207 10/trunk/phase3/languages/messages/MessagesLb.php: Namespace names, skin names, special page names added [08:02:19] Well, I'm calling it a night. Thanks for the help, ppl... :D [08:12:05] 03raymond * r29208 10/trunk/extensions/ (3 files in 3 dirs): [08:12:05] * Updates German for Semantic extensions: [08:12:05] ** Use "Du" instead of "Sie" as German localization of MediaWiki itself uses "Du" since 1.11 [09:48:55] hi! [09:50:16] i'm italia.. xD [09:50:20] *italian [09:50:39] deal [09:59:31] 03(mod) Broken rendering with missing template parameters in templates called inside {{#if :}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12488 15enhancement->normal; +comment (10tstarling) [10:00:23] TimStarling: Do you know much about the new comit that allows image redirects? [10:01:11] no [10:17:39] 03siebrand * r29209 10/trunk/extensions/ (8 files in 8 dirs): Localisation updates for extensions messages from Betawiki (2008-01-03 11:06 CET) [10:24:57] 03(mod) Restrict move to autoconfirmed on itwiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11326 (10brovvnout+wikibugzilla) [10:52:19] 03nikerabbit * r29210 10/trunk/extensions/Translate/MessageChecks.php: [10:52:19] * Allow user: and user_talk links [10:52:19] * Fix escaping [10:57:53] 03nikerabbit * r29211 10/trunk/extensions/Translate/MessageChecks.php: * More whitelisting [10:58:40] 03siebrand * r29212 10/trunk/extensions/SemanticForms/languages/SF_Messages.php: Update French, fix encoding [11:06:16] Hello I backed up my old mediawiki database with mysqldump and imported to another machine, however I experience this problem now http://openpaste.org/en/4505/ [11:11:43] if its related I don't have AdminSettings.php anywhere [11:18:02] 03siebrand * r29213 10/trunk/extensions/ (17 files in 17 dirs): Localisation updates for extensions messages from Betawiki (language check December 2007) [11:19:34] I got an e-mail about 4 days ago by a "Chad" whp says that SUL will be available in 2 weeks time..is this true ? [11:23:14] Warpath: tell him to cite sources [11:23:38] XD XD [11:23:55] it was forwarded to many people ;) [11:28:14] Can anyone tell me why I cannot upload files to my mediawiki? thanks [11:28:37] But I have already changed the Localsetting.php for uploading [11:37:06] fireflies: are you there? [11:49:45] 03grondin * r29214 10/trunk/extensions/SemanticForms/languages/SF_Messages.php: Localisation updates for extensions from Betawiki (2008-01-03 12:30 UTC) [12:03:07] 03(NEW) Closing of the Nauruan Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12491 trivial; normal; Wikimedia: General/Unknown; (thogol) [12:04:37] Hello I backed up my old mediawiki database with mysqldump and imported to another machine, however I experience this problem now http://openpaste.org/en/4505/ [12:04:41] I am missing one table... [12:09:24] +e [12:14:53] Hey guys, I'm trying to write a bot to connect to my friend's MediaWiki wiki, and I'm trying to mass-upload some pages. [12:14:57] But the wiki is denying me =( [12:15:55] I've tried many things, and finally right now I have the bot login like a regular user, download the edit page, copy the wpStartime and wpEdittime parameters, and pass everything to the submit page. [12:16:00] But I'm getting this error: [12:17:15] `The database did not find the text of a page that it should have found, named "/testing/". This is usually caused by following an outdated diff or history link to a page that has been deleted. If this is not the case, you may have found a bug in the software. Please report this to an administrator, making note of the URL. ` [12:18:56] if i'm registered at mediawiki am i automatically registered at the freenode channel!? [12:19:43] You shouldn't be, moonlight. [12:20:26] ok so if i try to register and nickserv says moonlight is already registered it doesn't mean me then°? [12:23:28] Hey. Does anyone recognize this in apache2's error log: request failed: error reading the headers, referer: [12:23:44] That happens after I try to save changes to any page [12:53:20] 03siebrand * r29215 10/trunk/phase3/ (7 files in 2 dirs): Localisation updates for core messages from Betawiki (2008-01-03 13:49 CET) [13:17:21] 03siebrand * r29216 10/trunk/extensions/ (27 files in 26 dirs): Localisation updates for extension messages from Betawiki (2008-01-03 14:04 CET) [13:20:44] morning [13:43:01] Is it possible to remove a page as a contributer to a mediawiki wiki? [13:43:33] 03grondin * r29217 10/trunk/extensions/SemanticForms/languages/SF_Messages.php: Localisation updates for extensions from Betawiki (2008-01-03 14:26 UTC) [13:47:42] Crashed: no. [13:47:51] Crashed: you must have sysop perms to do so. [13:47:58] Okay thank you [13:48:00] you can certainly remove all the content on the page, as a new edit. [13:48:04] but it'll always show up in the history. [13:48:27] Yeah I just wanted to remove a few test pages I created on my friend's wiki. [13:48:39] *Morbus nods. [13:48:47] I was wondering also, does MediaWiki have a good bot interface? [13:49:06] i've only used the upload plugin, but i'm pretty happy with pymediawikibot, yes. [13:49:08] er. [13:49:10] pywikipediabot. [13:49:21] What language is it written in? [13:49:26] python [13:49:30] Oh [13:49:30] http://meta.wikimedia.org/wiki/Pywikipedia [13:49:51] I spent 5 hours yesterday trying to figure out why my own python bot didn't work./ [13:49:58] heh [13:50:12] this bot took me about 30 minutes to setup [13:50:18] i've had no problems uploading images since [13:50:21] Turns out I had to pass certain parameters like wpStartime, wpEdittime, wpEditToken, and wpAutoSummary. [13:50:23] .but there are a number of plugins for it. [13:51:26] Well I already finished, I just wanted to know if MediaWiki itself had a bot interface. [13:51:42] Because right now the bot acts exactly like a user behind a browser. [13:51:43] it does, yes, both from the python bot mentioned, and also from the sysop pages. [13:51:50] where one can nominate an account as a "bot". [13:51:55] and that'd remove the bot's display in recentchanges, et. [13:52:05] yes, that's why pywikipediabot does too. [13:52:07] Ah, I should get me sysop status then =) [13:52:10] ("like a user behind a browser") [13:52:20] *that's what. [13:52:47] okay thanks :) [13:53:26] Oh and one more: does mediawiki have any sort of 'spam' protection that would prevent me from uploading 500 pages? [13:53:38] 500 pages in a short amount of time. [13:53:42] i don't know of anything that would traffic limit edits, no. [13:54:17] the pywikipediabot does have a throttle flag, however. [13:54:21] to be friendlier to sites. [13:54:28] but the core software doesn't stop that many edits [13:54:34] in a short amount of time. [13:55:28] I'm rather new to editing wikis, so I was wondering how everyone else would handle styles like this: http://dmwiki.tibbius.com/index.php?title=/client [13:55:47] "styles"? [13:55:55] Styling pages. [13:56:04] That page there looks nothing like traditional wiki pages. [13:56:09] well, the way you did it is fine. [13:56:18] if it's a one-off thing, you can do it inline, like you've done. [13:56:22] Is it? I had to insert CSS into the wiki's stylesheet. [13:56:28] if it's a common thing, you'd add the CSS into MediaWiki:Common.css [13:56:35] and then just markup the class name (or ID). [13:56:36] Ahh cool. Thanks. :) [13:56:58] http://www.videounderbelly.com/wiki/MediaWiki:Common.css [13:56:59] for example. [13:57:02] I thought there'd be built-in ways of doing something similar to that page. [13:57:21] I hardly know any wiki syntax. Just = and [[]] :P [13:58:01] what's DM? [13:58:33] nevermind. [13:58:48] It's a programming language for a 2d network gaming system. [13:58:57] aye, foudn that out with a few more clicks ;) [13:59:09] :P [13:59:22] I'm trying to convert the DM Reference into wiki pages. [14:00:09] http://developer.byond.com/docs/ref/ [14:00:30] Converting that ugly, very-outdated source of information into seperate wiki pages so people can update it. [14:01:37] Meh, I'm just full of questions: Is there an easy way to add code syntax highlighting to mediawiki? [14:01:55] there's an extension for that. [14:02:04] hit mediawiki.org, hit Extensions link in left sidebar, search. [14:02:18] Ooh, thanks. [14:02:58] Crashed: and, for what it's worth, I was asking lots of questions last week. I'm remaining here to pay penance with answers ;) [14:03:20] Crashed: there are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at [14:03:20] world would be a better place if there was a "ask a question, give an answer" penny dish in every irc chan ;) [14:03:21] http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [14:18:34] 03grondin * r29218 10/trunk/extensions/ContributionScores/ (ContributionScores.i18n.php ContributionScores.php): Optimization of internationalization messages code [14:19:50] anyone know how i could duplicate teh category breadcrumb at the bottom of http://en.marveldatabase.com/User:Morbus_Iff? [14:25:32] Morbus: Do you mean you want this fancy Subcategories listed? [14:25:47] /listed/lising/ [14:25:54] argh. listing for sure. [14:25:58] PunkRock: yes. there are a number of extensions that display just /one/ entry at the /top/ of the page. [14:26:09] but i'd like it shown for all categories assigned to a page... [14:26:18] like, bottom of http://en.marveldatabase.com/Cain_Marko_%28Earth-616%29 [14:26:52] and, ideally, i'd want to hide the existing Category data. [14:30:32] Morbus: sorry. dunno. but i would think it's one of (template, skin) [14:38:40] I've got a problem here [14:39:06] every time I try to save a page on my local wiki, Apache.exe process goes to 99% CPU usage and it takes a few seconds for the page to be saved [14:39:09] Page load is fine [14:39:30] any idea how to find where the problem lies? (having that I haven't change Apache setting recently) [14:45:25] Does the same thing happen when a new user account signs up to your wiki, hojjat? [14:45:36] it is a local wiki MissMetal [14:45:40] run on my machine [14:45:46] if you want, I can try to create a new account [14:45:53] but how does that relate to the issue [14:45:54] ? [14:46:07] sure, it would be good to see if its any writing to the database that causing the issue or just page saves [14:46:31] well, I expect if it was due to writing to DB, the mysql.exe process should have used resources, not apache.exe [14:46:33] anyways, I'll check it [14:46:41] I'll try to delete a page, for example [14:46:46] AH [14:46:49] i see what you mean [14:47:13] deleted in a fraction of a second [14:47:19] My company has tasked me with creating a custom "Company Profile" form for companies to add their information to our wiki. I am relatively new to MW and was hoping someone could point me in the right direction. Is there a way to create custom form templates in MW? [14:47:19] it has nothing to do with DB [14:47:30] so do the page saves work even tho they peg the cpu? [14:48:03] yeah [14:48:09] im not familiar with running apache on windows, it still does create logs by default, right? do they show anything useful? [14:49:12] oh, I noticed restoring the deleted page also takes a lot of time [14:49:27] ...weird [14:52:28] *Hojjat is checking logs [14:52:38] is there a way to purge the logs? [14:56:02] has anybody ever changed the css of his own wiki!? [14:56:51] mondschein lots of times?! [14:57:56] have you ever changed the height of the (edit etc.) thing you know what i mean!? are you working with monobook°? [14:58:35] most of the time, yes [14:59:21] have you ever exüerienced that if you browse the recent change page in ie there suddenly is a gap between the edit thing and the body°? [14:59:32] does the recent change page have a special css?! [15:00:50] didn't you ask the same quetion a while ago? [15:01:04] are you the person who said he has fixed the CSS every where except on recent changes? [15:01:25] MissMetal: no error logs [15:01:27] yeah yesterday...but fireflies couldn't help me yesterday because i had to go offline then and today he doesn't answer [15:01:34] MissMetal: logs are very fine [15:01:47] maybe he/she isa away [15:01:58] i have changed the css [15:02:09] and every page looks fine in ie and seamonkey etc. [15:02:14] mondschein: do you have Firefox? [15:02:20] but recent pages looks horrible in ie [15:02:27] seamonkey [15:02:31] okay [15:02:43] install an extension named EditCSS [15:02:54] it helps you playing with CSS without changing the files (on-the-fly) [15:02:59] oops, I missed rooz [15:03:37] thx for your hint i'll try that [15:03:41] good [15:03:43] I need to go now [15:03:46] see you later [15:03:51] bye [15:10:26] where can i find information about pulling the contents into another page? [15:13:10] When importing a file mediawiki is silently failing (it returns to the upload page, with blank field and no files have been imported). I've checked php and apache2 configuration, nothing seems wrong. any tip appreciated. [15:13:54] seems like i'd be able to grab an xml export of whats on the wiki, but i cant find anything that resembles that [15:17:44] I cannot delete the images folder in MediaWiki. [15:17:48] My installation of it. [15:18:39] Basically /path/to/wiki/images [15:18:41] Cannot be deleted. [15:19:24] that generally means that your webserver has permission over it, and not you. [15:19:49] this is especially true when the webserver (running MediaWiki) creates image subdirectories using it's default umask/ownership. [15:20:07] you wouldn't be able to delete them, in that case. [15:20:40] I installed it on my server. :S [15:20:50] yeah, that doesn't matter. [15:20:59] MediaWiki is run by the webserver. The webserver has its own user. [15:21:07] No I mean [15:21:09] I downloaded MW [15:21:11] Installed it on my server [15:21:17] And now i Can't delete the images folder [15:21:18] If MediaWiki attempts to create a directory (say, the image/a/aa directory), it will do so as the webserver. [15:21:28] Oh [15:21:30] :( [15:21:31] What do I now? [15:21:31] so, say the webserver is running as apache:apache. [15:21:43] it will create images/a/aa as owned by apache:apache, and typically as 755. [15:21:49] MichaelSammels: delete it as a superuser [15:21:51] that would mean that you couldn't delete them, unless you did it as a root user. [15:22:07] PunkRock: how do I do that? [15:22:19] Linux? OS X? Windows? [15:22:23] which operating/system distro are you using? [15:22:31] CentOS [15:22:59] if your user is a member of the superuser group, then you could do "sudo rm -rf images" [15:23:15] I don't have that kind of access. ;) [15:23:28] then you're going to have to ask your server's admin to do it. [15:23:32] then ask your sysadmin. [15:23:32] Apparently the owner is 99 99 [15:23:41] Morbus: :) [15:24:01] MichaelSammels: that would tend to mean that the user it was created by originally existed, then someone deleted it. [15:24:18] (ie., if "apache" was user 99, then it'd be apache:apache. if "apache" was deleted, it'd revert to being shown as 99:99) [15:24:37] Right. So I need to ask my SysAdmin then? [15:24:39] does anybody know how to user the editcss extension in seamonkey!? i'm kinda lost...it show's up in the kontext menu but if i click on it nothing happens :-( [15:24:49] MichaelSammels: aye. [15:24:57] :) [15:26:00] or does something similiar for ie exists°? [15:26:45] mondschein: seamonkey is mozilla, why do you ask in a mediawiki channel about mozilla seamonkey? [15:27:02] I've been tasked me with creating a custom "Company Profile" form that companies would use to add their information to our wiki. I am relatively new to MW and was hoping someone could point me in the right direction. Is there a way to create custom form templates in MW? [15:28:01] aforgue: you want something like a form that the company has to fill and after that it should show up in a wiki? [15:28:40] because a user here gave me the tipp...and i don'T know anybody else to aks...and many users which are aktice here have experience in web developement beyond mediawiki...so it was a great chance that anybody could help me [15:28:41] PunkRock: Exactly. We would define the form fields, and then display the collected information in a specific way in the wiki. [15:29:02] aforgue: then i think that you might want to use the api of MW to import the data. [15:29:38] mondschein: you should go to a mozilla firefox related channel. [15:29:40] PunkRock: I see, so the form would have to live outside of the wiki? [15:29:46] aforgue: there is an extension that purports to do that. [15:30:06] you define a template, then it's supposed to magically make a form for you. [15:30:11] *Morbus tries to think where he saw it. [15:30:17] gimme a few mins to poke around. [15:30:50] Morbus: That sounds great, thanks [15:31:03] mhm i not very familiar with irc channels this is the only one i know....the thing is i have a mw problem a probably that tool could help me because i have a css problem with the recent changes page...--> every page looks fine except this page and i don't know why... [15:34:21] hello [15:34:43] I want to know if I could create a part of wiki with password [15:34:55] for example CREW/page1 [15:35:57] mondschein: change to the channel #firefox. maybe the ppl. there may be of help. [15:36:42] aforgue: ping. [15:36:59] Morbus: Ready and willing [15:37:27] aforgue: so, the one I was personally thinking of was http://www.mediawiki.org/wiki/Extension:Semantic_Forms. This is probably far too overblown for you, however. So, there are a few others. Note that I've not used any of them: [15:37:30] http://www.mediawiki.org/wiki/Extension:Form [15:37:36] http://www.mediawiki.org/wiki/Extension:Inputbox [15:37:41] http://www.mediawiki.org/wiki/Extension:StructuredInput [15:37:57] the first two seem promising. [15:38:22] Awesome, I will check them out. Thanks for the help! [15:38:32] actually, only the first. [15:38:37] the second only does one box. [15:38:46] Form, and specifically, this example: [15:38:50] http://vinismo.com/en/Special:Form/Wine [15:38:53] seem to be what you want. [15:40:53] jeez, this looks pretty good. i think i may use it ;) [15:41:29] aforgue: your biggest problem, however, will be on edits. [15:41:41] if the company wants to edit their info, they'd just get the regular wiki stuff, and could potentially screw it up. [15:41:57] Ahh, good point [15:42:12] with that said, i wouldn't be too concerned, actually. [15:42:14] Well, we may just lock it down for now [15:42:25] ideally, the text box will be nicely formatted, and unless they're idiots, they won't screw it up so so bad. [15:42:43] the initial syntax-filled creation is the big hurdle [15:42:47] We have someone who is in charge of moderating the wiki, so she would be able to catch any formatting snafus [15:42:48] but editing existing syntax should be "easy". [15:45:08] is possible to set password to amount of pages? [15:45:25] Blackhold: not through the wiki. [15:45:35] Blackhold: you could probably do it with tags in your Apache httpd.conf. [15:45:36] and then you enter as specified user [15:45:46] mmm gonna see [16:03:22] 03huji * r29219 10/trunk/phase3/languages/messages/MessagesFa.php: Added / updated Persian translations [16:07:38] how do I style a TR? [16:07:49] ! style="font-size:24px;" !! Gallery !! Death By !! Sleaze By [16:07:49] --mwbot-- I don't know anything about "". You might try: !centralauth !config !csshideheader !errors !extensions !feature !feeds !help !highlight !import !info !networkauth !package !rewriteproblems !rights !shell !subversion !test !threads !wikibugs [16:07:51] isn't right, of course. [16:09:13] hrm. guess i have to do it for each td. [16:12:14] hi all. Anyone know an easy way to do a mailto link with a subject? [16:14:38] [[mailto:whee@disobey.com?Subject=ahem morbus@disobey.com]] [16:15:39] ahh [16:15:43] that works in the link too [16:15:43] thanks [16:29:19] hi [16:44:10] Morbus: I suspect that this is a stupid question but how do you do a mailto with a subject that has spaces in it? [16:44:32] that I don't have an answer for. [16:44:37] ah, try %20 [16:44:47] in place of the space. [16:44:58] it's a variable (the page title) [16:45:22] [[mailto:whee@disobey.com?Subject=ahem%20ugly%20people morbus@disobey.com]] [16:45:31] oh. i see. [16:45:32] no idea [16:45:47] though that does work [16:45:58] now I need some kind of inline regexp [16:49:05] Hmm...I'm sure there's a parser function or something that converts whitespace into %20s somewhere [16:51:31] frieze: just quoting the Subject is not sufficient? [16:51:44] didn't appear to work [16:51:48] urlencode almost does it [16:51:57] just uses +'s instead of %20s [16:56:26] i guess I can include (yet another) extension [16:57:26] re [16:58:07] can someone tell a newbie a quick way to get the prefix of a pagename? e.g. "Category:" [16:58:30] like $wgTitle->getDBkey() for the page-title [16:58:47] rigid: i think this should be done via the skin.... [16:59:01] or the complete URL to the page would also be good [16:59:07] PunkRock, via the skin? [16:59:18] ah.no. [16:59:37] ic. you want to get rid of it in the link? [16:59:40] my problem is, that I got a plugin which builds the URL of the page like this: "$wgServer.$wgScript.'?title='.$wgTitle->getDBkey()" [16:59:58] and this doesn't work with Namespaces [17:00:01] or more exactly in the URI [17:00:25] modifiing the plugin is not an option? [17:00:26] e.g. "http://host/wiki/Category:Foo" will be "http://host/wiki/Foo" [17:00:37] PunkRock, yes i wanna modify the plugin [17:01:01] but in what way? i'm totally new to the mediawiki code and just wanna quick-fix this [17:03:28] rigid: try and look at the API: http://svn.wikimedia.org/doc/. Maybe the Article class has the methods to do that. title class might also useful and in addition the Namespace class. [17:03:36] i am going to have dinner. [17:03:54] PunkRock, good thing to start with. tnx. [17:03:57] nice meal ;) [17:13:57] 03(NEW) Session data lost, software thinks edit summary is blank - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12492 minor; normal; MediaWiki: Page editing; (s-t-walker) [17:15:55] how can I access the "Site" class? [17:16:20] maybe the "getUrl()" method could be useful for me... [17:25:43] rigid: i would try $wgTitle->getNsText() [17:26:38] PunkRock, yeah that works... thanks! [17:30:48] 03(mod) Database collation settings of SMW sometimes do not match MW's - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12059 (10Michael.W.Dietrich) [17:33:56] awww. the sidebar doesn't support nested lists? lame. [17:34:47] guess i'll have to make a new block. [17:37:04] 03(NEW) MAX_FILE_SIZE shouldn't be hard coded in SpecialImport.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12493 15enhancement; normal; MediaWiki: Uploading; (huji.huji) [17:38:12] 03huji * r29220 10/trunk/phase3/ (3 files in 3 dirs): More explanatory messages shown when an upload error happens. [17:44:03] 03huji * r29221 10/trunk/phase3/ (3 files in 3 dirs): More explanatory messages shown when an upload error happens (in continuation of r29220). [17:46:50] 03huji * r29222 10/trunk/phase3/includes/SpecialImport.php: Updating MAX_FILE_SIZE to match with the 2MB default of php.ini (it was 1.91MB). [17:50:54] 03huji * r29223 10/trunk/phase3/languages/messages/MessagesFa.php: Added / updated Persian translations [17:56:48] can I makes the title of pages case insensitive ? [17:58:32] 03rotem * r29224 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [17:59:42] like "GOOGLE" redirects on the only page created, "Google" [18:00:17] is it possible? [18:01:13] 03(NEW) Missing config option to provide anonymous logging required by german law - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12494 15enhancement; normal; MediaWiki: General/Unknown; (romal) [18:02:39] 03(mod) blank edit summary message is displayed when an auto summary is put in - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8912 +comment (10roan.kattouw) [18:02:39] 14(DUP) Session data lost, software thinks edit summary is blank - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12492 +comment (10roan.kattouw) [18:03:17] 03huji * r29225 10/trunk/phase3/includes/SpecialAllpages.php: Making the columns have equal widths by default (improves readability and look). [18:03:36] how do you set a variable value inside a template page? [18:03:49] by {{{varname}}} [18:04:05] {{{varname}}} = varvalue? [18:04:24] no [18:04:34] what exactly do you want, so I can give the exact answer [18:04:58] i have a template that I want to contain the revision date of the page it's on [18:05:33] since {{{revisionday}}} and whatnot work on the page, not the transcluded template I need to put that info into the template [18:06:02] I'm a little confused [18:06:10] is the templated substituted? [18:06:13] this way when I use DPL it should (I hope) let me yank that info back out form the template [18:06:25] DPL? [18:06:31] it's a plugin [18:06:34] extension rather [18:06:43] okay [18:06:50] does some kung fu and gives you a list of pages using a given template [18:07:11] basically I need something like setting a default variable value within a template [18:07:28] so, you want to add a parameter to the template, which shows the {{revisionday}} value for the pge it is on? [18:07:28] 03rotem * r29226 10/trunk/phase3/languages/messages/MessagesHe.php: Fixes. [18:07:37] yes [18:07:49] then why not to use {{revisionday}} on the template itself? [18:07:51] without having to have the user set teh value for every instance the template is used [18:08:12] a template like this : Revision is {{revisionday}} [18:08:13] because it will pass through as {{revisionday}}, so when the page showing the information looks at it it shows todays date [18:08:28] oh, so what about this: [18:08:32] I need to pass by value, requiring a variable to stick it in [18:08:47] Revision was {{subst:revisionday}} [18:09:25] it'll be subst'ed and the value will stand there (make sure the template is substed, or the value will still chagne every day) [18:10:47] that should be {{subst:revisionday}} to delay the subst inside the template until its used... [18:11:03] where's the documentation for substitution? [18:11:08] !subst [18:11:08] --mwbot-- I don't know anything about "subst". [18:11:10] peh [18:11:16] i know it's not under subst or substitution [18:11:32] try templates [18:11:36] http://www.mediawiki.org/wiki/Subst [18:11:47] oops sorry. I'll paste the correct one [18:12:02] http://meta.wikimedia.org/wiki/Subst [18:13:00] !subst | frieze [18:13:00] --mwbot-- frieze: Substitution is automatic conversion of wikitext of a page referring to a templatehttp://meta.wikimedia.org/wiki/Help:Template, variable, or parser function when the referring page is saved. You can read more about it on http://meta.wikimedia.org/wiki/Help:Substitution [18:13:12] cool [18:13:13] thanks [18:13:16] :) [18:13:16] I'll give this a shot [18:13:53] brion-imac what do you think about updating the core CSS files, so when a Right-To-Left language is selected for the interface, the whole interface is right-to-left'ed? [18:14:21] wait I still have no idea how this lets me add a variable to put it in [18:15:02] frieze: the "subst" command replaces the variable with its current value. So it won't change any more [18:15:19] Hojjat: well i'm not sure that's a matter of updating css at all [18:15:27] since the css already has rtl layout support [18:16:03] brion: currently, when on a left-to-right wiki, changing the interface lang doesn't invoke a right-to-left page layout [18:16:19] although it adds "RTL" to the classes of tag [18:16:54] by rtl "layout" I mean that with a site logo on the right, nav box on the right, etc [18:17:14] this can be done by adding required lines of CSS. Correct me, brion, if I'm mistaken [18:17:44] i'm fairly sure you're mistaken. [18:17:53] it's not all css; you also need various body layout modifications [18:18:09] pardon? [18:18:15] additionally note that currently the supplementary RTL css bits aren't loaded for non-rtl languages [18:18:23] currently the structure is defined according to the content language [18:18:26] alignments etc [18:18:53] now somewhere in bugzilla you'll find areally old patch for doing this. go take a peek at it and see how hard it would be to adapt it to current [18:18:59] all the same, if I choose "ar" or "fa" for interface language, the layout remain RTL. Why is that? [18:19:23] remains LTR* [18:19:44] Hojjat: right. So I need a variable. If I include it at the search results then it won't help. ANd if I don't add a variable to the template thre's no place to put the subst [18:20:24] by "variable" I didn't mean a "parameter" of the template. I meant a "variable" (in mediawiki terminology) like {{versionday}} [18:20:38] you think you want a parameter, and I think you don't [18:20:46] can you link me to the template, frieze? [18:20:51] no [18:20:55] it's on a closed wiki [18:21:58] but what else is in the template doesn't really matter at all [18:22:01] can you create a similar template on test.wikipedia.org then? [18:22:21] so I can show you how to add a "variable" to it, whch is subst'ed? [18:23:12] 1 sec [18:26:06] template:friezetemplate [18:27:05] *Hojjat is on it [18:27:11] thanks so much [18:27:20] i think I may have come down with teh stupids [18:27:35] <_thom_> come down from where, upstate? [18:28:00] he [18:30:47] http://test.wikipedia.org/wiki/Template:Friezetemplate [18:30:50] http://test.wikipedia.org/wiki/Friezetemplate [18:31:05] I kept the "somevariable=" part, to show you you don't need it [18:32:27] is there any way to make the "title" argument case-insensitive ? [18:32:32] uhh [18:32:36] check what I did there [18:32:42] whiles what do you mean? [18:32:50] in the template [18:33:02] if that did what I was hoping it would then the {{{somevariable}}} would have been set [18:33:10] I mean that the page Google and GOOGLE should be the same [18:33:44] whiles, I need to check but I think it is possible [18:34:04] frieze: what do you exactly mean by adding {{{someveriable}}} ? [18:34:16] I hope it, there is a mess of cases in my wiki [18:35:04] take a look at the edit I did on template:friezetemplate [18:35:09] I did [18:35:19] I just can't understand why you're adding a "parameter" there [18:35:35] Hojjat! [18:35:52] what is it dungodung? [18:36:01] let's talk private [18:36:01] Am I missing something really obvious?! [18:36:06] kay [18:36:13] maybe I didn't make this clear. The extension I am using does some kung fu wehre it finds every page using a given template, then lets you yank out the variable values in that template to generate a list. [18:36:26] in each instance of that template I mean [18:39:21] If I put |lasteditdate={{REVISIONMONTH}}/{{REVISIONDAY}}/{{REVISIONYEAR}} at teh top of every instance I declare of my template I'd be set [18:39:37] I jsut want that to happen without making users put that before every template instance [18:40:05] though, as you point out, I'd probably have to use subst in that instance [18:40:21] fridg, {{REVISIONMONTH}}, etc. will refer to the including page if you just include them in the template, I believe. [18:40:29] (Although maybe not, they're kind of magical.) [18:40:47] that said, I don't see how using subst alone, in any capacity, adds the data to teh template in a way that I could get it out again [18:41:16] Simetrical: that's the behavior I'm looking for [18:41:27] I think [18:41:31] frieze, try it and see? [18:41:49] there's a chance that dynamicpagelist will do something insane anyway [18:42:13] I can't figure out how to add variables to a template without adding them whenever I create an instance [18:43:37] *Hojjat thanks Simetrical for coming and finishing what he couldn't finish (side-tracked) [18:45:46] frieze, is this the behavior you want? http://test.wikipedia.org/wiki/Friezetemplate [18:45:47] Hojjat: it remains that way because the layout is based on the content language currently [18:46:34] AaronSchulz, what is "Sighted" supposed to mean, in the "Accuracy" field? It doesn't seem like intuitive UI, or at least I can't figure it out from looking at it. [18:46:43] sorry I was editing the template to make it more helpful explanationwise while you were editing it for the same purpose. let me see what happened [18:46:46] *Simetrical just saw the review form on test-wp for the first time [18:47:15] brion: okay. Got it. What about adding a pair of radiobuttons so the user can choose the layout direction? (rtl, ltr)? [18:48:50] brion, Hojjat, I recently attached a somewhat incomplete patch somewhere (i.e., works in FF3 but not anything else ;) ). [18:49:13] http://bugzilla.wikimedia.org/show_bug.cgi?id=6100 [18:50:36] great. thanks [18:54:42] 03(FIXED) Closing of the Nauruan Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12491 +comment (10jeluf) [18:55:26] Simetrical: no. can you look at teh page and template now? I think it gives a better explanatio nof what I am trying to do [18:55:33] grr [18:55:44] stupid fingers [18:56:19] i want to set variableb to {{REVISIONTIMESTAMP}} [18:56:22] or whatever [18:56:32] frieze, so why don't you just use {{REVISIONTIMESTAMP}} instead of {{{variableb}}}? [18:57:12] because I'm using dynamicpagelist which finds all the pages using that template and yanks the variable values from that template on the page. not the page data [18:57:43] as nearly as I can tell anyway [18:57:55] it seems like there should be a way to do this [18:57:59] am I wrong? [18:58:06] frieze, then you can have the page include {{template1|x=a|y=b|...}}, which contains nothing but the text {{template2|x=a|y=b|...|time={{REVISIONTIMESTAMP}} }}. [18:58:15] If you see what I'm saying. [18:58:19] yes [18:58:28] {{template2|x={{{x}}}|y={{{y}}}|...|time={{REVISIONTIMESTAMP}} }}, rather. [18:58:30] I'm just looking for a way to do that without having to go back and edit 50 pages [18:59:14] since I want the exact same line in every page [18:59:47] frieze, I just gave you a way. Nest template calls. [19:00:01] ahh [19:00:07] that should work [19:00:22] that'll make 4 layers of template indirection between the source and destination pages [19:00:28] I see [19:00:31] thanks [19:03:49] suggestion about the case insensitivity of pages title? [19:05:13] whiles, they aren't. [19:05:30] :( [19:07:18] 03raymond * r29227 10/trunk/extensions/ (12 files in 5 dirs): [19:07:18] * (bug 7971) Update Kazakh extension translations [19:07:18] Patch by AlefZet [19:07:41] 03(FIXED) Kazakh i18n updates for extensions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7971 +comment (10raimond.spekking) [19:10:30] 03brion * r29228 10/trunk/extensions/normal/Makefile: default to linux command line... bleah, will have to improve this shitty makefile [19:11:27] 03(mod) New parser: no way to show images without an alt text - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12456 normal->minor; normal->low; +comment (10ThomasBleher) [19:23:48] 03siebrand * r29229 10/trunk/phase3/languages/messages/MessagesCs.php: Credit an author, requested by Li-sung. [19:27:06] 03raymond * r29230 10/trunk/phase3/languages/messages/MessagesDe.php: * Updates German [19:29:03] 03tbleher * r29231 10/trunk/phase3/includes/Linker.php: Small documentation and whitespace fixes [19:30:43] 03(mod) Broken rendering with missing template parameters in templates called inside {{#if :}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12488 (10mormegil) [19:31:54] Simetrical: did I do something wrong about removing a message? [19:33:05] 03siebrand * r29232 10/trunk/phase3/languages/messages/ (14 files): Localisation updates for core messages from Betawiki (2008-01-03 20:27 CET) [19:33:07] Hojjat, well, you didn't remove it, did you? [19:33:08] + case 1: # The uploaded file exceeds the upload_max_filesize directive in php.ini. [19:33:08] + return new WikiErrorMsg( 'importuploaderror' ); [19:33:26] Am I missing something? You removed the message, but you still use it. [19:33:40] ohohoh [19:33:45] lemme check [19:35:11] 03huji * r29233 10/trunk/phase3/includes/SpecialImport.php: It should use the new message. :o [19:35:28] Simetrical: thanks for pointing it out [19:50:12] 03(mod) Links surrounding images always have a title, even if alt text is empty - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12456 summary; +comment (10ThomasBleher) [19:51:25] Hmmm, anyone remember what the php file to mass upload images is called? [20:05:14] 03(NEW) Automatic substing of templates in user signature is easily circumvented - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12495 normal; normal; MediaWiki: User preferences; (mormegil) [20:07:10] 04(REOPENED) Enabling subpages for it.wikisource namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12389 +comment (10ipork) [20:07:49] 03(mod) Disable images in signatures on enwiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6379 normal->15enhancement; +comment (10mormegil) [20:11:37] Quick confirmation because the faq isn't quite clear for me. If I change [[Mediawiki:Mainpage]] content to Home, then [[Home]] becomes the default main page, yes? [20:14:09] Amgine, should be, yep. [20:14:21] Thanks Simetrical. [20:23:07] 03(FIXED) Update Documentation in hooks.txt - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11102 +comment (10seventowers) [20:26:25] Can someone help with a problem? [20:28:39] Just ask, DrPoodle. [20:29:00] well, in wikipedia and other sites, there is an "if" template [20:29:06] something like {{#if [20:29:19] How can I enable that? [20:29:50] !ParserFunctions | DrPoodle [20:29:50] --mwbot-- DrPoodle : "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [20:30:39] thanks [20:36:02] how can i delete an article by the database? [20:36:39] how can i delete an article from the database, without opening any mediawiki page? [20:39:12] my mediawiki software is crashed...... [20:39:38] whiles: you can't access *any* page? [20:40:01] I can't access any page :( [20:40:47] Fatal error: Maximum execution time of 120 seconds exceeded in /includes/ProfilerStub.php on line 14 [20:41:19] 03(mod) Add section edit link for 0th section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=156 +comment (10random832) [20:41:22] I can't do anything [20:41:31] and you think this is caused by content in some page? [20:43:50] i think so, maybe... I installed one parsed extension that enables loops and i think the content of a page makes everything in loop... now i try to disable this extension [20:44:24] Just remove the line from LocalSettings.php [20:44:56] yes [20:46:52] Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/netsons.org/wikilatin/includes/Parser.php on line 2864 [20:47:04] now i think that is a server problem oO [20:54:55] 03brion * r29234 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialImport.php): [20:54:55] * (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form [20:54:55] No particular reason to limit this beyond the general server settings. [20:54:55] Seems to have been in there since the first version of the form, but dang if I know why I put it there. :) [20:58:09] Yeah, I kind of wondered why that limit was there. [20:58:14] But was too lazy to pursue the issue. [21:08:01] 03huji * r29235 10/trunk/phase3/includes/SpecialPage.php: (bug 12489) Special:Userrights should be listed under restricted special pages [21:09:50] 03(FIXED) Title of Special:Userrights listed in regular section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12489 +comment (10huji.huji) [21:09:58] 03(FIXED) MAX_FILE_SIZE shouldn't be hard coded in SpecialImport.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12493 +comment (10brion) [21:14:15] 03(mod) MAX_FILE_SIZE shouldn't be hard coded in SpecialImport.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12493 (10huji.huji) [21:15:32] 03(NEW) Sort icon broken on Special:Ask or Ask tag - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12496 minor; normal; MediaWiki extensions: Semantic MediaWiki; (webmaster) [21:18:41] 03(mod) Sort icon broken on Special:Ask or Ask tag - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12496 (10webmaster) [21:27:56] G'evening folks. [21:29:51] I have been playing around a bit with templates. And now I have started making documentation for them. Only they are made around tables and well, if I go to the tamplate itself it shows up first as the template output and THEN the documentation... [21:30:07] ... how do I hide the first part if viewed on the template itself? [21:31:11] [21:31:30] wrap the actual template code in tags [21:31:55] Okay. :) [21:32:53] ... Simple enough. :) [21:33:13] ... is there any way to search for information on things like this on the mediawiki project? [21:33:18] Manual or something? [21:33:56] Hey guys [21:34:10] Anyone here familiar with LuceneSearch? [21:34:14] or setting up Lucene? [21:35:12] !manual | Oberoten [21:35:12] --mwbot-- Oberoten : An introduction to using MediaWiki is at , see for information about copying it to your own wiki. More technical information for MediaWiki administrators is at . For an introduction on programming with MediaWiki, see . [21:35:17] I've indexed my database, however, lsearchd is looking in the wrong place for my indexes. [21:35:36] !lucene [21:35:36] --mwbot-- http://www.mediawiki.org/wiki/Extension:LuceneSearch [21:35:46] i assume you read that? [21:36:23] yea, I've been through that file a few times [21:36:33] and the discussion [21:36:52] http://www.mediawiki.org/wiki/Lucene <-- that too? [21:36:53] 03(mod) Add {{GRAMMAR}} to Polish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11837 (10jeluf) [21:37:13] Matt234: paste some log files into the pastey [21:37:20] Yes, but most of those links go to Windows related material [21:37:35] this may be a weird query [21:37:45] but I have some custom namespaces set up [21:37:59] and I don't want the actual name of the namespace showing in the article title [21:38:11] currently it says "Subject:xxxx" [21:38:16] I just want it to say "xxxx" [21:38:20] is that possible? [21:39:00] DrPoodle: perhaps with javascript... [21:39:14] Here's my pastey: http://pastey.net/79990 [21:39:15] though, to my knowledge, there isn't any kind of function like that built in [21:39:18] I can format that better if you want [21:39:19] ok [21:39:26] It's what lsearchd spits out [21:39:28] I've have a look into it [21:39:41] I make one query through the webinterface [21:39:53] Matt234: ah.. the GNU thingy [21:40:00] you're not on linux? [21:40:06] i'm on mac os x [21:40:09] TIGER [21:40:12] right, it won't work [21:40:16] i've fixed that now [21:40:20] oh, beautiful [21:40:22] but it's still on my devel branch [21:40:32] will do a new release maybe in a month [21:40:42] alright [21:41:05] rainman-sr: anything to test live? :) [21:41:09] I've been trying to work out that issue for a while now [21:41:20] alright, thanks so much [21:41:21] Matt234, if you know some java you can probably hack it yourself [21:41:27] I do [21:42:07] 03yaron * r29236 10/trunk/extensions/SemanticForms/README: Updated language-file credits for new Betawiki setup [21:43:15] Matt234, ok, so it's easy then.. you should split that cp -lr into cp -r and ln [21:43:40] BrokenArrow: probably in a week of two, I still need to debug some stuff :) [21:44:14] Matt234, look around the code that throws the exception, you'll figure it out.. [21:44:17] rainman-sr: k, keep us posted. btw, have you seen the access stats *out* of search? [21:45:00] 03yaron * r29237 10/trunk/extensions/SemanticForms/languages/ (SF_LanguageZh_cn.php SF_LanguageZh_tw.php): Improved formatting, fixed bug that made these languages inoperable in SMW 1.0 [21:45:13] BrokenArrow, I've seen some stats domas did.. you have some others in mind? [21:45:43] Is it os x's implementation of cp that is the matter? [21:46:00] no, those. I've been wondering for a while why on earth people use Allpages in lieu of search, before discovering the [index] link in the search results that point there [21:46:04] 03yaron * r29238 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: Fixed bug in finding default form, uncovered by the final version of SMW 1.0 [21:46:26] 03yaron * r29239 10/trunk/extensions/SemanticForms/INSTALL: New version: 0.8.1 [21:47:23] BrokenArrow: heh, yeah, I guess people do a lot of random clicking when they don't get what they expect :) [21:47:30] rainman-sr: Thanks for the help! [21:47:47] Matt234, wait a sec [21:47:50] yea? [21:50:53] Matt234: so, UpdateThread.java around 179 is the main place to poke.. you'll find below how to call ln etc.. [21:51:30] Ah [21:52:07] just realized that the exception doesn't give you the right place to poke.. so, that's where you should look [21:52:35] Yea, when I saw the exception's output [21:52:45] I noticed the bad cp line [21:52:55] but had no clue where it was [21:53:32] Either way, thanks for the help [21:53:36] Have a nice one [21:53:38] no prob [21:57:39] Hi all, does anyone have experience with massive database problems when upgrading from 1.4.2 to 1.11.0? [21:59:14] what sort of problems [22:00:46] is the result of $article->getContent() cached across Article objects for the same request? that is, if I create 500 Article instances pointing to the same Title, and do $article->getContent() on each, will it query the DB 500 times? [22:01:25] or say they're different Title objects, but were derived from the same title string [22:01:38] jimbojw: no, though Revision may cache text lookups (in memcached) [22:01:49] [no => no caching] [22:01:59] ok, thanks brion - much appreciated [22:03:37] brion: we've had a number of database errors. two of my tech support ppl had to recover last night's db. one of them mentioned that the two versions are incompatible (and that it's only mentioned as a side note in the release) [22:04:16] brion: the cause was a table (page) that was missing in the old wiki version that the update script needed [22:05:05] Grendelshitsuren, did you run maintenance/update.php? [22:06:13] Grendelshitsuren, it's been testing for updating something like 1.2 or 1.3 to present. Of course, not too extensively, but it should theoretically work, at least. If not, try upgrading version-by-version (first to 1.5, then 1.6, etc.). [22:06:21] Or at least upgrade to 1.5, then try going to 1.11. [22:06:53] If you didn't run the update script at all, needless to say the whole wiki will break horribly, because you're using a two-year-old version of the database schema with the current software. [22:08:19] Simetrical, update.php ran, I suppose the gradual upgrading from version to version is the best way to go. thank you [22:09:10] are there any mediawiki extensions that would allow an input box to add an item to a bulleted list? [22:11:37] Grendelshitsuren: no, only a single upgrade is required. [22:11:44] however you need to confirm that the update worked properly [22:12:02] always examine the output for errors and *keep* them for reference when diagnosing the problem [22:15:33] 03brion * r29240 10/trunk/phase3/includes/SpecialPage.php: Revert r29235 -- breaks $wgAddGroups and $wgRemoveGroups [22:17:24] 04(REOPENED) Title of Special:Userrights listed in regular section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12489 +comment (10brion) [22:18:09] should the release notes be reverted as well? [22:18:44] brion: I'm going to close http://bugzilla.wikimedia.org/show_bug.cgi?id=8440 , but I'm not sure if I should do INVALID or WONTFIX... any suggestions? [22:19:16] Skizzerz: i'd be perfectly happy to have this feature [22:19:17] what's the problem? [22:19:27] not enough interest in it, I suppose :P [22:20:12] MZMcBride, there shouldn't have been any release-notes entry, this was an intra-release regression. [22:20:19] Skizzerz, we don't close bugs for lack of interest. [22:20:20] but if you like the feature, feel free to add it in ^_^ [22:20:37] Some of the bugs take a few years to get fixed, that doesn't mean they're invalid. [22:20:52] however protecting the page will do the same job [22:20:57] so it's probably unnecessary [22:21:25] yeah [22:21:34] 03(mod) Title of Special:Userrights listed in regular section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12489 major->trivial; high->normal; +comment (10Simetrical+wikibugs) [22:30:08] See, if the main Userrights logic were in a class that actually descended from SpecialPage, this would all be quite straightforward. [22:30:13] But . . . it's not. [22:30:17] *Simetrical scowls [22:31:24] 03(mod) Allow preventing blocked users from editing their talk pages ( case-by-case basis when $wgBlockAllowsUTEdit = true) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8440 (10brion) [22:31:50] *Skizzerz still laughs at how the filer titled that bug [22:32:15] Simetrical: that's not really the issue [22:32:36] the issue is that currently there's no one permission key that necessarily provides access to Special:Userrights [22:32:36] ooh, "modify block options" :) [22:32:58] *Skizzerz adds that to his list of things to attempt [22:33:04] brion, I realize. I was thinking it would work out nicely if SpecialPages had an isRestricted() method. But my scheme doesn't work, because the logic of Special:Userrights isn't implemented as a descendant of SpecialPage. [22:33:04] one possibility would be to go back to having 'userrights' be the sole gatekeeper permission [22:33:21] brion, that's how I did it for exactly this reason when I added this stuff, Werdna changed it later. :) [22:33:22] another would be to have a separate permission key to indicate an all-powerful group [22:33:32] eg userrights-all (similar to userrights-interwiki) [22:33:45] Having a separate permission key would mean changing the special page constructor anyway, if a revamp isn't done. [22:33:47] the original version was a bit ugly as it wasn't clear who had what perms [22:34:21] Why aren't special pages implemented as children of SpecialPage anyway? It seems like the obvious thing to do. [22:34:22] or alternately requireing $wgAddGroups['steward'] = array( '*') or something [22:34:27] 03siebrand * r29241 10/trunk/extensions/ (38 files in 37 dirs): Localisation updates for extension messages from Betawiki (2008-01-03 23:09 CET) [22:34:30] Were they all made before SpecialPage or something? [22:34:33] Simetrical: SpecialPage class postdates many special pages [22:34:38] Hmm. [22:34:48] and plenty of others were started by copy-paste of other older code [22:34:59] Well, if I added an isRestricted() method and rewrote Userrights to descend from SpecialPage, that should work. [22:35:06] it should [22:36:41] Maybe I could transparently make HTMLForm descend from SpecialPage. [22:36:53] . . . there appears to be absolutely nothing but SpecialUserrights that uses HTMLForm at all, in fact. [22:37:03] *Simetrical checks extensions [22:37:25] HTMLForm should die [22:38:36] hmm would a {{#difftime:format|time 1|time 2}} parser function be realistic? with the same restraints as the time magic words and the {{#time:}} parser function? can be catched, not guaranteed to be up to date, etc... [22:40:47] 03siebrand * r29242 10/trunk/phase3/languages/messages/MessagesVo.php: Adding $specialPageAliases [22:41:11] *darkcode is thinking of writing such a parserfunction which might be ideal for replacing some complicated template code that make use of {{#time:}}, {{#ifexpr:}} and {{#expr:}} [22:41:46] darkcode, I think it was suggested in times of yore. Nobody ever got around to doing it. You can always convert to Unix time, subtract, and format using lots of % operations. [22:45:16] No references to HTMLForm anywhere but in userrights. [22:46:36] ok [22:47:22] Is it possible to change your main language? I have search alot but didn`t find anything.- [22:47:53] !language [22:47:53] --mwbot-- I don't know anything about "language". [22:48:01] !config [22:48:01] --mwbot-- *All* configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can *look* in DefaultSettings.php. See , , [22:48:35] jYDEN, see the above resources, look for documentation on $wgLanguageCode. [22:51:36] Thank you! [22:55:18] 03brion * r29243 10/trunk/backup/ (WikiDump.py monitor.py): [22:55:18] Write index HTML pages to temporary files, then atomic-copy over. [22:55:18] Might or might not actually be atomic on the NFS, but should avoid some freakouts. :) [22:58:32] !wg LanguageCode [22:58:32] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgLanguageCode [22:58:43] :) [22:59:11] !wg ArticlePath [22:59:11] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgArticlePath [22:59:20] wow I can use it, amazing... [22:59:59] it use to ignore me [23:02:52] Following http://www.mediawiki.org/wiki/Manual:Short_URL , I have managed to make my wiki not work as follows: http://inebriatedrabbit.com/wiki2/Main_Page Anyone willing to help me with how to resolve this? [23:04:06] !rewriteproblem | toynbee [23:04:06] --mwbot-- toynbee: a) do not put the files into the document root b) do not map the pages into the document root c) use different pathes for real files and virtual pages d) do not set a RewriteBase e) but all rules into the .htacces in the document root. [23:04:23] *toynbee grins. [23:04:54] /wiki2 isn't the document root.. And the real files are in /wiki, not /wiki2 ....I've never set a rewrite base.. And I thought the page said to set everything in httpd.conf, not .htaccess. [23:05:01] Please correct me if I've misunderstood. [23:05:36] doing it in httpd.conf is fine, if you have access to it# [23:05:45] (and know the right place to put the stuff) [23:05:46] I do, it's a virtual private server in my name. [23:06:05] so we have ruled out the basics i guess [23:06:12] I think so. [23:06:59] Wow. I changed about ten lines in SpecialUserrights and HTMLForm seems to have been made totally irrelevant. [23:07:13] toynbee: can you post your rewrite config somewhere? [23:07:43] You want me to paste the lines I put into vhosts.conf and LocalSettings.php? [23:07:46] toynbee: it seems like you are simply not rewritingh [23:07:53] I may not be. [23:08:02] *toynbee is fairly new to webservers.. [23:08:09] I've used them for years but never done anything advanced. [23:08:10] toynbee: not here, use a pastebin [23:08:12] Right. [23:09:22] http://pastebin.com/d6d323ff8 [23:10:37] Oh wait. [23:10:41] I think I just figured out the problem. [23:11:10] and i have never done it using alias, i always used rewrites :) [23:11:49] Duesentrieb: Well, if you'd like to suggest a revision, I would be glad to try it -- I was following the article I linked above. [23:12:13] And I fixed what I thought was the problem, which was that I left a directory out of the Alias directive, but that didn't change anything. [23:12:34] that page provides several alternatives - using aliases should work fine, i just don't have any experience with it [23:14:14] how do i add a CC license to every page of my mediawiki install? is there a builtin mechanism? [23:14:52] toynbee: i generally use this method (wiothout the misleading rewrite base cruft): http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access [23:15:40] bakert: not that i know of. well, you can define a license to be shown in the footer - is that what you mean? [23:15:48] Duesentrieb: Ironic that the URL should be so long. [23:15:50] :p [23:16:14] hehe [23:16:26] Duesentrieb: Would you mind if I PM'd you? I am unfamiliar with rewrite rules and would like to clarify, with questions that would perhaps just be clutter for the channel. [23:16:39] go ahead [23:16:44] Duesentrieb: i'm not sure really. one of the users of my wiki asked for it and said he thought it could be done in LocalSettings.php [23:16:52] though it's pretty quiet here anyway atm [23:17:31] bakert: there are (three, I think), config variables that you use to change the wiki license [23:18:26] $wgRightsPage and $wgRightsUrl, etc? [23:18:50] yes [23:19:45] is there some standard setting to get CC license in there? [23:19:50] or do i have to make it up? :) [23:20:18] make it up if you like [23:20:30] ther eare standardvalues for cc, the installer puts them in... [23:20:36] i don't know if they are dicumented :) [23:21:04] hmm ... my values are all empty :( [23:21:16] http://www.mediawiki.org/wiki/Manual:%24wgRightsText and similar pages contain no example text [23:21:26] perhaps i can get it from wikipedia somehow [23:22:48] anybody going to http://www.fosdem.org/2008/ ? [23:23:40] brion: me, possibly [23:24:30] that's a start [23:24:56] why do you ask? [23:25:58] brion: what does it cost? [23:26:10] it's free [23:26:49] free if you can make it to brussels anyway ;) [23:26:57] and lodging yeah [23:27:01] but the conference is free ;) [23:27:48] hehe, I've had a bunch of UK people stay over at my place here in eindhoven a couple years ago, and we drove to brussels every day [23:27:51] ./includes/api/ApiChangeRights.php <-- Geez, we have an API for changing user rights? [23:27:52] you don't need lodging if you stay out drinking all night! [23:28:08] yikes, how far a drive? [23:28:11] I guess that's thorough . . . I have to change it now if I'm breaking reverse compatibility, hmm. [23:28:21] Simetrical: if in doubt break it [23:28:25] 150km or so? [23:28:37] it was a bit too far to be really practical, but not impossible [23:28:52] cool... now, if i didn't have a diploma to write and two kids to mind... :P [23:29:03] *toynbee would like to express his sincere gratitude to Duesentrieb for helping to fix his wiki. :D [23:29:26] brion, didn't MakesysopForm used to inherit from UserrightsForm? I could swear I once broke the former by changing interfaces. [23:29:37] Simetrical: there were two forms in MakeSysop [23:29:43] one was the simple checkbox form [23:29:46] the other was an extension of Userrights [23:29:52] brion: fosdem was where I met a bunch of wikimedians for the first time, and also where the knams deal was set up [23:29:53] that one is no longer in existence [23:29:57] toynbee: write some amazing feature for mediawiki and make the world a better place :o) [23:30:19] Duesentrieb: I'll see what I can do. I need to get used to how Pidgin, unlike mIRC, automatically adds a colon with tab completion.. [23:30:36] brion, well, I'm getting rid of the HTMLForm cruft, so I'm breaking BC anyway. Thus I changed the name from UserrightsForm to UserrightsPage, to fit the other special pages. Sound reasonable? [23:30:49] mark: yeah, about the same as driving out to conferences in san diego from my old place, which i did a couple times. :) close enough you don't want to get a hotel if you're poor, far enough you wish you could ;) [23:30:59] Simetrical: great [23:31:01] exactly ;) [23:31:42] oh god, gerardm will be there [23:31:57] that's where I met gerardm for the first time, too ;) [23:31:58] good luck guys :D [23:32:19] Yay, API reimplements logic and still uses the old userrights permissions system. [23:32:31] *Simetrical fixes it so it's not blatantly broken and assumes if it's still actually broken, the API people can fix it [23:32:50] well i'd recommend killing that api module [23:33:03] :) [23:33:18] It's includes/api/ApiChangeRights.php. Fire away if you like. [23:39:33] 03brion * r29244 10/trunk/phase3/includes/ (AutoLoader.php api/ApiChangeRights.php api/ApiMain.php): Remove ApiChangeRights. Duplicates code, doesn't handle current permissions model properly. [23:43:37] 03simetrical * r29245 10/trunk/phase3/includes/ (5 files): (log message trimmed) [23:43:37] Various Userrights-related fixes: [23:43:37] * Adjust UserrightsForm so that it inherits from SpecialPage; nuke HTMLForm. Since this breaks backward compatibility, renamed to UserrightsPage. [23:43:37] * Created SpecialPage::isRestricted() and enforced use of [23:43:37] SpecialPage::userCanExecute() instead of hardcoded checks. These can now be [23:43:41] overridden so that more complicated restriction systems work sanely. Used them [23:43:43] for UserrightsPage (fixes bug 12489). [23:44:02] 03(FIXED) Title of Special:Userrights listed in regular section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12489 +comment (10Simetrical+wikibugs) [23:45:17] *Simetrical wishes SVN e-mails would be displayed fixed-width so he could understand the spacing changes [23:45:30] Of course, then the tab width would be wrong, since FF has eight-space tabs. [23:46:12] i guess you need a better email ready [23:46:14] *reader [23:46:20] I just use Gmail. [23:46:21] Hmm. [23:46:23] eww [23:46:34] *brion uses thunderbird with the colored diff extension [23:46:37] it's great :D [23:46:42] It displays diffs fixed-width, too? [23:46:58] *Simetrical should maybe look at getting an actual e-mail client sometime . . . goodbye, RAM [23:47:04] fixed-width by default for non-html messages... [23:47:05] *Simetrical knew he should have gotten four gigs instead of two [23:47:25] *brion wonders if gmail has font options [23:47:49] Possibly. Of course, I disable all font-changing anyway, since forced Arial sucks. [23:48:07] Although it could still use font-family: monospace; or whatever the magic is. [23:48:10] heh [23:48:15] probably a greasemonkey script can do it [23:49:34] - * @todo This code is disgusting and needs a total rewrite [23:49:35] + * @todo Use checkboxes or something, this list thing is incomprehensible to [23:49:35] + * normal human beings. [23:49:35] :D [23:50:30] *Simetrical decides to work on that [23:50:55] *Simetrical is theoretically supposed to be prioritizing his work on headers that he said he would do, uh, two weeks ago [23:51:56] *Skizzerz is theoretically supposed to be fixing his extension [23:51:57] *brion whistles innocently [23:52:11] but $_POST[] is ugly :P [23:52:20] Skizzerz, use $wgRequest! [23:52:28] *Skizzerz tried... it wasn't working [23:52:38] Skizzerz, you used the "global" declaration? [23:52:50] yes [23:52:57] Skizzerz, and you were doing all this inside the class or function that you registered, not in code that was executed immediately when you loaded the extension? [23:52:59] coupled with $wgRequest->getVal [23:53:48] yes [23:53:52] Simetrical: looks good dude [23:53:56] brion, is there any good reason you have to POST to get to the actual userrights assignment form? [23:54:05] It seems silly, and makes refreshing the page weird. [23:54:10] And is against standards! [23:54:20] the problem is when I'm checking the values of about 180-ish radio buttons [23:54:32] 03brion * r29246 10/trunk/phase3/RELEASE-NOTES: r29245 fixed bug 12489 -- add release note line [23:54:42] Simetrical: that could be GETted, sure [23:54:46] 03(mod) Missing config option to provide anonymous logging required by german law - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12494 +comment (10roan.kattouw) [23:58:17] can anyone get roan in here? [23:58:38] brion: have you looked yet on the patch? [23:58:55] AzaTht: which one again? [23:59:10] 12374 [23:59:40] bug number