[00:07:27] 03demon * r36775 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiMain.php): (bug 14678) Make API respect $wgShowSQLErrors and $wgShowExceptionDetails. Patch by Max Semenik. [00:08:04] 03(FIXED) API ignores $wgShowSQLErrors - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14678 +comment (10innocentkiller) [00:16:30] I want to create a Steward group in my own mediawiki. How should I define the variable? [00:17:36] MostafaDaneshvar: just define some permissions for it in LocalSettings.php via $wgGroupPermissions and it should become assignable in Special:UserRights [00:17:51] Thanks Splarka [00:17:58] rar [00:18:24] bye [00:18:31] MostafaDaneshvar: also be sure to remove the userrights access from bureaucrats, so they can't promote themselves [00:19:26] I know that variable but I am not about it content [00:20:30] $wgGroupPermissions['Steward']['edit']= true; [00:21:02] would somebody edit it? [00:21:54] ['Steward'][userrights'] [00:21:56] IIRC [00:24:18] 'edit' means edit a page [00:24:26] you want anyone to be able do that, usually [00:24:31] seee http://www.mediawiki.org/wiki/Help:User_rights [00:28:16] thank u buddies [00:52:59] Hi-ho everyone. [01:01:53] "The page "Talk:The Stolen Earth" has been added to your watchlist, which will list edits to this page and its associated talk page" [01:01:59] Talk talk:...? [01:54:47] Hi there [01:55:02] Is there a way to list all subpages from a page in mediawiki? [01:55:19] instead of doing it manually [01:57:13] Special:PrefixList or something like that [01:57:17] oh from a page? [01:57:59] yeah, from a page [01:58:08] I'm migrating a moinmoin into a mediawiki [01:58:29] and the script I used doesn't have a way to automatically list all subpages [01:58:37] case a: (moin) http://wiki.fedora-ve.org/AplicacionesDeUsuario [01:58:44] case b: (mediawiki) http://proyectofedora.org/wiki/index.php/AplicacionesDeUsuario [01:59:15] I know about PrefixList, but afaik, that doesn't work inside a page [02:04:09] Dont think there's a way to do that automagically, might check extensions though [02:04:28] I just found one [02:04:40] although using subpages as categories instead of just using categories seems . . counter intuitive [02:05:48] true [02:06:04] I might suggest that next meeting [02:12:20] :D [02:12:22] Got it to work [02:24:47] Oh man, Extension:Loops with Extension:Semantic_MediaWiki is just an awesome combination. [03:28:47] 03(mod) Namespace flags, when set, should be honored for the entire search page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1953 (10beland) [03:33:59] OverlordQ: fyi {{Special:PrefixIndex/{{FULLPAGENAME}}/}} [03:42:49] 03demon * r36776 10/trunk/phase3/includes/AutoLoader.php: (bug 14670) Return false if AutoLoader can't find a class. [03:43:01] 03(FIXED) Autoload conflicts with other PHP packages in memory that also autoload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14670 +comment (10innocentkiller) [03:58:15] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=36763 \o/ [03:59:20] one word can bring you 'round... changes... yes, r90125 [04:49:42] How Can I change link in navigation? [04:54:05] !sidebar [04:54:05] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [05:57:55] 03(mod) Firefox does not recognise secure.wikimedia.org's cert - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7477 +comment (10zigger) [06:28:19] <_wooz> lo [06:43:16] does someone know how mediawiki determines the path for uploaded files (mostly images)? [06:48:32] md5 [06:48:44] to seminormalize the random distribution [06:48:59] $md5(Wiki.png) = bc32c4ef985f1924664e5f5c7359ef62 [06:49:06] path = /b/bc/Wiki.png [06:49:22] it is the md5 of the name, not the contents, and it uses just the /first/firstsecond characters [06:49:26] is this a feature added after 1.6.x? [06:49:30] (this depends on if you have hashed file paths enabled) [06:49:38] I think it's been there a long time [06:50:08] what is the variable for hashed file paths option? [06:50:47] $wgHashedUploadDirectory I think [06:50:57] and $wgHashedSharedUploadDirectory [06:51:03] .. [06:51:12] okay lemme check manual first [06:51:13] if you use something like commons [06:51:14] thanks [06:51:17] http://www.mediawiki.org/wiki/Manual:$wgHashedUploadDirectory [06:51:23] note that there are tools to help you [06:51:29] [[Image:]] of course finds it [06:51:36] but you can also use Special:Filepath [06:52:05] http://en.wikipedia.org/wiki/Special:Filepath/Image:Wiki.png for example will 30x you to http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png [06:52:19] okay [06:52:26] thats not the problem [06:52:35] you can use it as a link like [[Special:Filepath/Image:Wiki.png]], which is similar to [[Media:Wiki.png]] [06:52:39] hmm [06:52:48] I'm guessing you upgraded and are having a conflict of file names? [06:52:53] yeah [06:52:55] er, rather, of locations [06:53:00] not really conflict [06:53:06] but many images are missing [06:53:09] ahh, right [06:53:10] the files are under /images/ [06:53:23] and not in subfolders? [06:53:26] ahh, so disable that option and it should work, maybe [06:53:29] but the wiki cannot find them (it seems to search the hashed folders like /a/ab/dfdf) [06:53:36] okay lemme try [06:55:54] is there a disadvantage not using hashed folders? [06:56:36] if you are a big wiki you might end up with millions of files in one folder, apparently that is bad [06:58:53] hmm [06:59:12] this should really get turned on [06:59:47] but someone else was in charge of the wiki and turned this off, and kept v1.6 [07:00:13] now when i take over there seems to be no way to rescue [07:01:37] Splarka: is there a script like refreshlinks.php or something that can re-place the image files? [07:02:16] no idea, probably was one for the 1.3/1.4 upgrade? [07:02:29] *Splarka only started using mw in 1.4 X_X [07:03:02] it says this function is added in 1.4 [07:03:24] but doesn't say that there is a way to refresh the filepaths [07:47:15] hm... captchas on my site don't seem to work with konqueror :/ [07:48:08] Hi guys. I cant seem to get parse to work in the API.... [07:48:23] ...or with opera. wtf gives? [07:48:42] Here is my query: http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=black%20tern&rvprop=content&format=xml&redirects [07:49:06] how do I pass that to the parse function. I've tried urlencoding it and passing it as the tex param [07:49:20] what parse? [07:50:00] garethrodger: if it is over a certain size, say about 4000~ characters, you have to POST it [07:50:43] Splarka: I'll try that now [07:50:45] http://en.wikipedia.org/w/api.php?action=parse&text={{foo}} works, as a simple example [07:50:51] also note: you can pass a page title to parse [07:51:06] or an oldid [07:51:08] OverlordQ: http://www.mediawiki.org/wiki/API:Expanding_templates_and_rendering [07:51:26] aaahhhh [07:51:26] Splarka: I tried that but couldnt get it to work [07:51:37] for example that search term - black tern [07:52:06] well, &title isn't what you might think [07:52:21] http://en.wikipedia.org/w/api.php?action=parse&title=Foo&text={{FULLPAGENAME}} [07:52:26] that is used for magic words dealing with the title [07:52:35] (same as in ExpandTemplates) [07:52:58] http://en.wikipedia.org/w/api.php?action=parse&page=Black_tern [07:53:03] what you want is &page [07:53:44] Splarka: Can you tell it to follow redirects though? [07:54:17] um...hmm... [07:54:34] nope, I guess not [07:54:53] so I guess you'd have to just resolve the redirect and try again [07:57:11] (you could submit a bugzilla request for &redirects do that I suppose) [07:59:03] 03rotem * r36777 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: Marking the new CategoryTree messages as ignored. [07:59:46] 03rotem * r36778 10/trunk/extensions/CategoryTree/CategoryTree.i18n.php: Noting that the new messages should not be duplicated to other languages. [08:17:57] 03(NEW) speel cheeker - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14680 15enhancement; normal; Wikimedia: Site requests; (gmctruck68) [08:20:46] 03(mod) speel cheeker - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14680 normal->high (10gmctruck68) [08:36:20] 14(DUP) Spell checker - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14680 high->normal; summary; +comment (10Andrew) [08:36:27] 03(mod) "Did you mean . . ." search feature to automatically spellcheck all search terms - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=974 +comment (10Andrew) [08:48:57] hello morning [08:50:06] Nikerabbit: stop talking to that hussey and come back to bed where you belong! [08:50:28] O_O [08:52:00] are there any other GSoCers here? [08:52:14] how about one FSocer? [08:53:15] :-/ [08:55:23] no? [08:55:34] *SQLDb yawns [09:00:28] yau [09:00:39] 03(WONTFIX) Bot edit should not mark revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14679 +comment (10JSchulz_4587) [09:13:49] 03(mod) Bot edit should not mark revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14679 (10bugzilla.wikimedia) [09:30:46] hey [09:34:02] I have a number of wikis around the place where I maintain various forms of documentation [09:34:28] oh, really? [09:34:32] but occasionally I forget where a particular piece of information is stored. Does anyone know of an efficient way to search several mediawikis at once? [09:34:47] lucene, possibly. [09:35:10] alternatively... how feasible would it be to merge them and just have namespaces of one wiki? [09:35:32] how difficult would it be to promote a namespace to a totally separate wiki if necessary> [09:35:35] ? [09:36:26] sounds ugly [09:36:31] yeah [09:36:39] although you could write a maintenance script for it [09:37:02] you know, as more and more of "our stuff" gets stored on private but remote and separate data stores, search gets a lot harder [09:37:12] 'desktop search' no longer helps that much [09:37:29] it means "roll your own" :-) [09:37:36] I wonder how it will ever be possible to search my self-hosted mediawiki, my google notebook, my yahoo mail, all at once [09:37:37] hey, you could write a desktop search indexing plugin. [09:38:46] Yeah. But indexing gigabytes of, say, gmail is tough [09:39:16] that's what we need... An OSS desktop search system. [09:39:31] because you usually don't have enough power to sync the changes efficiently [09:39:50] Werdna: there is a lucene-based thing [09:40:21] google should make one, and make it as proprietary and closed-source binaries, and send the results back to google [09:40:49] oh wait, they already do. [09:40:53] "google desktop, because everything should be open to instant inspection, except google" [09:41:03] Splarka: except google desktop doesn't do that [09:41:08] well it should ^_^ [09:41:23] Splarka: it runs a local web server and serves results from there [09:41:33] not quite the same [09:42:23] anyway... sorry for the OT musings :P [09:42:53] it just occurred to me that "which site did I leave ____ on?!?" is going to grow to be a problem far bigger than just my wikis [09:44:43] indeed [09:45:01] I often find it is faster to ask google to find something for me again, than to find my already-existing copy on my local hard drive [09:45:07] (and I am on dialup!) [09:45:23] hmm, most stores from gmail to individual wikis all have pretty good searches, probably the best trivial solution is to make a page I enter a text field, and it uses javascript to "submit to new window" across a number of hidden forms [09:45:29] I use beagle for a lot of that [09:45:43] and then my browser is full of tabs, 1 for each wiki, gmail, google notebook, rememberthemilk, etc, etc [09:46:05] a more integrated solution than that is gonna be hard [09:46:28] Splarka: beagle? [09:46:30] SQLDb: that's the one I was thinking of for local stuff. Is that lucene-based? [09:46:53] http://i30.tinypic.com/9vic0k.png [09:47:03] Dewi: I'm not honestly sure, I just apt-got it :) [09:47:13] SQLDb: how do you do screenshots so quickly? [09:47:32] Dewi: Applications -> Accessories -> Take Screenshot :) [09:47:50] *Splarka blinks [09:47:53] Beagle grew out of Dashboard, an early Mono based application for watching and presenting useful information from a user's computer. It is written in C# using Mono and uses a port of Lucene to C# called Lucene.Net as its indexer. Beagle includes a Gtk#-based user interface, and integrates with Galago for presence information. [09:48:13] SQLDb: and you're just fast at uploading via a clumsy http upload? [09:48:31] Indeed, Beagle also runs as a firefox plugin, it indexes every page I visit (including my gmail) [09:48:37] Dewi: yep, I guess :) [09:48:59] SQLDb: how long you been using it? I've glanced at it a few times, it sounded really alpha. [09:49:21] SQLDb: this was some time ago, though [09:49:25] Dewi: oh.... 2 weeks maybe, I'm really digging it so far. I lose files a LOT [09:49:32] or webpages, etc [09:50:12] SQLDb: yeah. I burn a *lot* of time trying to get more organised and it never feels like it's working. Wikis are great when I expend the minimal effort to keep them up-to-date, but I'm often too lazy even for that :P [09:50:22] lol yeah [09:50:35] *Dewi uses mediawiki as a kind of "universal easy documentation for everything" [09:51:55] Yeah, I just dump everything in my /home :P It's a complete mess.... [09:53:27] heh, me too [09:53:38] except one of my desktops is vista [09:53:55] and, even though I have my /home mapped as Z:\, I don't dump it there either. [09:56:23] 03(mod) Bot edit should not mark revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14679 (10maxsem.wiki) [09:58:51] Dewi: ahh, to answer your earlier question, apparently it does use Lucene [09:59:33] SQLDb: it doesn't look easy to get going on windows [09:59:42] SQLDb: maybe I should accept the all-pervading evil of google again [09:59:47] *Dewi grins. [09:59:55] lol [10:00:02] yeah, I don't think it'd work on windows yet [10:00:07] *Dewi is using google stuff more and more, I want to resist but I just can't [10:00:22] SQLDb: googling turns up a few people trying to use it, but I can't find anything official even mentioning windows :P [10:00:54] yeah, that's about what I came away with :P [10:01:16] *SQLDb pushes Dewi towards [[Debian]] Linux :) [10:01:29] oh, apart from the thing mentioning it can index your samba shares [10:01:43] (as in windows shares accessed via samba) [10:02:06] SQLDb: I use debian linux for almost everything, just not my desktop [10:02:39] heh, I dual-boot, on rare occasion, to Vista myself. [10:02:46] SQLDb: I just use putty/vnc/remote-x all day [10:02:52] Haven't found a reason to do so tho, in 4 months [10:03:11] SQLDb: there are a few things I miss in a pure linux environment. Games, mostly, and good drivers for my cheap hardware [10:03:49] I haven't had a driver issue in a long time, and I pulled my laptop's minipci wifi card out of a wifi router :P [10:03:56] The games, tho... yeah :( [10:04:11] They've gotten a lot better in wine 1.0, but, they're still not quite there :( [10:14:56] SQLDb: I have several monitors, plus I'm switching to TV out and swapping 5.1 for headphones and stuff many times per day. And then I'll play a game... [10:15:46] SQLDb: but vmware workstation is getting close to being able to handle whatever windows stuff I still need. And wine just went 1.0 too... [10:16:23] indeed, multi-monitors is a bit of a pain :) [10:16:33] multiple monitors > * [10:16:42] I have dual 22" widescreens. [10:16:44] *Werdna orgasms. [10:16:58] werdan7: I've got a single about that width :P [10:17:00] ERM [10:17:03] Werdna even [10:17:24] radio shack display model > * :) [10:17:29] I can get the basic multi stuff going on the nvidia driver, but the TV out and switching was still problematic last time I checked [10:18:19] Dewi: yeah, tv out is a bit flaky in my experience with the nvidia drivers too. [10:19:29] boxes are cheap enough I tend to have a headless linux box sitting right next to the windows one [10:19:44] all I really need is a keyboard/mouse switcher, probably [10:20:19] (video is easy to switch at the moment since everything supports VGA plus DVI) [10:21:44] Werdna: combine that with multiple virtual desktops ;) [10:23:41] 04(REOPENED) Bot edit should not mark revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14679 +comment (10bugzilla.wikimedia) [10:24:54] valhallasw: doesn't exist on vista :( [10:25:21] Werdna: try virtuawin [10:25:51] but it's only useful if you've got a dual screen setup with two screens of the same size [10:26:14] (I don't like keyboard switching, I use alt-mouse-to-screen-border) [10:27:50] interesting [10:47:04] is it possible to define css classes specific to one page? [10:47:32] like, .foo { border:1px solid } [10:47:36] and then on the same page [10:47:37] use [10:47:46] depends what version you have [10:47:47] test [10:47:53] the latest released [10:47:54] each has a page-specific class [10:48:07] okay, go to a page you want to do styling on and check the tag [10:48:26] in the source? [10:48:31] yes [10:48:35] [[Foo]] for example is: [10:48:46] okay [10:48:54] ohhh no that's not what I want :) [10:49:01] "mediawiki" meaning, the software (useful for userContent.css), ns-0 meaning main namespace, ltr left-to-right (vs rtl languages), and the page [10:49:17] so, you can define classes that only activate on [[Foo]] via: [10:49:25] body.page-Foo .foo {} [10:49:28] well, it is what you said [10:49:35] but where do I define that? [10:49:36] say what you want if you want something else ^_^ [10:49:39] sitewide css [10:49:39] probably on Common.css [10:49:49] MediaWiki:Common.css or Skinname.css if skin specific [10:49:57] or, if you will do this a lot, load it dynamically with JS [10:49:58] I want to define it on [[foo]] [10:50:08] on the page itself [10:50:18] if(wgPageName == 'Foo') importScriptURI('MediaWiki:Styles/Foo.css'); [10:50:26] well, you can't do that safely [10:50:33] I imagined [10:50:36] but is it possible [10:50:37] anyone could run a checkuser [10:50:55] I want on the edit page of foo [10:51:00] to define styles [10:51:03] to be used later [10:51:03] body {background-image: url(http://vandalsloggingsite/someimage.php) } [10:51:18] right, insecure [10:51:34] insecure as in anyone can change to css? [10:51:40] well, yes [10:51:42] or insecure as in might actually be hurtful for my site [10:51:56] your site's reputation maybe [10:52:20] It's not that serious, I trust my community [10:52:23] you probably can't damage your site per-se, but you could hypothetically damage other people's machines (loading very large offsite images) or reveal their IPs [10:52:23] but all I want [10:52:26] for example [10:52:32] no, you don't understand... [10:52:41] nope [10:52:44] the reason you can't do this, is because it is insecure [10:52:55] it is disabled? [10:52:57] I'm not saying just why you shouldn't, but why you can't [10:53:04] um... [10:53:16] well, lets just say,