[00:00:14] <[9th]Duilio> Gali It only does that in wiki [00:00:25] <[9th]Duilio> All other CMD's works properly [00:00:45] <[9th]Duilio> I have wordpress, ajaxchat, etc.. working nicely [00:00:51] wait a while... [00:01:02] <[9th]Duilio> Ok [00:01:50] http://enarion.net/web/apache/htaccess/redirect-www-and-no-www/ [00:02:46] its one way to do that :) , really strange way but should work.. ( all requests with "www" redirect to correct with no "www") [00:03:11] <[9th]Duilio> But it runs like to websites [00:03:45] i dont understand.. [00:04:47] <[9th]Duilio> Yeah but it happens [00:04:56] <[9th]Duilio> And I am logged to one of them and not in another [00:05:09] <[9th]Duilio> I am recognized as Duilio in www, and as an IP in another one [00:05:22] hmm [00:05:27] <[9th]Duilio> And it's a weird issue to me [00:08:04] i dont know how mediawiki handles user login.. but i understand now your problem. [00:08:39] but www wiki and non www wiki is same (same wiki system?) [00:09:10] if they're the same wiki, I imagine the issue is because they're different machine names as far as the cookie is concerned? [00:09:29] <[9th]Duilio> it's the same machine, same website [00:09:37] <[9th]Duilio> It looks a cookie problem [00:09:42] kylu: i think so. [00:10:21] there's a wiki I'm on that has the same database for www.internal.whatever.com and www.whatever.com wikis [00:10:34] they're hosted on the same machine, but it gives two different cookies [00:10:43] one for internal, one for non. [00:10:58] <[9th]Duilio> I installed wiki only one time [00:11:27] kylu: and edit $IP variable? could it help? [00:12:23] sorry, mind explaining? [00:13:06] 04(REOPENED) Separate group for ipblock-exempt on en.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9862 +comment (10mrzmanwiki) [00:13:32] ... uhoh [00:18:01] [9th]Duilio: http://www.askdavetaylor.com/how_do_i_map_xxcom_to_wwwxxcom_in_apache.html [00:18:13] its apache related isssue... [00:19:05] <[9th]Duilio> I am trying editing redirects trhu cpanel [00:36:44] How can I add the tag to my wiki? [00:36:56] its a plugin [00:37:01] i mean extension [00:37:07] which one? [00:37:22] one sec [00:38:36] do ou mean the tags? [00:38:39] you* [00:38:53] no [00:39:10] [00:39:13] no i mean the tag [00:39:13] http://www.mediawiki.org/wiki/Category:Extensions_used_on_Wikimedia [00:39:16] yeah like that [00:39:24] its one of those :P [00:39:30] good luck [00:39:36] it [00:39:38] it's http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [00:39:42] http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [00:39:43] yeah [00:39:47] you beat me to it [00:40:01] found it in Special:Version of a wikimedia site [00:40:01] we happy? ::) [00:40:11] just go there for future reference [00:48:31] 03(mod) Pressing Enter in edit summary should not save the page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13065 (10Simetrical+wikibugs) [00:51:26] hey, so i want to use the gnuplot extension. should i use the one at http://www.mediawiki.org/wiki/Extension:Gnuplot or the one at http://meta.wikimedia.org/wiki/Gnuplot? [01:05:29] i'd be more likely to use the more actively developped one, but that's me [01:11:39] i can't really tell which one is more actively developed, which is why i was asking [01:27:56] penis [01:28:12] cheesebob: lets stay on topic please [01:28:19] hum? [01:28:25] oh sorry i thought this was #buttsex [01:28:27] my bad [01:28:38] let's stay appropriate please [01:28:47] um i was serious [01:28:49] whois me [01:31:10] How can I lock my wiki to were noone can create account except the admin, and only people with accounts can edit pages? [01:33:43] FFEMTcJ-laptop, one sec.. [01:34:01] ty [01:34:42] http://www.mwusers.com/forums/showthread.php?t=6722 <- ? [01:34:58] FFEMTcJ-laptop, http://www.mediawiki.org/wiki/Preventing_Access [01:35:08] that should be more than enough for you [01:35:18] compwhizii: ty :-) [01:35:34] you're welcome [01:36:03] hey waht's wrong with this formatting: [[http://en.wikipedia.org/wiki/Blowback_%28intelligence%29|Blow Back]] [01:36:17] it doesn't format correctly, it comes out as [Back] [01:36:43] Charitwo, was i not telling the truth? [01:36:49] nevermind... [01:36:52] I got it [01:38:11] hi. any developer online? [01:38:57] you could ask the question, someone else may be able to help? [01:39:56] kylu++ [01:40:03] gah, clock way off [01:40:09] !ntpdate [01:40:09] --mwbot-- I don't know anything about "ntpdate". [01:40:15] heh [01:40:42] ok. i need to delete 2 accounts i created in the past. they have no contributions, so o think there will be no problems. somebody told me a developer should do it for me. [01:41:00] oh, on a wmf wiki? [01:41:11] any special reason you want to delete? [01:41:11] wmf? [01:41:21] wikimedia foundation [01:41:30] like wikipedia and similar. [01:41:38] yeap. wikipedia pt. [01:41:46] why do you want them deleted? [01:41:51] Accounts aren't deleted. [01:42:14] ... on wikimedia wikis [01:42:16] reason is organizing accounts. don't want unnecessary hits in google, for example. [01:42:18] you can simply stop using them [01:42:27] *jeremyb doesn't follow [01:42:32] are they your accounts? [01:42:36] for privacy reasibs tii, [01:42:41] reasons, too. [01:42:43] yeap, they are. [01:42:55] They can be renamed. [01:42:56] if there's no contributions, they shouldn't show up in google anyway? [01:42:59] leootsuka: http://en.wikipedia.org/wiki/Wikipedia:RTV [01:43:02] so why would there be a hit? off special:listusers? [01:43:56] *jeremyb assumes that they don't have talk pages or user pages unless you made one from another account or they were objectionable names [01:44:14] 03(mod) Enable subpages for Malayalam Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13292 (10shijualex) [01:44:30] actually, renaming the accounts is likely to make them more visible, MZMcBride, not less [01:44:41] Huh? [01:44:53] they'll show up in the rename log also [01:45:06] Renaming eliminates the old account entirely. You'll have one log entry referring to the account. [01:45:10] who looks there :P [01:45:30] the same people who look at an account with no userpage or contributions at all? [01:45:31] well... if all you care about is robotstxt respecting bots not humans [01:45:32] ... [01:46:15] *jeremyb refreshes memory of robotstxt [01:46:30] leootsuka: If there is an account that needs to be dealt with due to privacy concerns, use #wikimedia-tech. [01:46:30] you could just look at the robots.txt for that wiki, y'know [01:46:49] the user list isn't blocked [01:47:00] so it is conceivable it'd show up in google [01:47:11] thanks folks. [01:47:13] I thought special: was on deny? [01:47:29] kylu: pretty sure it's a global robotstxt (lang specific stuff in en.wp/robots.txt) [01:47:37] for langs!=en [01:47:38] btw, the pages which show up in google are somebody else's discussion pages. [01:47:48] <-- From the source of Special:Listusers on en.wiki. [01:47:52] 03aaron * r31720 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Fix subtle bug [01:48:08] kylu: special:search is but not /special:[lu]/i [01:48:36] oh, through meta [01:48:51] MZM, you said renaming changes the username i use to login, too? [01:48:58] yes [01:49:08] did you read RTV? [01:49:29] hey brion [01:49:36] oy [01:49:38] *jeremyb waves to brion [01:49:50] brion: eh oh! [01:49:54] yeap, jeremy. i posted RTV when asked to delete my account, but they only deleted user and discussion pages. accounts remain active. [01:49:55] *jeremyb recently chuckled at list mail mentioning "brionizing" still needed to be done [01:49:59] hallo brion [01:50:17] brion: that bug took 30 minutes! grrr [01:50:37] leootsuka: they will generate a username with no connection to you and rename to that if you wish [01:50:39] jeremyb: hehe, not sure what to say of that :) [01:50:45] 03(mod) Use database instead of filesystem for updateSearchIndex. php position record - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11654 (10N/A) [01:50:49] so trying to maintain my sanity, i've spent some of my spare time today doing random wikipedia-related shit that looks nice on my iphone :) [01:50:54] AaronSchulz: (code) [01:50:54] http://leuksman.com/maps/geosearch.php <- fun [01:51:13] ... huh, cool. [01:51:50] remind me magnus' nick? [01:52:18] i'm using a copy of the wikipedia-world database. it's a slightly funky db, but seems to work [01:52:45] have you made the remote cluster maint ajax app yet? [01:52:49] :) [01:53:13] oh i'm avoiding anything productive until i catch up on sleep [01:54:10] actually... a nifty one would be where you take a pic, add in a description, select license, and a filename, have it upload to commons... [01:54:34] 03(NEW) Search result page numbers should be rounded to nearest integer - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13297 15enhancement; normal; MediaWiki: Search; (matthew.britton) [01:55:08] kylu: a web/ajax app? [01:55:29] something pretty for the iphone [01:55:49] something to host on commons itself right? [01:55:54] like, one of the devs tells a fan, "Look, I can reboot all of wikipedia...from my iphone." [01:55:56] or an app with the sdk? [01:55:56] oh [01:56:04] either way really. [01:56:20] I assume you'd have to use the sdk to have access to the camera, right? [01:56:39] otherwise you'd have issues with referer checks (if there are any) and tokens [01:56:50] ohh, to take a pic right there... [01:56:56] that's only 2 megapixels i think [01:57:14] yes, native app necessary to access the phone, location sensors, etc [01:57:31] you might be able to elevate perms within safari but sdk would prolly be the best way to go as long as you're already device specific [01:57:31] but it's a shitty camera :) [01:58:04] mobile safari won't let you upload local files/photos either, though you can email low-res copies of photos from the camera roll [01:58:07] (universalxpconnect and friends) [01:58:11] orly [01:58:18] *jeremyb wonders why [01:58:48] *jeremyb hadn't realized on original sdk announcement that it wouldn't be free and was disappointed [01:58:48] *brion pokes at the wikibooks copies for flaggedrevs testing [01:58:57] de copied... starting on en [01:59:05] but i've no iphone anyway [01:59:13] when do you want people to start testing, btw? [02:01:49] when flaggedrevs is turned on on them :P :) [02:02:00] brion brion brion [02:02:05] briiiion brion brion [02:02:10] ooh, we're enabling flaggedrevs [02:02:12] hey Werdna [02:02:12] fancy schmancy [02:02:13] what's up [02:02:16] not much [02:02:21] just failed a driving test again :( [02:02:22] oops [02:02:25] yay [02:02:32] that's good for the environment [02:02:33] cars are bad [02:02:36] haha [02:02:41] bad for the environment [02:02:51] because if I can drive, I can see my girlfriend more often [02:02:59] and she'll influence me, because she's very environmental [02:03:00] :D [02:03:07] so I'll be more careful of the environment [02:03:10] QED [02:05:19] gah, some of this revisiondelete code got broke with all of the merging and updates [02:05:30] I'll have to look everything over again sometime [02:05:52] brion: still too busy with flaggedrevs or something to look at invitations for centralauth? [02:06:19] *Dashiva mumbles something about unified login [02:06:20] Werdna: i'll get to it when other things are cleared off my plate :( [02:06:35] ok, ripping out the anti-entwine stuff [02:06:39] which is why i'm spending my weekend doing unimportant shit so i don't go nuts :D [02:06:42] s'cool [02:06:52] poor brion [02:06:53] *Werdna pets [02:06:59] *brion purrs [02:11:18] 03simetrical * r31721 10/trunk/phase3/includes/AutoLoader.php: Alphabetize [02:12:34] I don't need a driving test, I live in New York. [02:12:53] where either you don't drive or, if you do drive, you can't drive [02:14:51] ok, started import of en.wikibooks to the flaggedrevs test db en.labs [02:14:54] it'll be a while :) [02:15:37] does that import ns 2 and 3? [02:18:06] what's centralauth? [02:19:00] Simetrical: yeah, i just reupped for 8 years [02:19:03] 03aaron * r31722 10/trunk/phase3/ (includes/Article.php languages/messages/MessagesEn.php): [02:19:03] * Add revisiondelete links on page view [02:19:03] * Disallow rollback to deleted revs [02:19:03] * Add 'suppression' option for people with 'deleterevision' [02:19:13] jeremyb, SUL! [02:19:15] !sul [02:19:15] --mwbot-- "Single User Login" will be available Really Soon Now (tm). See , , and for more information. [02:19:17] but they did want an eye test [02:19:27] *Simetrical has a learner's permit, which is handy as state ID [02:19:45] srsly? [02:19:51] *jeremyb thought Simetrical was older [02:19:52] hmm [02:20:11] jeremyb, I am. [02:20:12] I'm 20. [02:20:17] I just never got a driver's license. [02:20:25] *jeremyb was thinking ~30 [02:20:27] I don't need one, because I always either walk or take the subway. [02:20:41] right [02:21:07] *Simetrical has been mistaken on the Internet for a 40-year-old accountant \o/ [02:21:19] heh [02:22:07] Kids these days [02:25:17] 03aaron * r31723 10/trunk/phase3/includes/Linker.php: Add $isPublic param to user link functions [02:27:17] 03aaron * r31724 10/trunk/phase3/includes/PageHistory.php: [02:27:17] * Bold sysop-restricted content [02:27:17] * Remove hard-coded checks [02:35:22] 03aaron * r31725 10/trunk/phase3/includes/Linker.php: Forgot to add $isPublic to revComment too [02:38:20] 03aaron * r31726 10/trunk/phase3/includes/SpecialContributions.php: Don't show deleted comments [02:38:52] 03(mod) The scaled image is larger than the original - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1218 +comment (10sco_scam) [02:39:39] 03(mod) The scaled image is larger than the original - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1218 (10sco_scam) [02:41:21] Simetrical: I live in Sydney. Driving is pretty much compulsory. [02:42:08] Getting to my girlfriend's house 15km away is ether a 10-minute train journey to Hornsby, changing trains (up to 30 minutes), 30 minutes to Eastwood, and then 20 minutes' walk from Eastwood station [02:42:13] bleh... use of getName is evil... [02:42:15] -or- 15 minutes' drive. [02:42:22] Werdna, sucks for yo. [02:42:22] u. [02:42:40] new york subway is pro. [02:43:02] Simetrical: Sometimes, depending on train timetables, it's easier to walk (~3 hours) [02:44:17] New York is pro, period. [02:44:32] everybody's like *SHOVE* if you get in their way [02:44:42] That's because you shouldn't get in their way. [02:45:31] you're just used to it [02:45:36] i think the bike messengers have gotten worse in the last few years [02:45:38] You just aren't. [02:45:48] (in manhattan) [02:45:57] mmm.. neither are most people (except new york city people) [02:46:20] *Werdna also got glared at for smiling at people in elevators, etc [02:51:57] You just do weird stuff, obviously. [02:52:00] I've never had a problem. [02:52:35] yes, you guys think it's weird to be friendly to strangers. [02:52:57] It is. [02:53:09] I was told by a local that new yorkers consider somebody overly-friendly as they would think of someone with a mental problem. [02:53:26] At least thirty percent of strangers who try to be friendly are trying to either beg for money, sell you something, give you something, convince you of something, or rob you. [02:54:05] Or who otherwise attempt to speak to you or initiate contact with you in any way. [02:54:08] If someone asks me for the time, I immediately make sure I pay attention to be sure their accomplice isn't pickpocketing me. [02:54:10] whereas, in Sydney, it is very normal to smile at strangers as you walk past them, and to exchange greetings, although any in-depth conversation is frowned upon unless you're both in an elevator or on the train or something. [02:54:13] It's the only reasonable thing to do. [02:54:16] right [02:55:24] anybody who ignores a smile or a reasonable greeting is usually seen as antisocial, and people think "what's his/her problem?" [02:55:34] You're parochial, is the problem. [02:55:43] what do you mean? [02:56:13] parochial is the opposite of what I'm talking about [02:58:40] Clearly 4.5 million just isn't big enough to give you the right big-city attitude. [02:58:59] Anyway, if I have an array of keys, and an array of values, how can I make an associative array out of them? [02:59:12] I know I read something about it [02:59:22] Like $arr == array_something( array_keys( $arr ), array_values( $arr ) ) [02:59:47] array_fill_keys — Fill an array with values, specifying keys [02:59:57] (http://au.php.net/manual/en/ref.array.php) [03:00:07] rtm kthx [03:00:21] I didn't see that. [03:00:24] There are too many functions. [03:00:28] Array functions, that is. [03:00:51] mindeed [03:01:10] It would help if two-thirds weren't duplicates of the other third. [03:01:11] wtf andrew/.ssh/mediawiki/languages/messages/.svn/text-base/MessagesDk.php.svn-base [03:01:25] why do I have mediawiki in my .ssh directory? [03:01:43] Wrong cwd when installing? [03:02:03] you decided you wanted to use up some extra drive space? [03:02:34] The drive was wobbley, so you put something heavy on the other side of the platter as counterbalance? [03:03:30] *Werdna rolleyes [03:03:33] silly backup [03:04:48] I think my backup regime is quite clever [03:05:45] create a backup directory on my local computer, with a directory full of diff files for incremental stepping-through. Then, each night, make a copy of the home directory, put it in the backup directory, run a diff and store it, and then rsync the whole shebang to my server. [03:06:00] . . . I just use rsnapshot. [03:06:06] Screw incremental. [03:06:13] yeah, but this is my own invention, and therefore it is fun [03:06:51] *Simetrical thought up this cute little idiom to avoid off-by-one errors when indexing among multiple arrays with the same index: foreach( array_keys( $non_associative_array ) as $i ) [03:07:12] Although I wish I could think of a way to avoid indexing among multiple arrays with the same index to start with. Hmmm. [03:09:10] gedit needs to support automatic line handling when writing comments wrapped to 80 columns. [03:09:19] It's so annoying to have to manually reformat the whole comment every time. [03:09:21] *Werdna prefers kate [03:10:40] 03aaron * r31727 10/trunk/phase3/includes/filerepo/ (File.php FileRepo.php): Slowly merge in a few rev_deleted checks [03:14:22] can anyone please link me to an example of a template that accepts multiple values for a parameter and will display however many are provided? [03:15:25] andrew____, what do you mean? [03:16:06] like say i wanted to list types of fruit in a table and i'd want a table row for each of the fruit listed in something like fruit=banana,tangerine,orange etc [03:16:15] or maybe fruit=banana then next line fruit=orange [03:16:17] i don't know [03:17:13] http://en.wikipedia.org/wiki/Template:Makelist ? [03:18:01] that has such an icky implementation [03:18:19] *jeremyb just came across it for the first time now [03:18:27] hmm. [03:18:39] i need to associate a second field with the first though [03:18:45] http://en.wikipedia.org/wiki/Template:Catlist too [03:19:21] andrew5: you could always, you know, look at the code and adapt it [03:19:43] yup, i'm just getting started on this project [03:19:53] Werdna: nice name, btw [03:22:10] yikes, that is messy [03:28:32] 03(mod) Redirect page with additional normal wikilinks shows up as redirect on every linked page 's "what links here?" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12971 +comment (10cbm) [03:39:40] 03(mod) upload file type black-/whitelist error message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11984 (10pre> and put it on a regular wiki article. [03:39:40] -- [03:39:40] Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email [03:39:41] ------- You are receiving this mail because: ------- [03:39:44] You are the assignee for the bug. [03:39:45] You are watching all bug changes. [03:39:49] _______________________________________________ [03:39:52] Wikibugs-l mailing list [03:39:53] Wikibugs-l) [03:39:56] ... the fuck? [03:39:57] O_o [03:39:58] WTF? [03:40:14] Someone's name upset wikibugs. [03:40:39] jidanni? [03:43:04] hmmm... [03:43:13] *Dantman|FS things wikibugs needs reprogramming [03:43:17] thinks* [03:45:56] 03(mod) upload file type black-/whitelist error message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11984 (10N/A) [03:50:19] 03(mod) Separate group for ipblock-exempt on en.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9862 (10scream) [03:56:41] Simetrical: Can you believe I'm going to need to do a schema change on 6 fields just to change the format used for a username!? [03:57:31] ... man, I'm glad I didn't table that yet. o.o [03:58:14] Dantman|FS, not surprising at all. [04:31:34] how can i make "edited by" ip addresses visible only to administrators? [04:31:35] 03(ASSIGNED) On paged categories, article totals and subcat totals are incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1212 +comment (10Simetrical+wikibugs) [04:31:47] If I start totally forgetting about that bug after putting in a few hours' work on it, someone please stab me in that direction. kthx. [04:32:03] windopain, require user registration. [04:32:27] MediaWiki doesn't support anonymous users who identify themselves by throwaway names. [04:32:54] i was hoping to allow anonymous editing but only show IPs to admins [04:33:17] i suppose requiring use registration will be good enough [04:33:18] isn't there some sort of IP masking schema? [04:33:21] Nobody's written the functionality that I know of, because it would be a pain and wouldn't benefit Wikipedia (the support for which is MediaWiki's primary purpose). [04:33:24] Is there? [04:33:24] (or wasn't there) [04:33:27] Anyway, I'm off to bed. [04:33:29] nini [04:33:34] thx [04:33:38] splarka: use an ipv6 gateway? :) [04:33:49] ow [04:34:23] windopain: probably easiest to require registration to edit, yah [04:34:29] then give checkuser to whoever needs to see IPs [04:34:35] $wgEmailConfirmToEdit = true;.... that's how to require user registration? [04:34:58] no... [04:35:04] $wgGroupPermissions['*']['edit'] = false; [04:35:11] $wgGroupPermissions['user']['edit'] = true; [04:35:41] how about removing IPs that are already shown in the history ? [04:37:25] windopain: use the "User Merge and Delete" extension? [04:37:56] windopain: Or, edit the database manually [04:38:53] mkay... and last question is, how to change the name of a page? [04:39:09] windopain: move the page [04:40:16] ty [04:40:22] np [04:52:19] are captchas available for the registration? [04:53:18] yah [04:53:36] http://www.mediawiki.org/wiki/Manual_talk:Preventing_access#Email_Verification.2FGraphical_Security_Confirmation_for_Account_Creation [04:54:03] (ignore the bit about confirmed email) [04:54:55] 03(NEW) problems with [[Special:Newpages]] on Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13298 15enhancement; normal; MediaWiki: Special pages; (hegesippe46) [04:57:49] Splarka: SELECT user_editcount FROM `user`, `page` WHERE user_name=page_title AND page_namespace=2 AND page_id=3 [04:58:01] ^_^ An interesting new feature from the rewrite [05:05:22] Simetrical: In the updaters.php script changes. For both the page_name filling and user_name changing, I've been grabbing the data from the first 5 rows to create an assumption on if the stuff was actually done, and prompting the user if it should actually be done... For the user_name, since I'm actually going to need to change 6 tables, do you think I should just make it run anyways? [05:06:15] Netither one will break anything if double run... page_real filling has a WHERE page_real = '' and user_name simply changes space to _. [05:10:23] where are ip addresses stored in the database? [05:18:00] i found many of them in the recentchanges table but this did not change the IP addresses that show up in my page histories [05:19:30] those are stored as rev_user_text in the revision table [05:26:38] don't forget the two for images, and the ones for deleted pages [05:26:57] There is also another one if I remember where [05:27:19] But in total there are 5 of them... I know because I just had to hunt them all down because I'm working on a schema change [05:27:49] image_user_text, ipb_by_text, oi_user_text, rc_user_text, and ar_user_text [05:27:59] +rev_user_text, [05:29:06] revisions/images/blocks/oldimages/recentchanges/deleted [05:34:06] *Dantman|FS wishes we had a usernames table meant for abstracting username storage [05:51:46] it says i need version 1.6alpha to use captchas? [05:52:31] hmmm and i need to run the python script... think this will work through a cron job ? i can only use cpanel to run commands [05:53:00] you should only need to run the python script once [05:53:08] it generates a bunch of random captcha images that get used [05:53:18] right but cron is the only way i can run a script [05:53:28] no shell access [05:53:59] what's the difference in a plugin and an extension? [05:55:19] probably none [05:55:29] you could generate the captcha library offsite maybe [06:15:56] 03rotem * r31728 10/trunk/phase3/ (2 files in 2 dirs): Update. [06:24:37] Dantman|FS: thanks [06:39:13] hi there. Are the namespace strings available in the database dumps from wikipedia, or do i have to extract them from mediawiki's languages/MessagesXx.php ? [06:42:15] languages/messages/MessagesXx.php that is... [06:44:30] I know that they are included in the XML dump files... i am using xml2sql to convert them to SQL and insert them into the database. are the Namespace identifiers like 'Image', 'Bild' or '画像' available in the database? [06:48:23] The database only knows of the numbers, the text forms of the namespaces are handles purely through PHP [06:48:36] handled* [06:50:33] can i assume that the numbers are fixed? The PHP code uses defines for the integers, so they might change over time. [06:51:25] the code in Defines.php discourages the redefinition of these numbers, because they are assumed to be hardcoded 'everywhere' [06:52:54] so i have to extract all the namespace string identifiers and aliases from MessagesXx.php if i want to handle links that might contain namespaces like this [[Portal:SomePortal]] ? [06:54:17] because there is no other way of obtaining the equivalence of 'Portal' and 100 ? [06:56:17] you can shell out to a PHP command line script, or get the information via the web API [06:56:35] but you shouldn't try to parse the PHP files with some other language, that's just asking for bugs [06:56:43] TimStarling: ugly... very ugly... [06:57:13] what's ugly? [06:57:21] TimStarling: ok guess i'll just have to include my own MessagesXx.php equivalence [06:57:55] the Portal namespace is not in MessageXx.php [06:58:42] TimStarling: I am writing an API for Wikipedia and do not want to impose the dependency on mediawiki upon my users... [06:59:43] TimStarling: i know that the Portal namespace is 'user defined' but it is used all over wikipedia with the ID of 100 so i assume that fixed... ;-) [07:00:14] I don't think you should assume any such thing [07:00:32] indeed [07:01:28] TimStarling: that is right and i am obtaining that information from the XML dumps right now.. i plan to write an DB Mapper soon and wanted to know about my options... [07:02:14] OK... so there is absolutely no way to identify an 'Portal' page if i obtain it from the database [07:02:46] you could write the namespaces into the database, then they'd be in the database [07:03:12] but maybe you knew that already [07:03:46] TimStarling: hmm, maybe i am writing a small script or change xml2sql to include namespace information as well... [07:03:47] Tim: In case you're interested: http://en.wikipedia.org/w/index.php?title=Wikipedia:Administrators%27_noticeboard&diff=prev&oldid=195985436 [07:05:08] MZMcBride: feel free to direct him to me [07:05:14] Ok. [07:05:20] TimStarling: but i will never get namespace aliases with that.. because they are just available in the MessagesXx.php files.. :-( [07:06:19] guess i'll have to distribute my own language files... especially if i also want to deal with templates in different languages. [07:06:56] babilen: is this something I should care about? [07:12:21] TimStarling: no, not at all. I am just a bit frustrated about a lot of decisions made when the markup was designed, because it makes writing 3rd party application hard. [07:15:15] http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces|namespacealiases [07:15:36] looks like a list of namespace aliases [07:18:25] if you're just doing this on a whim, or for personal gain, then I don't really care what your troubles are [07:19:05] TimStarling: no, they are not namespace aliases. these are just the normal string identifiers for namespaces. chinese for example uses the english identifiers. (these will be found in the ... part of the xml dump [07:20:20] TimStarling: but chinese ALSO identifies namespaces by chinese identifiers. (namespaceAliases in MessagesZh_tw.php for example) [07:20:37] if you're doing it because you think Wikipedia is really great and you want to distribute at minimal or zero cost, then maybe I do care [07:21:36] i am in NLP research an think that wikipedia is a great resource. There are just not many GPLed API's for accessing it, so i am writing one. [07:22:39] an API for the XML dumps? [07:23:10] TimStarling: right now i am working with the XML dumps, but will write a DB mapper in the coming month.. [07:24:54] there are three types of namespace name: canonical, primary localised, and aliases [07:25:06] the canonical names do not change, and you can use a static list [07:25:13] they are listed in Namespace.php [07:25:40] the primary localised names are in the element in the API query above [07:25:50] that is the name that is displayed by default at the top of the page [07:26:08] and the namespace aliases are in the element above [07:26:30] element above? [07:26:41] in the URL I gave you [07:27:00] thanks for that explanation... that clarifies a lot. [07:28:43] i do not see any elements in there... [07:29:10] maybe you're not looking hard enough [07:29:22] [07:29:22] WP [07:29:22] WT [07:29:22] [07:29:26] Bah, who designed this output for subpage information: http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces%7cnamespacealiases&format=jsonfm [07:31:26] bleh... output for JS should be true/false... Not nothing defined, or a property with a blank string... [07:31:46] TimStarling: ah, problem with 'open link' function in my shell. The '|namespacealiases' part was missing... [07:32:15] TimStarling: i guess this is just available online? [07:32:22] And that XML format is crap to... subpage="", even if you followed the standard for checkboxes it should be subpages="subpages" [07:37:32] babilen: everything is online [07:38:54] TimStarling: TimStarling how can i retrieve the corresponding xml file? [07:42:26] let's see if it will stay online this time... [07:43:03] TimStarling: i guess this is just available online? [07:43:17] we don't do wikipedia by carrier pigeon just yet, everything is online [07:43:36] if you want a namespace list that's synchronised with the XML dump, you should download one at around the same time the dump is made [07:44:54] TimStarling: how can i retrieve the aforementioned page in xml format? [07:45:04] format=xml [07:46:37] TimStarling: great!! Thanks a lot.. I am aware that i probably should know a lot more about the implementation of MediaWiki before i start to write an API for Wikipedia, but i hope this channel is able to endure my questions. [07:48:36] Hello [07:49:16] I'm updating from 1.11.0 to 1.11.2 and I was wondering if I need to upload the config directory or not (FlashFXP is not transferring it) [07:54:46] 03(NEW) API output for boolean values is unintuitive - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13299 minor; normal; MediaWiki: API; (dan_the_man) [07:55:10] I get a "No space left on device" error when I try to upload that config folder. [07:56:50] Strange that the other files uploaded fine... then again, they were overwriting, so perhaps it's when making a new folder/file this error occurs. I had deleted the config folder after the last installation, obviously - I'm still not sure if I need it there for an update (using SSH) [07:58:22] The config directory should only be necessary if you're re-running the config script to update. [07:58:40] Ok, so using SSH I won't need it [07:58:56] Have you upgraded before? [07:59:15] No, not really, but I am deducing what I can from this UPDATE file, heh [07:59:30] !upgrade [07:59:30] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [07:59:51] Read that. You may or may not need the config directory. [08:01:46] Yea, that's the one I'm reading - it didn't say -specifically- and I thought I'd check, being a tiny bit cautious and sleepy. [08:03:39] I can't proceed yet until I've gotten this error fixed, due to having to upload the AdminSettings.php [08:03:54] *Elrahc emails DreamHost [08:18:14] *Dantman|FS thinks MediaWiki is suffering from what a Lisper would call NIH [08:18:24] +syndrome [08:18:33] thanks for your assistance, MZMcBride [08:45:47] I'm having trouble with install [08:46:25] falieson: details! [08:46:31] I'm getting internal server error 500 [08:47:12] anything else? [08:47:24] falieson: look into the server error log for details [08:47:46] a 500 usually happens before the php script is ever started [08:47:50] well I just unzipped the file and FTPed it up, I bet its a permissions thing but I'm not sure what [08:48:07] permission problems should not cause a 500. they'd cause a 403 [08:48:21] hmm [08:48:25] a broken .htaccess could cause a 500 [08:48:29] or a broken php installation [08:48:43] again: look into apaches error log. [08:48:55] it usually has details for a 500 which are not shown on-page for security reasons [08:50:15] I don't think i have access to those logs, its remote server [08:50:43] does each directory need a .htaccess? my root dir has a .htaccess that only contains 'AddHandler application/x-httpd-php5 .php' [08:50:45] falieson: per-vhost logs are simple enough to set up. if you donÄt have access to error logs, get a new host [08:50:56] access to error logs is a minimum requirement to keeping a site safe. [08:51:20] no, usually you only need a .htaccess in the root directory, if at all. [08:59:15] well, when I remove the .htaccess file the script says "set up your wiki first" - Improvement! But then I click it and go to the config/index.php and I get the error again :-/ [09:04:10] 03(mod) Add a button in the edit history to jump to that time in a user 's contributions, so you can see the other edits they were making around the time that the edit was made . - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13295 (10dan_the_man) [09:05:08] with bug topics like that, who needs comments? [09:05:36] (shoulda ended with "(n/t)") [09:52:59] any experiences with running SMW on trunk? [09:53:17] does it work, is it broken often? [09:53:22] it installs. [09:54:05] hmm, that at least somethng, werdan7. [09:54:14] oi [09:54:32] *siebrand urses auto completion and similar nicks. [10:01:22] auto complepwned [10:03:34] <[NL]Thoth> :-P [10:04:13] how do i recover admin password ? [10:07:46] no_mind_: read the faq [10:18:55] 03(NEW) Rename the "Wikipedia" namespace to " =?UTF-8?Q?=E0=A4=B5=E0=A4=BF=E0=A4=95=E0=A4=BF=E0=A4=AA=E0=A5=80=E0=A4=A1?= =?UTF-8?Q?=E0=A4=BF=E0=A4=AF=E0=A4=BE?=" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13300 15enhancement; normal; Wikimedia: Language setup; () [10:28:57] =?UTF-8?Q?=E0=A4=B5=E0=A4=BF=E0=A4=95=E0=A4=BF=E0=A4=AA=E0=A5=80=E0=A4=A1?= =?UTF-8?Q?=E0=A4=BF=E0=A4=AF=E0=A4=BE?= [10:29:02] what a dumb name for the wikipedia namespace [10:29:50] *Werdna ducks [10:30:37] werdna feeling quippy today? [10:30:54] 03(mod) Default group for Oversight extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11923 +comment (10dan_the_man) [10:31:02] *Werdna hides [10:31:08] that sounded like you were about to ask me to do something [10:31:42] <_wooz> lo [10:36:05] 03werdna * r31729 10/trunk/extensions/Oversight/HideRevision.php: (bug 11923) Give the oversight group oversight permissions by default, when the group is enabled.. [10:36:12] Dantman|FS: Read bug kthx. [10:36:16] 03(FIXED) Default group for Oversight extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11923 +comment (10Andrew) [10:37:29] Hacks like that sicken me [10:37:34] 03aaron * r31730 10/trunk/extensions/ (3 files in 2 dirs): [10:37:34] * Clean up some of the version metadata in FlaggedRevs. [10:37:34] * Have ImageMap add images to parserout like parser does. Not doing so also causes FlaggedRevs to think the review metadata was incomplete. [10:37:44] Dantman|FS: just add it to your localsettings.php [10:38:34] It is much less user-friendly to make users add four more lines to their localsettings.php to get an extension work reasonably, than to make users who want to customise their configuration add similar lines. [10:38:41] o_O [10:38:59] that guy has iss-sues [10:39:47] 03(mod) Use database instead of filesystem for updateSearchIndex. php position record - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11654 +comment (10dan_the_man) [10:45:05] unset($wgGroupPermissions['oversight']); [10:45:08] Werdna: :) [10:45:20] AaronSchulz: read up [10:47:27] well, there will be an Oversight group anyway with revisiondelete [10:48:54] mmm [10:50:19] over-sight, over-sight, send the word, send the word, over-sight... [10:50:37] that guy's funny. [10:50:44] seen his rants on wikitech-l? [10:51:30] *Splarka had associated with him on Wikia for quite a while [10:53:05] ah [10:53:15] when there's only one category in a page [10:53:19] which is hidden [10:53:51] an ugly empty grey box is put at the bottom of the page :( [10:54:26] aww [10:54:28] that sucks [10:54:30] let me has a look [10:54:45] example http://nicdumz.free.fr/cadre%20gris.jpg [10:55:07] I thought this was a bad template issue, but now I got it, it's from an hidden cat. [10:55:56] gonna check bugzilla to check if this hasnt been reported yet [10:57:06] true. It's here https://bugzilla.wikimedia.org/show_bug.cgi?id=13234 [10:57:09] I'll see if I can fix it [10:57:12] https://bugzilla.wikimedia.org/show_bug.cgi?id=13234 [10:58:50] is there a way to disable userpages? [11:00:12] probably [11:00:18] have you looked at the manual? [11:00:51] i did, i cant find anything on that [11:04:23] disable as in make uneditable? or more than just that? [11:06:34] he left :\ [11:07:09] think I've figured the fix for that bug [11:07:13] it's a bit ugly, but it'll work [11:07:26] okay, nice :) [11:09:08] dammit, where's simetrical when you need him [11:09:34] where am I supposed to put new classes? just down the bottom of a css file of some description? [11:09:51] meh. [11:09:56] werd: which solution did you pick? giving the catlinks div a "no unhidden" class? [11:10:27] and maybe you can fix the weirdness that exists now, of a monobook