[00:00:12] hey guys [00:00:21] is there an update mailing list? [00:00:31] that will mail me about new versions and security fixes? [00:01:33] kwilliam: It looks like you are trying to load an XML file into your DB (which wants SQL). Try (if you're on a Unix box) typing "head file_name", replacing file_name with the name of your dump file. [00:02:09] hi [00:02:33] I used the xml2sqldump thing from the website [00:02:57] it processed it all and made dump2.sql as specified [00:03:15] so look at the dump2.sql file and confirm that it's actually SQL [00:03:22] <^demon> jeremyclarke: You'll be wanting mediawiki-announce [00:03:34] <^demon> https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce [00:03:57] thanks ^demon, couldn't find the list of lists anywhere :) [00:04:23] so it was mwdumper.jar that I used to make the file [00:04:34] <^demon> For future reference: http://lists.wikimedia.org redirects to a list of lists :) [00:04:39] is there somehting I need to do to import the dump [00:04:46] 03demon * r42281 10/trunk/phase3/ (RELEASE-NOTES includes/Skin.php): (bug 2508) Don't show edit button if user is blocked, show 'viewsource' instead. [00:05:32] 03(FIXED) "you are blocked - don't edit" message similar to " you have new messages" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2508 +comment (10innocentkiller) [00:05:36] <^demon> MZMcBride: Done. [00:07:39] demon: does that break cache, or is it broken by cache, for blocked IPs/Ranges? [00:07:50] what is the best program to use, so that I can import a mediawiki dump file [00:08:05] kwilliam: Do you mean the .xml's? [00:08:10] ya [00:09:20] 03(mod) On-page "What Redirects Here" for admins - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11083 (10innocentkiller) [00:09:31] I am trying to do some research for a project in computational linquistics [00:09:51] <^demon> Splarka: No more than protecting a page does. [00:10:24] kwilliam: The only supported way is to install mediawiki on your local computer, and import it using that. [00:10:48] what I did was install mediawiki on my computer [00:10:51] download the dump [00:11:05] ^demon: um, protecting a page is not IP/user specific [00:11:14] either all IPs can edit it, or none can [00:11:15] process it using the mwdumper.jar to get an sql [00:11:17] 03(mod) Machine detectable signals about errors when GET/POST to WP - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10359 +comment (10innocentkiller) [00:11:18] that maintains cache consistency [00:11:44] however, an IP block dependency changing page/UI content will either break cache, or be broken by cache [00:12:06] So, is there a way to add a frame and text to an ImageMap? [00:12:26] <^demon> Splarka: But anytime a page protection is changed, it's recached anyway....but you're right, ick. [00:12:27] <^demon> I'll rvt. [00:12:28] if 1.2.3.4 is blocked and 1.2.3.5 is not, 1.2.3.4 should see [view source] and 1.2.3.5 should see [edit] [00:13:13] and having all blocked users get MISS might be a bit server-stressful on en.wp where there are dozens of /16 blocks (last I heard) [00:13:28] if wikipedia has ip based blocks, doesnt that not really work what with dynamic ips for most internet users etc ? [00:13:34] ^demon: might be useful for reg' users or if thre is no cache, but... hmm [00:14:21] <^demon> exobuzz: Welcome to the joys of en.wiki administration...always trying to deal with people on dynamic IPs. [00:14:37] is mandatory registration such a bad thing ? [00:14:38] exobuzz: they manange. IPs don't have a lot of power, many IP ranges are narrow, and open proxies are automatically banned when found (in the case of Tor, there are special magicks in place) [00:14:59] (for editing) [00:15:24] no, not a bad thing at all, go use some software that does that [00:15:34] like, almost every software ever written before wikis came along ^_^ [00:15:38] <^demon> MediaWiki does too, it just isn't enabled by default. [00:15:38] well i use mediawiki, and i force registration to edit.. [00:16:05] perhaps it makes people less likely to edit, but it makes the job as an admin easier [00:16:07] and how many people use your wiki? several million? [00:16:09] <^demon> Splarka: As soon as my connection stops sucking a bit, I'll commit the revert.... [00:16:24] Splarka: of course not.. and i wasnt incinuating anything ;-) [00:16:25] ^demon: maybe just check if they're registered too? [00:16:41] Splarka: got 200 registered bots. i mean users though ;-) [00:16:48] heh, bots [00:17:32] im glad i chose mediawiki i have to say. i was down to docuwiki or mediawiki when ew started, and i chose mediawiki as I was sure it would continue to be improved [00:17:34] i was right! [00:17:36] ;-) [00:18:06] and api.php is bloody brilliant [00:18:19] would be lost without it [00:18:25] (as would the 200 bots) [00:18:28] :) [00:18:43] <^demon> Splarka: Not worth it. It'll provide an inconsistent UI experience to logged in/anon editors. [00:19:26] <^demon> Blood hell....why won't this thing revert already..... [00:19:30] <^demon> *Bloody [00:19:53] mmm, well, it would still be useful for wikis with no cache [00:20:01] so maybe you could have it check if there is a cache? [00:20:07] do you know if http://mediawiki.fckeditor.net/ is still ongoing [00:20:09] ? [00:20:14] it has been in "development" for some time [00:20:19] then you could keep bug closed as fixed with "broken with cache, not ppssible" [00:20:19] ok I figured it out... [00:20:23] ^po [00:20:29] <^demon> Splarka: if ( $wgMainCache != CACHE_NONE ) [00:20:45] the issue is that on the format argument it needs a double -- like this: [00:21:04] java -jar mwdumper.jar --format=sql:1.5 pages_full.xml.bz2 [00:21:16] there is an online tutorial that has it wrong [00:21:35] i'm getting the outputs now in SQL, without the switch it just makes another xml file [00:22:52] I'm making a mashup of WordNet and wikipedia to develop an algorithm that will automatically create non-destructive hyperlinks between documents [00:24:25] the goal is that documents could be added to a system and automatically hyperlinked with relevant links that have a certain probability of being correct. [00:25:42] kwilliam: Are you using Semantic MediaWiki? [00:25:58] no [00:26:24] i'm looking at different base systems [00:26:40] 03demon * r42282 10/trunk/phase3/ (RELEASE-NOTES includes/Skin.php): Revert previous commit, breaks cache. [00:26:41] i'm kinda interested in Drupal cause i'm a programming ninja on it [00:27:14] 04(REOPENED) "you are blocked - don't edit" message similar to " you have new messages" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2508 +comment (10innocentkiller) [00:27:27] thanks for the link to that [00:29:00] What i'm trying to do at the moment is get completely clean text articles that include some category tags and meta data, which will be inserted into a xml file. Each article will be a single xml file that contains some description information [00:30:10] I have to purge the links from the articles, but I'm going to collect some data on the links, since that will be added to part of the algorithm that is going to scan the documents. [00:33:20] <^demon> Whoops! Better not commit this....broke 39 previously passing parser tests :-p [00:35:29] <^demon> Oops, typo made that happen. [00:39:09] simonrvn: How do you do the 'SOURCE' syntax again for importing the original MySQL database? [00:40:07] 03demon * r42283 10/trunk/phase3/maintenance/parserTests.inc: Use wfMkdirParents() here, rather than 3 mkdir() calls. [00:40:55] kwilliam: SMW isn't perfect, but it's worth considering if you go with MW. Alternatively, TWiki has quite a bit of metadata handling built in and encourages experimentation. [00:40:59] just . /path/to/file [00:41:31] i'm looking for instructions (more of the url and what params) for uploading to a wiki using something like curl [00:42:19] In single quotes, or what? I'm getting errors, and I'm pretty sure the path is corrrect [00:42:54] thanks rich [00:43:02] I think that i'll probably use drupal [00:43:23] i'll look at the semantic media wiki too [00:44:00] i'm not tied to a system, but Drupal is something I know and the taxonomy api will make it easy to programaticly construct a taxonomy and tag content [00:44:08] Forward slashes or back? [00:46:54] Never mind, it's all Window's fault, making me think the ".../My Documents" dir was "Documents" [00:47:05] <^demon> uberfuzzy: The Special:Upload page has an "Upload from external URL" bit [00:47:12] <^demon> !copyuploads [00:47:12] --mwbot-- I don't know anything about "copyuploads". [00:47:25] *^demon kicks mwbot [00:47:58] <^demon> uberfuzzy: See this: http://www.mediawiki.org/wiki/Manual:$wgAllowCopyUploads [00:48:07] wont help here, i need to do a basic normal upload, i just need to automate it [00:49:12] <^demon> Oh :-\ [00:49:20] uberfuzzy: just check the
fields on Special:Upload [00:49:32] <^demon> Upload via the API doesn't exist yet :( [00:50:15] no, but you can submit POST to /wiki/Special:Upload same as the API [00:50:22] you just have to scrape the UI for success/error [00:50:28] yeah, looks like thats what i'm gonna have to do Splarka, was just hoping there was a pretty page with all the info already written out with what needs to be what [00:50:44] well, there is http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php [00:50:48] but that is mostly for GET [00:52:00] heh, also what you can do, is in a FF/MZ browser... [00:52:11] javascript:void(document.forms[0].method = 'get'); [00:52:18] and the check the generated URI [00:52:39] 14(DUP) Allow CSS styling of - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11161 +comment (10innocentkiller) [00:52:49] 03(mod) Allow HTML attributes for tags - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6019 +comment (10innocentkiller) [00:53:13] (although does nothing in GET, IIRC) [00:53:44] correct, but that just got me a lot of info i was looking for [00:53:45] 03(mod) change language tag from 'roa-rup' to 'rup' - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15988 (10contact) [00:54:55] another tricky thing uberfuzzy: javascript:void(document.forms[0].action = 'http://www.cs.tut.fi/cgi-bin/run/~jkorpela/echo.cgi'); [00:58:42] 03(mod) change language tag from 'roa-rup' to 'rup' - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15988 (10siebrand) [01:00:09] 03(mod) change language tag from 'roa-rup' to 'rup' - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15988 (10siebrand) [01:00:45] 03(mod) Anonymous users should have a similar interface to logged in users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11651 (10innocentkiller) [01:10:15] 03(NEW) autocreation should also not be allowed when account creation is blocked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16058 15enhancement; normal; Wikimedia: General/Unknown; (spacebirdy) [01:11:32] indeed [01:12:01] i swear that's already been done.. [01:12:18] well something is br0ke probably [01:14:49] 14(DUP) autocreation should also not be allowed when account creation is blocked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16058 +comment (10mikelifeguard) [01:14:56] 03(mod) Users can login with global account and create an account in a wiki even if IP is blocked from account creations - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11148 +comment (10mikelifeguard) [01:18:11] *f00li5h meows [01:18:44] thanks Splarka, got it working, both of those helped [01:19:24] I don't understand what "Internal link to image file" or [[media:example.jpg]] is good for... [01:19:47] it looks like it is the same as [[:Image:foos.jpg]] [01:20:16] try it and see the difference [01:22:08] [[:Image:Wiki.png]] => Image:Wiki.png [01:22:08] [[Media:Wiki.png]] => Media:Wiki.png [01:24:05] [[Special:Filepath/Wiki.png]] also does the same thing [01:48:30] 03(NEW) Unable to access Special: GloubalGroupMembership and Special:GlobalGroupPermissions. Even though the user has centralauth-admin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16059 major; normal; MediaWiki extensions: CentralAuth; (techman224) [01:58:25] 14(INVALID) Unable to access Special:GloubalGroupMembership and Special: GlobalGroupPermissions. Even though the user has centralauth-admin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16059 +comment (10Andrew) [01:58:29] techman224: you need to set up a global group with those permissions. [01:59:32] techman224: Do you have a local steward group on your wiki? [02:01:57] if the url argument was provided, embed it in an iframe [02:01:58] {{#if:{{{url|}}}|}} [02:02:13] any template gurus recognize the problem? [02:04:55] you have $wgRawHtml true? [02:05:02] yep it works when i enter the code [02:05:10] it's generating a url that indicates my syntax is wrong [02:05:13] i can't find it [02:08:49] aib: where are you getting [[url:: from? Sounds like something from SMW, but I'm not really sure [02:09:43] yep, it's from SMW. i successfully use the url parameter here for example: http://grey.colorado.edu/testwiki/index.php?title=Template:Paper&action=edit [02:10:04] http://img393.imageshack.us/img393/576/hesaidsemanticga2.jpg [02:10:12] *sigh* [02:10:13] lol [02:10:21] just pretend it's not....that word:) [02:10:37] well, fine, does {{#if:{{{url|}}}|}} work? [02:10:41] if you specify a full URL? [02:11:01] Werdna: Yes, I need help [02:11:38] techman224: in the CentralAuth directory, there'll be a migrateStewards.php file. [02:11:52] open it up in notepad or whatever [02:12:13] do I only need to dio it on one wiki? [02:12:19] yeah [02:12:19] Splarka, no :( http://grey.colorado.edu/testwiki/index.php/Corsetti2008 [02:12:20] just one. [02:12:49] this is the url it generates: http://grey.colorado.edu/testwiki/index.php/%7B%7B%7Burl|%7D%7D%7D [02:12:54] techman224: okay, what local group do you want to be added to the 'global admin' group? [02:13:06]

[02:13:13] hmm [02:13:27] Werdna: The steward group [02:13:29] basically it never parses the {{{url|}}} [02:13:31] must be a parser extension tag [02:13:34] it is [02:13:39] try {{#tag:html}} then [02:13:41] techman224: oh, you have a local steward group? [02:13:46] since it probably doesn't allow wikicode parsing natively [02:14:06] Werdna: Yes [02:14:20] techman224: okay then, just run that migrateStewards.php script from the command-line. [02:14:23] oop, you're 1.12, you might need the Tag extension [02:15:33] Werdna: Done [02:15:52] techman224: okay, now you should be able to use GlobalGroupPermissions [02:16:24] sparka, link to Tag extension? cant find it in the extension matrix [02:16:31] aib: http://www.mediawiki.org/wiki/Extension:TagParser although this may strip out