[00:06:55] is there a way to make a link open in a new window? [00:07:11] I know how to do that w/ HTML, but not w/ wiki syntax [00:08:31] Nope. [00:08:40] You'd need to use JavaScript to do it. [00:09:14] oh [00:09:32] could you do something w/ common.js then? [00:10:12] Yes, you could make all links wrapped in open in new windows or some such. [00:10:39] ok [00:31:11] What does the 'proxyunbannable' user right do? [02:16:07] 03mkroetzsch * r24599 10/trunk/extensions/SemanticMediaWiki/INSTALL: Added upgrade warning (SVN version does not provide very convenient update scripts yet) [02:17:33] How do you set the maximum upload size of files/images? I currently have "$wgMaxUploadSize = 1024 * 1024 * 0.75;" so that should be a max of 0.75MB correct? (Media wiki says "1024 * 1024 * 100 = 100 megabytes"). Yet i just had a user upload a 1MB File [02:18:34] They got a warning, but were not forced to stop uploading [02:22:20] amidaniel you there? [02:23:21] meow [02:24:19] im going to rescroll a Q, everyone else seems to be asleep :o [02:24:24] or ignoring me ;) [02:24:30] How do you set the maximum upload size of files/images? I currently have "$wgMaxUploadSize = 1024 * 1024 * 0.75;" so that should be a max of 0.75MB correct? (Media wiki says "1024 * 1024 * 100 = 100 megabytes"). Yet i just had a user upload a 1MB File [02:25:45] Maybe its treating it as an int? [02:26:06] hmm, good thought [02:26:36] ty TheFearow, i'll try using the KB instead, i'll check back in a few hehe [02:27:23] @trust 125-236-192-172.adsl.xtra.co.nz [02:27:23] Added 125-236-192-172.adsl.xtra.co.nz to trusted hostnames list. [02:27:32] :-) [02:29:54] 03david * r24600 10/branches/liquidthreads/ (extensions/LqtExtension.php skins/monobook/main.css): very basic display of what changed when viewing a historical thread; doesn't yet support summaries, diffs [02:47:49] Hmm.. [02:47:50] nope [02:48:07] $wgMaxUploadSize seems to be doing nothing. [02:48:29] how can I make it so anonymous users can create pages but can't edit existing? I've set this in my LocalSettings.php, searched for 'foo' then clicked 'Create this page' but it says Login required to edit. $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createpage'] = true; [02:50:41] Can't be done except with some serious hackery [02:50:56] Why do you want to do this if you don't mind my asking? [02:51:22] amidaniel: don't want to discourage new users from adding new content but encourage them to register to edit existing [02:51:52] Hmm .. seems odd to me. The problem is that creation requires the ability to edit. [02:52:12] yeah. I figured that, thought I'd ask anyway. [02:52:13] If you can't edit Foo you can't create Foo [02:53:17] what I'm also thinking then, is to somehow make the account creation process easier, eg. by using prototype window [02:57:28] hi, how can I change side links? [03:21:13] amidaniel: I think protect will be sufficient for my needs. [03:47:46] 03(NEW) Phising message is incorrect - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10806 minor; normal; MediaWiki: User login/settings; (zaf) [03:50:45] 03(mod) Phising message is incorrect - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10806 +comment (10zaf) [04:32:49] 03(FIXED) Phising message is incorrect - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10806 +comment (10pathoschild) [04:41:53] does anyone know what kind of sorting algorithm Array.sort() uses in JavaScript? [06:08:28] hey all, working on a new MW extension and I was wondering of anyone knew where the server side equivalent of the wikidb_session cookie variable is stored so that i could validate users outside of the MW framework [06:42:11] 03mkroetzsch * r24601 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: De-normalised relation tables, much fewer joins needed for querying [06:42:48] 03mkroetzsch * r24602 10/trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinters.php: Fixed linking in timeline queries [06:44:18] 03mkroetzsch * r24603 10/trunk/extensions/SemanticMediaWiki/includes/SMW_SemanticData.php: Disallow anything but SMWDataValues for special properties [06:45:22] 03mkroetzsch * r24604 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_WikiPage.php: Normalise unspecified page ids to "false" internally [06:54:52] TimStarling: allo :) [06:55:47] hi [07:13:49] hm.. where do you edit the contents of the toolbox? [07:28:39] i have a question about using css in a mediawiki powered wiki should i ask it in here or a css based channel? [07:29:42] I see. I was wrong. you don't "edit the contents of the toolbox" I was confused about the Sidebar [07:51:47] morning TimStarling [07:51:57] or.. evening (you're at wikimania, I think) [07:59:04] o_O [07:59:08] there are two TimStarlings! [08:14:48] *amidaniel gasps [08:39:21] *amidaniel waves to yurikny [08:41:54] *amidaniel waves to yurikny_ too :) [08:43:05] amidaniel: hi [08:43:13] Hullo :) How goes it? [08:44:10] sitting at the award ceremony [08:46:53] meow [08:48:24] Oooh nifty [08:49:07] *amidaniel growls at VoiceOfAll for no apparent reason [09:01:26] *amidaniel waves to brion [09:01:56] *brion yawns [09:01:58] i spent all afternoon napping, it was awesome [09:02:06] lol [09:02:39] seriously, i'm ready to go home :P :) [09:02:43] all conferenced out [09:03:02] Haha .. did you give any presentations? [09:03:28] aye [09:03:38] I figured :) [09:03:53] *amidaniel has been bad though .. hasn't watched any of the podcasts [09:04:00] Did you have fun at least? [09:04:16] yep! [09:04:22] Well good :) [09:04:26] Wish I coulda gone [09:04:36] But I think I'ma wait till it comes a bit closer to home again :) [09:04:42] that's what you get for being poor and not having someone pay for ya [09:04:49] Indeed :) [09:05:43] But while you were all off partying in Taiwan I got my new puter built so it hasn't been a complete waste :) [09:05:50] *amidaniel watches the baby zoom right along [09:09:53] yay [09:10:05] what's it runnin' [09:10:09] I'm looking for a wiki that uses the filesystem for storage. It should be written in php, and be relatively lightweight. Any suggestions? [09:10:37] Also it must be easy to install and administer:-) [09:11:02] not mediawiki :) [09:11:21] I realize:P [09:12:50] brion: An AMD athlon 64 X2 6000+ (3.0 GHz dual core) with 4GB of DDR2 800 and lots of other niftiness :) [09:12:55] It's a fast son of a bitch [09:13:03] ooh [09:13:09] At least for a desktop :) [09:13:32] *brion imagines a beowulf cluster of em [09:13:42] haha :D [09:14:05] i kinda want a smaller, lighter laptop [09:14:44] Hmm ... I love my laptop. But of course you wouldn't like it because it doesn't have that blasted apple logo on it :P [09:15:04] Very light and power efficient though -- I get about 6-7 hrs per battery [09:15:06] And fast too [09:15:42] yummies [09:18:31] brion: what did you present? [09:18:40] sul [09:18:41] SUL? teh stable versions? :) [09:19:00] brion: figures ;) [09:38:23] Oooh .. changes to how file history is displayed [09:38:33] Hmm ... don't really like it to be honest [09:38:41] *amidaniel goes to figure out where that got added in [10:26:05] there's still no way to get just a content of a preview, without the skin and the edit form, right? [10:31:23] <^> hi@ [10:31:43] Hi [10:32:05] <^> does anybody speak Russian? [10:33:47] Not that I am aware of. Are you looking for mediawiki help or wikipedia help? If its wikipedia theres a russian channel, but I am not aware of many russian speakers in this channel [10:34:21] <^> ok. here is the question... (sorry for slow typing) [10:36:54] <^> i started to use mw 1.6.8. invite my friend to visit the site. he logged in correctly, but was automatically logged out while trying to click any link. what's the problem? [10:37:26] He might not have cookies enabled on his computer [10:37:47] <^> checked that [10:38:52] <^> if it helps, i may show your phpinfo file [10:39:00] <^> you [10:39:49] It sounds like a session thing, but it cant hurt. Put it on mediawiki.pastey.net [10:41:47] Hep ! [10:42:17] Hey [10:42:50] <^> thanks for advice. you may also try to login in. here it is: http://karsport.ru/wiki [10:44:28] I wanted to create a special page which shows the latest pages from a specific namespace. I also wanted to create another special page for a forum. I have read the MediaWiki guide to make a special page but i have no clue what to do. I search google on how to make a forum with mediawiki but it didn't return any results...at the very least, i'd like to make the special page which shows the... [10:44:30] ...recent articles from a specific namespace [10:45:50] ^: I tried, and it appears to be having trouble with sessions, Upload the phpinfo to http://mediawiki.pastey.net/ and ill check it out [10:47:33] However, for this special page, I DON'T want it to be called Special:xxxx I wanted my page to be "Tutorials:Latest" but it will export the list of new pages on the Tutorials namespace [10:49:05] <^> thanks again [10:50:53] Help : I need to add an accent in my mediawiki [10:51:15] <morfal> I know it's possible : in french, wikipedia is spelled 'Wikipédia' [10:51:45] <morfal> I try to modify $wgSitename variable, but I have bad char in title [10:51:51] <morfal> Any clue please ? [10:51:58] <morfal> Thanx in advance [10:53:26] <TheFearow> GBenemy: It has to be Special: its a design feature. For the individual namespaces, Special:Newpages has a per-namespace filter. Wouldnt it be easier to bookmark that? [10:54:35] <Sundance_Raphael> moin [10:57:01] <GBenemy> I guess yeah. Is it just Special:Newpages/namespace ? [10:57:15] <GBenemy> and what about a special page for a forum? is this possible? [10:57:46] <TheFearow> LiquidThreads [10:57:57] <TheFearow> Its a system in development to make talk pages operate like forums [10:58:49] <GBenemy> TheFearow: ok, but the whole point of creating the new special page to list new pages in a certain namesapce was so that I could customise the list, and get rid of the search option, like have it like a normal page with an rss feed or somethin [10:58:58] <GBenemy> where do I find LiquidThreads? [10:59:10] <TheFearow> mediawiki.org, I think its there somewhere [10:59:25] <TheFearow> http://www.mediawiki.org/wiki/LiquidThreads [10:59:33] <TheFearow> Its one of the planned things for MediaWiki 2 [10:59:48] <GBenemy> So I can't use it yet? [11:01:26] <TheFearow> You could, but its recommended against [11:02:21] <TheFearow> Anyway, night! [11:02:28] <GBenemy> but I don't want it to be just for ONE article. I want like Special:Forum and that page has different forums, and topcs etc... I guess I could make a namespace called "Forum" then on Forum:Home I could just create a wikitable with all of the different categories. have Forum:Category..then for each post redirecting it to Forum:Category/ThreadID [11:02:40] <GBenemy> and each thread can be assigned it's own ID [11:02:44] <GBenemy> if that's possible [11:02:52] <TheFearow> GBenemy: Install forum software in a subidirectory. [11:03:11] <TheFearow> If you use phpbb, you can integrate the userbase. YOu can also integrate with several others [11:03:13] <GBenemy> such as InvisionFree or phpBB? [11:03:42] <GBenemy> Oh, But my way is more fun :D [11:03:50] <TheFearow> invisionfree is a host. phpbb, SMF, IPB etc are the software you want [11:03:51] <GBenemy> plus my forum won't show up in the wiki [11:03:59] <GBenemy> oyu can download invisionfree software [11:04:54] <TheFearow> InvisionFree uses IPB [11:05:11] <TheFearow> Night! [11:09:48] <GBenemy> How do I edit the list of allowed file types for uploads? [11:10:46] <_wooz> lo [11:14:05] <valhallasw> any mediawiki coding style guidelines available? [11:18:02] <valhallasw> I just found an existing sidebar nested list patch [11:18:29] <valhallasw> which uses 9 continued ifs [11:25:24] <MinuteElectron> Hi, I am finding that there are page id's listed in the el_from column which are not in page_id - what is up? [11:36:58] <Duesentrieb> MinuteElectron: maybe it doesn't get cleaned up correctly when a page is deleted? just a guess [11:37:10] <Duesentrieb> try that, perhaps? [11:37:44] <MinuteElectron> hmm [11:37:44] <Duesentrieb> valhallasw: guideline is "write noce code or brion will stab you" [11:37:59] <valhallasw> Duesentrieb: sounds reasonable :P [11:38:59] <Duesentrieb> valhallasw: seriously: just try to be consistent with the code you are modifying. generally, the style is "wide" (lots of spaces around "(" and operators), but "short" (stuff like "} else {" on one line) [11:39:07] <MinuteElectron> Duesentrieb: That makes sense, I thought that the page table had an is_deleted style column. But that must just be revisions. [11:39:45] *valhallasw thinks he will be making a new class for that fscking sidebar [11:39:51] <Duesentrieb> MinuteElectron: yes. page deletion is still handeled via the archive table, afaik. it will hopefully be modified to rely solely on revision deletion in the future. [12:26:48] <valhallasw> woot, it's working \o/ [12:31:57] <Sundance_Raphael> re [12:36:51] <wikibugs> 03(mod) Allow nested lists in MediaWiki:Sidebar - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3597 (10valhallasw) [12:37:42] <wikibugs> 03(mod) Allow nested lists in MediaWiki:Sidebar - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3597 (10valhallasw) [12:38:32] <valhallasw> avar: ping :) [12:48:41] <aton`> hm #if: does not work for me, it just doesnt parse it, but i have the ParserFunctions extension installed [12:48:47] <aton`> like the manual page suggests [12:48:59] <aton`> does anyone know what i might be doing wrong? [12:52:24] <aton`> http://rafb.net/p/AkUXfQ61.html [12:52:29] <aton`> this is a testcase [12:53:03] <aton`> it substitues the parameters correctly [12:53:16] <aton`> but apparently does not parse the #if: [13:00:28] <Jack_Phoenix> hmm, how's Special:Revisiondelete coming along? o.o [13:47:17] <morfal> Help : I need to add an accent in my mediawiki <title> [13:47:34] <morfal> I know it's possible : in french, wikipedia is spelled 'Wikipédia' [13:47:50] <morfal> I try to modify $wgSitename variable, but I have strange char in title [13:47:55] <morfal> Thanx in advance [13:51:00] <BrokenArrow> morfal: have you used a UTF-8 editor? [13:59:11] <Duesentrieb> morfal: yes, make sure you use the correct encoding when editing the LocalSettings.php file. Also, when savin as UTF-8, make sure your editor does not insert a BOM. [13:59:14] <Duesentrieb> php does not like that [14:06:03] <valhallasw> Duesentrieb: I expect you will get some nasty warnings about setting headers after starting output? :) [14:07:24] <Duesentrieb> yes [14:10:56] <valhallasw> oh, right, php only has bytestrings [14:11:22] <Duesentrieb> it does have mb_xxx [14:11:56] <valhallasw> for converting a bytestring of encoding a to a bytestring of encoding b, I suppose? [14:12:21] <Duesentrieb> no. use iconv for that [14:12:37] <valhallasw> ah, wait, multibyte [14:12:49] <Duesentrieb> mb_strlen gives you length in characters, mb_substr lets you select substrings by characters, etc [14:13:54] <morfal> Duesentrieb : that's it ! I had to save my file in utf8 !! Thanx a lot ! [14:14:00] *valhallasw hugs python [14:14:07] <morfal> BrokenArrow : Thanx too !! [14:14:50] <BrokenArrow> morfal: you're welcome, enjoy! :) [14:55:22] <valhallasw> now let's implement a nice dhtml menu \o/ [15:01:36] <wikibugs> 03(mod) Set xml:lang by each translated subpage of Template:Languages, especially for Wikimania sites - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10736 (10barabbas) [15:27:48] <GBenemy> hey folks [15:29:02] <GBenemy> question: Is it possible so that when an article is added with the prefix F: or even just added on a namepace "F", that it automatically gives that article and ID, possible a number, but still has the same title.... [15:31:43] <BrokenArrow> GBenemy: can you explain more, please? I don't understand [15:34:46] <GBenemy> ok [15:34:55] <GBenemy> basically [15:37:25] <GBenemy> you add an article called "ID:BrokenArrow" (the "ID" part can be anything) now, when ever an article is added that HAS that "ID:" prefix at the start, instead of the URL being /wiki/ID:BrokenArrow the url will be changed into /wiki/ID/10837 (where 10837 is the number article that has been added with the ID: prefix) HOWEVER the title and the header of the article doesn't change. [15:38:33] <GBenemy> and i'll need a bot that recognises new articles of this type to add to the list [15:38:44] <eghjaytee> I am trying to increase my $wgCookieExpiration time, but I have it set to "259200" and it times out after just a little while. This is version 1.10. Does anyone know what I need to do? [15:39:23] <valhallasw> GBenemy: why would you want to do that [15:40:39] <BrokenArrow> GBenemy: the only think I can imagine right now is a bot that periodically creates sredirects from your naming scheme to the "canonical" MediaWiki one. But valhallasw is right... you could desribe the use case better, perhaps here's another way [15:41:06] <GBenemy> valhallasw because of my Forum idea, I am trying to make my own version of it first before having to download phpBB or vBulletin [15:41:08] <GBenemy> basically [15:41:13] <GBenemy> i have Forum:Home [15:41:15] <GBenemy> now [15:41:22] <GBenemy> in the "Suggestions" forum [15:41:27] <GBenemy> which is located at Forum:Suggestions [15:41:35] <GBenemy> someone makes a new suggestion [15:41:36] <GBenemy> with [15:41:42] <GBenemy> SUG:Suggestion Title [15:41:47] <GBenemy> that will then be converted into [15:41:57] <valhallasw> Forum:Suggestions/SUG:Suggestion Title? [15:42:00] <GBenemy> Forum:Suggestions/03841 [15:42:20] <GBenemy> actually I could do that without the numbers you're right [15:42:35] <GBenemy> actually [15:42:37] <GBenemy> i have an idea [15:42:37] <valhallasw> I dare to say mediawiki is not well suited as a forum [15:42:51] <GBenemy> I know but i'm expanding my horizons [15:42:52] <GBenemy> lol [15:42:57] <GBenemy> i have an idea [15:43:07] <GBenemy> if they put SUG:xxxx [15:43:19] <GBenemy> then it will auto become Forum:Suggestions/xxxx [15:43:51] <GBenemy> however, i would need to make it so that Forum:Suggestions automaitcally adds a new row on the table, listing the title, and link to it [15:43:59] <GBenemy> http://abstractdesigns.info/Forum:Home [15:44:22] <GBenemy> so when it detects a new article it will add it to the list, in the appropriate forum [15:45:16] <GBenemy> also, on that page, how do I make the tables all the same size, that's pissing me off [15:45:17] <BrokenArrow> GBenemy: have you already looked at the dynamic pagelist and similar extensions? [15:45:37] <GBenemy> I have no idea what they are [15:46:09] <valhallasw> GBenemy: I have a feeling you are not an experienced PHP/MySQL coder [15:46:22] <valhallasw> and extending mediawiki to be useable well as a forum is not an easy task [15:46:33] <valhallasw> but learning PHP the hard way is possible, of course [15:47:55] <BrokenArrow> GBenemy: see http://www.mediawiki.org/wiki/Category:Discussion_and_Forum_Extensions - there are already several ways of customizing Mediawiki to behave (slightly) better as a forum solution [15:52:01] <GBenemy> I have a very basic understanding of php [15:52:07] <GBenemy> but i really think that I could do this [15:57:12] <AzaTht> can the warning about too large pages be removed from js and css pages, it just makes no sense [15:58:33] <aton`> how can i link to the edit page of the current pag?E [15:58:50] <aton`> cannot find anything about it in the linking tutorial [16:00:04] <GBenemy> Thanks BrokenArrow, valhallasw [16:01:58] <BrokenArrow> aton`: it's a magic word example [16:02:16] <aton`> thanks [16:03:50] <GBenemy> BrokenArrow, on my Forum:Home page, how do I get the tables the same size? [16:05:42] <BrokenArrow> aton`: see http://meta.wikimedia.org/wiki/Help:Variable for example {{fullurl:{{FULLPAGENAME}}|action=edit}} [16:08:49] <BrokenArrow> GBenemy: you can put something like style="width:75%" after the class="wikitable" [16:21:00] <GBenemy> ok [16:21:04] <GBenemy> thnaks BrokenArrow [16:21:27] <BrokenArrow> you're welcome [16:25:44] <aton`> hm {{PAGENAME}} works, but {{FULLPAGENAME}} does not work ?!? [16:26:06] <aton`> BrokenArrow, for what do i need the "fullurl:"? [16:27:14] <BrokenArrow> aton`: in this case, you create the link as an external link, with a full path [16:27:42] <aton`> no i'd like to simply link to the pages own editing page [16:29:25] <BrokenArrow> which is not a "normal" page, it must be called with action=edit [16:29:44] <wikibugs> 03(mod) Client-side auto-numbering of table rows - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10433 +comment (10robchur) [16:31:11] <robchurch> <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page!]</span> [16:32:01] <robchurch> So the square brackets [ ] produce an external link as normal; we use {{fullurl:}} to generate the actual URL to an edit page, and then {{FULLPAGENAME}} supplies the "current page" as part of that URL. [16:32:09] <BrokenArrow> aton`: rob's answer is as authoritative as it can get ;) [16:33:15] <robchurch> {{FULLPAGENAME}} is a dumb magic word/variable; it has a single substitution value per title, whereas {{fullurl:Something}} is a function which accepts a title (e.g. "Something") and generates the URL for it...additional parameters are used as bits of the query string. [16:34:09] <aton`> robchurch, fullurl is interpreted as namespace in my wiki [16:34:16] <robchurch> Really? [16:34:18] <aton`> yes [16:34:28] <robchurch> Do you have a namespace called "fullurl" ? [16:34:31] <aton`> no [16:34:41] <robchurch> Well, that's a bit odd then, isn't it. Is this a public wiki? [16:34:43] <BrokenArrow> parser functions missing? [16:34:49] <robchurch> BrokenArrow: It's core. [16:35:03] <aton`> robchurch, no not public [16:35:22] <robchurch> The exact example above doesn't work? [16:35:29] <BrokenArrow> mhh... strange, then [16:35:35] <robchurch> I'm thinking you might have accidentally used double [[ ]] [16:35:46] <aton`> [[{{fullurl:{{PAGENAME}}|???]] [16:35:48] <aton`> this is what i use [16:35:58] <robchurch> ah [16:35:58] <aton`> should give a link to the current edit page that looks like ??? [16:36:03] <robchurch> Well, no, that's wrong. [16:36:06] <BrokenArrow> that's internal link syntax [16:36:08] <aton`> okay :) [16:36:21] <robchurch> [[ ]] is for internal links; fullurl generates a URL, which has to be used with an external link. [16:36:21] <aton`> oh i need only one [ ? [16:36:24] <robchurch> yep [16:36:30] <robchurch> And lose the pipe; just put a space there. [16:36:45] <aton`> and this is the best way to create a link to the pages edit pagE? [16:36:51] <aton`> seems tedious [16:36:52] <robchurch> i.e. [[internal link|display text]] => [http://www.example.com display text] [16:36:56] <robchurch> it is a bit tedious [16:36:56] <aton`> ye [16:37:22] <BrokenArrow> robchurch: could it be wrapped in a template? [16:37:22] <aton`> [{{fullurl:{{PAGENAME}} ???] [16:37:23] <robchurch> You could make it a template ;) [16:37:36] <aton`> yes i will [16:37:46] <robchurch> aton`: Close. [ {{fullurl: {{FULLPAGENAME}} | action=edit }} display text ] [16:38:02] <robchurch> (with exaggerated whitespace there, for clarity; you'll probably have to lose that) [16:38:24] <robchurch> (PAGENAME and FULLPAGENAME have no difference if the page is in the main namespace) [16:39:44] <aton`> robchurch, thanks, that finally works [16:39:48] <robchurch> \o/ [16:40:01] <robchurch> It takes some getting used to. Goddamn wiki text these days. [16:40:40] <aton`> yes [16:40:55] <aton`> all those markup languages [16:41:09] <aton`> after a while you know about 20 syntaxes to make a link [16:43:50] <robchurch> Well, you know what they say. [16:44:01] <robchurch> About link syntax and combating terrorism and so forth. [16:47:32] <aton`> hehehe [16:51:08] <hesco> I tried again to maintenance/update.php a site I recently migrated from a 1.6 installation to a 1.10 installation. This time I used the 'Alternative 2: Re-run the installer' method. Even still my revised articles do not appear through the browser interface. The diffs work. And when I added a new revision, it worked, that is, the text of the artcile was available through the browser. An inspection of the database seems to suggest that [16:51:08] <hesco> haven't lost anything, but the wiki is broken to the user at a browser. Can anyone advise me please what I can do about this? [16:54:23] <aton`> [{{fullurl:{{FULLPAGENAME}}|action=edit}} {{{1}}}] [16:54:32] <aton`> this is the template for it [16:54:48] <aton`> usage: {{Editlink|Edit this page}} [16:54:58] <aton`> pretty useful [17:12:54] <Nikerabbit> hello [17:23:56] <PetarM> hi [17:24:20] <PetarM> can i ask here questions about the "mediawiki bot library"? [18:00:34] <Dr_Link> What are the system requirements to install a Wiki? I couldn't find 'em in the FAQ... [18:02:00] <BrokenArrow> Dr_Link: http://www.mediawiki.org/wiki/Installation [18:02:12] <Dr_Link> Thanks. [18:30:02] <aton`> has anyone got the pdf export extension running, where i could have a look at it? [18:30:20] <aton`> (do you need the htmldoc installed at the users computers or only on the server?) [18:36:57] <TimLaqua> I've never used it, but I would assume it's just the server [18:37:22] <TimLaqua> because the PDF should be generated server-side and then pushed to the client [18:39:36] <TimLaqua> Yeah, I just looked over the extension, it's calling htmldoc serverside and pushing the output directly to the client. [18:44:59] <aton`> hm problem is i dont have shell access and cannot install rpms [18:45:13] <aton`> i am trying to use the hierarchy of categories extension atm [18:45:26] <aton`> i copied the files as described on http://meta.wikimedia.org/wiki/Hierachy_of_categories [18:45:36] <aton`> but i dont find the special page [18:45:51] <aton`> or do i need some requireonce() in Localsettings.php? [18:47:26] <TimLaqua> always. [18:47:29] <TimLaqua> lemme take a look [18:48:47] <Inyuki> Is there a possibility to switch wildcard search for a MediaWiki wiki? [18:50:03] <TimLaqua> aton`, require_once("$IP/extensions/SpecialHOC.php") [18:50:33] <TimLaqua> Inyuki, http://www.mediawiki.org/wiki/Extension:Wildcard_search [18:51:44] <aton`> ah thanks [18:54:25] <aton`> uh [18:54:29] <aton`> there is a spelling mistake [18:54:32] <aton`> it is hierarchy [18:54:34] <aton`> not hierachy [18:54:35] <Inyuki> Thanks you very much! > TimLaqua [18:54:39] <TimLaqua> np [18:54:50] <TimLaqua> aton`, that guy misspelled it? [18:54:51] <aton`> Warning: require_once(Hierachy.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/localhost/htdocs/wiki/extensions/SpecialHOC.php on line 35 [18:54:53] <aton`> yes [18:54:59] <aton`> i will misspell it too [18:55:03] <TimLaqua> lol [18:55:06] <aton`> so that it works [18:55:06] <TimLaqua> why not. [18:55:11] <aton`> its his module [18:55:16] <aton`> he can name it whatever he wants [18:55:30] <TimLaqua> h7ultracategories go! [18:55:44] <aton`> its called hierachy after all [18:56:49] <aton`> oh man [18:56:57] <aton`> now its looking for an sql table that doesnt exist [18:57:05] <aton`> okay thats it, deleting... [19:00:19] <TimLaqua> lol [19:01:01] <TimLaqua> maybe there's a setup file that he forgot to tell you about. [19:05:02] <laowai> anything out there to allow for stats on wiki? [19:05:29] <laowai> like some sort of an admin control panel of sorts [19:05:47] <TimLaqua> like web stats? visitors, demographics, etc? [19:06:11] <laowai> everything and anything :P [19:06:19] <TimLaqua> I use Google Analytics [19:06:22] <TimLaqua> http://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration [19:06:30] <laowai> like a list of all users and what they have done [19:06:34] <TimLaqua> ah [19:06:37] <TimLaqua> internally [19:06:43] <TimLaqua> look at the BizzWiki extensions [19:10:23] <laowai> thank ya much [19:10:30] <TimLaqua> gl. ;-) [19:10:59] <laowai> trying to create the first actualy legal china-mainland based wiki [19:11:14] <TimLaqua> sounds dangerous. [19:11:26] <laowai> soooo many hoops to jump through and we have to have the ability to instantly remove a user [19:11:33] <TimLaqua> yup [19:11:51] <TimLaqua> those BizzWiki extensions are all about locking your user base down in to the ground. [19:11:58] <laowai> and take the spam filter and adjust it for a;; the "bad" words [19:12:01] <laowai> *all [19:12:04] <TimLaqua> ya [19:12:41] <laowai> the big unknown is "do chinese mainlanders have the same sense of community editing as the rest of the world?" [19:14:03] <laowai> well, if it all goes to hell, there's a reason why my name isn't on the content certificates ^-^ [19:16:58] <laowai> final question (for tonight) [19:17:20] <laowai> possible to make my boss's wet dreams come true and rape a referral ID of sorts into a wiki page? [19:17:29] <laowai> i have money on "no" [19:17:37] <TimLaqua> "referral id"? [19:18:21] <laowai> yea, like you see "...php?refID=2341eddwe" at the end of an address from time to time [19:18:49] <TimLaqua> and what's the referral id represent? [19:18:55] <TimLaqua> where the page linked from? [19:19:15] <laowai> basically it is a tracking thing, so you know where or who the traffic came from [19:19:29] <TimLaqua> oh, you can certainly track who's viewing the pages [19:19:50] <laowai> viewing, no problem, but what user introduced a new user to the site? :D [19:20:47] <TimLaqua> hmmm...so like for account creation, you want to know what the source of the new user was [19:20:52] <laowai> yep [19:21:01] <laowai> my suggestion was a transparent blank page that forwards to the main page combined with a banner with the tracking code to mark em when they come in. [19:21:31] <laowai> but... boss is insane and only knows about wiki because i showed it to him.... he still doesnt get it [19:21:54] <TimLaqua> you can write custom extensions and hack the wiki code to do pretty much anything you want it to [19:22:12] <TimLaqua> I mean, you could make it handle the &refID=XYZ345 [19:22:13] <laowai> did i mention we have no php guys :D [19:22:32] <TimLaqua> that could make things difficult. [19:23:14] <laowai> also, chinese BBS's work the same way english ones do, slap a refid on a link and no one will click it, at least not the ones you want to click it [19:23:34] <TimLaqua> yeah [19:23:36] <laowai> it's too spamy [19:24:28] <TimLaqua> you're just looking for like referral volume tracking? [19:24:32] <TimLaqua> or exact tracking? [19:25:20] <laowai> exact tracking, to the scary point where you can track a user and see a list of everything they have ever looked up or edited or created and who all they brought on to the site [19:25:39] <TimLaqua> ya [19:25:54] <TimLaqua> your tracking database would be 30 times the size ofyour wiki. [19:25:59] <laowai> no shit [19:26:35] <TimLaqua> you'd have to to some custom stuff to make that happen [19:26:49] <laowai> it's basically going to be a commercial wiki with the base being primarily readers of a magazine [19:26:53] <TimLaqua> it's just not what MediaWiki is designed for [19:27:00] <laowai> so, we need to be able to pull content ideas from it [19:27:02] <laowai> yea [19:27:53] <TimLaqua> Like, basic demographic info can be acheived from like Google Analytics types of tracking scripts, but exact to-the-user stuff is going to require some actual integration rather than flat code injection. [19:28:47] <laowai> all i wanted the wiki for was traffic really. keep it simple, standard wiki with some mods to lock it all down, and then have it drive sales of the magazine and whatnot through zencart with an affiliate plugin. then add on a BBS all with a centralized user database [19:29:18] <TimLaqua> ya, that sounds simple enough [19:30:13] <laowai> nothing i know of that does it out of the box, but modding wiki that much on 2 months notice requiring staff we dont have... nightmare [19:30:40] <TimLaqua> agreed. especially if you're not a php ninja of sorts. [19:31:21] <laowai> i know a fair amount, but im project management, not code monkey. so these are skills that shall never be known of in the office. i learned that lesson the hard way already [19:31:38] <TimLaqua> ;-) [19:33:34] <laowai> still trying to force it into the boss's crazy head that as a business that does this stuff frequently, we are better off to offer both php and asp solutions depending on what the actual project is [19:34:34] <laowai> if it's unique and never been done before -> asp because we have the experience. if it's something out there and free just needing a few mods -> php [19:46:14] <Sundance_Chess> hi [19:46:46] <Platonides> hi Sundance_Chess [19:47:06] <Sundance_Chess> hello Platonides [20:15:08] <wikibugs> 03(NEW) Upgrade installed DynamicPageList on NL-WB - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10807 normal; normal; MediaWiki extensions: DynamicPageList2; (londenp) [20:52:53] <CIA-6> 03nhuffschmid * r24606 10/USERINFO/nhuffschmid: added userinfo for nhuffschmid [21:28:49] <White_Cat> yo [21:28:53] <White_Cat> http://en.wikipedia.org/w/index.php?title=Special:Withoutinterwiki&limit=500&offset=5000 [21:28:57] <White_Cat> is it broken? [21:29:09] <White_Cat> I seriously doubt the statement is true [21:30:12] <MinuteElectron> I am leaning towards thinking it is broken. [21:30:32] <MinuteElectron> It might be cached as empty - the script to decache it might never have been run. [21:42:27] <diploid> anyone know how where i can find information on the $parser object sent to extension functions? [21:42:56] <Duesentrieb> diploid: in Parser.php? [21:43:13] <Duesentrieb> diploid: don't look too closely, it has driven stronger men into madness. [21:43:20] <diploid> lol [21:43:37] <diploid> i was hoping for some nice mediawiki.org page :( [21:44:26] <diploid> i'll see if i can find it in Parser.php though [21:44:28] <Duesentrieb> diploid: well, what do you need to know? most of the parser stuff is arcane and hard to use directly. [21:45:54] <diploid> basically i'm trying to modify $parser before it gets accessed by the LabeledSectionTransclusion extension so that the wiki text it contains has a few things changed ($parser does contain wikitext right??) [21:46:32] <Duesentrieb> contain? no. [21:46:36] <diploid> ah [21:46:44] <diploid> that would be my first wrong step [21:48:31] <diploid> just trying to make a {{#_section: begin|sectionname}} extension that emulates the function of <section begin=sectionname /> [21:49:04] <diploid> (so that transclusion can be used from templates) [21:49:36] <Duesentrieb> <section begin=sectionname /> ? [21:49:41] <diploid> yah [21:49:49] <Duesentrieb> i have no idea what it does. [21:50:26] <Duesentrieb> but... parser functions *return* wikitext. tag hooks return html. nither "modified" any text... [21:50:26] <diploid> its the labeledsectiontransclusion's extension's tag extensions [21:50:52] <diploid> ok [21:51:33] <diploid> so then i need to figure out how labeledsectiontransclusion is accessing the other article's wikitext and work from there [21:52:21] <diploid> k, that should help me figure out where to look now, thanks [22:04:07] <sputnick> hi there [22:05:14] <sputnick> who knows trick about web caching to increase speed browsing ? [22:07:25] <wikibugs> 03(NEW) Special:Suffixindex - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10808 15enhancement; normal; MediaWiki: Search; (eep) [22:13:14] <wikibugs> 03(mod) Introduce Special:Suffixindex - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10808 summary (10robchur) [22:49:41] <sputnick> is it easy to replace the search default engine by a google one ? [22:50:07] <sputnick> maybe someone have a link for a documentation ? [23:33:22] <alnokta> Duesentrieb: well, i have that default..but it don't work when it don't have the variable names in the page [23:34:01] <Duesentrieb> alnokta: it should. [23:36:19] <alnokta> Duesentrieb: here is an article calling the old template.. http://ar.wikipedia.org/wiki/%D9%85%D8%A7%D9%84%D9%83%D9%88%D9%85_%D8%A5%D9%83%D8%B3 [23:36:28] <alnokta> the photo isn't showing [23:38:13] <Duesentrieb> alnokta: make a very simple test: put {{{test|boo!}}} into Template:Foo, try {{Foo}}. [23:38:21] <Duesentrieb> you should see boo! [23:39:43] <alnokta> yes... [23:40:09] <Duesentrieb> so, it works. [23:41:18] <alnokta> but when {{#if:{{{image_name|{{{صورة}}}}}}|<tr><td colspan="2" align="center">[[صورة:{{{image_name|{{{صورة}}}|}}}|{{{image_size|{{{حجم_الصورة}}}180x180px}}}|center]] [23:41:52] <alnokta> you give it {{صورة=foo.img}} ..it don't work [23:42:38] <alnokta> but if i add the variable after that one in the article..it appears [23:43:01] <Duesentrieb> alnokta: you got the if wrong [23:43:52] <Duesentrieb> alnokta: the default in the value you use for the diff should always be empty. otherwise, the if always sees a value, and always assumes the if-case, never the else case. [23:44:38] <Duesentrieb> alnokta: or are you trying to implement alternative names for parameters? [23:44:42] <Duesentrieb> in that case, you are missing a | [23:44:51] <alnokta> yes [23:44:56] <Duesentrieb> alnokta: {{#if:{{{image_name|{{{صورة|}}}}}}|<tr>... [23:45:01] <Duesentrieb> one "|" more [23:45:17] <Duesentrieb> (hm... that | looks strange... must be arabified somehow...) [23:45:43] <alnokta> Duesentrieb: it works after editing the article like that http://ar.wikipedia.org/w/index.php?title=%D9%8A%D9%88%D8%B3%D9%81_%D9%88%D9%87%D8%A8%D9%8A&diff=912555&oldid=794441 [23:45:57] <Duesentrieb> alnokta: the point is: the part after the #if: must evaluate to nothing if none of the two params is given. so the inner param must have an empty default. [23:46:27] <Duesentrieb> alnokta: yes, sure it works if you provide empty values for each parameter explicitely. [23:46:52] <alnokta> yes, how i do that in the template itself? [23:47:24] <alnokta> but if i make the inner empty [23:47:24] <Duesentrieb> i told you. [23:47:34] <alnokta> it won't work for one language [23:47:41] <Duesentrieb> #if:{{{bla|{{{blubb|}}}}}}| [23:47:45] <Duesentrieb> note the second | [23:48:00] <alnokta> oh yes :)