[00:20:28] ah sweet [00:20:32] no DB updates. [00:21:15] I just updated includes/User.php changed the a line so it just points to WISEdocs and doesn't even do a lookup in the DB [00:21:18] o happy day [00:24:55] thanks all [00:58:33] Simetrical: you'll like this... http://www.codinghorror.com/blog/archives/000997.html [01:01:59] 03david * r28402 10/trunk/extensions/LiquidThreads/LqtPages.php: Fixed diff bug? Should be thoroughly tested before real use. [01:03:31] 03david * r28403 10/trunk/extensions/LiquidThreads/LqtPages.php: Fixed URL and version in wgExtensionCredits [01:12:23] Simetrical, jamasi___: you there? [01:21:44] hi all... is it possible to change a certain word in the whole of a mediawiki? [01:23:30] tokyoahead, I'm not sure [01:23:55] would there by a SQL instruction to do that I wonder? [01:24:11] That was going to be my next idea [01:24:33] You could dump the database and then use a program like BBedit or Notepad++ to find and repalce [01:25:01] ah true [01:25:10] maybe thats the best [01:25:24] Anyone know the direct link to the user log in page. [01:25:39] Special:Userlogin [01:25:48] index.php/Special:Userlogin [01:27:03] That's what I thought, but still can't get in [01:27:12] huh? [01:27:16] http://www.ourpropertytaxes.com [01:27:27] installed actually from the Wikihow source [01:27:51] is the wiki in the document root? [01:27:59] yes [01:28:35] it says it's temporarily unavailable [01:30:33] Right. I'm trying to log in to shut that message off [01:32:57] I'm not getting any other errors, but this was a manual install. [01:33:29] that page is not a genuin mediawiki message. so you need to ask whoever wrote that [01:33:43] anyway, putting stuff into the document root is generally not recommended. [01:33:46] !rewriteproblems [01:33:46] a) do not put the files into the document root b) do not map the pages into the document root c) use different pathes for real files and virtual pages d) do not set a RewriteBase e) but all rules into the .htacces in the document root. [01:43:37] I learned my less on ELGG about mod_rewrites... [01:44:07] Unfortunately, this is a project I'm taking over from someone that apparently screwed everything up. [02:30:46] 03shinjiman * r28404 10/trunk/phase3/languages/messages/ (4 files): [02:30:46] * Update Chinese translations [02:30:46] * Update Cantonese translations [02:30:46] * Update Old Chinese / Late Time Chinese translations [02:39:35] 03shinjiman * r28405 10/trunk/phase3/languages/messages/MessagesFr.php: [02:39:35] Localisation updates from Betawiki. [02:39:35] * fr [02:43:11] 03shinjiman * r28406 10/trunk/phase3/maintenance/language/checkLanguage.inc: wu language does not have plurals [02:49:54] hi brion [02:50:42] *brion waves [03:13:46] what's the redirect syntax [03:14:00] #REDIRECT [[Pagename]] [03:23:32] brion: new schema change! ;) [03:26:10] nnnooooo :D [04:18:32] hi [04:30:05] i use the semantic mediawiki extension [04:30:31] and when clicking on a property name i get a survey about all pages which use that property [04:30:50] showing the first three elements used of that property for each page [04:31:08] i want to increase this number, three is to low. but i dont know how to configure that [04:31:11] anyone? [04:31:51] 03david * r28407 10/trunk/extensions/LiquidThreads/ (LqtPages.php lqt.css): Major aesthetic improvement to top of talkpages. (But doesn't work on all browsers yet, including Firefox). [04:33:10] it has a mailing list and public forums: http://sourceforge.net/projects/semediawiki [04:33:16] you may be better off asking there [04:33:38] hmm... also has a channel: #semantic-mediawiki [04:47:08] Anyone run across a file called PatolHelper.php in the includes directory? [04:48:12] er... nothing in my copy of MW or in SVN [04:50:45] MZMcBride: thank you [04:50:52] yep [04:51:14] #semantic-mediawiki is very unpopulated :P [04:53:08] yeah :) may have better luck with docs or the mailing list [04:53:18] or, if you haven't already, you could try googling [04:56:17] i tried googling and the docs [04:56:25] i am not very familiar with mailing lists [04:56:35] try the forums? [04:56:41] There is one item on Google, and it's the same issue that I'm having. [04:57:02] It's a fork of the wiki code and it looks like this is a missing hack file [04:57:25] a developer said in the forums that they dont use it too much [05:06:42] My MW 1.5.1 has been hacked and I need help recovering. In what table/field is a page set as "protected"? [05:08:09] When I try to edit or rollback the page, it says, "this page has been locked to prevent editing" [05:14:59] Genki: http://www.mediawiki.org/wiki/Manual:Database_layout [05:15:06] thank you. [05:15:41] welcome. [05:17:26] Yes, I have already looked there. Since I'm using 1.5, I looked at the "pages" table. It refers to a field named "page_restrictions" but the explanation is insufficient. [05:20:50] MZMcBride: found it. it's hardcoded... :/ next update i have to change it again [05:21:07] :) [05:21:29] at least you found a solution [05:26:15] yep [05:26:27] the smw source is very easy to read [05:26:31] good work [06:28:36] in MW 1.5.1, in folder wiki/config, is index.php necessary? [06:30:07] not after you've installed the wiki; the entire config folder should be deleted once it's no longer needed for security reasons [06:36:13] anyone with good knowledge of DPL i could use your assistance [06:40:23] thank you, again! [07:28:18] TimStarling: so in reference to the conversation from your yesterday, just add new functionality in an extension if you can, it should be faster and more maintainable than the equivalent build using templates... [07:37:08] it takes a lot of time to review an extension [07:37:16] and a lot of trust to put one on the site without reviewing it [07:37:18] i mean, just for a private site [07:37:21] sure sure [07:37:33] well, this i'm writing myself [07:37:45] the templates just become unmaintainable so fast [07:40:06] On my shared Linux server, I want to ensure that security for my wiki is set appropriately. Is it okay to set the GROUP and WORLD permissions for my files as "rwx rw- r--"? [07:41:47] Genki: 664 is fine, except for images which should be 666 [07:42:03] assuming the group is sufficiently small [07:42:18] if g+w gives access to everyone on the server, then maybe that's not a good idea [07:43:18] It's a shared hosting account. I am the "owner" and the "group". There is no one in my group that I know about; I admin and that's it. [07:44:16] conventionally you would use 644 then [07:44:31] 03siebrand * r28408 10/trunk/phase3/languages/messages/ (9 files): [07:44:31] Localisation updates from Betawiki. [07:44:31] * an, ar, ast, crh-cyrl, crh-latn, cs, hsb, kn, li [07:44:36] good. and how about directories? [07:44:39] rw-r--r-- [07:44:46] images, too? [07:45:14] directories obviously need to be executable, that's basically the same as a read permission on unix [07:45:36] the images directory should be world-writable if you want uploads [07:45:48] great. Thanks, Agent Starling (that's from some show that used to be on Fox TV :-) [07:46:36] 03raymond * r28409 10/trunk/phase3/ (3 files in 3 dirs): Remove contentsub "rclsub", it is useless because it is already in the page title [07:50:08] 03siebrand * r28410 10/trunk/extensions/ (7 files in 7 dirs): [07:50:08] Localisation updates from Betawiki. [07:50:08] * Fixes and additions to 7 extensions for gl, hsb [07:53:04] where is the sidebar saved? in what table? [07:54:41] jelle: It's just another page in the database. You can edit MediaWiki:Sidebar to change it [07:55:39] ok. the problem is that I'm porting a wiki to a new site, the old site crashed but I have an export and the old database. [07:56:40] So, uh, what's the problem? If you have the old database it will all be there when you import it. [07:57:13] re [08:01:53] <_wooz> lo [08:02:15] hi _wooz [08:02:29] <_wooz> hi amidaniel|away o) [08:08:23] Tim: FYI, I had to set the directories to 755 in order for the wiki to work. [08:08:28] amidaniel|away: well, I don't have database import capabilities. but I'm getting there, thanks [08:17:02] jelle: Aha, well that surely makes it a tad more difficult :) [08:17:57] it does, but I found an old sidebar that I can use, so I'm happy already [08:18:04] thanks though [08:21:06] Ah, okay. Well, for future reference, you're probably going to want to do queries like select old_text from page,text where page_title = 'Sidebar' and page_namespace = '8' and old_id = page_latest; [08:21:21] Or just import it into a different mediawiki install and dig out the pages you need [08:29:57] Can someone help me to install mediawiki? [08:31:48] Is it possible to make things like "discussion", "view source", etc. make disappear? [09:05:54] MediaWiki gives a blank page due to a memory error; [09:06:03] where? [09:06:16] because of the shared hosting invironment I'm not able to change the memory limit (now 16 MB). [09:06:23] On an image page. [09:06:46] Is it posisble to remove the image? [09:06:46] maybe that's because the image is too large? [09:07:03] It was only 600 kB (submitted by an user) [09:07:21] http://your-hosting.com/path/to/wiki/Image:Image_name?action=delete&wpReason=too%20large%20image [09:07:30] Is it possible to make things like "discussion", "view source", etc. make disappear? [09:08:00] DrMeissner, if you get rid of them completely, you will lose functionality [09:08:04] Could I do this as a Bureaucrat or should I be logged in as WikiSysop [09:08:27] s000501, you need any account with sysop rights (Bureaucrat should have this, I guess) [09:08:58] DrMeissner, but anyway, it's possible to do it in MediaWiki:Common.css (and you can do it even for specified pages) [09:09:48] DrMeissner, for example, #ca-talk {display:none} will hide the "discussion" tab [09:09:52] It is possible to make it only disappear for non login users? [09:10:18] btw, im sorry for my bad english [09:10:23] uhrm... no, I think :( [09:11:05] your English is readable, and this is enough. you don't use these stupid abbreviations (and thank you for that) [09:12:32] DrMeissner, for hiding this from users who haven't logged in, you can try JavaScript [09:14:02] I can try JavaScript? That sounds difficult [09:15:39] enhydra: great! It worked out. I'll make a note of this. [09:16:12] s000501, np :) [09:16:32] DrMeissner, add this: http://pastey.net/78873 to the beginning of your wiki's MediaWiki:Common.js [09:16:49] The style of the headlines in the navigationbar - can i change them in the main.css? [09:16:58] oh thanks, i will try [09:17:11] DrMeissner, *** http://pastey.net/78874 [09:17:39] I forgot one critical ! in 78873 [09:17:48] And... in previous versions when an user lands on a redirection page with says "Back to Main Page" it also actually redirects in a couple of seconds." [09:18:03] But in my installation MediaWiki 1.11.0 it fails. [09:18:51] DrMeissner, surely you can. you can find IDs in HTML code [09:21:31] s000501, it seems to be removed from MediaWiki functionality [09:21:55] :( [09:22:12] (But it's ok, probably with a good reason.) [09:22:27] because of it's annoyance, I guess [09:22:52] personally I didn't like that feature :) [09:23:04] Then I will take it like an improvement! :D [09:37:25] Thanks enhydra, but the script doesent work. Probably i´m to stupid [09:37:37] could you provide an url to it? [09:38:58] No, im sorry. Its on a server in the intranet of my company [09:39:05] behind a firewall etc :( [09:40:13] I tryed both, and restart my webserver too. Did i anything wrong? [09:47:59] DrMeissner_, have you cleaned your cache? [10:02:41] can I prevent new users from registering? [10:13:05] !access | jelle [10:13:05] jelle: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [10:16:46] I had problems with my connection. I will cleane the cache again now. [10:19:09] Clean the cache of my browser? Or do something with my wik? For example: purge etc [10:21:22] Duesentrieb_: great [10:35:47] enhydra: I change successfully the headlines :) thanks lot [10:36:09] np :) [10:38:00] wikibugs: heello? [10:38:13] died yesterday :( [10:38:18] too bad [10:46:31] Is it possible to remove users without using extensions or tinkering with the database? I'm using 1.11.0. [10:47:11] !deleteuser | Snigelinux [10:47:11] Snigelinux : Deleting users is very messy and not recommended, because this breaks referential integrity in the database (they appear in many different tables like users, edit histories, recentchanges, preferences, etc). A safe solution is to block the users, and possibly rename them with . You can also try [10:47:57] Thank you very much. [11:00:41] enhydra: Your script should work with a german version of mediawiki too? or? [11:01:07] DrMeissner_, it's language-independent (id's are always same) [11:02:21] That tought i :( [11:02:35] oh if I could see it... [11:02:46] and it works with all versions? [11:02:51] yes [11:03:24] could you paste the full contents of your wiki's Common.js? [11:03:37] (MediaWiki:Common.js, i.e.) [11:03:47] here? [11:03:57] no! http://pastey.net/ [11:05:41] http://pastey.net/78880 [11:05:46] thats it [11:06:10] not very much :) [11:07:03] I need help with templates and JavaScript [11:07:16] *Werdna stumbles in [11:07:54] Gary_Kirk, huh? [11:08:07] I'd like to use the little thing that has a show/hide button ToC-stylee [11:08:12] on meta [11:10:36] do i need an extension to prevent page creation with an account? [11:10:38] Hints, tips? [11:12:24] !access | hippietrail [11:12:24] hippietrail: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [11:12:50] what was that?! [11:13:01] thanks [11:13:56] enhydra: Do you found some mistakes in the script? [11:14:23] DrMeissner_, yeah :( I've just noticed that I have an unclosed ) [11:14:52] http://pastey.net/78880 — do you see the very last } (in the line 9)? you should add an ) just after that [11:17:30] DrMeissner_, you should also switch lines #6 and #7 [11:19:17] Can anyone help me? I'm sure it's quite simple [11:19:33] I updated m:Template:Hidden begin from en, that did not work [11:19:55] one moment, I'll try to have a look ... [11:20:32] ah, NavFrames [11:20:44] Gary_Kirk, are you an admin on Meta? [11:20:49] no [11:21:03] then you have to ask one to make it live [11:21:33] find /** Collapsible tables ********************************************************* in http://en.wikipedia.org/wiki/mediawiki:common.js [11:21:41] switch? the lines? [11:22:03] enhydra:and then? [11:22:09] then /** Main Page layout fixes ********************************************************* [11:22:19] and copy the text between them [11:22:19] so $wgGroupPermissions['*']['createaccount']=false; $wgGroupPermissions['user']['createaccount']=true; ? [11:22:40] hippietrail, by that, you'll disallow registration [11:22:52] )-: [11:23:14] s/createaccount/createpage/ [11:23:28] DrMeissner_, yes. as shown on http://pastey.net/78881 [11:23:58] enhydra: to m:MediaWiki:Common.js? [11:24:05] Gary_Kirk, yep [11:24:11] ok [11:24:19] hippietrail, yeah. then only registered users will be able to create pages [11:24:54] thanks again [11:25:10] enhydra: Thanks again, i will try it after ive got something to eat [11:25:49] DrMeissner_, guten Appetit! [11:27:05] enhydra: speak german? :) [11:27:15] no, just a dictionary :-) [11:27:20] :) [11:27:24] danke! [11:30:17] enhydra: it seems i can still create talk pages [11:30:38] hippietrail, there is a separate 'createtalk' permission for them [11:30:51] thanks the nth time (-: [11:30:55] np :) [11:32:01] w00t [11:50:30] how is the usage of enabled? i didn't find any extension related to it from mediawiki site nor any particular info [11:54:34] http://www.mediawiki.org/wiki/Extension:Cite [12:02:18] ialex: thanks, i would never had figured out it was called cite and not references [12:07:59] River is crazy! [12:08:19] domas, indeed. [12:10:10] btw, does mediawiki always render each page on the request through all the extensions or does it create a static html render of the page when it is saved? [12:10:40] it saves rendered page into parser cache [12:11:28] piksi: if you're new to mediawiki, you might want to look at http://dammit.lt/2007/01/26/mediawiki-performance-tuning/ ;-) [12:24:15] domas: thanks, i'l look into it :-) [12:39:22] Hello [12:42:18] Hello [12:43:51] Hello again [12:48:03] ¿sɪɥʇ səop ʇɐɥʇ uoɪsuəʇxə ɪʞɪʍɐɪpəɯ ɐ uɪ pəʇsəɹəʇuɪ əʍ əɹɐ [12:48:05] didn't think so [12:49:52] lol [12:51:05] enhydra? are you still there? [12:51:19] why not? [12:55:27] so quite here [12:55:31] yes [12:56:35] must i acitvate the common script? Maaaybe? :) [12:56:55] closing the paren didn't help? [12:57:03] unbelieveable [12:57:27] no :( [12:58:46] could you send me the source HTML code of your main page (seen when unregistered) through http://pastey.net/ [12:58:50] ? [12:59:27] the actual sensible page content may be stripped out (it doesn't matter; and remember, I can't read German) [13:02:40] actually, there is no content :) [13:02:49] sure i can, wait a second [13:02:58] thank you for help [13:04:29] No im confused [13:04:32] it works [13:04:39] good morning [13:04:44] Abybody russian? Who knows how to correct links from strange %D0%A1%D0%BB%D1%83%D0%B to normal yrillic [13:04:45] DrMeissner_, :) [13:05:09] jurasiks, I'm a native Russian speaker. where do you need to convert these links? [13:05:24] i have a problem with mediawiki and mysql db, somebody seen this error above? [13:05:29] Thanks enhydra! [13:05:35] Error: 1054 Unknown column 'img_sha1' in 'field list' [13:05:36] (your %D0%A1... seems to be Слу...) [13:06:08] klapzin: have you updated your mediawiki installation? [13:07:10] klapzin: right, sounds like you did not run the update script after updating the files [13:07:29] yes [13:07:35] how to correct all links [13:07:38] on all pages [13:07:45] maybe, when i tryed config LDAP suport i change many times the package [13:08:29] , , ... [13:08:52] jurasiks, Russian text wouldn't help there :) and use utf-8, please [13:17:22] i have to go now, bye [13:26:31] yo enhydra :) [13:27:46] hiya! [13:45:52] How do you make your wiki editable only by registered users? [13:47:22] where can i find plugins for wiki? [13:47:37] !access | JAStewart [13:47:37] JAStewart: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [13:47:44] !extensions | jurasiks [13:47:44] jurasiks: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [13:47:50] read the FAQ, people... [13:48:41] it's hard to install them? [13:48:47] more than 5 mins? [13:49:26] not for me... [13:54:00] Which file do I have to change to restrict who edits the database? LocalSettings? [13:54:45] !config [13:54:45] *All* configuration is done in LocalSettings.php. Do not edit any other file unless you want to get into serious hacking. You may want to *look* at the settings in DefaultSettings.php though, some are not in LocalSettings.php per default. See , , [13:55:14] But "$wgGroupPermissions['*']['edit'] = false;" is not on my localsettings.php [13:56:03] that would be because you did not put it there. [13:56:16] Should I just add it to the bottom of the file? [13:56:21] yes [13:56:46] Ah ok thanks [13:57:01] Is this the correct code? : $wgGroupPermissions['*']['edit'] = false; [14:02:12] 1 noob question : how to add first pages after installation? :) [14:05:59] the main page is already there. just click edit [14:06:16] remove the defautl content, put your won stuff in. link to pages that you pla to create. then save [14:06:18] index.php?title=New_page [14:06:23] i checked FAQ [14:06:27] the links show up in red - click them, create pages [14:06:28] thx anyway [14:06:43] or i can use search :) [14:06:59] jurasiks: editing the url, or using the search box, botjh work, but you are going to create orphans, which is bad. the Wiki Way is: first link, then create. [14:07:04] remember: red links are good! [14:07:28] ? [14:07:33] so what i need to do? [14:08:10] just start with main page? [14:08:12] what i said above, and what the faq sais too: "Create a link to the page on another page, then click on the red link which appears" [14:08:23] wow nice :)))) [14:08:24] yes. the main page is the starting point [14:08:29] that's why it's called "main" [14:09:10] how to add red link? [14:10:31] i made link but he in [] and not clickable [14:10:43] [[like so]] [14:10:51] [this is for external links only] [14:11:04] thx! [14:29:00] does anyone know how the wikimedia toolserver wiki got cool links like /view/ and /edit/ etc? [14:30:28] ask them :P [14:30:35] #wikimedia-toolserver [14:30:39] @search url [14:30:39] Results: [$wgserver, fileurl, logo, purge, shorturl, webrequest, xampp] [14:30:51] !webrequest [14:30:51] The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form, handling remove of "magic quotes" slashes, stripping illegal input characters and normalizing Unicode sequences. For more info check . [14:31:05] !shorturl [14:31:05] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. [14:31:13] !wgActionPaths [14:31:32] chuck: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are [14:31:33] instructions for most different webserver setups. [14:31:49] he doesn't want that, he wants action paths [14:31:54] (related, but not the same thing) [14:33:33] What permissions the /image diirectory has to have? [14:35:11] i had installed this exentsion http://www.mediawiki.org/wiki/Extension:SelectCategory on my mediawiki now i get this errors http://de.pastebin.ca/813395 can any one help me? [14:36:13] guys, on main page: WIKI install succesuful! i cant del it!!! [14:37:35] can noone help me :/? [14:39:06] jurasiks: just edit the page [14:40:27] mhm [14:41:03] i del it and recreate :) [14:41:17] how 2 make list? et *1 *2 *3 [14:41:19] where can i see wich mediawiki version i use? [14:46:40] how to add LIST in article? like *1 [14:46:41] *1 [14:46:43] *2 [14:46:44] *3 [14:47:01] [list][*]1[*]2[/list]? [14:50:57] jurasiks, wtf? http://www.mediawiki.org/wiki/Help:Formatting ? [14:51:30] a list just consists of any line beginning with *, there is no open or close tag for it, jurasiks [14:51:49] bango [[Special:Version]] [14:52:23] thx [14:54:21] darkcode have you got a solution for my problem above too? [14:57:26] they look like warnings rather than errors to me [14:58:11] mhm and how can i solve this? [14:59:09] where can i add banner in bottom of all pages? [15:00:33] jurasiks: hack the skin [15:00:43] find the "bottom of the page" in MonoBook.php and edit it [15:02:12] bango: seems like the extension is slightly broken [15:02:37] thx [15:03:17] mhm [15:03:48] is their another extension available which has got the same features? [15:04:22] no idea what it does exactly [15:05:06] bango: in SepectCategoryFunctions.php, remove the & from line 21 and 84 - looks like this: if ( fnSelectCategoryCheckConditions( $m_isUpload, &$m_pageObj ) ) { [15:05:11] you can choose a category when you create an article [15:05:51] if you manage to fix it, post the solution to the extensions's talk page and tell the author. [15:06:09] okay [15:07:03] ah, the page even has a "bugs" section [15:10:47] if you can you ought to make it output any warnings/errors to a file instead of sending it under http for all to see [15:11:40] i write my problem to the discusspage of this extension [15:13:09] darkcode you mean that the waring are available but users cant see them ? [15:13:22] so i can make the text invisible [15:13:25] yes [15:13:33] okay how can i do this? [15:13:45] by editing the php.ini file [15:14:15] it is in the extension? [15:14:28] no, php.ini is global [15:14:35] and not accessible if you are on a shared host [15:15:05] darkcode: for a quick debug session, its ok to have errors on page. for production use, you'd normally just turn them off. [15:15:18] yes I know [15:15:18] fatal errors should be reported to a fil in production use, yes [15:15:29] which should be the default on any shared host [15:15:43] its a php configuration, not anything to do with mediawiki [15:16:56] mhm i think its better to solve the problem [15:17:03] bango, darkcode: in this case, disabling the reporting of warnings should indeed fix the issue. the extension should work regardless. it sucks, though [15:17:04] and not to make it invisible :D [15:17:16] "display_errors = Off" "log_errors = On" and then depending on what system your on "error_log = syslog" [15:17:27] mhhm [15:17:28] bango: well, darkcode is right in that verbose errors should not be enabled in the first place in normal use. [15:17:49] darkcode: it's easier to do this in LocalSettings.php, using error_reporting() and ini_set() [15:17:57] !debug [15:17:57] For information on debugging (including viewing errors), see . [15:18:03] all the info is there [15:18:58] I'm not suggesting hiding the errors bango, just make them be reported to a file instead [15:19:33] when upgrading mediawiki - plugins will lost? [15:19:42] thanks [15:19:42] no. [15:19:48] cool [15:19:51] i use this upto ive solve this problem [15:20:16] jurasiks: some may not work any more though. or need to be upgraded too. you'll have to try it out [15:20:33] who know - is plugin for wiki that will show how much users on site now? and guests? like on boards [15:22:00] jurasiks: "on site now" has no meaning with http. [15:22:12] ? [15:22:16] also, mediawiki does not record people viewing stuff. [15:22:18] i found Whos online mod [15:22:36] well, it casn only be an ugly hack, at best :) [15:22:59] ? [15:23:03] you can for example make javascript code, that triggers something ot be recorded on the server, and use that to guess an online status [15:23:03] dont understan u [15:23:07] but it does not make much sense [15:23:12] and is highly inaccurate [15:23:18] *shrug* [15:23:20] try and see [15:23:42] ok [15:23:48] i checked monobook.php [15:24:00] and i can't find where add code [15:24:38] Why should I invoke an edit of '.htacces' when I'm using 'img_auth.php'? [15:24:44] jurasiks: search for "footer". [15:25:23] cool found works! THX [15:25:51] but it's only on main page [15:25:52] Since MediaWiki itself changes the image sources to '/path/to/img_auth.php/image.file', isn't it? [15:26:00] and i need on all [15:27:15] jurasiks: the skin will put it on all pages. if you don't see it, clear your cache, and the server side cache too (touch LoclaSettings.php) [15:27:25] s000501: sounds like a rewrite problem. no idea [15:27:58] touch file? how? [15:28:21] y!! [15:28:26] Or is it only to point to images from outside the wiki? [15:28:26] checked - all works! [15:28:28] THX [15:30:06] hey duesentrieb, i read your extenson categorytree, i want to install it but which file must i download? [15:30:12] only categorytree.php? [15:30:23] no, the full directory [15:30:26] !bundles [15:30:26] unofficial bundles of extensions are at . Note that these are random snapshots and may contain a completely broken version of the extension. [15:30:34] I'm talking about this step: http://www.mediawiki.org/wiki/Manual:Image_Authorisation#Apache_Step_3.2._Edit_.htaccess. [15:31:48] mhm but it didnt do this automatically, ive to copy and paste all parts [15:32:24] s000501: the first rule makes sure that all image acess goes through the access script, afais. the second rule converts pathinfo-style access to url parameters - probably needed to make it work in cgi mode or something [15:32:40] bango: use the bundle [15:33:56] But for access in MediaWiki it isn't necessary, isn't it? (Because the $wgUploadPath parameter is used to point to 'img_auth.php'.) [15:44:37] Is it possible to save an image in a namespace? So it will take over the credentials of that particular namespace? [15:45:06] no and no. [15:45:19] there's an extension to simulate that, though. not sure hwo well it will work [15:45:32] Which extension if I may ask? [15:45:46] Because: "Image authorisation works by "intercepting" the URL and checking to see if the remainder (PATH_INFO) is in an area where the user has access based on the standard User ID and any Namespace, etc. protections you've assigned." (http://www.mediawiki.org/wiki/Manual:Image_Authorisation#How_Does_img_auth.php_Work.3F) [15:47:40] sorry, don't find it. i think jimbojw wrote it though. but i could be mistaking. [15:47:53] what's up? [15:48:27] The question was: Is it possible to save an image in a namespace? So it will take over the credentials of that particular namespace?" [15:48:36] ah, i see [15:48:39] jimbojw: talking about multiple image namspaces. but it seems it wasn't you after all... [15:48:44] http://www.mediawiki.org/wiki/Extension_talk:Lockdown#Image_Lockdown_--Makar_17:35.2C_20_August_2007_.28UTC.29 [15:48:48] s000501: --^ [15:49:03] tnx; i'll have a look [15:49:14] s000501: i wrote an extension called KeepYourHandsToYourself which prevents users from editing other users' User pages - it also puts restrictions on what you can name images - creating a psuedo namespace therein [15:49:41] okay, have a look :) [15:49:44] np [15:50:01] ah, that's what i was remembering. mixed up with that thing jdpond wrote. [15:50:32] So the info "(...) where the user has access based on the standard User ID and any Namespace, etc. protections you've assigned." on http://www.mediawiki.org/wiki/Manual:Image_Authorisation#How_Does_img_auth.php_Work.3F is incorrect? [15:52:02] s000501: yes, but all images are in the same namespace (namely, "image"). [15:52:30] s000501: you need additional hacks if you want a "per-namespace image sub-namespace" or some such. [15:52:50] Aha. So 'img_auth.php' checks user rights (logged on) or Namespace-whitlistreads. [15:53:08] kind of. whitelistread is deprecated. [15:53:26] (This really helps me becoming to understand the software behing MediaWiki.) [15:53:37] (Maybe even make me a contributor some time... :)) [15:53:38] it checks based on wgGroupPermissions, that is, using User::isAllowed and maybe/hopefully also Title::userCan [15:53:43] !rights [15:53:43] For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [15:55:17] s000501: the thing is this: mediawiki supports fine grained permissions and arbitrary user groups. per default however, permissions are *global* and only a few permissions can be revoked, on a page-by-page basis (wich is called "protecting pages"). Since 1.10, there is wgNamespaceProtection, wich gives per-namespace edit rights. And i wrote the Lockdown extension, which allows you to restrict any right per namespace. [15:55:50] now, if you want fine grained control over images, you would have to somehow trick mediawiki into thinking that they are indifferent namesapces, while, normally, they are all in the image namesapce [15:56:00] hth [15:56:47] I'm loving the MediaWiki-system, however... [15:56:58] well... [15:56:59] !cms [15:56:59] You are advised to install an appropriate content management package if you want per-page access control and similar restrictions. See if you really want too. [15:57:01] :) [15:57:13] I want to use it for an institution where not everythinn should be *public*. [15:57:17] But, it's clear. [15:57:27] the simples solutionj is: have multiple wikis [15:57:42] or use a wiki system that is more designed for this kind of thing. [15:57:50] Yes, thnx! [15:57:53] confluence perhaps, or tiki [15:58:01] or a hacked up mediawiki :) [15:58:10] I read the suggestions on the 'Manual:Preventing_access' page [15:59:04] Maybe I'm set [*]['read'] = false which will solve *all* problems :) [15:59:30] tiki = perl isn't ? [15:59:32] heya, I don't have the option edit on MediaWiki:Sidebar page, I know I had it, but I am not sure if/where I blocked it [15:59:49] now is just the option view source [16:00:16] and in local setings I don't see any option that could block it [16:00:51] I have version 1.10.3 [16:01:19] any idea? [16:02:04] Stylee: log in as a sysop/admin [16:02:20] normal users are not allowed to edit system messages [16:02:47] I am loged in as sysop [16:03:22] I also checked just in case, and I am still sysop [16:03:48] And I know I edited it with this user already [16:06:16] no clue, sorry - if you are a sysop, you should be able to edit. [16:07:13] Stylee: the only way to break this is to mess with $wgNamespaceProtection or the editinterface permission in wgGroupPermissions. [16:07:14] oh ok, thanks [16:07:32] or using an extension like Lockdown [16:07:34] aha ok [16:07:59] well, will look arround it a bit [16:08:23] in worse of cases, will edit directliy in MySQL :) [16:08:36] ;) [16:09:07] Duesentrieb_, hey [16:09:20] Duesentrieb_, i fixed all the stuff you mentioned in mediawikiFS [16:09:27] cool :) [16:09:55] cmdline-options should work now decently... there's just one minor thingy with the order of the "--help" printout... [16:10:04] but i won't care for now :) [16:11:07] Duesentrieb_, btw. did you blog it? [16:12:29] rigid: not yet, idn't have time to test it properly [16:12:43] hehe... after all there's not much to test :) [16:12:43] pretty busy right now (hav't blogged anything in a month or so) [16:13:27] yeah i experience the same right now :( barely find time to sleep... [16:13:33] :P [16:13:38] Duesentrieb_, just highlight me if you did... [16:13:46] anyway, i'll try to play with it a bit [16:13:53] did you look into api.php? [16:14:19] Duesentrieb_, not yet... i still work on hardening the FUSE level... but it's on schedule [16:14:40] do that :) [16:15:03] on the long run, it would be really cool to get past the html cruft alltogether [16:15:38] Duesentrieb_, hm... i thought about that. I would prefer some xslt-templates or something [16:15:57] since one could disable api.php easily... i want mwfs to work with every wiki [16:16:26] so one could create a template and mwfs just handles the wiki like a human user would... [16:16:59] i'll look at api, if it's easy to implement, i'll do that before the template stuff [16:17:06] rigid: http://brightbyte.de/page/Client-side_skins_with_XSLT [16:17:21] rigid: but api.php is The Right Thing to use. [16:17:24] heh [16:17:41] it's the API. programs should use it. [16:18:00] Is it possible to use the 'Media' namespace to seperate images/documents and user rights? [16:18:03] Duesentrieb_: you wroge gadgets, right? [16:18:08] *wrote [16:18:14] There seems to be some build in redirection Media: -> Image: [16:18:28] Duesentrieb_, does api.php support POST requests also? [16:18:57] why not? [16:19:08] it doesn't support editing yet, but that is on the road map. [16:19:09] Duesentrieb_, because the examples are all GET... [16:19:14] Duesentrieb_, hm [16:19:26] well, GET is easiest for fetching stuff, no? [16:19:35] Duesentrieb_, i still need to parse XML if i use api.php :) [16:19:47] would be more clean, tho... [16:19:57] s000501: Media is a pseudo-namespace. [[Media:xxx]] generates a different link then [[Image:xxx]] does. [16:20:16] Duesentrieb_, hm... sending passwords via GET is what i don't like... but i guess it makes no difference [16:20:23] rigid: no, it doesn't have to be XML, it supports several formats [16:20:34] no, it makes no difference at all [16:20:39] ah rly [16:21:14] several XML formats, JSON, YAML, PHP-Serialized... [16:23:34] Hello [16:24:16] I am looking to display PDF document for an intranet wiki. I tried using Embed_Document extenstion. Is anyone familiar with "Embed_Document" [16:25:11] !ask | dorje [16:25:11] dorje: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [16:25:44] Embed_Document worked and then I upgraded to latest SVN version. [16:27:28] if $wglogo = "/foo.png" is that looking in the apache root or the mediawiki root? -- neither locaiton works though [16:31:02] AngryElf: apache root. use full pathes [16:31:12] or use a full url even. [16:31:27] AngryElf: oh, and it's $wgLogo [16:31:42] (is php case sensitive here? it is sometimes, and sometimes not...) [16:32:19] dorje: well... what's the actual problem you have? [16:32:38] also, have you looked into alternative extensions for embedding stuff? or maybe even especially for pdf? [16:33:13] it was the capital L that was getting me :( [16:35:21] hehe [16:43:14] How can I enable transclusion from other mediawiki projects? [16:43:37] The upload directory (public) is not writable by the webserver. [16:43:38] I assume it's a boolean in localsettings? [16:43:40] can i solve this [16:44:01] i already give permission and blah blah [16:44:10] but dont work :( [16:44:39] ops! now i see, its a SELinux problem! [16:44:51] SELinux makes me crazy [16:51:05] !interwikitransclude | DigitallyBorn [16:51:05] DigitallyBorn: http://www.mediawiki.org/wiki/Manual%3A%24wgEnableScaryTranscluding [17:00:02] using Embed_Document to show PDF within a page. I get a 2nd instance of the page (not the embedded PDF) wiki @ revision 28412 [17:29:44] <_Steve_> i notice there are a lot of templates on wikipedia, but the default mediawiki install doesn't include any... is it a bad idea to import a bunch of them? [17:29:53] <_Steve_> can i get a list of all templates? [17:53:27] if i have a small mediawiki disabling cache is better thank keeping it or it isn't ? [17:54:15] absss: depends of cache type...what do you use? [17:55:51] how to post things so that the looks doesn't change? [17:56:28] asmarin: i leaved the cache configuration as default [17:56:42] Is $wgRequest->getText('title') alwasy in english? [17:56:55] absss: via LocalSettings...no? [17:57:10] TimLaqua: It is language-independant, no? [17:57:22] TimLaqua: That is a user supplied var right. [17:57:52] eh, WebRequest::interpolateTitle() does some voodoo [17:57:53] my LocalSettings is as I installed it... with enabled cache [17:58:14] TimLaqua: Still, shouldn't have anything to do with languages. [17:58:17] so yeah, it's user supplied, but I think it's interpolated [17:58:25] interpolated? [17:58:33] 'changed' [17:58:48] Fair enough, yes it is to some extent. [17:58:54] i.e. " " to "_" [17:58:58] *e.g. [17:59:08] But nothing substantial. [17:59:39] like in german wikis, the url won't say "Special:Userlogin" - but I want to know of $wgRequest->getText('title') will say "Special:Userlogin" [18:00:02] WebRequest::interpolateTitle() is used for path_info [18:00:11] (when you use it) [18:00:29] so, where do I get the title of the requested page? [18:00:33] independant of language? [18:00:48] of a special page ? [18:00:52] ya [18:01:10] so disabling cache will make pages more slow? no? [18:01:54] $title->isSpecial('Userlogin') if you want to know if it's Special:Userlogin [18:04:08] ialex: perfect. ty. [18:05:10] :) [18:10:49] I'm having some issues with the Renameuser installation, regarding the includes directory of mediawiki on the server. [18:12:35] and what's the problem ? [18:13:19] Hmm, one second, I believe I may have found a solution. It's not detecting it is all, small special pages error at the momet. [18:13:27] moment*. [18:14:28] it have to be installed in the extensions directory [18:15:49] Oh it is, It's just showing me an error when I access my special pages, nothing comes up but code and an error telling me that the file "SpecialRenameUser" is not found in my SpecialPages in the includes. [18:16:29] Which contains all the special pages apparently, so I'm guessing I need to create it myself, as Mediawiki.org doesen't seem to contain the file on the includes. [18:16:35] But, not exactly sure. [18:17:50] see http://www.mediawiki.org/wiki/Extension:Renameuser [18:18:39] you have to copy the files in the extensions directory, and then modify LocalSettings.php, you don't need to modify other files [18:19:41] Strange, I followed the guide exactly. [18:21:02] http://rafb.net/p/lneDEv79.html [18:24:50] where did you put the files ? [18:25:09] Extensions/Renameuser on the server. [18:25:27] Within Public_html of course. [18:25:50] how to post without skew the text format??? [18:27:07] Anthony_H: the four files ? [18:28:01] Yes. [18:31:40] It's labeling the "fatal error" (line 316 includes file "SpecialPage") http://rafb.net/p/MarzA899.html [18:31:58] sounds like it doesn't find the SpecialRenameuser_body.php file [18:32:23] Hmm, the text is all code from one of the files in special pages. [18:32:41] None of the regular special page lists in the software on the website, just the code from one of the files. [18:33:59] Here's the coding coming up. http://rafb.net/p/6CrYn310.html [18:35:43] the SpecialRenameuser class is defined SpecialRenameuser_body.php and should be loaded automatically when MediaWiki try to create an instance of this class [18:35:51] * in [18:37:58] hello ) [18:42:27] is there any difference whether i write require_once( "{$IP}/blaah or ( "$IP/blaah in the localsettings? [18:42:37] i see both syntaxes on the extensions [18:46:40] http://husker.wikia.com/wiki/Main_Page [18:46:43] thoughts and opinions please [18:57:29] Landlord: too busy. [18:57:39] er... the page looks 'too busy' [19:09:28] anyone know much abot the Block class? [19:09:47] what's mHideName do? [19:10:43] if the name of the user being blocked should no be visible, i think [19:11:10] well, mBlockedBy (of User) is "who" made the block [19:11:33] and if mBlockedBy has to exist [19:11:42] *does have to be set [19:12:34] or is there a way to forcefully logout a user w/ a message? [19:12:51] mmm, I like that idea better. [19:16:15] ok, new question - what's the best way to redirect a user to the Main Page? [19:17:27] mBlockedBy is the id of the user who made the block [19:18:37] returnToMain [19:18:50] that's a function? [19:18:57] erm, $wgOut->returnToMain() [19:19:36] *ialex stabs his keyborad [19:20:29] hmm... [19:20:32] that didn't work at all [19:21:14] any other ideas? [19:23:55] returntomain sets the 'returnto' in the url [19:23:58] doesn't redirect [19:24:34] how to post things it that it has a __new line__at the end?? [19:24:50] right now it is just a mess [19:25:23] without newline character at the end, but I post it with new line character though [19:25:42] !poem [19:25:49] *TimLaqua shrugs [19:26:50] does anybody know a way to call /maintenance/refreshLinks.php without command line? [19:27:21] TimLaqua: and $wgOut->redirect( Title::newMainPage()->escapeFullURL() ) ? [19:27:35] mmm... ghetto... I like it... [19:29:17] any extension that does this? [19:30:51] wow, this is evil. [19:31:08] $user->logout(); [19:31:14] $wgOut->redirect( Title::newMainPage()->escapeFullURL()); [19:31:19] thx, ialex. ;-) [19:31:45] TimLaqua: do you write a ForceLogout extension ? :) [19:32:22] naaa, someone wanted me to disallow users emailing themselves a new password in PasswordReset when you use the "Disable account" option [19:32:28] so I hooked GetBlockedStatus [19:32:49] and then figured i'd write the logic to logout users that have been disabled mid-session or if they already have a cookie [19:33:34] so sure, if you disable an account of a logged in user, next time it checks block status, they'll be logged out and redirected to the main page [19:33:39] and not able to login again [19:34:24] isn't there an extension that makes the same thing og refreshLinks.php? i cannot run it because I haven't the command line..! [19:36:11] Is there a way to temporarily overwrite a cached message? like wfSetMsg(wfMsg('new-message'))? [19:36:45] wait, that doesn't make sense [19:37:25] wfSetMsg('blocked-mailpassword',wfMsg('passwordreset-noemail')) [19:37:31] something ilke that [19:38:22] Werdna: KEY `pt_by` (pt_by) [19:38:43] hmm, I'd rather that be called pt_user, and I don't see why it needs an index [19:48:25] my Special:Version page is empty!! http://wikilatin.netsons.org/latin/Special:Version [19:49:50] what is it happened :( [19:51:41] yup ;) [19:51:51] i have x-cache, does mediawiki cooperate with it automatically or do i have to set some settings as with APC? [19:53:41] *Gambit loooks at AaronSchulz for help O_O [19:54:13] w0t? [19:55:17] developer stuff questions :P [19:56:03] absss, enable in General Settings >> http://www.mediawiki.org/wiki/Manual:%24wgVersion [19:57:53] Gambit: it wasn't, it was the RenameUser extension that empty my version page... now i am looking for the bug... [20:03:02] its working noq..it seems ;) [20:03:06] now* [20:22:42] *TimLaqua kicks CIA-6 [20:22:42] ow [20:37:14] is the upload mechanism in mediawiki based on "cop()" e.g. on the max allowed filesize in the php.ini [20:37:15] ? [20:37:36] and another $wg parameter [20:37:45] something like $wgMaxAllowedUploadSize [20:38:03] ah ok i will look thx [20:38:36] I cant remember the exact name of the parameter though :/ [20:39:06] hm if I search for Max Allowed Upload Size on mediawiki.org [20:39:16] i find example of php.ini [20:39:17] :) [20:39:50] ; Maximum size of POST data that PHP will accept. [20:39:50] post_max_size = 8M [20:39:56] this i think is the one [20:40:12] and this [20:40:14] ; Maximum allowed size for uploaded files. [20:40:14] upload_max_filesize = 2M [20:40:14] [20:41:49] Froster> and $wgMaxUploadSize = 1024*1024*100; # 100MB [20:42:20] doc is @ http://www.mediawiki.org/wiki/Manual:%24wgMaxUploadSize [20:42:32] hm [20:42:38] carzy [20:43:08] php.ini change is required anyway [20:43:14] yes [20:43:43] but i wondered anyway all the time cause i increased it long time ago to 20M [20:43:48] so i asked here [20:43:50] thank you [20:43:51] :) [20:44:00] Froster, look in the mediawiki documentation comments [20:44:19] php.ini might not be in use at all, if it doesn't seem to affect upload size limits [20:44:39] I'm unable to import wiktionary xml dump into mysql, I'm getting "Duplicate entry '0-' for key 2" when doing mysqlimport for 'page' table [20:44:44] I Searched different phrases @ mediawiki didn't find [20:44:52] so thank you guys :) [20:45:31] it seems to be i have to learn better handle on the page it self to get better support by myself anyway [20:45:41] ambro235: uh... you are trying to use mysqlimport with an xml dump? [20:45:48] <:) [20:45:48] ambro235: the will not work. [20:46:12] hashar: yo, nice hat! [20:46:23] Duesentrieb_: I did it as it says at the Xml2sql page; anyway how should I do it? [20:46:44] Froster, look for "php_value upload_max" on http://meta.wikimedia.org/wiki/Uploading_files#Frequently_Asked_Questions [20:46:50] ambro235: to clarify: mysql has an xml dump format. this is NOT what mediawiki uses for xml dumps [20:47:03] ambro235: use importDump.php in the maintenance dir [20:47:06] or mwdumper [20:47:14] some more info might be here: [20:47:16] !backup [20:47:16] http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [20:47:24] !help [20:47:24] 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 [20:47:28] i *hope* that page also telly ou how to restore... [20:47:35] Duesentrieb_: I used this http://meta.wikimedia.org/wiki/Xml2sql [20:48:00] ok I'll try [20:48:14] ambro235: err, never heard of that. why do you use it? [20:48:20] perhaps it's broken, no idea [20:48:44] ambro235: if you need an xml2sql converter, use mwdumper, it has a mode for that. [21:20:58] what is a good page-level permissions extension? [21:21:27] what type of permissions? [21:21:29] read? [21:21:54] read/write [21:22:11] at least, a better write permission manager .. like, select multiple groups [21:23:28] I'm setting up a wiki for an intranet, and I'd like to have groups .. HR, Senior Staff, etc [21:23:39] .. and allow multiple groups write access to an article [21:23:57] .. and, a plus would be to limit read to certain groups, too [21:24:11] on a per-page basis? [21:24:31] If it's possible .. I can settle for per-category [21:25:01] !rights | DigitallyBorn [21:25:01] DigitallyBorn: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [21:25:22] check the bottom link... I think there is an extension or two that fulfills your intent [21:27:44] @search foo.* [21:27:44] Results: [footer] [21:27:55] @search test [21:27:55] Results: [download, php4, release, sandbox, subversion, test] [21:28:34] !foo [21:28:38] !foo test [21:28:38] You don't have permission to do that. [21:28:45] !foo help [21:28:45] You don't have permission to do that. [21:28:45] foo doesn't exist [21:28:53] !help [21:28:53] 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 [21:29:42] wow, that link fails [21:30:19] !help del [21:30:19] Successfully removed keyword: help [21:30:23] !help is !help is 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 , you can find all my source code at [21:30:23] Successfully added keyword: help [21:32:22] !help [21:32:22] 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 , you can find all my source code at [21:32:52] thats bad. my irc client takes the > to the url [21:33:00] *sighs* [21:33:38] !help [21:33:38] 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 > [21:33:55] great [21:34:00] :) [21:34:09] !rights [21:34:09] For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [21:34:12] :P [21:34:38] you're making me work xD [21:34:45] sure :) [21:34:52] and i have a question [21:35:00] i want to configure uploads [21:35:09] that all extensions are allowed [21:35:19] set $wgEnableUploads = true; in your localsettings.php [21:35:29] yes [21:35:32] and i made: $wgCheckFileExtensions = false; [21:35:37] but it seems to ignore that [21:35:38] ok [21:35:45] cant upload any file [21:35:49] it's a xsd [21:35:55] i tried to add xsd to the array too [21:36:00] doesnt work neither [21:36:32] try setting $wgStrictFileExtensions = false; [21:36:49] it's already set [21:36:51] no, that sucks. and $wgCheckFileExtensions sucks even more [21:36:59] make sure mime detection is working properly [21:36:59] !mime [21:36:59] For assistance in configuring mime type detection on MediaWiki, please consult [21:37:17] Skizzerz: this link too! heh :D [21:37:31] Duesentrieb_: ok [21:39:07] Duesentrieb_: i never changed the mime settings [21:39:22] should be on default [21:39:35] and default configuration doesnt seem to block xsd files [21:39:43] the defaults suck [21:39:50] why? [21:40:06] because they are the smalles common denominator [21:40:49] so, it should work even more :P [21:41:13] *sigh* [21:41:20] well, what does it say when you try to upload? [21:41:22] i dont need much security. its a wiki for 2 people with htpasswd auth [21:41:32] it's in german :) sec [21:41:48] kein problem [21:41:59] Warnung [21:42:00] Die Datei ist beschädigt oder hat eine falsche Datei-Erweiterung. Bitte überprüfe die Datei und wiederhole den Hochlade-Vorgang. [21:42:17] this means the file extension does not match the detected mime type [21:42:26] which implies a mime type *is* detected. [21:42:33] ok [21:42:34] xsd is what... openoffice? [21:42:55] no. it's a template for xml files [21:43:04] i dont know much about it [21:43:22] oh, xml schema definition. i see [21:43:38] yes [21:44:20] the best option is to find out what mime type it is recognized as, and then tell mediawiki to allow the xsd extension for that type [21:44:53] how can i get that information? do i have to alter the source? [21:45:09] for a private wiki, setting $wgStrictFileExtensions = false; is also an option [21:45:22] its false already [21:45:24] no, you can get that information by enabling the debug log [21:45:47] $wgCheckFileExtensions = false; [21:45:47] $wgStrictFileExtensions = false; [21:45:53] hm? if it's false already, you should get a warning, but should be able to tell mediawiki to upload anyway [21:46:10] i think. or.... ah, no. [21:46:15] thats the weird point [21:46:17] not if the mime type and extension mismatch [21:46:23] ah ok [21:46:30] where can i enable the debug log? [21:46:40] $wgDebugLogFile = "/some/file" [21:48:50] aaah [21:48:52] Alp-: there's a lot of cruft going to the debug log. look for MIME [21:48:59] ok got it [21:49:10] mime type is application/xml but extension is xsd [21:49:18] good. [21:49:24] go to includes/mime.types [21:49:24] but why? ^^ [21:49:28] ok [21:49:47] find the line for application/xml, add xsd [21:50:19] great! it works [21:50:23] thank you [21:50:26] the type is detected correctly btw - it *is* XML [21:50:36] yes, i understood it now :) [21:50:48] hm... i guess i'll just add that extension to the default file :) [21:50:59] heh ok [21:51:04] I cannot get linking to category pages working. I copy the code exacctly as it is from the help page, but it does not work. Instead, the code is shown as it was pasted, i.e. [[:Category:{World}]]. The category pages does exist and it is possible to access it via links from pages within the category. I'm not absolutely certain, but it seems like links with {} aren't working properly. What am I doing wrong? [21:51:47] Snigelinux: what are {} tags? i only know {{}} which is for templates [21:52:02] ... and {{{}}} for template parameters ;) [21:52:18] beside that i never saw :Category: instead of Category: [21:52:28] Skizzerz: yep [21:52:38] Alp-: :Category: links, Category: categorizs [21:52:54] Duesentrieb_: ok good to know [21:52:55] same with :Image: vs Image: [21:53:03] cool [21:53:06] I just pasted it from http://www.mediawiki.org/wiki/Category [21:53:17] hmm .. anyone familiar with the Lockdown extension? [21:53:22] Snigelinux: take out the {} [21:53:41] the {} stuff is for makring that as an example i guess [21:53:42] sucks. [21:54:08] Ah. I feel terribly stupid. It works perfectly fine, thank you. [21:54:25] heh [21:54:46] I didn't realise they weren't supposed to be there when I changed the name. :) [21:56:20] oh boy [21:56:29] I need another bit of help [21:57:00] Duesentrieb_, Snigelinux: i edited the page, better now? :) [21:57:12] what I want to do is converting wiki pages to Word or InDesign [21:57:25] but the extensions I found were not sufficient enough [21:57:53] RidderGraniet: use the generated html and convert that. there should be plenty of html-to-word converted. [21:58:26] DigitallyBorn: what about lockdown? [21:58:46] Alp-, excellent. [21:58:53] DigitallyBorn: generally, please ask a concrete question. generic questions to "anyone" tend to get ignored [21:59:04] !ask [21:59:04] Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [21:59:53] *Duesentrieb_ kicks CIA-6 [21:59:54] ow [22:00:43] CIA-6 is dead, wikibugs is dead and I feel ill too :( [22:00:47] anyone know the shell command to install "PdfHander" from subversion? [22:01:06] Can somebody look at my localsettings for the Lockdown extension and tell me why it's not working? [22:01:10] dorje: do you know the repository url? [22:01:42] DigitallyBorn: yes (remove passwords please). but first, define "not working". [22:02:03] Duesentrieb_: Not enforcing a lack of access [22:02:08] DigitallyBorn: also, provide anything you might have done to wgGroupPermissions [22:02:11] what would I type to have subversion install the PdfHander extension [22:02:41] dorje: svn co [22:02:48] dorje: when you are in your extension dir [22:03:37] Duesentrieb_: http://pastebin.com/m122cc46e [22:03:47] Duesentrieb_: Let me know if there's anything else you need [22:05:10] Duesentrieb_: the thing is that we are all collaborating on this project, and the results need to be put in a document that needs to be printed. Simply copy / pasting in Word destroys the formatting pretty much. Do you know a good way to get the wiki text into a document that we can format? [22:05:21] Duesentrieb_: Any reason why you global $wgParser in http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageNotice/PageNotice.php ? [22:05:51] Duesentrieb_: long story short .. I'm trying to have a HumanResources namespace and permissiongroup and have the namespace only accesible by that group [22:06:11] DigitallyBorn: i don't see a line where you activate the extension. [22:06:24] minute: no. [22:06:34] Duesentrieb_: oh, I didn't copy that part of the localsettings [22:06:44] Ok, I'm just trying to debug why my use of that hook doesn't work. [22:06:56] RidderGraniet: using action=render gets you raw html. save to a file, open in word. [22:07:20] Running r28419. How do I get specific (or all extensions)? We are spefically looking for the PdfHandler. [22:08:10] DigitallyBorn: is "that" part before or after "this" part? [22:08:22] Duesentrieb_: I pasted the whole settings file .. refresh the pastebin [22:08:38] Duesentrieb_: I mean, go here: http://pastebin.com/m15d9e150 [22:08:39] hehe [22:09:32] DigitallyBorn: it's not there. [22:09:40] which is your problem. [22:09:46] Duesentrieb_: what isn't there? [22:09:57] the line to include the lockdown extension [22:10:13] using bash - svn [22:10:14] Duesentrieb_: Oh .. I'm using StubManager .. it's loaded .. I promise .. it shows up in Special:Version [22:10:33] but it may be loaded after you define the settings [22:10:36] did anyone tried the halo extension for semantic media wiki? i just looked at the video, and it was quite impressive [22:10:38] which will cause them to be reset [22:11:02] i say *may* because i don't know anything about stubmanager [22:11:14] and i don't really ant to. all the bizzwiki stuff seems pretty terrible [22:11:49] Can someone take a look at this basic extension thing I did - http://paste2.org/p/10489 - it doesn't work for some reason. [22:11:56] dorje: i have told you twice now. what else do you want? [22:13:29] ok folks, i have to get back to coding [22:13:30] have fun [22:13:35] Duesentrieb_: I do not see what you said [22:13:51] dorje: svn co [22:13:59] in the extension dir [22:14:15] the repository url is the one you find on the extension's description page [22:14:21] (hopefully) [22:14:31] ok [22:17:41] DuesenCode: Thanks for your help .. that did it [22:54:22] I have an image (say Image:Test.jpg) and updated it with a new one. [22:54:58] The Image:Test.jpg page shows the right image, but the thumbnail 180px-Test.jpg is still the old picture (also the physical file on the server). [22:55:21] How could I solve this problem? (Probably some kind of 'purge' operation?) [23:10:36] Is in possible to include Wikimedia Commons in your own Media Wiki-installation [23:16:04] s000501: in future. see http://meta.wikimedia.org/wiki/InstantCommons [23:17:49] So when I want to use it now (images and templates) I could copy them if it does not conflict with the GPL or Creative Commons License? [23:18:05] is there a way for me to specify a page that anonymous users have rights to edit, when all other pages cannot be edited unless you're logged in? [23:18:20] s000501: yes. [23:19:41] LordPants: There may be an extension that lets you do that, but I don't know. [23:19:58] ok [23:21:05] !whitelist | LordPants [23:21:14] hmm does not exist :( [23:21:28] Raymond_, I also found this: http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_editing_of_all_but_a_few_pages [23:23:21] LordPants: I do know of an extension that does this, but it unfortunately hasn't been released [23:23:37] ok [23:24:03] I'd really like to limit editing to logged in users, but then leave specific users' Talk pages as anonymously editable [23:24:48] Could anyone help with wrong image thumbnails? [23:25:06] s000501: add ?action=purge to the image page [23:27:43] When I do this I don't see an 'OK' button appearing [23:27:46] ... :S [23:28:00] thanks, guys [23:28:44] s000501: there is no "ok" button iirc [23:30:14] When I browse to http://path.to.wiki/Image:Test.jpg&action=purge nothing visible happens... [23:30:26] I mean: [23:30:32] http://path.to.wiki/Image:Test.jpg?action=purge [23:31:22] s000501: clear your browser cache too. [23:33:02] No difference... :( [23:33:08] hmm :( [23:33:33] I still see to previous picture, a new one is re-uploaded [23:34:36] try clearing your browser cache [23:34:50] Thnx, but I tried already. [23:35:20] (The image on the server is also still the old one.) [23:36:15] huh... that's weird [23:36:27] does putting it on a page display the old one or the new one? [23:36:27] Should I delete the 'thumb/Test.jpg' directory? [23:36:34] oh, thumb... [23:36:35] The old one. [23:36:46] But yes, it's the thumb. [23:36:49] IIRC, it only generates new thumbs when a new thumb is needed [23:38:13] Should I delete the 'thumb/Test.jpg' directory then? [23:38:44] Or how can I accent that it should create a new thumb? [23:39:19] put the image on a page somewhere using the |thumb parameter [23:42:05] hmmm i just wrote a gig of data to ram disk and comp dies :( [23:42:18] oops wrong window [23:45:14] Again, noting. [23:45:17] nothing [23:48:29] then, I don't know [23:48:38] deleting the image from the directory won't hurt anything [23:51:14] haha --it worked out [23:52:11] fyi: 1) deleted thumb/Test.jpg directory [23:52:13] 2) Image:Test.jpg?action=purge [23:52:14] 3) Clear browser cache [23:54:02] ;)