[04:55:14] !google | Splarka [04:55:14] --mwbot-- Splarka: You have't googled it yet. < http://www.justfuckinggoogleit.com > [04:55:29] Well, next time he dies don't hesitate to e-mail me; it's really easy to bring him back online :) [04:55:50] *amidaniel reunderlines his todo-list entry to setup a cron job for him [04:56:20] ami: you were also gone too [04:56:26] we thought you'd notice you being missing [04:56:39] both of ya left during some netsplits [04:56:52] Oh :) hehe [04:56:55] speaking of, people keep asking how to link images [04:57:07] do you think this is ready to move to Help space? http://www.mediawiki.org/wiki/User:Splarka/Help:Linked_images [04:57:10] You mean [[:Image:Bob]] ? [04:57:24] no, like [04:57:25] Yah, move it to help: [04:57:31] well, read it first [04:57:38] Oh, oh, i c [04:57:39] *amidaniel reads [04:58:20] Seems to me that ImageMap should be the first answer that people see [04:58:28] It's clearly about the best way to accomplish that [04:59:06] right [04:59:12] but "install the extension" isn't always the option [04:59:22] but go ahead and rearrange it, you can move it first if you want [04:59:29] *Splarka is trying to get anyone else to edit it at all [04:59:48] *amidaniel is not in an editing mood tonight :( [04:59:54] bah! [04:59:59] *Splarka edits ami to be [05:00:11] *amidaniel not be [05:00:26] "The tag" ? [05:00:28] to be, &action=protect [05:00:38] MZM: sofixit [05:00:47] if it was perfect it wouldn't be in my subspace [05:00:48] just making sure i wasn't crazy [05:00:52] you are [05:00:54] but you aren't blind [05:01:04] *Splarka grins [05:01:31] *amidaniel stabs out MZMcBride's eyes [05:01:46] *MZMcBride blindly stumbles around for a sword [05:06:11] Splarka: can i remove the inline CSS part? with #tag, it's no longer necessary... [05:07:28] and... i think Image: redirects no longer work [05:07:41] MZM: no, because you still need the imagemap extension [05:07:46] and not everyone who comes and asks has that extension [05:07:58] ah, you're right [05:08:15] also #tag doesn't work with external images, while the site-wide css does [05:08:32] (say if a sysop really needed to access an external image) [05:08:53] an can't be used with external images? [05:09:46] hmm, I don't think it can [05:18:25] 03(mod) Listing hidden categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13106 +comment (10dan_the_man) [05:22:06] is it possible Huji has lost his mind? [05:34:55] I'm think about having a (show hidden categories) link on the same line as normal categories [05:35:39] i kinda liked the edit page idea better so categories are actually hidden to the average reader [05:35:48] and there's no JS dependency [05:37:07] I agree, or Whatlinkshere [05:38:55] what have categories got to do with either of those things though? [05:39:12] is action=edit just a place to put random information about the article? [05:39:18] yes [05:39:28] and lots of edittools, too [05:40:40] category display on edit pages totally sucks [05:41:02] misplaced, only shows up on preview (assuming nothing has changed) [05:41:46] well, it's not really hiding if you're just using a [show / hide] [05:42:22] not really [05:42:35] but nobody seems to want it to be really hidden [05:42:44] right [05:43:03] since I introduced the feature, all I've gotten is questions about how to show them [05:43:28] they need to be hidden to the average reader; but editors should have some way to figure out which ones are hidden [05:43:40] is the gist [05:44:48] it makes sense on the edit page if you're editing them, IMHO [05:45:02] and Categories link to the pages in them, so Whatlinkshere is related [05:45:06] *Splarka shrugs ^_^ [05:46:15] another option: make a new special page or integrate it into Special:Categories [05:47:58] I think display on view and display on edit are two different groupings of what should happen [05:48:47] When on an edit page, categories should unconditionally show, so hidden categories should be shown on preview since you are editing them and need to know what is there [05:49:01] However, the page view is a different topic [05:49:08] well, how about I make them shown for parent categories on category pages, since that seems to be uncontroversial [05:49:18] Ya [05:49:26] and then let you sort it out among yourselves [05:50:14] There are 3 different areas: Page viewing (on page), Edit viewing (on page), and listing of categories (out of page) [05:50:36] *Dantman sees to many convos mixing them together [05:52:31] I don't think that helps [05:53:17] yes you can have pretty much any combination of the proposals [05:53:43] that doesn't bring us any closer to design principles though [05:55:07] let me try for one: javascript is good [05:55:29] it allows you to pack more information into a single request without it becoming cluttered [05:55:47] and with careful design, there's no need to disadvantage non-JS users [05:57:45] Yup, I covered that with my comment on the bug [05:58:09] A tag which uses both a href for &showhiddencats=1 and a onclick which intercepts [05:58:33] JS enables users get the dynamic effect, non-js users still have optimum functionality [06:19:04] showhiddencats=1 would be another object in the squid cache [06:19:51] geez [06:19:53] it's not easy to purge such parameters [06:20:10] just do it like TOC but with one difference [06:20:11] there's no prefix purge, remember [06:20:33] have them shown by default (no JS), but hidden by default with JS (through a simple class=javascript-hidden [06:20:43] and a [show] button [06:21:14] ? simple? fallback elegant? future compatability with user prefs? [06:22:03] yes, but that would offend MZMcBride's sensibilities [06:22:17] heh [06:22:21] *Splarka still thinks showing them under "Templates Used" would be perfect.. "Categories included" [06:22:31] because he doesn't want a [show] link [06:22:34] and for each: "native/from template" and "shown/hidden" [06:22:56] i think having a [show] link is counterintuitive to hiding the categories [06:23:10] eg: *[[Category:Foobar]]\n*[[Category:Foobar2]] (from Template:Bar)*[[Category:Foobar3]] (hidden) [06:23:28] well, yah, it is kinda ugly [06:23:43] Splarka: and get rid of the current broken category on preview thing? [06:24:04] is it broken? [06:24:08] *Splarka ignores it most of the time [06:25:28] well, it only shows up on preview, it only shows categories that are in the thing you're previewing, and if you have selected "edit box after preview" in your preferences, the categories go after the edit box and the preview goes before [06:25:36] you could simply put them into | and let god sort them out [06:25:47] well, in that sense.. [06:25:51] the Templates used is broken [06:26:00] that's what i was about to say [06:26:01] if you edit a section, it never shows you anything useful [06:26:08] and on preview, only what you're using [06:26:23] showing only what you're using makes sense, sorta [06:26:43] Templates used / templates previewed [06:27:00] bah, you'd think a hundred highschoolers wrote this software [06:27:11] haha [06:27:46] well [06:28:01] why not simply have the hidden cats show for any action other than action=view [06:28:19] so for diffs, oldid, history, edit, whatever (even add it to some of these maybe) [06:28:29] in the normal #catlinks [06:45:50] 03(mod) Position of wpEditToken input tag in edit form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13130 (10dan_the_man) [06:49:14] ^_^ Finally... a patch to a bug someone else posted... [06:58:08] yeah, that is silly to have the insertTags in the form at all [06:59:24] Soxred93: allowing extensions to modify the database like that could be very dangerous [06:59:33] and would probably have limited practical application on most sites [07:00:05] I wouldn't have any user run it, just like interwiki [07:00:35] who would run it? [07:00:41] still, its not like they need to be run often [07:00:58] True [07:01:05] might it be a better idea to not require the use of scripts? [07:02:01] O_o [07:02:38] *Dantman has no clue where or how external discussions end up mid-way inside of #mediawiki [07:03:31] In my semiconsciousness of 2:00 in the morning, I started it in #wikipedia-en [07:04:11] ^_^ Heh... I'm no real Wikipedian... [07:04:34] Damn, these channels are two integrated for people Wikia/External Wikimedia oriented like me [07:07:16] we started the discussion through telepathy [07:07:40] but our brains got too tired [07:10:51] Bleh... I can't get this top bar animation to work right for my skin whether I use a table or divs... [07:12:50] what brokeneds? [07:13:01] Tables: http://dantman.awardspace.com/animtest.html# [07:13:07] Divs: http://dantman.awardspace.com/animtestnew.html# [07:18:24] ouch [07:23:51] 03(mod) Position of wpEditToken input tag in edit form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13130 +comment (10huji.huji) [07:29:17] Hi everybody! :D [07:29:31] :| [07:29:51] :'( [07:29:57] BOEHOEHOEH! :S [07:33:09] 03(mod) Position of wpEditToken input tag in edit form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13130 +comment (10dan_the_man) [07:54:57] 03huji * r31230 10/trunk/phase3/RELEASE-NOTES: (In continuation of r31215) bump trunk to 1.13 [08:39:06] Splarka: Bah... I try margins, and it has issues to; http://dantman.awardspace.com/animtestmargin.html# [09:13:02] good morning [09:17:05] I'd like to understand the commandLine.inc (reading the source does not say much about the context in which it should be used). Where can I go ? [09:18:54] http://www.mediawiki.org/wiki/Manual:Maintenance_scripts does not say much [09:23:25] TimStarling: yesterday I found out that img.php conception is completely inacceptable due to performance issues [09:24:41] Though I still propose reorganization of file storage, so files are stored like "thumb/b/bl/bla/Example.png/256px.png", not "thumb/b/bl/bla/256px-Example.png" [09:25:07] dachary: it contains setup routins and some utilities for scripts that are to be run from the command line. [09:25:17] Duesentrieb: hi [09:25:30] <_wooz> lo [09:25:30] dachary: amon other things, it causes the configuration file to be loaded, and command line options to be processed [09:25:50] So it's meant to be used as part of other scripts, right ? [09:26:26] yes [09:26:32] I feel bad about bugging you with this. I'd be happy to dig if there is no documentation whatsoever. There is no documentation, right ? [09:27:05] don't think so [09:27:10] read the source [09:27:18] Yup. [09:27:20] especiall,y read the source of scripts that use it [09:27:29] i.e. maintenances/*.php [09:28:43] Here is what I'm after (for testing purposes) : find / reuse scripts that create a new user + create a new page + fill a new page + display the page + destroy the page + destroy the user. [09:29:07] Any pointers about which script is best suited for each of these task is welcome. I'm browsing all of them now. [09:31:02] I really dont think you'll find one, as destroying/deleting users is Not Reccomended (tm) [09:31:24] destroy page : nukePage [09:31:36] (that's an easy one ;-) [09:31:50] I'll update the doc at mediawiki.org [09:32:18] dachary: createAndPromote.php creates a user (and makes it a sysop) [09:33:07] dachary: edit.php edits a page [09:33:22] (and creates a user, on demand) [09:33:30] (and creates the page, if needed) [09:33:55] edit.php looks like the swiss army knife i need [09:34:01] i guess. [09:34:08] though "display" an article is a bit tricky. [09:34:21] dumpBackup.php can be used to output a single page [09:34:30] you'll get an xml wrapper though [09:35:17] VasilievVV: I disagree, the current way means that when you download files you get a filename including both the image size and image name, your proposed way removes the image name. [09:35:17] I kind of remember there was some way to GET the page using the REST API [09:36:08] MinuteElectron: and what about "thumb/b/bl/bla/Example.png/256px-Example.png"? [09:36:21] VasilievVV: Sure, but that has lots of redundancy. [09:36:24] ^_^ Though that's not going to make much difference when we start saving by hash only [09:36:32] dachary: action=raw [09:36:51] dachary: note that this only works reliably with the *ugly* form if the wiki url [09:37:07] dachary: anyway, fetchingpage content from a command line script should be pretty trivial [09:37:25] access path: title -> page -> revision -> text [09:37:33] right, [09:37:56] use the newFrom factory methods where available, instead of constructors [09:38:06] looking for the easiest way to nuke the created user now (I don't want my tests to create leftovers each time they run) [09:38:16] VasilievVV: A simple change like that isn't really needed, it provides little benefit and a huge ammount of effort would be required to implement it. (i.e. a script moving several billion files into different directories). The current system works fine and doesn't really need changing. [09:38:29] dachary: removeUnusedAccounts.php [09:38:40] oh [09:38:41] MinuteElectron: current system doesn't support image moving :) [09:38:44] hum [09:38:50] dachary: however note that "surgically" removing a user and all its edits may not be trivial. [09:39:10] dachary: deleting users isn't really supported. even if all revisions created by them are gone, they are still referenced from logs etc [09:39:16] VasilievVV: And how will your system of simply putting all image files for a specific image in a sperate directory allow image moving? [09:39:54] in this case I guess it's simple enough because the user is created for a single purpose. I guess I'll have to live with the fact that there are leftovers in the logs. [09:40:10] How would you move all image thumbnails on silly 256px-filename scheme? [09:40:43] O_o who said thumbnails need to be moved!? [09:40:51] mv *px-filename.ext *px-newfilename.ext [09:40:57] But you don't need to move anything. [09:41:26] MinuteElectron: and if there's 256px-filename.ext file uploaded? [09:42:19] fair point [09:42:30] but i'm sure there's a unix wildcard quantifier minimizer [09:42:41] I'm not [09:42:43] ok [09:42:45] fine [09:43:10] Yes, we can manually filter it [09:43:18] how? [09:44:09] get it with glob("*px-" . $filename); then filter it using preg_match() [09:44:30] But if we have about 100 thumbnail for one file... [09:44:45] yeah, it would take way too much time [09:45:11] or, you could just leave the old thumbnials lying about (no harm done) and upload the new ones over the top if neccessery [09:45:18] No [09:45:25] oh? [09:45:25] Moving itself is more expensive than preg_match :) [09:45:36] Hmmm... [09:45:37] ok [09:45:49] but still, there is no need to remove unused thumbnails [09:45:52] I should look how it's done on image deletion [09:46:05] MinuteElectron: and if someone reupload file? [09:46:20] Last time I checked... &action=purge deletes all thumbnails for an image... [09:46:24] it can just overwrite the existing thumbnails [09:46:38] Dantman|FS: yeah, so there must be a way of doing it [09:46:53] *Dantman|FS thinks people are forgetting thumbnails are temporary images which don't need to be kept when migrating [09:47:05] MinuteElectron: how would it know that it's an old thumbnail, not new? [09:47:17] ok [09:47:24] you're righrt [09:47:26] but, [09:47:34] there must be already existing code to accomplish the task [09:47:41] how does it know now? when you delete, reupload, etc? [09:47:55] Splarka: i guess code jus delete it :) [09:48:16] *Splarka wonders how Wikimedia does thumbnails on demand, spooky... [09:50:06] http://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Boston-map.jpg/120px-Boston-map.jpg <-- put any number (smaller than the full res) where 120 is, instant thumbnail [09:50:39] Splarka: 404 handler redirects on thumb.php :) [09:50:57] nice [09:51:08] but 404 302s to upload.wikimedia? [09:51:11] Or maybe do something else... [09:51:15] or symbolically links locally, to http://commons.wikimedia.org/w/thumb.php?f=Boston-map.jpg&w=123 ? [09:51:21] or some magic [09:51:52] Splarka: I think it requests http://commons.wikimedia.org/w/thumb.php?f=Boston-map.jpg&w=123 and then opens it [09:51:59] ahh [09:52:00] http://www.mediawiki.org/wiki/Image:Ssfig-jarjar.jpg [09:53:12] Duesentrieb: removing a user seems like a lot of troubles for an uncertain benefit. For the sake of testing I'll go for a fixed user dedicated to testing this specific mediawiki extension. [09:53:35] sounds like a good idea [09:53:52] I'll mix my soup now. [09:54:57] OverlordQ: deleted [09:55:34] oh edit.php has a -b (bot) option [09:58:10] VasilievVV: he uploaded another copy if you check his contribs [10:00:11] banned [10:11:34] edit.php + nukePage.php provide all that's needed to create a temporary page for test purposes, wonderbar [10:12:17] it creates the "Maintenance Script" user when not provided with an existing user [10:13:18] Now I should try to find the least disruptive way to load an extension + load the page and see that it works as expected. [10:17:33] Well, dumpBackup does not wikify so it's not what I'm after. [10:17:55] dachary: you have to include the extension in your LocalSettings.php. however, you can make this conditional, i.e. only do it if a specific url parameter is set. [10:18:20] dachary: to check, load the rendered page using action=render while setting the url param that causes the extension to be loaded. [10:18:45] (or load the full page, if the extensions does something not in the main body of the page, but in the navigation area) [10:18:52] hum [10:19:43] That's an option indeed. But one that requires tampering with the LocalSettings.php file which is potentially trouble. [10:19:58] it's the only way to activate an extension [10:20:08] anything that causes extension code to be executed is potentially trouble [10:20:24] a broken extension can always mess up your database. no matter how you activate it. either it runs, or it doesn't. [10:20:37] I hear you. [10:20:46] (thinking) [10:21:08] *dachary wishes mediawiki is more into automated tests than it is ;-) [10:22:20] If I had a simple way to create a mediawiki using files under directory foo only, that would solve all my problems. But I reckon this is going to be a nightmare. [10:23:17] *dachary has an idea (testing) [10:23:44] hm? "using files"? [10:23:49] the main problem is the database, no? [10:24:00] anyway... what kind of extension are you testing? [10:24:05] parser hook/parser function? [10:24:09] yes [10:24:20] there's a parsertest facility [10:24:23] you can probably use it [10:24:28] not sure how it deals with extensions though [10:24:30] oh ! [10:24:44] right ! [10:24:46] checking [10:24:54] note that lots of the standard tests fail [10:25:00] don't mind that [10:32:50] that's nice [10:41:52] dammit [10:42:45] Duesentrieb: I spend a half hour getting a gadget to play nice in standard, cologneblue, and nostaligia... [10:42:59] and the gadgets aren't even loaded in those skins! [10:43:12] :-) [10:43:40] *Splarka grumbles [10:44:02] Splarka: afaik they are not loaded in cologneblue, but should be in the others (since the others are based on monobook code) [10:44:30] Splarka: also, this is probably going to get fixed soon enough. so there's no harm in the gadget working nicely everywhere [10:44:43] monobook, modern, myskin, simple, chick [10:44:46] *Duesentrieb notices that gadgets don't seem ot work in the modern skin. or at least, not all do [10:44:49] are based on monobook or at least use the skin templates [10:44:54] the other 3 are not [10:45:09] hmm [10:45:29] well, what I did: if #contentSub exists (the 5 above), it uses that, else #topbar (the other 3) else aborts [10:45:44] and if p-cactions exists, add an activate button there, else activate immediately [11:03:13] parsertest.php is exactly what I need for testing. [11:05:04] I wonder if it could work with a forged LocalSettings.php (available in the source directory) that has no corresponding database. I guess, in theory, the tests could be run without any database access. But it's unclear if they were designed with this in mind. [11:27:29] it looks like parsertest does not load extensions [11:32:02] adding to $wgExtensionFunctions[] does not produce the expected result. That's probably because this was added after parsertest was written [11:32:12] I may have a better luck with $wgHooks [12:19:22] hoq do I enable debug printing? [12:24:37] !debug | nakeee [12:24:37] --mwbot-- nakeee: For information on debugging (including viewing errors), see . [12:28:46] hmm [12:29:04] I'm trying to use math script in safe mode [12:29:10] and I get error on $contents = `$cmd`; [12:29:22] is there a way to use system or something instead? [12:30:44] you're trying to do what now/ [12:30:45] *? [12:31:02] Duesentrieb: parserTests.php based tests run alright. Thanks. It's more hairy than I'd like but a lot better than calling edit.php + GET ;-) [12:33:27] OverlordQ, to use with texcv [12:33:34] while being in safe mode [12:33:40] and it complains about the back ticks [12:33:57] Cannot execute using backquotes in Safe Mode in /a/fr-01/vol/web/www/coursebooks/includes/Math.php on line 70 [12:39:18] 03(mod) Allow magic words in EasyTimeline - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5880 (10rettido) [12:39:55] ah, Safe Mode. [12:39:59] Yea it's stupid like that. [12:41:31] OverlordQ, any idea what I need to do to make it work? [12:42:16] besides not use safe mode, not a clue [12:50:04] If I'm nost mistaken, the best way to remove an extension that was installed with installExtension.php is to feed it with an empty install.settings and an empty extension directory. [12:51:31] I could, of course, guess where the exteions actually are and write a regexp to patch LocalSettings into removing the block. But that would defeat the purpose of installExtension.php which is (presumably) to shield me from the gory details of LocalSettings and mediawiki directory layout. [12:54:33] hello, i'm looking at the database schema, and i don't see where the IP addresses that a user has used are stored (the info used to determine the "sockpoppetness") [12:57:20] That is not available with the checkuser extension. [13:01:09] 03(NEW) Unable to unprotect pages protected with earlier versions of MediaWiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13132 normal; normal; MediaWiki: General/Unknown; (huji.huji) [13:01:48] *without [13:02:16] i see, so where is it then? [13:02:28] Anarhist: look in recentchanges table [13:02:32] *at [13:26:58] 03(mod) Unable to unprotect pages protected with earlier versions of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13132 +comment (10vasilvv) [13:27:42] I got a user on no.wp with @ in his username, that makes it a problem when trying to edit userrights [13:27:57] the software thinks @ means that its a user on another wiki [13:28:01] Atluxity: yes, that's known problem [13:28:04] a known bug? [13:28:05] ah [13:28:10] any workaround? [13:28:24] Rename user? [13:29:05] rename, change rights, then rename back? [13:29:29] Ask steward? [13:29:44] can't you put user@userlastbit@nowiki? [13:29:45] sure [13:30:40] MinuteElectron: they don't have rights to change rights crosswikily [13:30:47] VasilievVV: ok [13:31:00] Lemme check [13:32:42] It should be possible to lookup a userid# and edit the user by entering the userid# [13:33:05] Yes [13:33:14] that would probably bypass any future problem with special characters in username [13:33:44] Stewards can't change rights crosswikily for users with "@" in name... [13:34:09] What's user name? [13:34:22] H@r@ld [13:34:26] :) [13:34:33] he should have autopatrolled [13:35:21] His user id is #7103 [13:35:21] rename first. [13:35:45] hm, can you change rights based on user id? cross-wiki?... [13:36:03] #7103@dewiki ? [13:36:04] Duesentrieb: Special:Makesysop used to support it [13:36:11] hm... [13:36:17] Duesentrieb: yes, check stewards' guide [13:36:18] dont make him sysop :P [13:36:53] Atluxity: stewards can't assign autopatrolled flags... [13:37:01] doh [13:37:04] o_O [13:37:31] Duesentrieb: because metawiki doesn't have it [13:37:42] heh :) [13:38:18] Atluxity: yes, #7103 should work [13:38:25] At least it works for me [13:38:39] In the future, how do I find a userid#? [13:39:08] use some toolserver tool [13:39:19] like http://tools.wikimedia.de/~vvv/yaec.php [13:39:47] uninstalling an extension by feeding an empty repository works alright [13:40:40] VasilievVV: I still get access denied [13:41:01] VasilievVV: it seems the software translate the userid# premature [13:42:09] [13:42:27] in the source, for the form to edit [13:43:04] Bad :( [13:44:04] So you should tell this user that assignment of any flag is impossible to users with "@" in username [13:46:00] i think usernames with a @ are bound to break with SUL anyway [13:49:21] should'nt we then... NOT alow it in the first place? [13:49:32] Atluxity: it isn't allowed now [13:49:48] ah [13:50:21] But it used to be [13:52:45] strange that stewards cant change autopatroller rights [13:53:14] they can. [13:53:20] Werdna: no [13:53:24] if it exists as a group, anyway. [13:53:42] Unless that bug is fixed [13:54:21] hard to keep up with bugs and their fixes, eh :P [13:55:39] VasilievVV: which bug? [13:56:05] so I finished the april fools prank for my household today [13:56:07] Lemme remember [13:59:20] Werdna: https://bugzilla.wikimedia.org/show_bug.cgi?id=12518 [14:00:22] Werdna: planing ahead, are we? [14:01:05] yeah [14:01:11] april fools is in the middle of exams [14:01:44] so I only want to have to edit a config file on the router a week ahead of time, allow changes to propagate via dhcp, and then just flip a switch in a config file. [14:05:08] hi there [14:05:24] *Werdna runs. [14:06:19] i tried to register a special page with $wgSpecialPages['SENamespace'] = 'SENamespace'; like in Manual:Special Pages [14:06:26] but i get an internal error [14:06:27] really? [14:06:42] yeah [14:06:56] Invalid Special Page Name "" [14:07:11] !wg SpecialPages [14:07:11] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgSpecialPages [14:07:19] yeah [14:07:24] it says [14:07:41] key is a non localized version of the special page name [14:08:08] i have that i think [14:08:12] right, so is SENamespace a subclass of SpecialPage? [14:08:18] yes it is [14:08:21] where is the internal error occurring? [14:08:30] class SENamespace extends SpecialPage [14:08:41] where are you specifying your name in the SENamespace class? [14:09:03] #0 [..]\wiki\includes\SpecialPage.php(684): SpecialPage::getTitleFor('', NULL) [14:09:23] you mean this? [14:09:24] SpecialPage::SpecialPage("SENamespace", '', true, 'efRunSENamespace'); [14:09:50] ahhh well [14:09:52] looks right [14:09:58] well here is where you're getting the error [14:10:00] should be in the constructor right? [14:10:14] 00520 throw new MWException( "Invalid special page name \"$name\"" ); [14:10:25] in SpecialPage::getTitleFor [14:11:10] ok [14:11:19] i think i have it now [14:11:25] ? [14:12:49] i changed the name of the constructor function so then it wasn't a constructor anymore -.- [14:13:02] *Asga shouldn't program late at night [14:13:36] i was comparing my code to the sample code and didn't figure out [14:13:41] what was wrong [14:14:40] maybe it would be easier if the sample code wouldn't name anything MyExtension ;) [14:15:20] but thanks Werdna, your question about where i am specifying the name pointed me in the right direction! [14:33:22] 03(mod) New en wikipedia mailing list to replace requests for account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13117 +comment (10alexfusco5) [14:46:15] Blah, get_magic_quotes_gpc truly is evil [14:46:16] Can anybody tell me at what point LanguageGetSpecialPageAliases is called? [14:46:32] I mean the hook ;) [14:53:23] 03(mod) Replace the "magnify" symbol used below thumbnails by a more explicit one - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13070 (10dgerard) [14:55:30] And another question... hoping someone will answer me ;) [14:56:12] should i use wfOpenElement (saw it in an extension sourcecode) or should i use plain $wgOut->AddHtml ?!? [14:58:38] Dantman|FS: in MediaWiki, $wgRequest takes care of it? [14:58:48] ^_^ I know that... [14:59:02] But try doing a php script that can't go and use that [14:59:17] T_T Manual copying of the fix function [15:03:06] 03(mod) Set Guarani wikipedia namespace name - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13060 +comment (10spacebirdy) [15:19:05] ^_^ Wohoo... bulk part of allinone.php extension complete [15:19:20] ((Needs caching an minifier though)) [15:42:45] 03(NEW) Mark edits reverted by a rollback as patrolled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13133 15enhancement; normal; MediaWiki: General/Unknown; (gtisza) [16:06:01] anyone know if it's possible to show all *but* certain namespaces when looking at user contribs? [16:06:29] it's possible with recent changes, by inverting [16:13:44] I need docu on how to configure my language portlet which is already existing in Monobook.php but not working as long as "language_urls" and such are not set [16:56:09] If I understood someone here correct last time I chatted: you cannot create a username with @ in it anymore, correct? [16:57:05] I believe that is correct [16:57:17] but can a steward rename a user with a rename-tool to a username with @? [16:57:43] That I'm unsure about [17:03:28] I need docu on how to configure my language portlet which is already existing in Monobook.php but not working as long as "language_urls" and such are not set [17:08:42] 03(mod) Return patrolling data when prop=revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13128 (10atluxity) [17:13:15] allo ? [17:13:48] someone here ?? [17:14:00] yeah [17:14:03] 183 [17:14:06] ok thanks [17:14:14] np [17:14:22] got some questions on mediwiki .. can you answer ? [17:15:17] I want to install it on my server, but I want to know if last version support some user access/group access on pages .. like dokuwiki [17:16:21] so ? [17:17:31] ok .. I will not find my answer here [17:17:37] good night everyone !! [17:18:27] 03(NEW) process_bug.cgi hides "bugs" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13134 trivial; lowest; Wikimedia: Bugzilla; (atluxity) [17:21:56] Hello [17:22:27] I am having trouble getting wikipedia templates, and other templates that have built in CSS working on Mediawiki server, does anyone know how to fix this? [17:22:55] "buildt in CSS"? [17:23:17] *built [17:23:19] sorry. [17:23:36] I was up until 6 am last night, then woke up at 8am :D [17:23:42] and have been up since then lol [17:24:02] yeah, what is "built in CSS"? [17:24:28] my english is not perfect either, dont be shy :) [17:24:40] meaning they have imbedded CSS in them [17:24:50] Look at some of the wikipedia templates and you'll see what I mean :D [17:25:22] one sec [17:25:23] do they refer to a style, or do they contaion the colors and such themself? [17:26:57] Im looking for a tempalte I have imported [17:29:02] For instance, this is what my page is doing... [17:29:02] http://wiki.swdiplomacy.com/index.php/Template:User_infobox [17:29:39] This is what it should show [17:29:40] http://swgames.wikia.com/wiki/Template:User_infobox [17:29:44] and its a firect import [17:29:47] *direct [17:32:11] !parserfunctions | sterling [17:32:11] --mwbot-- sterling: "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 . [17:32:16] install the extension [17:33:39] whow do I do that? [17:33:52] i read the instructions :) [17:47:05] 03(NEW) Special:Userrights mishandles #userid - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13135 minor; low; MediaWiki: Special pages; (atluxity) [17:51:10] I'm getting a Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/sterling/public_html/hapes/LocalSettings.php on line 134 [17:51:11] error [17:51:18] anyone know what I am doing wrong.. [17:51:22] That line reads.... [17:51:31] require_once( 'extensions/ParserFunctions/ParserFunctions.php' ); [17:56:04] 03(NEW) Update does not work on PostgreSQL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13136 major; normal; MediaWiki: Database; (sven) [17:57:09] I'm getting the following 4Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/sterling/public_html/hapes/LocalSettings.php on line 134 1 erro0r. Anyone know what I am doing wrong> [17:57:12] That line reads.... [17:57:15] require_once( 'extensions/ParserFunctions/ParserFunctions.php' ); [17:57:26] the line above? [17:58:21] 03(mod) PostgreSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=384 (10sven) [17:58:25] 03(mod) Update does not work on PostgreSQL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13136 (10sven) [17:58:57] $wgLogo ='/hapes/Smalllibararyseal.png' [17:59:12] it was just a addon to get it to do the Parser Functions junk [17:59:23] IT said to add it to the bottom, so thas what I did [18:00:44] add a semi-colon to the end of that line [18:01:20] ok [18:31:08] 03(NEW) Bots to edit protected pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13137 15enhancement; normal; MediaWiki: Page editing; (wikipedia.kawaii.neko) [18:36:29] 03rotem * r31231 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQuerySiteinfo.php): Fixing main page display in meta=siteinfo: also showing namespace, if exists (e.g. in enwiktionary). [18:58:43] what timestamp is cl_timestamp in table categorylinks reflecting? [18:59:10] TImestamp of addition? [19:00:04] that table doesn't have an index? [19:00:27] Look at tables.sql? [19:02:23] ah, it's not used yet [19:05:54] *AzaTht wonders why the log timestamp isn't using timestamp in sql [19:07:41] Because MediaWiki uses wfTimestamp( TS_MW ) [19:13:31] can somebody explain short how MW detect subpage (for example M/S Boat is not a subpage of M)? [19:16:29] Agony, basically it takes the title, and explodes it [19:16:33] searching for "/" [19:16:59] if there is a string after "/" it's a subpage.. (if subpages are turned on) [19:17:03] is subpage is activated in said ns [19:17:25] if not, it's just a title that ends with a / [19:17:39] Wiredtape: but even wiki has article [[M]], article [[M/S Boat]] is not subpage of M [19:18:16] it's only a subpage if subpages are enabled for that namespace [19:18:20] certain namespaces allow subpages, others don't [19:18:20] http://www.mediawiki.org/wiki/Manual:%24wgNamespacesWithSubpages [19:18:29] right [19:18:31] Agony, the above is the catch [19:20:27] and so.. no, it does not check if M exists and then decides if M/S Boat (per your example) is a subpage or not.. [19:20:28] ok, so default every article is page of it's own, and from NS_TALK to NS_CATEGORY_TALK have subpage possibility. Ok, this helps me out a bit. Can I found out from somewhere public (like from [[Special:Version]]) which namespaces allow subpages? [19:22:06] Agony, i think all namespaces except for main, image and talk have it on by default.. (though i am not sure about this.. ) [19:25:33] ok, thank you for help :) [19:25:41] np [19:25:51] Sorry, can you explain me what this code means. [19:25:52] [19:26:24] basically it asks if this window has the runOnloadHook object? (or rather attribute?) [19:26:32] if it does, then execute it? [19:28:53] uhm. [19:30:44] The fondamental problem I have is with a footer that is static and it doesn't follow the page when its growth. [19:31:01] it disappear under. [19:31:13] try adding clear:both; in css? [19:31:21] btw - i'm Chuwiey.. [19:32:06] i will try [19:33:36] Oh...hi chumiey :) [19:33:50] :) [19:33:51] I was lost in my though :) [19:33:57] sorry. [19:37:44] 03(mod) ISO date and time format for users is now in machine-readable format of ISO 8601 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8292 +comment (10oldakquill) [19:39:00] does upgrading from 1.10.1 to 1.11.1 go smooth? [19:39:17] (will the extensions still work?) [19:39:28] aton`, depends on the extensions.. and usually yes.. [19:39:34] cool [19:39:45] okay i will backup now and then go for it [19:41:05] 03(WONTFIX) Page moves break links to closed AfD discussions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13114 +comment (10roan.kattouw) [19:41:29] good luck [19:44:02] anyone have any idea how i could possibly make a template that could do something like foreach() .. i'm guessing this is impossible.. but basically i want to feed the template a couple of links and let it output them with the style i want for each one i input.. [19:44:13] 03(mod) Talk subpages link to main subpages even when they are turned off - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13119 +comment (10roan.kattouw) [19:45:25] 03(mod) Return patrolling data when prop=revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13128 +comment (10roan.kattouw) [19:55:59] anyone care to comment on creating a #foreach parser function? [20:02:31] Wiredtape: doesn't one exist already? [20:03:47] Skizzerz, does one exist already? :-\ [20:05:32] kinda, but it probably doesn't fit your purpose [20:05:36] what do you want it to do? [20:07:02] i make a template, which expects input.. and then applies styling to this input.. it should repeat the template "styling" foreach comma-delimited value or any other form of seperation.. [20:07:13] but basically there are many examples for this.. [20:07:16] processing a list.. [20:08:24] yeah, nothing like that exists yet [20:08:55] do u have any thoughts as to why not add it? [20:09:06] security wise, or other reasons? [20:09:28] none really, if it's for a personal wiki of yours [20:10:07] but as an implementation into mediawiki source? [20:10:35] brion would probably say "no" [20:11:06] prehaps into parserfunctions? [20:11:15] you could make your own extension for it [20:11:35] yeah, but i'm starting to use too many extensions.. [20:11:41] :P [20:11:46] :) [20:12:12] 03(mod) Unable to unprotect pages protected with earlier versions of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13132 (10huji.huji) [20:12:14] since when is that a bad thing ;) [20:12:21] one for "send this to your friend", parser functions, stubmanager, analytics (which is a work in progress of mine) and so many moree.. [20:12:24] :-\ [20:13:44] *Skizzerz has like 15-20 extensions [20:14:22] 03(mod) ISO date and time format for users is now in machine-readable format of ISO 8601 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8292 (10fgwiki) [20:14:46] Is anyone working on consolidating extensions.. (probably not.. :) ) [20:14:48] ? [20:15:59] Skizzers, what's your wiki about? [20:16:13] just basically a test wiki for all sorts of things [20:17:40] .. i have a couple of those :) [20:23:46] 03catrope * r31233 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryRecentChanges.php): (bug 13128) Add patrolled flag to list=recentchanges [20:25:13] 03(FIXED) Return patrolling data when prop=revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13128 +comment (10roan.kattouw) [20:25:46] Hey guys, anyone got the 1.12 branch checked out? [20:27:46] Meh, never mind [20:27:57] RoanKattouw, not yet... :) [20:28:16] Wiredtape: Are you checking it out right now? If not, I'll do it myself [20:28:30] doiturself :) [20:33:38] 03(mod) Bots to edit protected pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13137 +comment (10huji.huji) [20:35:38] 03(NEW) "Page protection" component for MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13138 15enhancement; normal; Wikimedia: Bugzilla; (huji.huji) [20:43:47] what would happen if a created an article sized at 50mb? [20:43:59] other than people having to wait for it to load of course.. [20:47:34] Alp make up your mind ;) [20:47:53] Wiredtape: You might exceed the 30 second run time limit [20:47:54] RoanKattouw: i am done ;) [20:48:00] The parser would need some time to parse all hat [20:48:06] that [20:48:19] But nothing really bad can happen, so I suggest you just try and see what happens ;) [20:48:23] does anyone know how to do countdowns with parserfunctions? [20:48:26] RoanKattouw: maybe? [20:48:41] kibble: Countdown to a certain date? [20:48:46] yep [20:48:50] http://en.battlestarwiki.org/wiki/Template:Countdown [20:48:51] RoanKattouw, hmm.. it could cause too much load on the system.. :-/ [20:49:01] Wiredtape: It's just one request [20:49:21] RoanKattouw, but a massive one, no? [20:49:26] 03(mod) Mark edits reverted by a rollback as patrolled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13133 +comment (10JSchulz_4587) [20:49:35] *kibble huggles RoanKattouw [20:49:38] Well it'll only block one server and only for 30 secs [20:49:39] Anyway, i'll try locally [20:50:08] ok, thanks.. [20:51:21] one more question, perhaps someone knows.. have there been thoughts about making wiki's using the gfdl (or other attribution licenses) add a "this article was taken from x" to the bottom/top of any article exported? it could probably save a lot of time for anyone importing .. [20:51:30] 03(mod) Unable to unprotect pages protected with earlier versions of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13132 +comment (10JSchulz_4587) [20:58:57] 03(mod) Unable to unprotect pages protected with earlier versions of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13132 (10vasilvv) [20:59:45] RoanKattouw: would it be overly difficult to get that to include the hours and minutes as well? [21:00:07] :'( [21:17:17] 03aaron * r31234 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: Remove quotes [21:30:58] 03(mod) Position of wpEditToken input tag in edit form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13130 (10charlottethewebb) [21:41:31] 03(mod) Mark edits reverted by a rollback as patrolled - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13133 (10gtisza) [21:41:53] 03siebrand * r31235 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: Annoying... [21:45:12] http://www.mediawiki.org/w/index.php?title=Extension:Silva [21:45:25] How come the logo is deformed ? [21:45:49] (it's edgy) [21:47:01] RoanKattouw: would it be difficult to add the hours and minutes to the countdown? [21:47:12] Not really [21:47:47] *kibble wonders if you're up for it : http://wikimania2008.wikimedia.org/wiki/Template:Countdown [21:51:15] kibble: Yes, but it won't count down like you're used to [21:51:26] And will be almost always out of date [21:51:30] :-( [21:51:32] why? [21:51:34] It'll only get updated every hour or so [21:51:43] Because updating every minute would kill most servers [21:51:52] :-( [21:51:55] then it's k [21:53:56] it could use javascript [21:54:09] is there a better way to get user input from a special page than using form post ? [21:54:44] (and registering an action with that post) [21:59:40] mh [22:00:33] 03grondin * r31236 10/trunk/extensions/Todo/ (SpecialTodo.i18n.php SpecialTodo.php): Add internationalization extension description message in [[Special:Version]] [22:03:50] nobody? [22:03:55] or is my question so stupid? ;) [22:04:26] flyingparchment: willing to make it? :-) [22:10:12] Asga: What else do you have in min [22:10:13] d? [22:10:24] nothing really [22:11:10] but i don't know every internal trick you can do with internal functions and stuff ;) [22:11:35] Well there's AJAX but that requires JavaScript [22:12:39] well i use javascript for my extension... [22:13:44] but im not so into ajax... [22:14:47] Check its Wikipedia entry for a quick overview [22:15:59] hehe k [22:18:16] Hi, I've written (rather, adapted) a special page called Mostlinkedredirects. I've also updated AutoLoader, QueryPage and SpecialPage. Should I just attach these to bugzilla? [22:18:29] 03siebrand * r31237 10/trunk/phase3/languages/messages/ (23 files): Localisation updates for core messages from Betawiki (2008-02-24 23:00 CET) [22:20:22] RoanKattouw, if i use form post... i have to add an action and then call the unknown action hook? [22:20:31] Hi guys! [22:21:00] Asga: Not necessarily, you can also add a hidden title=Special:Whatever, and check for $wgRequest->isPosted() [22:21:04] wasPosted, sorry [22:21:30] A friend of mine started a mediawiki [22:21:37] I want to get it going for him [22:21:53] I know the basics of wiki editing (not too hard, really) [22:22:29] but I want to go futher.. how do they do the fancy boxes and all of that stuff like on the front page of the gentoo wiki or wikipedia or wikibooks, etc. [22:24:09] !css | greenmanwitch [22:24:09] --mwbot-- greenmanwitch: To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page and put your custom styles there (sysop/admin rights required). MediaWiki:common.css is for all skins and should be used for content styles. MediaWiki:monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [22:24:52] see http://en.wikipedia.org/wiki/MediaWiki:Common.css for an example [22:24:59] hm k [22:25:01] hidden title [22:25:09] well, fancy boxes are mostly done with inline styles and templates [22:25:12] not so much global css [22:25:16] On bugzilla can I upload an archive as an attachment containing all relevant modified files? [22:25:17] !templates | greenmanwitch [22:25:17] --mwbot-- greenmanwitch: For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy. [22:26:01] OldakQuill: don't. upload a multi-file patch. a real path. created using svn diff. [22:26:24] OldakQuill: much easier to review (can be done online, with a nice diff view) [22:26:36] OK, thank you [22:26:46] thanks very much, guys [22:27:00] I am a bit worried, though: I don't know CSS or HTML [22:27:06] never done any web developing [22:27:10] I don't need it, right? [22:27:24] I'm trying to show some source code examples on my wiki. However, when I do System.out.println("Woot!");, it does the code box I want, but it also includes the opening and closing tags... [22:27:31] What can I do to fix that? [22:28:52] RoanKattouw where do i add that hidden title? [22:29:10]
 that shows what results they should see. However, the next numbered item I use restarts the count. What can I do to keep the count right?
[23:24:02] 	03(WONTFIX) Page moves break links to closed AfD discussions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13114  +comment (10roan.kattouw)
[23:26:02] 	dachary: Drop Brion an e-mail
[23:26:21] 	brion@wikimedia.org
[23:30:26] 	How to I put an image next to a heading?
[23:30:46] 	I tried but == News == didn't display as a heading, it displayed as I typed it
[23:31:28] 	there should be no space before the ==, and nothing after the heading on the same line
[23:31:57] 	if you want an image besides it, you a "floating" box just before the heading (floating box is default for thumbnails)
[23:32:23] 	[[Image:something.jpg|thumb|bla bla]]
[23:32:27] 	== News ==
[23:32:57] 	I don't understand what replaces |thumb|bla bla
[23:33:06] 	Sorry if I seem incompetent
[23:33:39] 	hello somebody experience with MoBlock ???
[23:36:09] 	greenmanwitch: thumb replaces nothing. it just tells mediawiki to make a thumbnail image in a box.
[23:36:22] 	greenmanwitch: bla bla would be the image caption to be show below the image, in the floating box.
[23:36:51] 	greenmanwitch: http://www.mediawiki.org/wiki/Help:Images
[23:37:41] 	greenmanwitch: you want the "Thumbnail" example, but without the "centered" bit
[23:40:05] 	03(NEW) Merging $_GET and $_POST with array_merge is a bad idea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13139 normal; normal; MediaWiki: General/Unknown; (lrbabe)
[23:40:07] 	03(mod) Quiz extension text responses not markable in MW1.12a - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13074  (10lrbabe)
[23:44:04] 	Duesentrieb: thanks so much
[23:44:28] 	I figure once I work out the front page it will be easy because if I get something I will look at the front page source
[23:44:30] 	/hide
[23:46:12] 	03(mod) Quiz extension text responses not markable in MW1.12a - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13074  (10lrbabe)
[23:48:03] 	Duesentrieb: Ok thanks for all, I can sleep in peace now : )
[23:52:13] 	03(mod) Merging $_GET and $_POST with array_merge is a bad idea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13139  +comment (10Simetrical+wikibugs)
[23:54:35] 	need some info about how to set up indexes
[23:55:25] 	indexes?
[23:56:56] 	never mind
[23:57:03] 	they aren't a general wiki thing
[23:57:17] 	I thought they were, but they were just something gentoo-wiki did
[23:57:25] 	categories, maybe?
[23:57:34] 	wow, that wiki is so incredible. Now that I am making one I am starting to appreciate the good work they do
[23:58:13] 	ah, their indexes seem to be hand maintained lists.
[23:58:25] 	learn about categories
[23:58:30] 	!categories
[23:58:30] --mwbot--	http://www.mediawiki.org/wiki/Help:Categories