[00:12:24] hi all [00:12:40] i am strange... because i collect all strange problem -_- [00:12:52] so [00:13:33] i downloaded an extension, for embed vidéo ( http://www.mediawiki.org/wiki/Extension:EmbedVideo) [00:14:06] i setted my localsetting require_once('extensions/EmbedVideo.php'); [00:14:33] but nothing, when i put an example in my wiki (like {{#ev:youtube|dMH0bHeiRNg}} ) [00:14:59] maybe, is there another variable to allow the extension? [00:41:18] Links are not working in media wiki anymore. They are just showing up as bold text. [00:44:48] I am stuck, I cannot get it to link any further. And I don't know why. Other links on the page work. Are there some words/names/letter combinations that do not work as links in Mediawiki? [00:46:14] i cannot semi-protect and use cascade protection ? [00:47:15] anokta: no [00:47:37] because it would sysop protect anything you transclude on that page [00:47:38] :-/ [00:47:42] devs thought that awas bad [00:47:56] ;) [00:48:05] Why does the combination glmff not want to be a link in Mediawiki? [00:48:16] [[glmff]] just shows up as bold, not a link. [00:48:30] what about sub-pages..shouldn't they be protected when you protected the master page? [00:48:39] *protect [00:48:49] heh [00:48:51] maybe [00:48:54] put in a bug request :-P [00:49:13] ;) [00:49:21] Are you talking to me, or to alnokta, Cbrown1023? [00:49:44] alnokta [00:49:48] alnokta is my buddy :) [00:50:00] Jera: umm, maybe the link is the page itself :-P [00:50:02] :) [00:50:13] that's the only time I know they get bolded [00:51:41] Thank you. [00:51:53] But why would I have linked a page to itself... [00:51:56] Thanks. [00:52:01] ..... [00:52:05] I think that's it, yes. [00:52:10] really? [00:52:14] or are you yankin my chain? [00:52:23] I'm direct copy and pasting from another site. It worked on the other site. [00:52:39] linky? [00:52:43] Or at least, nobody noticed the link didn't work if it linked to itself. The difference between page links is one letter. glmfo and glmff. [00:52:55] oh [00:53:04] http://www.nanonomicon.com/wiki/index.php?title=Glmff [00:53:18] Here's the original page that it is being copied from. [00:53:32] http://adsnet.wikidot.com/glfmo [00:55:13] I found the problem. Copied the page twice... thanks. [01:06:09] greetings. I've searched the docs and can't find the answer to what I thought was a simple question: how to roll back an article to a specific version that's not the most recent. Do I really need to copy / paste the article contents? [01:06:45] I figured there'd be a 'roll back to this version' link somewhere on the history page... kinda just always assumed it was there, though never needed it until now. [01:07:36] dre^, you go to history..open the version you love..click edit -> save [01:07:54] I see [01:08:17] I suggest the ability to be able to roll back to any selected version in the history page :) [01:08:54] Thats the undo feature I believe, you can get it from diffs. [01:09:47] oh yes, 'undo' [01:09:53] but then there's ALSO a rollback link [01:09:57] what's that supposed to do? [01:11:30] hmm... undo do didn't do what I think it would. not sure what it did. guess I need to read about it. [01:15:29] Rollback rolls back the latest contributions from that user [01:15:45] apparently I have to edit / save [01:15:55] which seems a bit roundabout, but should work [01:20:53] thanks guys, cheers [01:24:21] 03(mod) Closing of Herero Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10690 (10cbrown1023) [01:30:46] 03(NEW) create the possibility to rename pictures ( and other uploaded files) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10734 15enhancement; normal; MediaWiki: Images; (cbrown1023) [01:30:50] O_O [01:33:14] 03(mod) create the possibility to rename pictures ( and other uploaded files) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10734 +comment (10fearow00) [01:33:43] 14(DUP) create the possibility to rename pictures ( and other uploaded files) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10734 +comment (10cbrown1023) [01:33:49] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 +comment (10cbrown1023) [01:34:52] 03(mod) create the possibility to rename pictures ( and other uploaded files) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10734 (10cbrown1023) [01:41:38] 03(mod) create the possibility to rename pictures ( and other uploaded files) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10734 +comment (10oscar.wiki) [01:44:54] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 +comment (10oscar.wiki) [01:57:58] 03rotem * r24422 10/trunk/phase3/languages/messages/MessagesHe.php: Fix. [02:04:55] 03rotem * r24423 10/trunk/phase3/maintenance/language/writeMessagesArray.inc: Use native newlines when rebuilding a messages file. [02:10:29] Is there a way to hijack all the external link in a hook and rewrite the html code that is generated for them? I specifically want to use this to create a googaleanalytics extension... [02:15:16] Anyone on a good fotting wiht the hooks for page rendering ? [02:15:31] http://www.mediawiki.org/wiki/Manual:MediaWiki_hooks/ParserAfterTidy [02:15:40] Is that completely rendered, all html done ? [02:18:29] 03rotem * r24424 10/trunk/phase3/ (4 files in 3 dirs): A message (fileexists) with the same name of another one was introduced in r24313; renaming it to fileexistserror. Other messages files that updated since this revision may also have to rename the message. [02:22:31] 03rotem * r24425 10/trunk/phase3/maintenance/language/messages.inc: Use the same order as in the English messages file. [02:25:25] anywhere a complete list of hooks? [02:25:27] 03rotem * r24426 10/trunk/phase3/languages/messages/MessagesHe.php: Rebuild. [02:37:51] anybody could offer help on setting up an infobox? [02:48:05] 03(NEW) Blacklist certain filename patterns - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10735 15enhancement; low; MediaWiki: Uploading; (dstoykov) [03:14:36] 03(mod) Blacklist certain filename patterns - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10735 +comment (10wikipedia.danny.b) [03:18:10] <_Danny_B_> daikaiju: i'd suggest rather #wikipedia for your question [03:20:11] Danny, you got an idea who is the person to go to for hook questions? [03:20:40] evan [03:21:19] flyingparchment: evan is the hook master? :) [03:21:25] he wrote hooks [03:23:01] Thanks a lot then. Now i only need to catch him here and i am good :) [03:30:28] Does evan come on here at all? Or what you think is the best way to reach him? [03:34:56] danny b thanks... [03:52:05] hello:) [04:01:16] Ok, how can I pass something to ./maintenance/tables.inc to create the db from a shell? [04:01:33] Just pass in $wgDBprefix? [04:25:40] blergh, so many hard-coded values in the mediawiki source [04:25:47] # Set up the database [04:25:47] $dbw->query( "SET table_type=Innodb" ); [04:46:16] 03(mod) Unlock move permissions checkbox not working correctly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10732 (10wiki) [04:48:54] 03(mod) api.php can return an "wikimedia foundation error" html page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10733 +comment (10yuriastrakhan) [06:01:17] hi, anyone know the easiest way to convert xml to text, on unix? [06:07:52] or Mac OS X [06:11:21] anyone? [06:14:46] it is text [06:14:51] Just formatted using XML tags [06:15:21] I'd like to do some word frequency analysis [06:15:35] so I'd like to get rid of the xml tags and just have raw text [06:17:28] xmlto chokes, b/c the dump files are too big [06:21:07] $ xmlto txt dewiki-20070727-pages-articles.xml [06:21:14] xmllint(29175) malloc: *** vm_allocate(size=8421376) failed (error code=3) [06:21:19] xmllint(29175) malloc: *** error: can't allocate region [06:29:53] any suggestions? [06:35:33] hey, can anyone help me setting up templates? [06:42:05] I think most of the ppl here are sleepin' [06:43:05] dang, could you help? [06:43:23] i just came by asking a question too :) [06:43:28] ah lol [06:43:57] I need help implementing templates, you? [06:45:11] I'm trying to strip all the xml out of a German database dump, so I can do word frequency analysis, to make flash cards of the most frequent words [06:48:23] ah [06:48:27] sounds hard lol [06:48:37] hehe i don't think it should be too bad [06:48:43] seems like a great way to learn german [06:50:32] ah ya [06:50:55] deutch ist schwer man, sicher für amerikanen [06:51:07] *deutsch [06:51:17] *amidaniel stabs google translator [06:53:54] lol [07:44:46] do i have to edit localsettings.php to make MediaWiki:Sidebar editable? [07:48:28] you have to be a sysop [07:52:39] yes it's on my own wiki [07:53:21] i can edit it but when i add items and their links and titles to MediaWiki: only some seem to work [07:54:39] aha. because i moved the links and titles to the MediaWiki: namespace rather than creating them there the software hasn't seem them. a null edit fixes it. seems like a minor bug [07:59:31] hello, is anyone present? [08:02:12] <_wooz> lo [08:03:29] I need some help implementing templates into my wiki, could anyone give me a hand? [08:09:11] hmmmmm [08:12:22] *Evgen2 had yesterday a problem: clear crean instead some category... /me think that is something with ":" in url problem [08:16:08] *Evgen2 today changed category name in template and loooked at new category for some time and next saw clear screan instead it while old category is rendering ok now (some articles have template and some - category) [08:16:57] so it is error somewhere withing wiki. how I cat treace it ? [08:17:30] treace=trace [08:19:49] is there a syntax to extend NUMBEROFARTICLES to other namespaces ? [08:20:25] or another way to count articles in a namespace ? [08:29:54] *Evgen2 found the reason for clear screan: PHP Fatal error: Allowed memory size of 67108864 bytes exhaust in php_err.log [08:32:25] *anger2headshot is away: I'm away because I am. Why are you reading this? [08:35:57] *Evgen2 upload_max_file=20M and thereis no enouph 64M to handle image... [08:40:37] DCC SEND C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ [08:40:38] DCC SEND C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ [09:08:51] is it still possible to access the message cache from the browser? [09:09:55] how do i use an image as a link for a url (that uses an internal parser function)? [09:13:44] (without using ?) [09:23:04] can anyone help me with templates? [09:23:04] ... [09:23:36] how do i parse some wiki formatted text in an extension? [09:29:46] ive written an extension, and i have it to hook at parse so that it creates a html link. the attribute "url" is passed as an argument, but wiki formatting is not parsed before passed to the extension. how to i get it to parse? [09:30:10] i am running mediawiki version 1.6.10 [09:31:04] Good morning! I am Dave Black (an italian user and an it.wikipedia editor). Are there in this IRC Channel italian users? I've some problems with MediaWiki 1.10, but I am not english so I can't speak english very well. [09:32:58] Updating my LocalSettings.php the software go to error so I can't change the logo and enable the Image-Upload on my wiki. [09:33:19] I use the last version of MediaWiki, is it a bug? [09:33:43] ehh, if anyone has a solution feel free to reply, ill be back pretty soon... [09:33:45] *anger2headshot is away: I'm away because I am. Why are you reading this? [09:34:01] Hi Anger. [09:34:10] Is there nobody?? [09:35:27] O_O [09:35:33] uff [09:36:25] Does nobody know what is my problem?? [09:38:46] If anyone will find a solution for me, he can reply me on pvt. Write me soon. Bye [09:41:04] Night in the US??? [09:41:44] hmm...Ajax Show Editors extension gives "Currently editing: [09:41:44] ERR: page id invalid [09:41:44] " when you're editing a category... [09:42:51] can anyone help me setup some templates? [09:44:18] 'lo, is there a chance that MonoBook.php could be more documented, so that making new styles for MediaWiki-based wikis could be easier? [09:49:52] anyone? [09:51:01] PG|Dean: Are you also wanting to customize your wiki? :D [09:52:31] well, thing is [09:52:35] I'm testing the wiki [09:52:52] and I copied a page, and am now trying to get the page from wikipedia to work on my wiki [09:53:07] but I'm having problems with the templates, especially Taxobox and otheruses [10:01:56] umm i need some help, i installed media wiki on my website how do i add topics and answers and that sort [10:05:56] *anger2headshot is back (gone 00:32:10) [10:06:14] Hierophant - just go to an article and create it by editing it [10:06:30] ive written an extension, and i have it to hook at parse so that it creates a html link. the attribute "url" is passed as an argument, but wiki formatting is not parsed before passed to the extension. how to i get it to parse? [10:06:32] theres no articles yet [10:06:43] Hierophant - to create an article you edit it :) [10:07:14] can i make premissions so only certain people can read certain articles [10:07:46] try http://www.mediawiki.org/wiki/Extension:Lockdown [10:07:59] note that is experimental version and works only with 1.9+ [10:11:26] *sigh*... [10:16:43] fine, if no one can help with my extension... [10:17:00] is it possible to have an image as a link? [10:17:18] i tried [http://www.google.com [[Image:Foo.png]]] but that doesn't work. [10:20:30] Copy the Lockdown directory into the extensions folder of your MediaWiki installation. Then add the following lines to your LocalSettings.php file (near the end): [10:20:32] I get how to add the following lines but where do i get the directory [10:21:17] srry dced [10:23:35] can anyone help me with templates? [10:23:36] 03(mod) Update for Cantonese language (zh-yue) #49, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese (PRC) and Chinese (Taiwan) localisation (zh-cn/zh-tw) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10724 +comment (10shinjiman) [10:31:25] localsettings.php is in the directory where mediawiki is installed [10:38:48] <_Danny_B_> ThomasV: {{PAGESINNS:ns}} - disabled on wmf wikis though [10:45:01] _Danny_B_: thanks. why is it disabled ? [10:45:26] <_Danny_B_> ThomasV: i suppose performance reasons [10:46:24] I thought the counter did not impair performance (at least NUMBEROFARTICLES) because it is updated incrementally [10:50:42] *anger2headshot is away: I'm away because I am. Why are you reading this? [10:52:27] 03(mod) Blacklist certain filename patterns - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10735 (10wikipedia.danny.b) [10:55:20] <_Danny_B_> ThomasV: iirc, number of articles can be take directly from db table, since it's changed during edit submits, but pages in ns isn't stored, so it requires select [11:21:01] *anger2headshot is back (gone 00:30:19) [11:21:28] when editing a pre existing page, why doesnt &action=edit&editintro=MediaWiki:Forum_intro work? [11:21:41] it works when creating a page. [11:27:20] 03(NEW) Set xml:lang by each translated subpage of Template: Languages, especially for Wikimania sites - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10736 15enhancement; normal; MediaWiki: Page rendering; (barabbas) [11:29:11] bjr [11:36:47] Hi all. Is there a way to force a wiki to purge and regenerate the list of Special:Wantedpages? [11:38:16] 03(NEW) Table data missing on first page view - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10737 normal; normal; MediaWiki: General/Unknown; (efaulk1100) [11:40:15] 03(mod) Table data missing on first page view - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10737 +comment (10efaulk1100) [11:41:37] 03(mod) Long titles cause incorrect display in RC->IRC feeds - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4253 +comment (10valhallasw) [11:47:42] 03(mod) api.php can return an "wikimedia foundation error" html page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10733 +comment (10cbeckhorn) [12:31:08] i have a question about the API documentation on login: why can't i register a username (for example after a user rename) [12:31:11] staying logged [12:31:30] but http://it.wikipedia.org/w/index.php?title=Speciale:Entra&type=signup&lgname=foobar&lgpassword=12345 [12:31:43] this link seems not to work, suggestions? [12:49:07] Is 1.10 *significantly* than 1.5 or 1.7? That is the impression I got but maybe the previous installations were on a faster computer, I don't remember. [12:57:46] Laibsch: this chan doesnt seems so chatty now [12:58:06] Helios: What is your experience? [13:00:01] Laibsch: im here just to ask a hint [13:00:08] but http://it.wikipedia.org/w/index.php?title=Speciale:Entra&type=signup&lgname=foobar&lgpassword=12345 why this link does not work [13:01:26] Helios: Is that a technical question or one directed at wikipedia? [13:01:32] It seems like more of the latter to me [13:02:05] Laibsch: i thought it was quite technical because i followed what was descripted in login API and i couldnt have success [13:02:40] Laibsch: it isnt referred only to wikipedia, i think its same things on other wikis too [13:02:49] did you test? [13:03:19] no, but there is no clue that it is only on wikipedia this problem [13:07:51] Laibsch: http://uncyclopedia.org/index.php?title=Special:Userlogin&type=signup&lgname=pippo <-- same with wikia [13:08:06] OK [13:08:24] But it could still be something that an admin can choose to have set up this way [13:08:49] Stil, you might want to check #wikipedia if you have no luck here? [13:09:11] well this is not a extension or something else, is simply the login api [13:09:39] hi [13:09:50] hi [13:12:29] Laibsch: i found out what was wrong :\ [13:12:35] shame on me! [13:12:53] hi datura [13:45:37] 03(NEW) Revert versions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10738 15enhancement; normal; MediaWiki: History/Diffs; (wikipediabaeren) [13:46:06] 03(mod) api.php can return an "wikimedia foundation error" html page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10733 +comment (10robchur) [14:03:27] Is 1.10 *significantly* slower than 1.5 or 1.7? That is the impression I got but maybe the previous installations were on a faster computer, I don't remember. [14:09:19] good evening [14:20:38] Good Evening Gentlemen [14:20:38] You Have No Chance to Survive Make Your Time [14:21:19] no Lady i my case [14:21:53] hello [14:22:13] boring #wikia bye [14:22:31] it is 16.30 CEST in Germany Schroeder [14:32:41] 03robchurch * r24427 10/trunk/phase3/ (3 files in 2 dirs): (bug 10732 and others) Further fixes to protect chaining JavaScript; introduce addClickHandler() to work around missing addEventListener() in IE and other browsers that suck [14:32:56] 03robchurch * r24428 10/trunk/phase3/skins/common/wikibits.js: Tweak comment [14:43:09] I never had River pegged down as a Harry Potter fan. [14:45:38] 03(mod) Diff misses certain changes - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10511 +comment (10EN.WP.ST47) [14:45:39] 14(DUP) Revert versions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10738 +comment (10EN.WP.ST47) [14:49:09] *Sundance_Raphael had read Herry Potter only to can speak with the rest of my class [14:49:35] not my booksstil i must say robchurch [14:53:03] 03(mod) Unlock move permissions checkbox not working correctly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10732 (10robchur) [15:09:51] i've been searching on goolge and mediawikik,org how to uncomment lines like eg. // how do i do that? [15:12:26] ohnly take the // frome the source code [15:13:53] *robchurch wonders: Is there a crappier browser than IE? [15:14:35] Sure, the next version of IE. [15:14:44] lol [15:14:51] I don't think its possable to crappier one.. [15:15:08] no the Dosbrowser is more bad i think [15:16:02] say i have a line "foobar" and I don't want it to show, but I don't want to remove it how would I do that within the wiki editor.. [15:16:24] ScarFreewill: [15:16:35] ah normal html :P [15:16:45] thanks [15:18:49] how would I do that for the sidebar? [15:21:14] 03robchurch * r24429 10/trunk/phase3/skins/common/protect.js: Document this file all over [15:21:30] ah, I have to do it all in one line or create a new for each line [15:21:48] Set the destination to "-" [15:39:18] hi yurikny [15:42:13] hi datura [16:07:49] 03(NEW) Comments for image reversions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10739 15enhancement; normal; MediaWiki: Images; (lejonel) [16:24:12] can anyone tell me what exactly was the problem with allowing monobook.js on Special:Login and Special:Preferences? or where to find the svn commit logs so i can search for it myself? [16:37:29] datura: As far as I can remember, it was disabled as a precaution to prevent malicious scripts stealing passwords and doing other wicked things. [16:38:00] One hopes that such scripts wouldn't be usable, but a lot of users are prone to whacking in random bits of JavaScript and trusting whoever wrote it. [16:39:42] 03(NEW) Comments for deletion of old versions of images - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10740 15enhancement; normal; MediaWiki: Images; (lejonel) [16:40:12] robchurch: thanks. sound's like i have to find some ugly hack around it. [16:43:25] robchurch: on de i personally have a talk with everyone allowing some admin to change his monobook, but i guess on en it's not conttrollable any more.. [16:43:49] *ochoha is away: Gone away for now. [16:44:33] datura: if you want to allow user JS, try deleting $wgOut->disallowUserJs(); in includes/SpecialPreferences.php and includes/SpecialUserlogin.php [16:45:09] 03(NEW) Delete link in file history for non-admins - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10741 15enhancement; normal; MediaWiki: Images; (lejonel) [16:47:55] 03(mod) Closing of Herero Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10690 (10robin_1273) [16:50:56] 03robchurch * r24430 10/trunk/phase3/includes/ImagePage.php: strpos() !== false is faster than strstr() [16:55:11] 03(mod) Delete link in file history for non-admins - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10741 +comment (10robchur) [16:56:07] *ochoha is back. [16:58:14] *ochoha is away: Gone away for now. [17:31:50] hi all [17:31:51] ^^ [17:37:34] Hello, question about system message in User contrubition "From year (and earlier)". Is preposition "from" right? Maybe is should be "to year ..." [17:38:22] Most probably, it's not. [17:48:03] 03(NEW) ProofreadPage slowly destroys HTML entities - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10742 major; normal; MediaWiki extensions: ProofreadPage; (Graf.Zahl) [17:58:17] 03(NEW) Move protections not unlockable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10743 major; normal; MediaWiki: Page editing; (magnusanimum) [18:05:42] 14(DUP) Move protections not unlockable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10743 +comment (10robchur) [18:05:42] 03(mod) Unlock move permissions checkbox not working correctly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10732 +comment (10robchur) [18:17:23] 03(mod) ProofreadPage slowly destroys HTML entities - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10742 (10thomasV1) [18:32:50] 03(NEW) Parse wiki text when page does not exists and action=info - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10744 minor; low; MediaWiki: Page rendering; (alex.emsenhuber) [18:35:42] 03(mod) ProofreadPage slowly destroys HTML entities - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10742 (10N/A) [18:35:57] 03thomasv * r24431 10/trunk/extensions/ProofreadPage/proofread.js: escape & in html [18:36:54] 03(FIXED) ProofreadPage slowly destroys HTML entities - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10742 +comment (10thomasV1) [18:42:01] 03robchurch * r24432 10/trunk/phase3/ (6 files in 6 dirs): [18:42:01] * Use a table to present file histories [18:42:01] * (bug 10741) Don't show deletion links for non-sysops [in file histories] [18:42:33] 03(FIXED) Delete link in file history for non-admins - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10741 +comment (10robchur) [18:48:31] 03robchurch * r24433 10/trunk/phase3/includes/media/BMP.php: [18:48:32] * More precise comment [18:48:34] * Trim whitespace [18:51:49] 03robchurch * r24434 10/trunk/phase3/includes/ImagePage.php: Whoops, missed this one... [18:53:55] 03robchurch * r24435 10/trunk/phase3/includes/ImagePage.php: Note [19:05:08] I get this on my local wiki: nknown column 'img_sha1' in 'field list' [19:05:19] what is it for? [19:06:40] all? [19:07:36] hojjat: Run php maintenance/update.php --quick [19:08:06] (do an svn up first) [19:09:25] Said "no superuser creditionals" [19:09:32] shall I add them to localsettings.php? [19:10:04] robchurch? [19:10:28] You can do. [19:10:58] $wgDBadminuser and $wgDBadminpassword, it doesn't actually matter if you set them in LocalSettings.php instead of AdminSettings.php - indeed, that's what I do locally. [19:11:31] ok fixed [19:11:55] what was that for by the way? [19:12:54] robchurch, and how can I make the "search" feature of local wiki to work? Do I need to build a cache? and how? [19:13:42] The "superuser credentials" are needed so the updaters can alter the database; the updater is needed to detect and add the missing img_sha1 column. [19:14:04] The search engine, by default, uses MySQL's full text matching, and should "just work", with some (well, quite a few) caveats. [19:14:39] robchurch, I'm donig php rebuildtextindex.php now [19:15:15] will it help? and what as that new (imgsha1) column for? [19:17:20] It holds the SHA1 hash of the file, which I presume is to be used for various things, including finding duplicate images; I believe it was also used to help speed up deletion/undeletion, although I might be misremembering. [19:18:19] thank you [19:21:01] by chance somebody from "wik.is" in here? [19:26:51] 03(NEW) Formatting of Negro League Side Box - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10745 normal; normal; MediaWiki: Page rendering; (aaronbs) [19:32:14] 14(INVALID) Formatting of Negro League Side Box - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10745 +comment (10robchur) [19:32:31] re [19:46:34] robchurch: but why addClickHandler() and not addHandler(), why intentionally make it less universal? [19:46:39] ( http://bugzilla.wikimedia.org/show_bug.cgi?id=10732 ) [19:46:48] Because I was fixing the immediate problem. [19:47:02] I considered adding a more universal handler-adding thing but decided against it. [19:47:18] Since you apparently can't function without it, I shall at once correct my obvious mistake. [19:47:30] We could use that in userscripts :( [19:47:46] I'm adding it, I'm adding it! [19:49:44] and "to avoid breaking the chain" ii too cryptic in wikibits.js, since the bug is not mentioned [19:50:53] "to avoid breaking the chain" is no longer used in the comment [19:54:01] 03robchurch * r24436 10/trunk/phase3/skins/common/wikibits.js: Refactor addClickHandler() and introduce addHandler() [20:00:20] *uchuhu is back. [20:00:32] wb [20:09:45] Hi... anybody here? [20:10:07] Dtobias: possibly. try asking. [20:10:22] Sorry... just noticed the "Don't ask if anybody's around" line. [20:10:36] Anyway, I've got a problem getting references/footnotes to work in my wiki. [20:10:50] jes [20:10:53] yes [20:10:55] after installing the Cite extension? [20:11:19] hmm [20:11:23] Perhaps I don't have the extensions installed? [20:11:41] I use Dreamhost as my host, and used its one-click install. Today I updated it to the latest Mediawiki version. [20:12:13] Dtobias: yes, they are not packaged with the core MediaWiki. [20:12:41] 03robchurch * r24437 10/trunk/phase3/includes/ImagePage.php: Lucky bug [20:12:56] see http://www.mediawiki.org/wiki/Extension:Cite [20:12:58] and don't work at all, while the {{note}} and {{ref}} tags give the appearance of working but end up putting in bogus IDs that don't work for internal page links [20:14:45] Dtobias: you definitely need to download and install the extension; it's easy. [20:15:22] OK, I'll try it. [20:15:31] Thanks for the help. [20:15:43] np, enjoy mw [20:32:29] robchurch: you know, our patch for exporting a backup from a wiki has made me happy. I once switched to mediawiki and noted all cons against mediawiki, most important was that there was no possibility to backup the whole wiki [20:33:14] Well, that's not correct. There are several means of doing it; you just can't do it from the web interface. [20:33:32] XML dumps also don't comprise the "whole wiki" - it excludes things like users, and the actual files. [20:34:37] robchurch: ACK twice. [20:34:47] in Confluence there are XML backup features in the web interface, but i still have to do an additional mysqldump cause the XML output of the complete wiki always fails ..timeout before its done [20:39:03] here is this mediawiki hive/farm called wik.is, [20:39:26] a regular directory page looks like http://www.wik.is/index.php?page=directory&l=a [20:40:01] i wonder if its bad for them that you can append any html to the l= ,like http://www.wik.is/index.php?page=directory&l=%3Cblink%3EFNORD%3C/blink%3E [20:40:26] it seems external images just dont work inline, cause it makes the complete URL UPPERCASE [20:45:19] 03robchurch * r24438 10/trunk/phase3/includes/filerepo/File.php: What is this, Blankety Blank? [20:54:22] i'm using the newest stable for php5 and encountered the problem that i can't pass arguments to templates which use html tags, i applied the latest patch in bug 2257, but it's not helping any [20:55:16] so, when i'm for example using the googlemaps-extension which has this -tag, it just parses it without replacing the {{{latitude}}} etc with the appropriate variable values [20:57:26] if anyone has encountered the same bug, i'd be extremely happy to get a hint of how to resolve it :-) [20:58:54] It's a well-known issue; tag extensions are supposed to deal with their own input. [21:01:45] is a scap likely to happen before wikimania ? [21:02:41] robchurch: but hmm, so the parser functions in a way that when i type piksi: No, he means, having {{#googlemaps}} instead. [21:07:14] Tag callbacks get raw, plain text from the parser. [21:07:17] ah, i thought he meant using parserfunctions-extension to render the output [21:07:29] This happens quite early on during the parse process. [21:07:57] robchurch: my idea is: define a set of gadget pages (js and css, in the MW namespace) on MediaWiki:Gadgets or some such, using a syntax similar to the one used for the sidebar, or for the license selector. use that to offer a list of choices in the user prefs. include user js and css according to those choices. [21:08:07] Duesentrieb_: isn't it similar to what they have on facebook ? [21:08:10] that should be more safe, and also much more easy to use... [21:08:13] Duesentrieb_: Yes. [21:08:21] ThomasV__: i have never used facebook. nor do i really want to :) [21:08:33] ThomasV__: In concept, but not in implementation; I don't think we want to go the whole hog of reproducing Platform. [21:08:36] neither have I. I just heard about it [21:09:17] Duesentrieb_: It sounds good, won't be hard to do, and would make a nice extension. I say, go for it. [21:09:24] robchurch: ok, i'm not yet familiar with all the concepts here, but thanks for poking me to the right way, i'll look if using that would solve my problem [21:10:00] Duesentrieb_: the tricky thing is, will js gadgets be compatible with each other ? [21:10:14] robchurch: so you think it's worth a shot? not sure when i get around to do it... maybe i'll start now :) [21:10:24] Duesentrieb_: Definitely. [21:10:40] cool, thanks for the feedback, rob [21:10:46] *Duesentrieb_ wonders why it hasn't been done already [21:10:55] ThomasV__: if they suck, the'll conflict :) [21:11:05] Incidentally, I'm very sure it was proposed as a Summer of Code project last year. [21:11:06] Hello, i've created a new namespace for my test wiki. is it possible to make the search tool search the main namespace *and* the custom namespace by default? [21:11:30] Duesentrieb_: PDD did quite a good job in collecting JS snippets and testing them for compatibility [21:11:38] lousygarua: yes, there is a setup variable for that [21:11:59] robchurch: would you know offhand where i would hook in to put something into the preferences, and per-user stuff into the html head? [21:12:07] datura: PDD? [21:12:39] datura: anyway - what do you think of the idea? [21:13:15] Duesentrieb_: sounds good. maybe there should be a little library with common code for this purpose. [21:13:27] Duesentrieb_: this PDD: http://de.wikipedia.org/wiki/Benutzer:PDD [21:13:47] Per-user stuff would be something in the Skin, I guess. [21:14:19] Preferences could do with additional hooks. [21:14:26] datura: hm, it sucks that JS doesn't have a way it "include" code from a URL... [21:14:37] wenn, no nice way, anyhow [21:14:45] docuemnt.write kind of sucks. [21:14:46] yes [21:14:58] Duesentrieb_: you can use write [21:14:59] XMLHttpRequest+eval sucks even more ;) [21:15:04] hehe [21:15:39] datura: how about a magic comments, and letting mw handle the dependencies?... hm, obscure and overkill, or the Right Thing? [21:15:47] hmm [21:16:04] my instinct says: magic is bad. [21:16:10] yea [21:17:06] datura: anyway.. one "gadget" may require more than one snippet to be included anyway. so it wouldn't be hard to include common snippets.... including them more than once should be avoided, though [21:17:56] dojo has a usable system for this purpose. [21:19:51] how do they do it? [21:22:32] Duesentrieb_: iirc one of the sucking ways above, wrapped in a simple JS function dojo.require(moduleName) [21:29:09] datura: i think i'll go with simply ** SomeGadget|CommonStuff.js|SomeGadjet.js|SomeGadget.css [21:30:07] where is wgRequest defined ? [21:30:51] Duesentrieb_: sound good enough for a start. [21:33:21] oh, WebRequest [21:34:41] datura: btw, about your question reagarding user js being diabled on the preferences page - i just found this in SpecialPreferecnes.php: $wgOut->disallowUserJs(); # Prevent hijacked user scripts from sniffing passwords etc. [21:34:46] makes sense... [21:37:16] <_Danny_B_> is in the core? [21:42:58] Duesentrieb_: sadly it does. it just completely breaks my monobook on these pages. interestingly, the "solution" i thought about would be possible for the bad guys, too... [21:51:45] datura: oh? do tell. [21:54:26] there seems to be an urgent problem with the "unlock move permissions" checkbox [21:55:21] We're aware of it. [21:56:02] In fact, it's been fixed up, twice. [21:56:25] when does it take effect [21:56:41] Next scap. [22:00:57] 03robchurch * r24439 10/trunk/phase3/ (6 files in 4 dirs): [22:00:57] * (bug 10739) Users can now enter comments when reverting files [22:01:01] * You'll see some commented-out bits left in indicating I had bigger plans for the interface - some notes there, in case it's possible in the future [22:01:13] what units would we measure the time between now and then [22:02:04] presumably a full protect will still protect from both edits and moves by default. i'm just curious whether i'd be able to reduce it to moves only before going to bed. [22:02:30] I have no idea, scapping is not my department. [22:03:41] 03robchurch * r24440 10/trunk/phase3/includes/FileRevertForm.php: Left in a comment [22:04:04] 03(FIXED) Comments for image reversions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10739 +comment (10robchur) [22:05:01] last question (i swear) is there a publicly viewable scap log [22:05:16] Not that I know of. [22:05:21] 03robchurch * r24441 10/trunk/phase3/includes/FileRevertForm.php: Longer comment box [22:05:23] :( ok [22:05:52] robchurch: but hey, you could try to scap now, just to learn how it all works! [22:09:34] actually i figured out how to sidestep the bug [22:11:43] by selecting edit=sysop (which moves both bars down), then checking the box and moving the edit permission back to "allow all", although it remains greyed out on the right [22:11:52] maybe that will be helpful to others in the meantime [22:13:40] "Try to scap", what nonsense. [22:24:31] 1054: Unknown column 'img_sha1' in 'field list' (localhost) [22:24:52] that was added recently, right? so... update.php should kind of add it? [22:28:22] oh wait, i think the error message got cached [22:31:57] robchurch: I am writing an extension that will add metadata to wikisource pages. I am wondering if it is better to add a column to the page table or to create a new table [22:32:06] New table [22:32:28] a new table will create more requests [22:32:36] "More requests?" [22:33:15] yes, the goal is to display page quality in the links, so the parser will do more requests [22:33:23] You are going to want to pull from a metadata table far less often than the page table; if you stashed the data in the page table, it would mean you frequently pulled down a lot of useless data. [22:33:47] "Page quality"? Be careful you don't replicate the functionality of the forthcoming FlaggedRevs in any way. [22:33:57] Extensions should not be altering core tables. [22:34:40] is FlaggedRevs a new flavor of StableVersion ? [22:34:47] Yes. [22:35:04] no, I'm not replicating this I guess [22:35:30] What do you mean by "page quality", exactly, and what do you want to do with it? [22:36:17] I want to add css classes to the links, ie extend the 'new' 'stub' 'known' existing hierarchy [22:36:54] currently the parser checks for page length to decide if they are stubs [22:37:09] I want it to check metadata instead [22:37:27] I don't think it's possible to do that in an extension without doing some quite considerable work on the link cache, linker, etc. [22:39:21] well, the fact that this stub coloring is currently included in the parser does not seem good to me [22:39:53] *robchurch shrugs [22:40:05] so maybe this will enforce a better organization [22:40:52] linker needs only minor changes, I do not know about the cache [22:59:44] yurikny: what do you think, would it make sense to write XML schemata for api.php-results? [23:02:40] 03(NEW) descriptive text for Special:Attributes is misleading - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10746 normal; normal; MediaWiki extensions: Semantic MediaWiki; (info) [23:06:47] oh cool, i got the right chan. I know this will sound really dumb, but how do i create a category? [23:08:22] SigmaProject: Put something in it. [23:08:38] [[Category:Foo]] on a page puts that page in the category "Foo", and the category will then "exist" [23:08:48] You can create a little description page for the category if you want [23:09:04] the problem is i cant seem to find a 'administrator' page [23:09:08] like how to add users [23:09:22] SigmaProject: there'S no administrator page [23:09:36] SigmaProject: to add users, create an account just as if you had none. [23:09:52] that's because usually, users create themselves. [23:10:36] i see, thanks [23:15:05] n8 [23:16:08] datura: of course [23:16:32] moreover, it would be the first step to create a proper .net library for mediawiki :) [23:25:46] yurikny: i'm seriously considering to write some, but i'm afraid tags like are too variable in content to get it done easily. [23:26:46] yurikny: about how many people are relying on the XML output as it is now? [23:27:43] robchurch: do you like that table layout on imagepage? [23:27:45] i'm not sure i like it :) [23:28:18] Is your question, "do you [Rob] like [what you've done with] image pages" ? [23:28:51] I dislike two things about it; the two cells in the top left look a bit crap, and "dimensions" should be "duration" for audio, etc. [23:29:00] *nod* [23:29:31] i think it could definitely use some style work instead of me reflex-reverting it ;) [23:29:33] I was going to talk to Tim about his suggestions regarding the latter, since it would come from the media handler. I'm not sure how to resolve the first issue. [23:30:06] the cell borders look awkward to me [23:30:19] my inclination is to just leave it nice and open and clean [23:30:19] What I would be grateful for is if you would review the JavaScript unborking/reborking I've done very recently; everything works for me, but I'd like a second opinion on it. [23:30:23] *robchurch nods [23:30:44] I was trying to be consistent with Special:Imagelist. [23:30:49] using addEventListener for click handlers sounds good, but i'll take a peek over it [23:31:01] well special:imagelist is hideous imho :D [23:31:44] datura: hard to say. you can look at the http://noc.wikimedia.org/cgi-bin/report.py -- sort by title, and see the xml formatter counts [23:32:09] Ditch the borders, or the colouring too? [23:32:50] Notice: Undefined variable: k in /opt/web/pages/trunk/includes/media/Bitmap.php on line 277 [23:32:56] i'm getting this on a couple of images, weird [23:33:15] that's timcode [23:33:26] foreach ( $formatted as $name => $value ) { [23:33:26] $tag = strtolower( $k ); [23:33:49] Suspect that should be s/$k/$name/ [23:34:01] hmm [23:34:06] well if i do that, then i get a table full of [23:34:09] [23:34:10] etc [23:36:02] Probably related to addMeta(), maybe line 187 in includes/media/Generic.php [23:36:18] yurikny: another question -- how do i url-encode page titles and such for api.php? UTF-8 in all cases, or does that depend on how the wiki is configured? [23:37:26] 03brion * r24442 10/trunk/phase3/includes/media/Bitmap.php: fix an immediate php error, but result is still wrong -- we get 'exif-exif-make' etc, since the tag already has 'exif' in the name. Something's broken, but not sure where [23:38:54] Be nice if there was a doc block for that func :D [23:40:05] datura: connection trouble [23:40:06] 03brion * r24443 10/trunk/phase3/includes/media/Bitmap.php: [23:40:08] Hopefully fix the problem with EXIF field names being listed as etc in the image table. [23:40:10] Since the type is already added to the sub-name, presumably the type ('exif') should not be added in again here. [23:40:24] datura: mediawiki is always utf-8 [23:47:44] Anyone around? [23:48:21] flashjunk: See topic [23:48:59] I have a mediawiki question, am i in the right place? [23:49:14] indeed [23:49:37] Excellent. I'm trying to discover how to add a character map (for instance to add Polish characters) to the editing toolbar [23:50:51] flashjunk: You can edit MediaWiki:Edittools .. that will display below the edit box [23:51:10] See for example http://en.wikipedia.org/wiki/MediaWiki:Edittools [23:51:17] Ok. Am I going to be adding PHP code, or is it something there already? [23:51:36] I looked at that example actually, but didn't see how to change anything. [23:52:03] flashjunk: Install the CharInsert extension, then add some letters to "MediaWiki:Edittools" [23:52:24] Ok. I've been fooling with that a bit, I will try some more. I apologize, I am very new to this. [23:53:56] 03robchurch * r24444 10/trunk/phase3/includes/OutputPage.php: Introduce OutputPage::addReturnTo(), with a view to replacing OutputPage::returnToMain() [cleaner calling convention], and document the latter [23:56:23] grmbl... hooking into skins sucks. [23:56:30] in fact, the skinning system sucks. [23:56:36] Life sucks. [23:57:18] yea. [23:59:21] Is there anyway to prevent [image:blah|thumb] from floating out of a ==section== ?