[00:07:01] it's nice to have the GStreamer source to guide Cortado design [00:07:18] if I have a design question, I just have to ask myself: What Would GStreamer Do? [00:19:26] 03(NEW) Render the redirected category link with different color - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13241 15enhancement; normal; MediaWiki: Page rendering; (stanley) [00:35:42] 03dale * r31530 10/trunk/extensions/MetavidWiki/ (7 files in 5 dirs): [00:35:42] template clean up [00:35:42] fix empty date range searches [00:48:25] Anybody have a clue as to the release date of MediaWiki 1.12? I see it was branched into REL_1_12, but there hasn't been a release in weeks. What's the status of that release? WikiMedia sites are now using 1.13... [00:50:35] Voyagerfan5761: any day now :) [00:50:45] mainly waiting on the security releases i did yesterday [00:50:50] i just have to do a little more cleanup and testing [00:51:06] brion: Cool, thanks :) [00:51:25] It was bugging me for a while now; glad to get an answer. [01:10:15] Hi everyone [01:11:47] I have implemented short urls on my server using the aliasing method. When I go to http://mywiki/, I get redirected to http://mywiki/Main_Page. I want Main Page to load without the url changing to http://mywiki/Main_Page. Any ideas? [01:14:28] AtharHameed: http://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory [01:14:36] "Any scheme which does this is not supported by the MediaWiki developers. So if your scheme doesn't work with a new MediaWiki version, you're on your own." [01:14:56] 03(mod) add DOM friendly importScript and importStylesheet functions into wikibits .js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13232 (10skizzerz) [01:15:00] Splarka: thanks [01:15:26] AtharHameed: can you access favicon.ico or robots.txt ? [01:16:10] er, 1 rev off from current trunk, meh [01:16:26] current as of phase3 though, so that's fine [01:17:28] Splarka: I haven't checked, but I can't go to the login/accountcreate page. When I click on it, I stay on Main Page [01:18:28] Can't get robots.txt or favicon.ico as well [01:18:40] yah, that's the problem with a null article path [01:18:50] hmm [01:19:01] but some sites are using null article paths just fine [01:19:01] http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_Working_method_with_mediawiki-1.11 <-- here are some examples of rewrite exceptions made in .htaccess [01:19:06] 03dale * r31531 10/trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php: maintenance updates [01:19:08] http://www.aboutus.org for example [01:19:27] "just fine" is relative, if they can make it look easy then they've succeeded ^_^ [01:19:48] :) [01:19:50] every path that isn't a potential page name has to be excepted, like robots/favicon, the script, the styles, the api, etc [01:20:27] ok [01:35:53] 03(mod) New parser function / magic word, for "pretty-printed" numbers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13025 +comment (10spidermannequin) [01:41:12] 03(mod) Setting a temporary usergroup - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10493 (10meno25wiki) [01:44:59] hmm, i've got totally different responses in wide spectrum of variations, so i'm a bit confused. i'd need to know, if every skin (meant bundled in default mediawiki) has its own MediaWiki:Skinname.css and Special:Mypage/Skinname.css and if they are used always or sometimes or none [01:49:16] Danny_B: every skin has its own MediaWiki:Skinname.css and Special:Mypage/skinname.css (note the lowercase s in the mypage one). They are always used if they exist, unless $wgSiteCss or $wgAllowUserCss are false [01:51:47] er, $wgUseSiteCss :) [01:51:54] yep ;-) [01:52:21] great. i had responses mostly in way "only monobook has its own, other don't" [01:54:05] Hey. Just a short Question: Did you ever had the need in the MW api to check whether a Hook is used or not. If you'd decide for checking it, would you rather do it manually exists($wgHooks[bloodyhook]) or would you think that adding a function to Hook.php is the right way to do that? [01:58:13] I believe things like CologneBlue and such use MediaWiki:Standard.css or somesuch, not quite sure though. experiment :) [01:59:01] Isnogud: if( array_key_exists( $wgHooks['somehook'] ) == true ) { ... } [02:00:02] you could also look at Special:Version to see what hooks are currently being used, but that's not exactly helpful from a programming standpoint [02:00:02] Skizzerz: would you use such a check directly in say the Title.php? [02:00:19] Skizzerz: looks to me like a very unclean way of doing it. [02:00:21] Danny_B: http://en.wikipedia.org/wiki/Wikipedia:Catalogue_of_CSS_classes [02:00:37] a more general approach maybe looks more nice. [02:00:39] the ones that are monobook based are more complete, but they all have something (note that page is very out of date, but still applicable) [02:00:55] array_key_exists would be the most efficient way of doing it I think [02:01:02] well. [02:01:15] Skizzerz: in case that wgHooks is a array, yes. [02:01:19] and putting it in Title.php should work fine, since LocalSettings.php is put in before it [02:01:27] s/put in/compiled [02:02:29] Skizzerz: wfRunHooks is really very paranoid on checking if wgHooks is nice. [02:02:39] /is/looks/ [02:04:05] 03brion * r31532 10/trunk/phase3/ (3 files in 2 dirs): (log message trimmed) [02:04:05] Some experimental support for including upload data in XML export, as specced. Usable with --uploads option on dumpBackups.php [02:04:05] Some issues: [02:04:05] * doesn't respond to the current v full-history modes [02:04:05] * won't pick up file entries with no corresponding page [02:04:09] * on default config, you may end up with 'localhost' in URLs :P [02:04:11] * synchronization and mutability problems [02:06:14] cortado has this annoying little bug that I wanted to fix [02:06:49] if you pause a video, it doesn't repaint the still frame, if you cover all or part of it [02:07:18] pretty simple, I thought, just have the paint() method of the window tell the video sink to repaint its last buffer [02:08:43] but adding a function to the video sink would be a terrible break in the model because it's a plugin and you're not allowed to cast it to a named class [02:09:26] it has events for such generic communication with sinks, so I thought fine, add an event type [02:09:58] but apparently the stream lock needs to be acquired to stop the threads from stepping on each other, which they're quite likely to do in this case otherwise [02:10:32] and the stream lock is a protected member variable of the pad [02:10:53] and the pad is an anonymous class created in a member initialiser in the sink superclass [02:11:45] the pad passes events down to the sink, but it doesn't provide any method to acquire the stream lock [02:11:57] so it's a lot of bloody trouble to make the window repaint properly [02:12:05] Isnogud: sorry, had to take care of something on another channel. When would wgHooks not be an array? [02:12:31] before DefaultSettings.php [02:13:14] ... ok, got me there :P [02:20:46] 03(NEW) Add class to to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 15enhancement; normal; MediaWiki: Page rendering; (danny_b) [02:20:51] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny_b) [02:22:55] 03(mod) Add class to to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 +comment (10Simetrical+wikibugs) [02:28:38] 03(mod) Hook: TitleMoveComplete, Wrong Page ID present - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13204 (10darien.hager) [02:37:05] Skizzerz: well. it should always be an array. but looking at wfRunHooks i can see that it is really carefully checked. [02:37:29] ok... I really don't see the issue though [02:39:18] 03(mod) New Hook TitleUserCase for manipulation of names in MW. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13166 +comment (10bacher) [02:46:00] I need mediawinki for windws [02:46:22] 03(mod) New Hook TitleUserCase for manipulation of names in MW. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13166 (10bacher) [02:47:33] Ganja loves all of you [02:47:48] <_sj_> I'm trying to make text on a wiki page that is effectively
[02:47:54] <_sj_>	but doesn't urlescape material inside the pre tags
[02:48:09] <_sj_>	(mw seems to turn quotes and other chars into their escaped chars when you turn on 'pre')
[02:48:13] <_sj_>	is there a way?
[02:48:19] <_sj_>	cygnuz, no problem
[02:48:43] 	I'm brazillian, one moment please
[02:50:13] 	_sj_
[02:54:08] 	_sj_ I do not know to say friend to it
[03:06:26] 	03(mod) Add class to  to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242  (10danny_b)
[03:11:00] 	http://img162.imageshack.us/img162/7945/motivator9165514vu0.jpg
[03:11:31] 	03(mod) Add class to  to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242  (10Simetrical+wikibugs)
[03:14:34] 	hey splarka, long time no see
[03:14:48] 	what, since yesterday?
[03:15:06] 	Wiredtape: hai
[03:15:14] 	did i see you yesterday? :)
[03:15:19] 	Skizzerz, hey
[03:15:36] 	_sj_: 
& < > | " '
for me produces
& < > | " '
[03:15:49] Skizzerz, did a lot of work on socialprofile yesterday, almost working completely now :) [03:15:57] yay [03:16:07] most of the work has already been commited [03:16:09] then we hold off the commit and sell it to Wikia for profit :D [03:16:11] aww :( [03:16:20] ;-) [03:16:48] i thought it was working for wikia, no? [03:17:14] my definition of "works" and Wikia's definition of "works" are entirely different [03:17:40] My definition: relatively bug-free and stable. Fix bugs as they come along [03:18:28] Wikia's: Yeah, doesn't alpha mean the top of everything, so it's like the best? Oh, and what bug are you talking about? I don't see it... *runs away* [03:18:41] Skizzerz, i see :) lol [03:18:54] Splarka may agree with me on that ;) [03:19:16] yeah, i heard splarka and wikia have parted ways :? [03:19:30] a while ago [03:19:31] IIRC [03:19:38] November was it? not sure [03:19:57] i'll brb [03:20:10] meh [03:22:21] 03simetrical * r31533 10/trunk/phase3/ (RELEASE-NOTES includes/Skin.php): All skins should have the "mediawiki" class on the body element [03:25:11] eh, i gotta go for now.. c u guys later [03:54:04] 03(mod) Add class to to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 (10danny_b) [03:55:45] having trouble with mediawiki [03:56:02] recieving an error 119o4 [03:56:05] 1194 in mysql [03:56:10] hello? [03:56:26] Use more cowbell [03:56:46] how [03:57:24] !help [03:57:24] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at < http://www.mediawiki.org/wiki/Mwbot >, you can find all my source code at < http://amidaniel.com/viewvc/trunk/MWBot/?root=svn > [03:59:33] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [03:59:33] --mwbot-- I don't know anything about "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!". [03:59:44] Forget it [04:00:09] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [04:00:09] --mwbot-- I don't know anything about "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!". [04:00:09] IceGuest_7: try asking in #mysql [04:00:14] ... [04:14:17] O_O [04:15:18] I am having a problem with mediawiki, getting an error 1194 on searchindex table. [04:16:40] 1194 is a mysql problem, not related to mediawiki [04:17:40] what are the default values for the table? [04:18:05] never mind I am uninstalling now [04:48:48] he's uninstalling mediawiki because of what's probably a crashed myisam table? funny [04:58:03] 03(mod) "Persistent" login expires many times within a single session - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1396 (10linux) [05:16:23] I don't want the homepage of my wiki to redirect to http://mywiki/wiki/Main_Page. How can I fix this behaviour? [05:17:16] AtharHameed: Edit [[MediaWiki:Mainpage]]. [05:17:41] Hmm [05:17:52] Lemme check [05:18:36] what do I edit it to? [05:18:48] should i remove the text Main Page? [05:18:49] MZM: he means the root with no title [05:19:09] AtharHameed: you've gone ahead and used /wiki/ articlepath I see [05:19:18] do you mean http://mywiki/wiki/ or http://mywiki/ you don't want to go to your main page? [05:19:23] *MZMcBride stares. [05:20:15] you always want MediaWiki:Mainpage to point to a valid page, if it doesn't it can break things like title-free redirects and post-action returns, as well as logo links [05:21:25] Splarka: Yes, I gave up [05:21:37] I want it to stay at http://mywiki [05:22:12] oh ok [05:22:16] k, I don't know how to do that, but I did know what you wanted, so someone can help you now maybe ^_^ [05:22:21] if it break things, it's best if I leave it alone [05:23:53] *Splarka notices modern skin has no IE CSS/JS fixes [05:31:38] ok so I have written an extension for allowing users to upload files in a safe locker. I cooked up my own solution for uploading files but I have a feeling that it's not the right thing to do. Am I right? I mean if I use mediawiki's upload thingy, then the files will be visible to all users no? [05:34:57] Yes, they'll be visible to everyone if you use MediaWiki. [05:42:18] 03(NEW) 'External link' to WDScott history is broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13243 04CRIT; highest; MediaWiki: Redirects; (hughaj) [05:42:47] Hahaha. [05:43:18] 14(INVALID) 'External link' to WDScott history is broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13243 (10overlordq) [05:43:50] But it was critical! [05:43:55] 03(mod) 'External link' to WDScott history is broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13243 (10overlordq) [05:43:59] Of the highest priority! [05:44:54] atleast it wasn't blocker, then we really might be in trouble [05:45:05] Heh. [06:33:05] flyingparchment, simetrical: http://blogs.abcnews.com/politicalpunch/2008/02/john-mccain-ent.html [06:33:14] 'At a town hall meeting Friday in Texas, Sen. John McCain, R-Ariz., declared that "there’s strong evidence" that thimerosal, a mercury-based preservative that was once in many childhood vaccines, is responsible for the increased diagnoses of autism in the U.S. -- a position in stark contrast with the view of the medical establishment.' [06:33:35] wow, another dipshit [06:34:42] A cranky, ill-informed, white, male, Republican running for president? Never... [06:35:13] it has the word 'mercury' in it, it must be bad [06:35:20] just like CFLs [06:35:45] http://en.wikipedia.org/wiki/Wikipedia:Catalogue_of_CSS_classes#Stylesheets_and_JavaScript [06:35:59] just finished updating this (after like being 2 years out of date), anyone see any errors? [06:36:10] (specifically that table at the top) [07:03:53] How can I ask Google (and other search engines) *not* to index the Special:* pages? [07:04:03] or at least not Special:Random [07:11:36] have it disallowed in robots.txt ? [07:11:53] User-agent: * [07:12:00] Disallow: /wiki/Special:Random [07:12:00] Disallow: /wiki/Special%3ARandom [07:12:21] see for example http://www.mediawiki.org/robots.txt [07:22:19] mboman: http://www.mediawiki.org/wiki/Robots.txt [07:22:31] 'Disallow: /index.php?title=Special:' [07:22:40] Splarka, AaronSchulz: thanks [07:22:42] 03(mod) Correct linking in Special:Log/rights for crosswiki changes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13236 +comment (10huji.huji) [07:23:17] 'Disallow: /w/' might be better [07:23:26] well, it explains it all there [07:23:49] 13236 is a duplicate. [07:25:02] ... of https://bugzilla.wikimedia.org/show_bug.cgi?id=9794 [07:26:52] 03(mod) Links unclickable in rtl wikis when using simple skin under Firefox - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13229 +comment (10huji.huji) [07:26:53] 03(mod) RTL/bidirectional issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=745 (10huji.huji) [07:27:26] Just brainstorming here: Is it possible for MediaWiki to use a system such as Amazon S3 to store uploads? [07:29:05] Siebrand: are you available? [07:29:36] Werdna: are you available? [07:30:15] 03aaron * r31534 10/trunk/extensions/FlaggedRevs/flaggedrevs.css: Make bottom 0 again [07:34:59] McCormack: just for a very short while ~10 mins. [07:35:05] how to change logo page by page [07:35:34] 03(mod) Activate SubPageList3 extension on English Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13163 (10mccormack) [07:36:03] different logos in different pages [07:36:07] ? [07:37:02] Siebrand: you seem to be the one who committed my subpagelist extension to SVN; as per my comment on bug 13163 above, 3 lines of code were changed (presumably for the better, mostly) and a small bug was introduced reported by PaulHat. [07:37:47] I've commented on this in the activation request - is that enough? or should the SVN version be changed now? I don't have commit access. [07:38:05] McCormack: I committed to i18n for it. Werdna imported it. Lemme look at the bugzilla. [07:38:20] Siebrand: thanks! [07:40:49] subhan: what version of mediawiki? [07:41:09] 1.11 [07:41:22] 03siebrand * r31535 10/trunk/extensions/SubPageList3/SubPageList3.php: (13163) fix a bug by fixing a typo [07:41:44] subhan: each page has a CSS body class [07:41:48] Siebrand: that was quick!! [07:41:53] 03(mod) Activate SubPageList3 extension on English Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13163 +comment (10siebrand) [07:41:57] ok [07:42:09] McCormack: told you I didn't have much time ;) [07:42:31] body.page-Main_Page #p-logo a { background-image: url(http://someimage) !important; [07:42:37] } [07:42:42] Siebrand: many thanks. [07:42:51] McCormack: yw. [07:43:11] Splarka:yes [07:43:27] where url is the URL to the logo you want to appear there [07:43:37] view a page source to find out what the page class is (in the tag) [07:44:24] Sparka: yes i understand but how to change for different pages [07:44:51] body.page-Main_Page #p-logo a { [07:44:54] that part, different for each page [07:45:15] subhan: For a page named MediaWiki, you'd have body.page-MediaWiki [07:46:05] Splarka: ok will try thanks [07:46:41] subhan: Are you reasonably clear on how to determine the class name to target? [07:47:08] Voyagerfan: not much [07:47:28] what browser? [07:47:35] Firefox [07:47:45] hit Ctrl+U on a page [07:47:55] scroll down and look for something like: [07:48:05] [07:48:21] Splarka: What happens if there are special characters in the page name, like "Google's Lock-in: A Commentary"? [07:48:38] My curiosity has been piqued [07:48:42] _ ____ ___ _ _ _ [07:48:54] ? [07:48:54] everything funky (and some things not funky) get turned into underscores [07:49:18] Underscores take the place of any non-alphanumeric char, then [07:49:28] well, no... [07:49:31] Or are hyphens left alone? [07:49:45] page-Google_s_Lock-in_A_Commentary [07:49:47] per your example [07:50:07] but you can try it on nonexistant pages too, go to the URL in en.wp and view page source, even if it doesn't exist it'll have a clas [07:50:07] Wait, would there only be one underscore where the ": " was? [07:50:25] Didn't realize that; thanks, Splarka :) [07:50:34] splarka: yes i am able to see [07:50:44] yah, multiple underscores are compressed [07:50:55] subhan: that page- class is what you want, with the css above [07:50:59] Splarka: Gotcha [07:51:22] Voyagerfan5761: note that most Unicode is not escaped or underscored [07:51:44] I don't think I'll have to worry about that. I have a hard time typing Unicode anyway :D [07:52:09] well, you do have to worry about it if you want to reference it [07:52:13] since you have to use unicode to ^_^ [07:52:20] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Sanitizer.php?revision=31290&content-type=text%2Fplain [07:52:27] see static function escapeClass [07:52:40] Ooh, code! I'll read; thanks [07:53:06] Hi, i have a couple of questions that i couldnt get awnsered using the mediawiki wiki, mostly permissions stuff. [07:53:23] blackgoth: Fire away [07:53:39] $wgGroupPermissions['*' ]['createaccount'] = true; <-- If i set that to false, i cant register any new users, just like i want to, but. i cant login anymore too :p [07:54:05] blackgoth: Did you add a line like: [07:54:32] $wgGroupPermissions['user']['createaccount'] = true; (lets users create other accounts)? [07:55:34] no, but will that work? because i want to be able to login as well, if i set it to false it just repors that i cant login :p [07:55:55] blackgoth: Also try adding: $wgWhitelistRead = array( "Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css", "MediaWiki:Common.css" ); [07:56:10] blackgoth: let me check with my local install [07:56:13] Hang on [07:57:34] Lol, i tought it worked! and then i noticed i still had guest allowed create on true :p [07:57:48] This is weird [07:57:57] What version are you using? [07:58:06] 1.7, comes with debian [07:58:19] Eeh, I'm testing on 1.11 [07:58:26] uggghhh 1.7 [07:58:28] 1.11.2 to be exact [07:58:35] that is very old and unsupported, upgrade [07:58:44] My suggestion to you would be to upgrade, like flyingparchment says [07:59:06] rodger that, im gonna upgrade it then [07:59:14] You do have PHP 5, right? [07:59:24] yes [07:59:31] k, just making sure [07:59:32] 1.7 requires php5, so it's unlikely he doesn't [07:59:41] hehe [07:59:53] flyingparchment: I forgot the threshold for PHP5 requirement... It's late [08:00:00] :D [08:00:00] Voyagerfan5761: 1.6 [08:00:07] (is the latest php4 version) [08:00:08] thx [08:00:20] or early for that matter Voyagerfan5761 ;) [08:00:26] lol [08:00:36] I just try to stick with the latest stables :D [08:00:56] yeah, im gonna upgrade it later today, thank Voyagerfan5761 and flyingparchment :) [08:00:58] 1.6 is actually newer than 1.7, since it's still maintained [08:01:18] As security updates only, I recall, yeah. [08:01:23] blackgoth: yw [08:01:41] are there any wikimedia wikis with $wgGroupPermissions['*']['read'] = false? [08:01:52] Splarka: I would tend to doubt it [08:01:57] Splarka: all the private ones, probably [08:02:05] What private ones? [08:02:13] board, internal, comcom... [08:02:21] Ah, didn't think of those [08:02:29] k [08:02:51] Splarka: Why, were you thinking of suggesting a patch to take out the functionality? :P [08:03:29] nope... [08:03:55] I was just wondering if adding "-" to whitelistread would allow access to any page, or just gen=js [08:04:04] I can test that [08:04:14] In fact I have [08:04:26] "-" only allows gen=js [08:04:36] It blocks the other pages I try to access as an IP [08:04:49] even with &curid and &oldid ? [08:05:00] I think so... You want me to check? [08:05:16] well, just curious [08:05:29] Yeah, now I am, too [08:05:32] *Splarka has broken in to a few ['*']['read'] = false wikis before [08:05:43] like staff.wikia and the medcom wiki ^_^ [08:05:53] Not that you'd share your secrets... :D [08:05:57] ;-) [08:06:18] staff.wikia was using a shared user DB for it, and any sysop on ANY shared wiki could get in, they didn't know that [08:06:26] medcom is using an insecure extension [08:07:28] Just tested on my local 1.11.2; using just http://gateway-86558bc/w/index.php?oldid=3570 still results in an Error page [08:07:42] If that URL works for you I'll be scared... :P [08:07:45] anyway, you can reach any page with &oldid (no &title required, it assumes Main_Page) or &curid (requires &title but ignores it) [08:07:51] on a read=true wiki that is [08:08:01] so was curious if whitelisting - did more than gen=js [08:08:25] guess not ^_^ [08:08:25] How do I get the curid, anyway? [08:08:35] is a global JS variable now [08:08:41] What does it stand for? [08:08:47] var wgArticleId = "5657"; [08:09:08] the curid is used in Recent Changes for diff links, in case the page gets moved between you loading the page and clicking the link [08:09:08] it's the ID of the page in wikidb.page? [08:09:19] yuh [08:09:29] Ah, I always wondered what the point of that was... [08:11:00] anyway, good to know ^_^ [08:11:22] It doesn't appear that curid works either [08:11:51] uh, isn't curid a revision id? as opposed to wgArticleId , which isn't? [08:12:03] wgArticleId == curid [08:12:11] curid != oldid [08:12:31] revision IDs are passed via oldid [08:12:33] hmkay [08:12:44] It's very confusing... [08:12:45] or diff [08:12:49] or lots of different ways [08:12:51] Well, yeah [08:12:58] I was being simplistic :) [08:13:16] wgCurRevisionId == oldid/diff [08:13:25] Grr, I was about to post that [08:13:25] :D [08:13:53] Actually, is that true? [08:13:55] yea, well, recalling the old db layout, it's not so confusing. the current revision was in the cur table, under the article id (curid), and the old revisions were in the old table, under the revision id (oldid). so it makes sense i guess [08:14:10] but it did get me confused to for a minute [08:14:22] yay for antiquated views of the world lingering [08:14:24] So those parameters are holdovers from the pre-1.whatever era [08:14:35] pre 1.5 [08:14:55] Actually, I viewed oldid=3570 and got wgCurRevisionId=3571 [08:15:05] So wgCurRevisionId != oldid necessarily [08:15:31] is suppose wgCurRevisionId is the *current* revision id, maybe? [08:15:44] so, not necessarily the one you are looking at [08:15:45] I was going by the global variables in a typical page view [08:15:48] As described by the var name [08:16:00] pretend the == above was => [08:16:05] well, "current" could mean "the one you are looking at now" too. it's ambiguous [08:16:29] wgCurRevisionId refers to revision, as used by diff/oldid [08:16:33] Come to think of it, there's no way to get the revision ID being looked at via &oldid= without parsing the URL [08:16:37] wgArticleId refers to article ID, as used by curid [08:16:43] (If it's not the current) [08:16:48] Splarka: but to which revision? the one you are looking at, or the last one? [08:17:04] Duesentrieb: I think the latest one [08:17:19] i think so too. though it *would* be nice to have access to both [08:17:21] Duesentrieb: for the purposes of saying "curid has nothing to do with wgCurRevisionId [08:17:28] like having wgThisRevisionID too [08:17:30] I didn't think I had to go into more detail than that, to say that [08:17:58] Splarka: yes, i understood that about five minutes ago :) [08:18:08] k [08:18:15] This is the randomest conversation I've had in a long time, in real life or online :D [08:18:24] Voyagerfan5761: it is in the page several times [08:18:29] [08:18:45] Deary me, that's complicated [08:18:48] I meant via script [08:18:50] scraping page is usually less preferrable than scraping the url though [08:18:55] I did too [08:19:08] noteType == 8 for comments ^_^ [08:19:09] Scripts (JS, here) can read HTML comments? [08:19:15] nodeType even [08:19:22] si [08:19:28] *Voyagerfan5761 is such a JavaScript n00b [08:19:36] bah, just add more stuff to the js variable block. i added it for this purpose. [08:19:49] and it's getting stuffed to the brim [08:19:52] scraping sucvks [08:19:59] soon there will be more info in it than in the page [08:20:05] hehe [08:20:06] It's true there's no point in making people parse things when the software could just output it... [08:20:12] Splarka: lol [08:20:14] dues: importing api calls via