[00:28:03] is there a way to test that a page is in a given category? [00:29:11] nm found Extension:CategoryFunctions [00:29:20] >:o [00:29:29] :-* [00:53:57] Hi. I installed mediawiki. Now how can I disable the ability for people to edit the wiki without having an account? [00:54:16] http://www.mediawiki.org/wiki/Help:User_rights [00:54:17] (And how on earth can wikipedia cope with that option? Why doesn't it get overrun with spam bots?) [00:54:20] Splarka: thanks [00:54:47] Shapeshifter: AbuseFilter, SimpleCaptcha, SpamBlacklist and restricting page creation to registered users [00:54:56] and a few thousand users watching recent changes [00:55:14] mhhh [00:55:33] Is there a mediawiki plugin to manage the config file from a web interface? [00:55:35] ugh, I want to explain the point of wikis, but... fuckit [00:55:38] Splarka, we can even do it without restricting page creation to registered users [00:55:48] the registered users thing is just en.wp being dicks ;-) [00:55:49] kim_bruning: but it helps [00:55:52] instead of having to edit it by hand [00:56:02] in on especific way it helps a lot kim [00:56:08] Shapeshifter, sorta, there's a Configure extension ;-) [00:56:20] (creative name eh? :-P ) [00:56:33] ^^ [00:56:33] nice [00:56:42] as is, currently, it is very trivial to have anon editors visiting a third party website create new pages on wikis they aren't logged into, as the anonymous token is predictable and you don't need page content or a starttime/edittime [00:57:37] It takes some getting used to the wiki syntax. I find it a bit awkward [00:57:43] just create the
with method="post" and action to en.wp, and .click() a submit [00:57:48] heh [00:57:50] Shapeshifter, so install FCKeditor? :-) [00:57:56] eeeeeeeeeee [00:58:01] then you'll never learn! [00:58:17] I acutally like some of the syntax for for instance semantic mediawiki [00:58:23] that logic is like "stick shifts are hard to drive" "so buy an automatic" "but then I can't drive other people's sticks" [00:58:26] it's a wysiwyg extension? [00:58:35] Shapeshifter, the syntax USED to be simple, they just added lots of crap [00:58:43] Shapeshifter, yes, it's a wysiwyg extension [00:58:51] Shapeshifter, wikisyntax basics are simple [00:59:08] Shapeshifter, just type like normal, but if you want to link something, you do it [[like this]] [00:59:12] That's an internal page [00:59:18] yeah I know the basics ;) [00:59:24] Oh okay [00:59:25] :-P [00:59:35] but anything else is just icing anyways [00:59:46] well, except the afforementioned semantic markup [00:59:55] I just had a little fight with [foo.com/bla name] [01:00:04] I mean those additional [] are a bit overkill [01:00:13] for zero/one line returns, it behaves almost the same as html, with two it starts a new paragraph, with one or more indented spaces it creates a pre, and various line-starting characters create new markup for "simplicity", ;: dl/dd/dt, #* ol/ul/li/, etc [01:00:15] say on the page [[User:Shapeshifter]], we could make a link [[knows::wikisyntax]] [01:01:29] Clever things to do with cells A.Dude, B.Cool;J. Appl. Bio 2008: 12:135-139 [01:02:20] Clever things to do with cells A.Dude, B.Cool;J. Appl. Bio 2008: 12:135-139 [www.appliedbio.edu/article/123456789/012345 Full Text On-line] [01:02:23] or something [01:02:28] *kim_bruning hasn't done it in a while :-P [01:02:49] mh [01:03:22] yeah makes sense. Well in the end, a wiki looks very tidy and nice, but still holds a lot of complex information so I guess there's no way around some complex syntax.. [01:03:39] *MrZ-man just started using SMW [01:03:50] I think the complex syntax is just due to evolution :-P [01:04:13] If someone invents a new wiki today, it'll have a simple syntax. Then, 10 years down the road, it'' grow and become gnarly [01:04:19] MrZ-man++ [01:05:28] an organization I'm doing some MW work for uses it, so I figured I better learn it :P [01:05:44] uhm, in my preferences "User profile" tab, I have a funny font below the Real Name box: http://stuff.moritzg.ch/wiki.png why? [01:05:52] It's like those used in japan. fixed width [01:05:59] or china [01:10:38] 03(mod) rebuildrecentchanges zaps all deletions due to looking in wrong table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18291 (10jidanni) [01:12:04] 03(mod) updateSearchIndex has MySQLisms - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19372 +comment (10jidanni) [01:13:17] hello [01:31:43] 03(mod) navigation elements overlap site notice. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19399 +accessibility (10jidanni) [01:31:44] 03(mod) Alternative sitenotice accessibility for users with limited JavaScript support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18832 (10jidanni) [01:48:20] some of the files on my wiki were edited by a bot in 2006. they lack some functions such as move and delete, even for me when I'm logged in as admin [01:48:54] testing for their existence using #ifexist returns false [01:54:30] 03(mod) Logged in as another user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19158 +comment (10pharosofalexandria) [02:03:57] does anyone know how this can happen? [02:04:03] its like these files are in my wiki but don't exist [02:04:22] i can't be sure but i believe this script may have been PyWikipediaBot. it was in 2006 [02:05:39] or even better, how can I fix it.. [02:06:30] i'm about to use media wiki as a personal organized notes page. is it possible to do that without letting others post? [02:07:15] RDove: Sure, just remove the ability of anons to edit, and don't let anyone else register. [02:07:35] ok [02:08:03] There's stuff on http://www.mediawiki.org/wiki/Manual:Preventing_access about that [02:08:13] prefrontal: Is there a maintenance script that handles that? [02:08:25] I know there's one for the opposite issue, that images are present in the images folder but have no wiki presence. [02:16:31] "\"$rawEntry\" is not a valid magic thingie for \"$mw->mId\"" - if I saw that in my log, I'd sure be worried. [02:18:24] anyone know any good programs for windows that i can import a db into it and it maps it out [02:20:53] Hi. I have a site where I get a string, for instance, "New York", and want to create a link to "www.cnn.com/New_York". I can't change the component that "provides" the string -- it'll provide it with a space. is there any wiki markup that can convert a space to a "_"? [02:21:36] 03(mod) Set $wgUseDynamicDates = false for the English Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18479 (10locke.cole.wiki) [03:00:01] DanielTahar: Perhaps one of http://www.mediawiki.org/wiki/Help:Magic_words#URL_data ? [03:00:29] Doesn't seem to be quite what's needed though. [03:01:06] although anchorencode or urlencode may work [03:01:54] Yeah, I take that back, try urlencode. :-) [03:05:09] I have 15 mod points on Slashdot. I didn't know that was even possible. [03:05:20] Use them or lose them! [03:15:53] Is MediaWiki going to be using jQuery in the core soon? [03:18:12] that's the theory [03:19:25] Tim-away: If you guys are still in the market for a prospective WYSIWYG editor for MediaWiki, here's an interesting jQuery plugin to do that: http://github.com/twoism/reviser/tree/master [03:25:04] I'm having a problem with a third-party extension (WikiTrust) and I think I may be missing something since other extensions that add magic words work, and I have many of them. I've examined the code and it seems like it should fail for them too, which means I *must* be missing something . . . but I'm not sure what. [03:25:04] In Language::getMagic( &$mw ) [around 1760 lines in] - if mMagicHookDone is not set, then it will set it and then run the LanguageGetMagic hooks. But if you have an extension that adds a LanguageGetMagic hook and then calls Parser->setFunctionHook to actually set an action for that magic word, setFunctionHook will try to get that word, which sets mMagicHookDone. [03:25:04] Then suppose another extension adds a LanguageGetMagic hook, and tries to call setFunctionHook; with mMagicHookDone set, their hook will never be called, and so it will fall through to find the magic word function . . . which won't exist since it would have been added by the hook function. [03:25:08] Except that there are already several extensions that *are* adding magic words so I must be wrong - but then I don't know why it's not working for this one. It breaks if it's loaded with an extension that has already set a magic word. [03:27:25] (specifically, it gets to the point where it throw new MWException("Magic word '{$mw->mId}' not found" ); - the function it added to LanguageGetMagic hook array was never called. ) [03:34:56] GreenReaper: you're meant to add your hooks during configuration, and then add parser functions at ParserFirstCallInit [03:35:20] you're not meant to be adding hooks so late that they're interleaved with parser function initialisation [03:41:54] 03shinjiman * r52502 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Literary Chinese [03:42:00] Hmm. So http://pastebin.com/m317506a0 is incorrect - it should be setting an additional hook on ParserFirstCallint which specifies a function where it calls $wgParser->setFunctionHook instead? setup is added to $wgExtensionFunctions[] in a base class of the class with this code in it. [03:43:23] http://www.mediawiki.org/wiki/Manual:$wgExtensionFunctions seems to suggest that setFunctionHook is correct to call in such a function though. [03:43:34] *correct to call in the setup function [03:51:23] The extension only fails if it is placed after another that has set a magic word. [04:05:22] yes it's incorrect, the hooks should be set in the file scope [04:06:01] using ParserFirstCallInit instead of $wgExtensionFunctions will improve performance [04:06:26] but setting parser function hooks in $wgExtensionFunctions won't completely break [04:06:32] the broken thing is setting $wgHooks [04:10:30] OK, thanks for that. I'll try fixing it up myself and then file a bug in te extension db. Hasn't been updated since late 2008 but it might be a good excuse to. :-) [04:10:44] *in the extension's bug database [04:47:02] I was wondering if someone isnt too busy and can help me understand how to use parser functions as im trying to master them but getting lost along the way [04:55:58] you might want to try an easier programming language first, like http://en.wikipedia.org/wiki/Brainf*** [04:56:28] heh [04:57:08] lol [04:57:34] im slowly working it out was just trying to make my wiki look better :P [04:58:27] I have an image, and I want to use [[File:IP_stack_connections.png|250px|right|Very good representation of the network stack]] but the caption is not being displayed [05:00:55] bah [05:01:03] Tim: if ya gonna censor URLs, you can at least make them work, heh [05:01:06] http://en.wikipedia.org/wiki/Brainf***?curid=4086 [05:01:16] (and why was that created so early, wow)