[00:36:36] 03(mod) Make Monobook.php more readable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6872 +comment (10mediazilla.20.nickj) [00:42:05] 03gri6507 * r27031 10/trunk/extensions/TodoTasks/: Source code for http://www.mediawiki.org/wiki/Extension:Todo_Tasks [00:55:43] 03gri6507 * r27032 10/trunk/extensions/TodoTasks/SpecialTaskList.php: v0.8.1 - initial publication in SVN [01:11:27] 03gri6507 * r27033 10/trunk/extensions/WhoIsWatching/ (. SpecialWhoIsWatching.php SpecialWhoIsWatching_body.php): v0.1 - initial publication on SVN of http://www.mediawiki.org/wiki/Extension:WhoIsWatching [01:19:59] I'm having a problem with a newly installed 1.11.0 concerning image uploads. [01:20:35] It seems that images uploaded are given permission 0644. I need to set the permissions to 0755 to be able to see them at all lest I get a 403 error when I try to view them. [01:20:42] What setting should I change to fix this? [01:31:43] 03gmaxwell * r27034 10/trunk/phase3/RELEASE-NOTES: Update release notes because I forgot to do so in revision 27025. [01:32:08] Excel: think there is something like that on the support page or in it's archive. [01:32:15] Excel: have a look there. [01:36:55] 03(mod) Portal namespace for Vietnamese Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11764 (10thanhquang.nguyen) [01:47:20] 03aaron * r27035 10/trunk/extensions/Renameuser/SpecialRenameuser_body.php: [01:47:20] *Rename revision rows all at once. This avoid issues with revision being deleted [01:47:20] while renaming is slowly taking place (the deleted edits would be stuck with the [01:47:20] old name). Using the Jobqueue for renames still involves a good deal of data [01:47:20] going into the job table, not sure if it's worth it anyway. [01:48:52] 03aaron * r27036 10/trunk/extensions/Renameuser/SpecialRenameuser_body.php: *Remove redundant line [02:02:49] 03river * r27037 10/trunk/extensions/CrowdAuthentication/ (. CrowdAuthentication.php): AuthPlugin for Atlassian Crowd SSO system [02:05:29] G_SabinoMullane: meow :) [02:07:33] 03river * r27038 10/trunk/extensions/CrowdAuthentication/CrowdAuthentication.php: extension credits, svn:keywords [02:13:15] Hm. [02:13:40] I found a header in the help desk that describes my problem head-on, but it doesn't offer a solution. [02:15:19] hey, redirects suddenly stopped working on our site [02:15:36] using the exact same codebase on our dev boxes, redirects work fine. has anyone experienced this problem? [02:15:59] it's acting like it's always being passed the "redirect=no" argument with the URL [02:16:15] 03(mod) Preserve reason field - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11790 +comment (10JSchulz_4587) [02:16:15] I looked through a MediaWiki forum and one user contends that it's not an issue of file permissions. [02:17:00] hi all, I've been trying to install mediawiki in ubuntu using http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Configure_PHP [02:17:25] I'm getting stuck around 1/2 way round the guide, where it asks for php configuration [02:17:59] If it matters, my server is a shared one, running Apache 2.2.6 and PHP 5.2.4. [02:18:42] esp. the 3rd one , the one called Extensions, there is something called Dynamic extensions but it doesn't have extension=mysql.so & extension=gd.so , instead it has something called extension=msql.so [02:19:00] can I get help with parser functions and magic words? [02:19:02] http://en.wikipedia.org/wiki/User:PxMa/test [02:19:04] my pastebin in case if that improves matters http://pastebin.ca/754544 [02:22:48] TimStarling: would you maybe have the time to run the index change for http://bugzilla.wikimedia.org/show_bug.cgi?id=11387 ? [02:23:20] I'm on a mission today, no time for anything [02:23:27] hah, ok :) [02:26:06] 03(NEW) add "refresh this page" link - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11811 15enhancement; lowest; MediaWiki: Page rendering; (jidanni) [02:28:49] 03river * r27039 10/trunk/extensions/ConfirmEdit/ConfirmEdit.i18n.php: captcha-badpass should be captcha-badlogin [02:29:23] 03(mod) add "refresh this page" link - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11811 +comment (10JSchulz_4587) [02:32:39] Hello, I got a question [02:32:58] can I insert an external CSS from the wiki as a user? [02:33:36] like tag or @import [02:33:37] hello [02:34:31] 03river * r27040 10/trunk/extensions/CrowdAuthentication/CrowdAuthentication.php: should have a way to set default group memberships [02:34:41] i have tried without success to configure the from email address mediawiki uses to send passwords [02:34:56] i have set it in LocalSettings.php but to no avail [02:35:05] how can I track down why its not working? [02:36:18] Hello, I got a question [02:36:21] can I insert an external CSS from the wiki as a user? [02:36:24] like tag or @import [02:38:00] no, it's insecure, CSS can contain javascript for IE browsers [02:38:24] well, you can set personal CSS, but you can't set CSS for all users [02:38:46] TimStarling: how can I do this? [02:38:48] JZA: You can use inline styles [02:39:02] set personal CSS? [02:39:11] And for just you, on wikis with it enabled you can edit [[Special:Mypage/monobook.css]] [02:39:19] I go to preferences but I can't load up custom CSS [02:42:29] <[Hyarion]> Has anyone successfully managed to make their wiki available offline? I've stumbled on quite a few different programs but they seem to all be incomplete. [02:43:21] I have a couple of wikipedia excerpts in my bookshelf, so I guess so [02:44:11] although I'd be surprised if any of them were fully automated [02:45:00] <[Hyarion]> A lot of them seem to require the reader to setup their own web server, etc. none of them seem to allow someone to package everything in a nice executable or anything unfortunately [02:46:12] Is it all right to change the $wgSitename? [02:46:24] <[Hyarion]> of course. [02:47:41] [Hyarion]: Although you may be interested in http://static.wikimedia.org/ [02:47:59] Sorry, http://static.wikipedia.org/ [02:50:03] <[Hyarion]> TheFearow, thanks, yea, I think dumping to html files is going to be the way to go, the trick is having features like Search without making the reader install Apache or something. [02:50:37] that doesnt have search, but its still pretty good [02:50:46] it has "go" [02:51:04] <[Hyarion]> yea, at least having Go is pretty good. [02:53:21] I am building a site for Starcraft II, and the majority of the site is simply a wiki. That part's easy. But another part of the site, people can post strategies, which I would like to be user-editable just like any other wiki page. So I thought I'd just have people create a page in the wiki entitled Strategy:bloof. Now, I'd like for people to be able to upload their replays to any strategy page, and others to see those replays in a list and so on. I'm a Ruby o [02:56:13] <[Hyarion]> is the question regarding uploading videos or inserting those videos into the Strategy page dynamically? [02:57:23] <[Hyarion]> TheFearow, any idea what Wikipedia uses to export to html? I see there is a mw2html python script. [02:58:25] [Hyarion]: Tim would probably be able to answer that, I dont know myself. [02:59:12] [Hyarion]: No, but how to add exrta stuff to a page, I guess [03:00:17] http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/dumpHTML/ [03:00:56] which uses maintenance/dumpHTML.php in MediaWiki [03:30:41] <[Hyarion]> TimStarling, awesome, thanks. [04:34:07] How do I add extra stuff to a page when it's presented to the user? [04:34:49] hi all, I'm trying to do http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu & I'm stuck at http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Configure_MediaWiki [04:36:05] I don't know what to do at http://server_ip_address/wiki , I've given http://127.0.0.1/wiki & it asks for opening a .phtml file dunno what to do there, can anybody help? [04:59:36] 03yurik * r27041 10/branches/ApiEdit_Vodafone/ (139 files in 9 dirs): Brought to sync with 27040 [05:00:44] is the tag not allowed in 1.10 anymore? [05:01:23] (I'm trying to recycle a template that worked in 1.5 into another wiki that runs 1.10, but I honestly don't really know what's changed from version to version) [05:03:06] oh, never mind, $wgAllowExternalImages doesn't have the same value on both [05:40:02] 03yurik * r27042 10/branches/ApiEdit_Vodafone/includes/EditPage.php: Re-arranged for cleaner code. No functional changes. Last update before merge with the trunk. [05:42:32] 03yurik * r27043 10/trunk/phase3/includes/EditPage.php: [05:42:32] Merged from apiedit_vodafone branch, r27042. [05:42:32] The functionality must not have changed - this commit separates the page editing into internalAttemptSave(), while leaving attemptSave() to handle web-UI only. [05:57:50] hi all, I'm trying to configure mediawiki but getting stuck at http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Configure_MediaWiki [05:58:11] phpinfo.php is showing up nicely at /var/www [05:58:21] doing it on ubuntu gutsy gibbon 7.10 [05:59:07] any help would be appreciated [06:14:18] 03aaron * r27044 10/trunk/extensions/FlaggedRevs/Language/FlaggedRevsPage.i18n.en.php: *Message tweak [06:26:31] can anybody help me with http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Configure_MediaWiki [06:26:56] I have come up at http://192.168.1.2/wiki/config/index.php & it has checked the environment but don't know how to proceed further [06:36:25] can somebody help me in configuring mediawiki, noob here :( [06:41:02] anyone here familiar with the API? [06:42:03] ?? [06:42:50] *Apollo listens to the crickets chirp... [06:43:50] Apollo: newbie here [06:44:13] yeah, I need someone who knows the API pretty well [06:44:16] :-\ [06:44:45] Apollo: noob here actually, can you help me setup mediawiki I'm at the config page don't know where to go from here. [06:55:24] ummm, I dunno man [06:55:34] did you follow the config page instructions? [06:55:51] some things on the server need to have their permissions set or something [06:57:54] Apollo: I did follow the instructions at http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu and am at #Configure_MediaWiki section [06:57:57] http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Configure_MediaWiki [06:58:58] Apollo: it checked the Environment & I posted the output at http://pastebin.ca/754781 , can you check it if everything is good or do I need to do something more ? [07:00:41] Apollo: I also installed xcache php5-xcache so no issues even there , dunno what to do at mysql stuff, noob here. [07:01:11] um, me too man [07:01:15] I'm a PHP developer [07:01:22] so I have server people do my server stuff [07:01:48] I can FTP and make things happen in PHP/MySQL, but you got me how to install stuff [07:01:57] re [07:02:12] sure, re? [07:02:23] FreeNom: what's re? [07:02:28] yep :) [07:02:35] reHi [07:03:03] FreeNom: any idea how to configure this mysql stuff, I've just no idea, if somebody can help me it would be cool. [07:03:21] i'm still a newbie :( [07:03:33] not much of help to anybody [07:03:40] what is the mysql question ? [07:03:51] or problem ? [07:04:04] and i'm using XAMPP package (no need to configure) [07:04:10] so far [07:04:49] fidel, do you know the api? [07:04:50] odb|fidel_: good, the thing is I'm a total noob as far as either mysql is concerned or mediawiki is concerned [07:05:16] I'm at http://192.168.1.2/wiki/config/index.php (mediawiki installed on my desktop/local computer) [07:05:25] odb|fidel_: I'm at http://192.168.1.2/wiki/config/index.php (mediawiki installed on my desktop/local computer) [07:05:48] shirish: and what is the problem ? [07:06:03] odb|fidel_: now I'm supposed to configure mediawiki , and right now at the Mysql thing & dunno what should go in there, [07:06:04] Apollo: i am just a mediawiki user. not a dev :D [07:06:19] dah, ok [07:06:22] :-) [07:06:32] you have to insert your mysql host, a privilged user and define the mysql tables to be used [07:06:36] odb|fidel_: http://pastebin.ca/754781 is the output, the Mysql section please & after it. [07:06:53] shirish: should be written everything in the config dialog itself [07:06:55] odb|fidel_: can you help me with what stuff goes in there, everything is local here [07:06:59] gimme a sec [07:07:41] host: localhost if mysql runs on that box [07:07:48] odb|fidel_: sure, if needed I can go step by step from Site Config section itself, you just check or tell me if anywhere I go wrong [07:08:11] odb|fidel_: right, it shows localhost there [07:08:19] sounds got, next step [07:08:39] database name...: how your mediawiki db should be named [07:08:42] odb|fidel_: database name shows as wikidb, this can be anything or it should be wikidb [07:08:52] can be named like you want [07:09:05] its just the definition onf the DB it creates afaik [07:09:22] so if you plan to run multplie wikis on that server, use a custom name [07:09:38] odb|fidel_: so a database is being created, right , no just a single one, but still would like a custom name [07:09:40] username: is the user mysql user for that table [07:09:54] so use a custom one [07:10:08] odb|fidel_: I'm guessing any name would do [07:10:19] yep [07:10:38] odb|fidel_: did that, now superuser account, what's that ? [07:11:04] should be for the wiki admin [07:11:22] if some lines later is a specific field for the mysql root accoutn definition [07:11:54] odb|fidel_: so this is different than the AdminUsername given above, right? [07:12:57] shirish: i am not 100% sure if mediawiki creates the mysql user itself, last time i installed mediawiki iwas forced to create the db & the db-user for the wiki in commandline / phpmyadmin . and then i started continuing with the configure-section [07:13:07] yeah [07:13:45] odb|fidel_: hmm... in that case how do i create the db & db-user for mysql [07:13:49] usualy: you can define a "admin-user for the wiki itself" and in addition you CAN define the mysql root user account later for the creation inside mysql (afaik) [07:14:03] in cli: connect to y create database WIKIDB_NAME; [07:14:21] grant create, select, insert, update, delete, lock tables on wikidb.* to 'wikiuser'@'localhost' identified by 'password'; [07:14:25] something like that. [07:14:38] odb|fidel_: gently my friend, you're talking to a noob [07:14:52] honestly the installation manual and the doc should answer that all in combination with the form itself [07:15:18] let's start at the very start, how do I connect to mysql ? [07:15:36] in cli: mysql -u root -p [07:15:53] password dialog should come up [07:16:01] and ask for the mysql root pw [07:16:48] did that, now I'm in the mysql prompt mysql > [07:16:56] propmt should change to a mysql prompt [07:17:04] odb|fidel_: it did :) [07:17:08] ok, now you can create a new db with this command [07:17:14] create database WIKIDB_NAME; [07:17:36] where WIKIDB_NANME is the name of the DB you specifiy in the config dialog later [07:17:44] odb|fidel_: the database name should be all caps ? [07:17:49] no [07:18:20] it was just to split basic mysql commands from your input :D [07:18:48] odb|fidel_: oh ok, otherwise anything goes, doesn't matter if its big or small letters, right? [07:19:01] in the next step you need to define a user, which has priv's for that mysql table created in the step before [07:19:11] shirish: shoulnt matter at all [07:19:20] ok back to the user & privs [07:19:21] odb|fidel_: ok did that, now for user [07:19:30] user & privileges [07:19:35] grant create, select, insert, update, delete, lock tables on wikidb.* to 'wikiuser'@'localhost' identified by 'password'; [07:19:49] that is what i have written in my docu those days :D [07:20:20] replace wikiuser by the name the user should be named [07:20:29] localhost is ok ,as the db is on the localhost [07:20:37] repalce password with the user new password [07:20:58] so you should have a user with several rights for the new DB [07:20:58] odb|fidel_: wikidb.* should be replaced also with the wikidb name I gave it? [07:21:23] YOURWIKIDB_NAME_DEFINED_BEFORE.* [07:21:31] afaik [07:21:47] shirish: its really some month ago i did that last time, so i am not 100% with all steps [07:22:01] if that worked [07:22:03] odb|fidel_: lol, good for both of us then [07:22:09] you have to flush mysql privs [07:22:21] via that command: flush privileges; [07:22:30] enter: exit [07:22:54] odb|fidel_: one sec, with password, do the 'password' the '' are needed or not ? [07:22:54] pre-mysql-part should be done and you shoulds be able to follow the instructions in the config dialog of your wiki [07:22:57] anyone here with any api experience yet? [07:23:07] i think so [07:23:15] shirish: [07:23:26] needed [07:24:16] now, check if you enter the same values in your browser - mediawiki-config [07:24:28] and continue [07:24:30] did that , flushed the privileges, ok going back to the browser [07:24:44] good luck now :D [07:25:08] odb|fidel_: sec. just a sec. [07:25:49] odb|fidel_: has anything to be done in MySQL options or nothing there? [07:26:40] define mysql options ? [07:27:00] you have to enter the username, password , host in the configure dialog now [07:27:32] Db prefix is optional [07:28:08] rest should be self-explaninig now in the form [07:28:19] oh ok, so didn't do anything there, I'm now getting errors when installing mediawiki [07:28:32] Warning: xcache_get() [function.xcache-get]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/wiki/includes/BagOStuff.php on line 580 [07:29:01] odb|fidel_: I installed/used php5-xcache , do just know it has something to do with caching. [07:29:24] i dont use caching [07:29:37] so no experience with that [07:29:52] google for the error message [07:29:57] odb|fidel_: why is caching used ? Any benefits [07:30:43] An object caching system such as memcached will provide a significant performance boost, but needs to be installed. [07:30:46] Provide the server addresses and ports in a comma-separated list. [07:30:52] how about reeading the informatiomn you post ? [07:30:58] its written there :D [07:32:50] my wikis are very small, about 5-10 users for each wiki. so i really dont care about a performance boost in this special case [07:33:24] odb|fidel_: I had no idea what its used for, but seemed important enough hence installed xcache [07:43:33] ugh... everything's registered. [07:43:55] i was wondering if someone could answer a quick question. [07:45:43] unfortunately, i'm a bit new to wiki editing and i read in the manual on wikipedia that [[November 1]], [[2007]] for example, would be converted to the user's prefered date style. is it possible to create a custom calendar and have it work the same way? [07:58:28] 03aaron * r27045 10/trunk/phase3/ (docs/hooks.txt includes/Article.php): *Add and document ArticleRollbackComplete hook. Lets FlaggedRevs be able to autoflag rollbacks when possible. [08:01:48] 03aaron * r27046 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage.php): [08:01:48] *Use ArticleRollbackComplete hook to flag after rollbacks when possible. This makes the current revision more likely to be flagged, which makes autoreviewing possible more often. [08:01:48] *Fix a few inappropriate function calls [08:10:02] how would i make a "variable" which - whenever used on wiki pages - is replaced with a word or words specified somewhere else. i guess it would be done with templates? [08:16:55] 03aaron * r27047 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: *Be sure not to duplicate effort [08:20:17] hello [08:25:27] 03rfrisar * r27048 10/branches/ApiEdit_Vodafone/ (. docs/hooks.txt includes/Article.php): [08:28:04] hi, nikerabbit [08:31:28] 03(NEW) Special:Browse crashes when used with Cyrillic characters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11812 04CRIT; high; MediaWiki extensions: Semantic MediaWiki; (some_777) [08:35:19] <_wooz> lo [08:41:39] is there alarms in mediawiki? [08:41:58] or a suitable extension [08:42:15] i'd need those [08:42:58] anybody? [08:43:28] *are [08:44:46] FreeNom, it's not in mediawiki but you can write [08:44:54] the extension [08:45:00] thanks ;) [08:45:12] np [08:45:33] nobody needed them so far? [08:45:53] ha. [08:46:13] there's an interesting bug in the infamous MediaWiki Restriction Patch [08:46:28] ( http://www.mediawiki.org/wiki/Page_restrictions_table ) [08:46:29] FreeNom, I've never seen such this extension. Check Category:Extesions [08:46:32] oops sorry wrong link [08:46:51] thanks Soroush (i will) [08:46:54] http://meta.wikimedia.org/wiki/Page_access_restriction_with_MediaWiki [08:47:06] actually reading extension matrix atm [08:47:37] it reads page permissions (well, restrictions) correctly because it invokes an accessor [08:47:48] morning [08:48:08] but it writes permissions (well, restrictions) directly into the old permissions field in 'page' [08:48:10] morning s0urce [08:49:45] so pages that were marked 'restricted' ("invisible" of sorts) before upgrading to 1.10.0 are stuck there forever, since 'page_restrictions' trumps 'page', gets initialized to what used to be in 'page', and never gets written to afterwards :-) [08:50:06] (...by the patched code) [08:50:20] 03rotem * r27049 10/trunk/phase3/languages/messages/MessagesHe.php: Several fixes. [08:50:23] crap. [08:50:33] I'm a MediaWiki hacker now then I guess. :-) [08:50:59] (you qualify if you've had to read about the evolution of the database schema, right?) [08:51:05] *Thib_ chuckles [08:51:23] hm... isnt there any config page (cms) to modify the menu, right and so on? [08:51:57] s0urce, menu??? [08:52:12] navigation f.e. [08:52:27] s0urce, go to mediawiki:Sidebar [08:52:36] how? [08:52:44] it is a page [08:52:54] side bar is a system message [08:52:57] add in adress line or open file on server? [08:53:27] !sidebar s0urce [08:53:32] !sidebar [08:53:32] To change links in navigation bar on the left, simply edit [[MediaWiki:Sidebar]] in * list style. More details on . [08:53:53] in list style? [08:54:06] yes. if you go there [08:54:13] you'll see what you shoul do [08:54:14] what is the style list [08:54:41] hmm. go to that page. go to http://mediawiki.org/wiki/Mediawiki:Sidebar [08:54:55] you'll find everything there [08:54:56] ah, i understand [08:55:07] but how can i setup an admin account? [08:55:32] s0urce, Is it your wiki? [08:55:50] ofc [08:55:56] have you installed it. It makes a sysop acount by default [08:56:06] and how is it? [08:56:22] i saw any admin checkbox at installing i think [08:56:23] it had asked you it [08:56:30] no [08:56:48] the first account is sysop and bureaucrat by default [08:56:51] ah, yes [08:57:01] i am logged in now :) [08:57:07] thx [08:57:20] you're welcome [08:58:09] can edit the tools and the tabs at the same way? [08:58:13] i* [09:02:18] s0urce,nope. you should skin for tools to add sth to them [09:02:36] and you should use javascript or skin for tabs [09:03:14] in wich file i can found it? btw. isnt there any manual wich tells me where i can found the part of the page? [09:03:35] part of the page??? [09:03:49] e.g. the tabs, toolbox [09:04:06] i just need to know the file [09:05:00] all of them are in /skins/monobook.php [09:05:11] but it is not the only way [09:05:25] you can hide toolbox via css [09:05:43] and add sth or hid sth from tabs using js [09:07:44] thx again [09:08:01] Nikerabbit, hi [09:10:26] s0urce, np [09:10:37] Nikerabbit, Please see: http://che.sharif.edu/~mesri/iranian-afghan-enhancement.txt [09:12:56] 03kim * r27050 10/trunk/extensions/Wikidata/OmegaWiki/ (4 files): Some amount of tidying/commenting, one bug removed from Copy.php [09:18:02] I'm getting this when trying to upload a image, creating a temp folder with 0777 permission doesn't work: Could not create directory "temp/c/c7" [09:18:21] 03rotem * r27051 10/trunk/phase3/includes/SpecialUpload.php: [09:18:21] Fixing a regression: UploadForm::internalProcessUpload returned nothing when [09:18:21] there was an internal upload error, and processUpload thought null was 0, i.e. [09:18:21] success, and redirected to the non-existant image page rather than showing the [09:18:21] error message. Also removing unused return values from processUpload. [09:18:54] hi all, I'm trying to configure mediawiki, I'm stuck up at http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Permit_Images_to_be_Uploaded [09:19:51] now while I did the changes, how to know if the changes have happened or not? [09:26:52] shirish: [09:27:02] how about just uploading a test image ? [09:27:18] odb|fidel_: hey, nice of you to be back :) [09:27:24] odb|fidel_: how would i go about it? [09:27:37] what exactly do you want to test ? [09:27:54] check if image upload is working ? [09:27:58] odb|fidel_: shouldn't there be a way to upload images, like there is in wikipedia [09:28:07] odb|fidel_: exactly, on the spot :) [09:28:10] check your sidebar [09:28:21] a in special pages -> upload or similar [09:28:50] there is upload files , yippy :) [09:28:53] in my german version the url is: "Spezial:hochladen" [09:29:00] so Special:Upload or similar [09:29:20] check those special pages in general if you are new to mediawiki [09:31:12] odb|fidel_: not unfamiliar to mediawiki in wikipedia, just new to doing the backend as well ;) [09:32:03] problem solved right now ? [09:33:45] odb|fidel_: yup problem solved, but another one rears its heads. This one would be more interesting I guess & slightly complex I think [09:35:34] odb|fidel_: care to play with this http://www.mediawiki.org/wiki/Manual:%24wgGroupPermissions [09:40:48] 03rotem * r27052 10/trunk/phase3/includes/ImagePage.php: Fixing display problem in image page in RTL wikis, when file name is LTR and is followed by the image size, by adding a direction mark. [09:41:28] odb|fidel_: this is just for kicks, just to see how the system responds, i.e. if you know how [09:48:49] 03rotem * r27053 10/trunk/phase3/includes/SpecialUpload.php: Removing a comment, throwing the exception after creating it. [10:18:18] hi guys [10:19:03] hi dpy [10:30:53] does anyone here happen to use kate? [10:35:14] 03raymond * r27054 10/trunk/ (4 files in 4 dirs): * Update German [10:35:54] abuse kate! [10:42:48] hmm [10:43:00] maintenance/update.php refuses action here :( [10:43:20] php maintenance/update.php [10:43:20] ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/var/www/mediawiki/phase3/maintenance/commandLine.inc', line 217) [10:44:33] 03(WONTFIX) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11763 +comment (10raimond.spekking) [10:44:49] oh it still works... I didn't RTFM [10:45:11] I had to change wikiadmin to wikiuser (which has admin rights here) [10:48:30] 03raymond * r27055 10/trunk/phase3/ (RELEASE-NOTES languages/messages/MessagesKa.php): * (bug 11783) Georgian message updates, Patch by Malafaya [10:48:49] 03(FIXED) Update to Georgian messages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11783 +comment (10raimond.spekking) [10:59:07] 03raymond * r27056 10/trunk/phase3/ (RELEASE-NOTES languages/messages/MessagesMl.php): * (bug 11798) Malayalam message updates, Patch by Sadik Khalid [10:59:35] 03(FIXED) i18n - Update for Malayalam language (ml) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11798 +comment (10raimond.spekking) [11:01:40] hi [11:02:20] what's this &$foo ? [11:02:26] pass by reference or something? [11:02:41] php4.. [11:05:09] this is only the second time I fiddle with php code [11:05:17] it looks like perl meets bash meets C++ [11:07:04] 03(mod) MediaWiki:Licenses/foo sometimes ignored when viewing Special: Upload&uselang=foo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11695 +comment (10thanhquang.nguyen) [11:16:22] ... maybe finally this channel is where to ask... i got a formating problem in wikitext with mediawiki [11:17:24] Using the initial spaces to generate a grey box, the text flows out of the box, no automatic line break is done, as the wiki does when using quotebox or simply writing... am i missing some parameter or was this feature just not designed for this? [11:20:43] hi phil, could you help a newbie with a wikitext fromating question? [11:26:46] another_guest_ni, then it's probably not what you need [11:28:30] i did hope it can be used to place more then one line of text inside a box, because it's easy to type... i could use a table, but the wikitext table formating is driving me insane [11:30:20] i need a captation line outside the box and text inside the box. just trying to align the captation left and the content of the box (in the next line) centered is driving me insane already... align=left for the table does cause the table to be aligned left, text floating atound it. align=left in the captation row does align it left, but destroys the captation, placing it inside a box. align=top-left does c [11:33:24] you might be better served in a html channel [11:34:33] oh, i can produce this table in html.... but having installed a wiki now, i am trying to do it in wikitext... that's one of the reasons i installed it for [11:35:36] Hi... Is it possible to add video content to mediawiki's articles? I want to upload the videos to the same server... [11:36:23] ok another_guest_ni now i understand. sorry i don't have an answer for you [11:37:18] JoKo: i guess the upload itself shoulndt be any problem. just define upload and file formats. in worst case skip the mime check. but i dont know how you can use them inside your wiki then [11:38:06] odb|fidel_, I was thinking to convert them to flash, but I have to find a way, I guess... [11:38:53] well, guess i will just use the good old table-tags... and wait until wikitext has something my confused brain might understand... this system of pipes sounds nice, but i am trying for half an hour now and it does not produce anything near what i want [11:40:09] JoKo> there can be media links, and you can use html to embed it, but something like "upload, convert to flash, show on page in a player" like youtube & co... should be a plugin / extension maybe, but not a standard feauture i came across... and i did read the manual yesterday [11:45:12] is there no quick and clean way to hide the toolbox menu? [11:52:50] s0urce: as a wiki user or as a wiki sysop? [11:53:00] sysop [11:53:48] hi all, can somebody help me with mediawiki & cpanel stuff ? New to the game [11:56:56] "#p-tb{display:none;}" seems to work [11:57:14] s0urce: yes that's a solution that will also work for users [11:57:16] is it a good way, or can this cause some errors [11:57:46] as a sysop there is probably a way for it to not even be in the html [11:57:52] 03raymond * r27057 10/trunk/phase3/ (5 files in 3 dirs): [11:57:52] * (bug 11809) Use formatNum() for more numbers [11:57:52] Based on a patch of Roozbeh Pournader [11:58:55] i am a little disappointed about mediawiki, i thought it got a better cms system at whole :/ [11:59:41] 03(FIXED) More numbers should use formatNum - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11809 +comment (10raimond.spekking) [12:00:34] s0urce: i think there is a saying "mediawiki is not a content management system" [12:01:44] i hab to decide to use our own cms kernal with our wiki module or using mediawiki, and i confident my fellows to use mediawiki, and so i have to do now all changes alone :% [12:01:54] and i really thought i dont need more as 30min [12:01:59] had* [12:02:41] hippietrail: can you help me with Group permissions? I have done this [12:02:42] $wgGroupPermissions['*']['createaccount'] = false; is this right? I just want the SysOps to have access to create accounts nobody else [12:03:02] $wgGroupPermissions['*']['createaccount'] = false; [12:03:10] so i got, and it works [12:03:20] looks like the same [12:04:24] s0urce: are you able to get accounts up, make more users if you sign up as WikiSysOp or no? [12:04:34] shirish: sorry i don't know permissions stuff. my wiki knowledge is limited to having 3 or 4 partially developed extensions for wiktionary [12:05:04] hippietrail: still much better than me, then I just started playing with it today morning only. [12:05:16] (-: [12:05:35] shirish: dont ask me such hard things, i installed it some hours ago and this was one of my first 3 commands wich worked :) [12:06:20] s0urce: great, that's simply great, same here, just got to know there is something called LocalSettings.php which has all the details the site needs. [12:06:27] but such information will be part of my new wiki :) [12:06:41] yes, so far i am [12:07:10] and i know there is a site wich got many funny variables wich u can set in localsettings [12:07:26] s0urce: have you tried creating more users to see if they can be created when you logged in as WikiSysOp ? [12:07:31] but i am really pissed of the description to this vars [12:07:43] how can i create users as sysop? [12:08:17] s0urce: that is what I wanna know, I dunno if the toggle is true, or false for $wgGroupPermissions['*']['createaccount'] = false; [12:08:32] but u cant create users if its true also [12:08:50] this is for everybody, what I want to set is create users which are said to be ok by the sysop group only. [12:09:29] i know what u mean, but there is no "create new user account" button, if u logged on as sysop [12:09:53] i think u have to add them to db manually [12:10:24] because, "its no cms system" ^^ [12:10:54] s0urce: drats, something I would really hate to do, but then how we can add people to wikipedia so easily. There has to be a way. [12:11:22] extension, or a simpel standalone script [12:11:25] dont know [12:11:52] look here : http://www.mediawiki.org/wiki/Extension:ConfirmAccount [12:12:36] s0urce: I'm able to make as many accounts as I want locally [12:13:17] yeah, but with this account u dont need to disable register, u get a email with all information prefilled, and just say yes or no [12:13:21] easy way i think [12:15:27] ugah [12:16:39] s0urce: damn, I'm at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ConfirmAccount/ and there are 4 files, are all 4 needed ? [12:16:52] s0urce: except archives, of course [12:17:06] s0urce: sorry not 4 but 5. [12:17:07] 03(mod) MediaWiki:Licenses/foo sometimes ignored when viewing Special: Upload&uselang=foo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11695 +comment (10vinhtantran) [12:17:20] erm [12:17:49] i think so [12:18:28] s0urce: how do I download the svn files, I would have to checkout the whole extensions or is there a way to checkout just this particular extension/directory as such [12:19:10] this i try my self atm [12:19:20] i dont wanna at them to my svn workspace [12:19:47] s0urce: are you building/compiling wikimedia from source ? [12:20:09] .o0(compiling?) [12:20:10] erm? s0urce? [12:20:15] its php [12:20:20] what i should compile [12:22:16] ok, i got enough of this s... for the moment, i go smoke one, afk [12:23:13] cool, doing stuff here [12:23:38] most of mediawiki is in php which, being an interpreted language, is not compiled [12:26:18] hippietrail: aha, good to know that [12:26:33] :) [12:27:15] shirish: basically that means that if you have mediawiki installed to run then you already have the source [12:27:33] hippietrail: I'm trying to do svn co http://svn.wikimedia.org/svnroot/mediawiki/extensions/ extensions but it isn't happening, its saying the url doesn't exist [12:27:54] hippietrail: Its always nice to learn something new everyday [12:28:02] yeah [12:28:08] shirish: i'm not an svn expert. i have to read docs or google every time [12:28:22] like a new day ;) [12:28:54] hippietrail: FreeNom: either of you guys know, I'm using the documentation given at http://www.mediawiki.org/wiki/Subversion as a guideline but it still isn't working [12:29:18] i don't know about it [12:30:17] shirish: one thing to note is that there are two extensions directories. one is an empty placeholder for where to install extensions on a running mediwiki. the other is the svn repositry [12:31:17] meaning you have to checkout from the repository into your empty extensions directory [12:32:38] hippietrail: right, I just wanna checkout the repository from there to my desktop where a folder named extensions will happen as it downloads stuff. [12:33:04] hippietrail: and then mv stuff locally so I can play with it. [12:34:37] shirish: this is from my bash history: svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/BotQuery [12:35:56] hippietrail: surprisingly that worked :) [12:36:03] :) [12:36:34] \o/ [12:36:37] "community is the power" [12:37:05] and "sharing is caring" [12:37:16] once again [12:41:44] hmm... can you have something like {{template1|{{template2|a}}{{template2|b}}}} etc.? [12:44:54] i keep getting error about sql [12:47:06] Checking environment... [12:47:07] Please include all of the lines below when reporting installation problems. [12:47:07] PHP 5.2.4 installed Could not find a suitable database driver! [12:47:07] For MySQL, compile PHP using --with-mysql, or install the mysql.so module [12:47:07] For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module [12:47:12] i get the error above [12:47:14] please help [12:48:06] tejas: you don't understand the message above? [12:48:15] For MySQL, compile PHP using --with-mysql, or install the mysql.so module [12:48:26] no i m just wondering why i get the above message [12:48:34] i have mysql working on the webserver [12:48:54] tejas: but probably not the mysql for php module [12:49:07] tejas: which is what it tells you [12:49:08] tejas: which os are you using? [12:49:17] operating system. [12:49:32] yeh i do because i have mantis bug tracking software running on the same server [12:49:35] using windows 2003 [12:50:40] argh. [12:50:50] tejas: can't help on that. [12:51:56] is Parser::makeImage not called when you change the options for an image ? [12:55:11] dpy: i would expect it to be called whenever the page is rerendered. i.e. for any edit. [12:55:31] hmm [12:55:39] I made an error myself [12:55:54] debug.log is owned by www, but lighty is still running as nobody [12:56:53] guys I'm trying to get an extension working locally, the extension is Confirm Account , the wiki page for the extension http://www.mediawiki.org/wiki/Extension:ConfirmAccount [12:57:44] now as far as the page is concerned, after downloading from the subversion it says to run the sql query, [12:57:44] Run the SQL query, substituting in your wiki's table prefix. ConfirmAccount.pg.sql is for PostgreSQL, and ConfirmAccount.sql is for MySQL. [12:58:11] now how do I do that? Noob as far as sql queries is concerned, I do have mysql installed that much I know [12:58:39] wich sql u use? [12:58:57] s0urce: mysql is installed & used for mediawiki [12:59:03] wich [12:59:07] xampp? or what [12:59:19] linux windows? [12:59:34] s0urce: oh ok, GNU/Linux on ubuntu [12:59:49] is there a phpmyadmin installed? [13:01:24] oh no [13:01:45] if not, go to console and write: mysql -u -p < ConfirmAccount.sql [13:01:47] I get the dreaded "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in." [13:02:24] ie or ff? [13:02:27] ugga [13:02:28] s0urce: ff [13:02:41] not u shirish ;) [13:02:50] I'm in ff [13:02:59] I only restarted lighty [13:03:03] hang on telephone [13:03:24] mb its a cookie problem, but dont think so [13:04:19] hey i keep getting sql error when trying to install mediawiki [13:04:30] some1 please help if possible [13:04:51] cause you use mssql instead of mysql? [13:05:40] no [13:06:04] s0urce: I restarted ff, no luck :/ [13:06:06] i get the message PHP 5.2.4 installed Could not find a suitable database driver! [13:06:25] u use win2003? [13:06:35] dpy: tryed another browser? [13:06:36] yeh win server 2003 [13:06:52] s0urce: it worked in the same browser 10 minutes ago [13:07:03] and then windows exe of mysql server? [13:07:19] ok dpy, then i dont know :) [13:07:35] For MySQL, compile PHP using --with-mysql, or install the mysql.so module [13:07:59] of, 1 thing, u opend 2 window withn it? this can cause session errors @ dpy [13:08:23] tejas: senseless to repeat the message [13:08:38] if u wanna use php and mysql u have to setup it right [13:08:46] use xampp if u r noob at this [13:08:52] or try @ #windows [13:08:55] why isn'r roan here :( [13:08:58] i've created wikidb aswell [13:10:20] s0urce: where is the session data stored? [13:11:24] s0urce: sorry for that, some family members playing a prank on me. [13:13:01] s0urce: ;) [13:16:12] s0urce: you there buddy? [13:16:44] im here if u help!! [13:18:17] tejas: I'm a noob too, don't know how much can I help, but I can try [13:18:40] s0urce: problem solved, I had to manually remove the cookie from firefox [13:18:53] s0urce: weird that mediawiki couldn't remove it [13:24:47] Hi there. How do I delete a user? [13:25:57] usually you can't [13:29:21] hoi there! anyone around that has installed polyglot? i did copy the extension file, include it in local_settings, set the variables for it... but nothing has happened. [13:30:25] Thanks rabbit. [13:34:04] ahhhh! had to create the page myself adding /languagetag by hand... is there a way to automatically do empty pages in the specified languages, once one is written in the main language? [13:34:25] 03(mod) Install DidYouMean extension on the English Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11794 +shell (10raimond.spekking) [13:35:25] hmpf.... [13:35:56] what would i have to install to get real multi-language support like wikipedia? page titles are kind of stupid now... [13:36:51] orkz: wikipedia has no real multi-language support. it has manual created "interlanguage"-links between separate wikis [13:37:11] !family [13:37:14] hm? [13:37:18] @search family [13:37:18] Results: [farm] [13:37:28] !farm | orkz [13:37:28] orkz : To run multiple wikis, you do not need anything more than to run one wiki. You simply install them in different folders, and if possible using seperate databases. If you only have one database, simply use a different table prefix. For more advanced setups, see [13:37:38] !family alias farm [13:37:38] Successfully added alias: family [13:37:40] omg, this join/quit flooder again [13:37:50] ... [13:38:18] orkz: there are also multilingual wikis, like wikimedia.org or commons.wikimedia.org - they mainly use naming conventions and templates. [13:38:20] lol again XD [13:38:22] i am running a bilangual site... german and english and i want to have all pages created in english also to be available for german and the other way round. [13:38:43] and i would love inter-language links between real pages, named in that language, not basename/language [13:38:54] do i realy have to run multiple wikis for that? [13:39:00] JeLuF, could you ban him ;) [13:39:01] orkz: well, *createing* pages is your job. what would empty pages be good for? it would only be harder to find them (links to missing pages are red, which is good) [13:39:33] ok, but what about page names? [13:39:56] orkz: you can use polyglot et.al. to make a multilingual wiki - it works well enough, but it's a hack, so it's not perfect. one problem with polyglot is: no localized page titles (and don't try to use redirects for that). [13:40:10] it does look kind of stupid if you call the "Overview/de" page instead of "Übersicht" and nobody would be able to find anything using the german search? [13:40:23] orkz: i don't know of a good solution for that - otherwise i would have used it when i wrote polyglot :) [13:40:41] jup. exactly my complain. i did install polyglot / language selector... works fine, once i created the page, but names look silly :( [13:40:50] i keep getting error about sql, can any1 help please? [13:41:10] how do pages like wikipedia handle this? does every other-language-article have to be linked by hand? [13:41:26] yes,m by hand [13:41:39] must of the things that seem magic on wikipedia are simply a lot of people doing a lot of stuff [13:41:42] thats.... kind of stupid. [13:41:56] there is no way to automatie it [13:42:01] not even in theory. [13:42:05] well, guess i will have to use polyglot then. it works well enough :) [13:42:57] you could auto-add a link bar with the available languages, displaying non written pages red. A user clicks on his language for an article, is promted to enter a name and can write the page...? [13:43:26] what, for your site, or for wikipedia? [13:43:34] !ops ihwkge [13:43:34] You don't have permission to do that. [13:43:37] for your site, using poliyglot: yes, would be possible, if you write it [13:43:40] he's gonna attack [13:43:42] all pages on a (en, de, swe) wiki would have a "other languages" bar then, by default containing red links to the other two languages on creation... [13:44:03] for wikipedia: there are more than 100 languages, and you have to log in for each wiki, and direct translation often does not make sense. [13:44:04] so, no. [13:44:07] multiple random nicks logged, no message history, only quits logged are excess floods [13:44:15] youve been warned [13:44:20] yeah, that kind of sucks with a lot of languages. [13:44:38] troubled: talk to freenode ops, perhaps [13:44:51] troubled, nope [13:44:57] kloeri: heya [13:45:01] thats just a guy with bad irc client ;) [13:45:02] what's the issue? [13:45:03] hiya [13:45:15] it should just be one line of code to always display the available languages with your extension... i guess even i could do that. [13:45:33] but how would the "add your language page title here" part work? [13:45:54] orkz: sure, go ahead. post a patch on the talk page on wikimedia.org if you like [13:45:56] should we take this into a query, or are you short on time, right now? [13:46:23] no time for details... fiddle with it. actually, i have no idea how the "enter page name" thing would work. but you don't need it for polyglot anyway [13:46:32] polyglot has a fixed naming scheme [13:46:36] jup [13:46:50] so it would be something different to be written all together. [13:47:01] but displaying all languages, instead of only existing ones, would be no problem [13:47:15] well, i will go and try to fix it my way... where can i sugest new things / extensions? [13:47:18] if you want localized page titles, yes, the machnism has to be different [13:47:34] i would guess about 50% would be like polyglot, and 50% would be totally different [13:47:41] i can't think of a really good way off hand. [13:47:56] Hello [13:47:56] you would have to store the other names somewhere for each language... [13:48:12] well, i will think about it and post the idea... somewhere? [13:48:15] orkz: "somewhere" is always bad. and you have to have a way to maintain them. [13:48:45] orkz: suggestions about polyglot are welcome at http://www.mediawiki.org/wiki/Extension_talk:Polyglot [13:48:49] well, i could add my tweaked lines of code to the discussion page for polyglot? but i got no idea were to discuss my new idea? [13:49:08] i don't think there's a central place for "wanted extensions" - pages like that tend to fill up with trash quickly [13:50:04] orkz: use the polyglot talk paghe for now - it can always be moved somewhere els [13:50:10] then i open a new extension page, add a description and a help wanted sign and wait for a century or two until someone able browses the page? [13:50:16] ok, thanks [13:50:25] see you there i guess [13:50:28] Is it possible to get rendered content of a page from a special page extension in order to include it in body ? [13:51:04] Telemac: not sure what you're asking but check out action=render [13:51:17] Telemac: action=render gives you the rendered version of a page. not sure what you mean by including it in body. [13:51:35] Telemac: or you simply want templates (inclusion in other wiki pages) [13:51:58] i have used ajax to "include" action=render output into a preferences page [13:52:50] Duesentrieb: I'd like to be able to get with php code (as variable) the rendered content of a wiki page [13:53:44] Telemac: inside mediawiki, or in another php app? *any* wiki page, or would a system message be sufficient? what do you need this for? [13:54:34] Duesentrieb: Within special page extension code [13:54:48] Telemac: to do what? [13:55:01] Düsentrieb> for the display of the pages, i would have to modify language selector extension, not polyglot... [13:55:02] ? [13:55:27] orkz: hm.... no. [13:55:41] orkz: they both display a selection of languages. but do different things [13:56:01] orkz: one selects for the entire site, permanently. the other selects just the page to show [13:56:16] Duesentrieb: To include this rendered content in my special page [13:57:15] Telemac: wit ha system message (MediaWiki namespace) it would be simple. [13:57:35] for *any* page, i don't quite know how to do it (if you don't want to parse the text every time). [13:57:39] ..... [13:57:58] basically, you'd have to look how the normal article page class does it [13:58:02] language selector was the one choosing a languaged depending on client language... or user language, etc. [13:58:13] and polyglot was the one managing the name extensions. [13:58:20] something check the parser cache, and uses it if appropriate. otherwise, it updates it by reparsing the wiki text. but i don't know where this happens [13:58:37] orkz: yes. [13:59:10] orkz: look here: http://brightbyte.de/page/BrightByte [13:59:26] orkz: there's a language choice at the left, in a box, and one at the top right. [13:59:32] they do different things. [13:59:39] anyway, gtg [13:59:40] bbl [14:01:33] Duesentrieb: I got it [14:01:40] Duesentrieb: I need to write DiaHandler [14:02:11] and stuff it in AutoLoader.php, associate the mimetype in DefaultSettings.php [14:02:24] hi all, I've been trying to do mysql -u -p < ConfirmAccount.sql but haven't been able to get through, what could be the issue ? [14:03:03] this way you can make a handler for just about anything [14:03:12] I did replace -u with the user shirish -p with the password I have set , the db name of the wiki with the name but still not getting anywhere, any ideas anybody ? [14:03:22] probably SVG.php can work as an example yes [14:12:51] what should i do with this message:PHP 5.2.4 installed Could not find a suitable database driver! [14:12:51] For MySQL, compile PHP using --with-mysql, or install the mysql.so module [14:13:07] dpy: it would be cool if you would put your handlers on mediawiki.org, as an extension [14:13:55] dpy: this kind of extension is pretty new, so i'm afraid we don't have the proper categories etc set up for it yet... just put up all the info you have, link the code, and drop me a line on my account there. [14:14:14] Duesentrieb> where in those extensions is the choice made, not to create a link, if the page is not existant? i don't seem to find the right line [14:14:32] orkz: i don't remember :) [14:14:57] please please please HELP [14:16:54] orkz: ah.. it's a bit hackish. in wfPolyglotParserAfterTidy, it builds the list of pseudo-interlanguage-links ($fakelinks) - this is probably where you want to look. In wfPolyglotSkinTemplateOutputPageBeforeExec, it replaces the fake links with the real, internal links. [14:17:12] orkz: the hackishnes is because i abuse the interlanguage-link machanism, which assumes links to other wikis. [14:17:58] I found out how to hide the page title in Main Page, but how do I hide the tagline? [14:19:15] is this where it does add the languages one by one, if existant: if ( $ns >= 0 && !in_array($ns, $wfPolyglotExcemptNamespaces ??? [14:22:47] *orkz scratches head and goes to get more coffee [14:31:35] if (!$title->exists() && strlen($n)>1 && preg_match('!/$!', $n)) { [14:32:18] i thought this could be where the existance is checked... but no... if i // it out, it all works, perfectly well. lol [14:35:48] and another try and another... argh. [14:36:15] duesentrieb > can't you please have a look? It should just be one chek for the existance to be deleted, but i don't seem to find it :( [14:39:49] orkz: hm... sorry for confusing you earlier. how does this sound: wfPolyglotGetLanguages( $title ) [14:40:03] orkz: just remove the check: if ($t->exists()) [14:43:16] argh! i am such a stupid ork... [14:43:37] i already tried that... but i commented it out with //... not just the if clause, but the whole line. [14:43:41] *orkz bangs head to wall [14:43:45] :P [14:45:53] languages are displayed blue now, even if non-existant, but they are displayed [14:45:59] how do we add red color? [14:47:24] orkz: the class is set by 'class' => 'interwiki-' . $lang in wfPolyglotSkinTemplateOutputPageBeforeExec [14:47:26] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11763 (10malafaya) [14:47:46] orkz: you'd have to check $nt->exists() and add the class for "red links" in case it doesn't. [14:48:25] hm... why did i make the class depend on the language? no idea :) [14:50:32] what do i have to enter instead of interwiki- to color it red? [14:51:09] orkz: i donÄt know, look at some red link and see what class it uses [14:51:33] orkz: also, i would *add* the class, not replace. you can apply multiple classes by separating them with a space. [14:53:56] i was thinking like this: if($nt->exists() {'class' => 'interwiki-' . $lang,} else {'class' => 'interwiki-' . $lang,} [14:54:26] the last one would have to be set to something different then interwiki to color it red. i got no idea where to look up this class. [14:55:32] that'S not valud php syntax. [14:55:39] and again: look at an EXAMPLE! [14:55:47] any red link will do. [14:55:50] look at the HTML source [14:57:01] class would be "new" [14:57:34] do you guys know if i can use the wikimedia system for commercial purposes? [14:57:42] bango, yes [14:57:55] it is under the GNU General Public License and free software [14:58:46] see the conditions of the GPL: http://www.gnu.org/licenses/#GPL [14:58:48] so could i build a wikimedia based homepage and place e.g. google ads on it? [14:59:01] mediawiki != wikimedia [14:59:31] mediawiki [14:59:53] Yes, you could do so, I think [15:00:08] thanks [15:00:13] ur sure? [15:00:58] wikia.com is advertising too, and they also use mediawiki [15:01:46] there is a difference between using the software itself for commercial purpose like selling it on a cd and the use of the software for commercial application, like a professional website, intranet, etc. [15:02:03] i see [15:02:39] i don't see any porblems with the later form of use, as long as no violation of the license occurs. simple use on a commercial website should be ok [15:02:52] so if i wanna build a startup enterprise which is based on user generated content, do you think media wiki is a good software to use? [15:03:10] orkz: but isnt using mediawiki i.e. as internal documentation software inside a company still in the legal part ? [15:04:05] its not an internal affair, its about creating somethinh similar to wikipedia but with ads [15:04:25] good luck... [15:04:37] All textual content of the site MediaWiki.org is released under the GNU Free Documentation License (GFDL), except for pages that explicitly state that their contents are in the public domain. See Project:Copyrights for full details. [15:04:58] this is on the mediawiki.org site. so they have to explicitly state the nature / license of the things contained in the wiki [15:05:05] Ok, now I got a question myself, about Special:Watchlist: If the watched article is moved, protected or deleted, that change isn't visible in the Watchlist - however I think it would be a good idea to let the user know when his article is modified, not only when it's an ordinary edit, but also when it is deleted or moved. Would that be an idea for a feature request? [15:05:30] i guess as long as you just use the wiki and use another license model for the content, ther should be no prolem? [15:06:02] but... i am not an international license law specialist.... [15:06:19] there's no problem using mediawiki for any kind of commercial _content_ [15:06:30] you only run into problems when you want to modify the mediawiki software itself, e.g. create a proprietary extension [15:06:46] i was just thinking along the lines, that usinf OpenOffice at work is legal, and selling things you did create with it is legal too, you just come into trouble, if you alter OpenOffice itself and try to sell it as yours [15:07:05] you can create proprietary extensions all you want as long as you don't distribute them [15:07:50] duesentrieb > what would i have to add, to make non-existan page lineks red (class="new")? [15:08:03] orkz: effectively, yes. [15:08:43] orkz: if (!$nt->exists()) $language_urls[]['class'] .= ' new'; [15:08:57] err, no, not quite, sorry [15:09:27] yeah, they are already added up to an array. [15:09:42] yes [15:09:42] orkz: make a $tmp to hold the new array, then add to $tmp['class'] if appropriate, then append $tmp to $language_urls[] [15:11:27] so just copy the whole array-making part... [15:11:36] and add them with + later? [15:11:45] (sorry, used to other languages then php) [15:14:22] 03(NEW) linkTrail in Persian (fa) uses English value - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11813 normal; normal; MediaWiki: Internationalization; (roozbeh) [15:18:21] 03(NEW) Empty named tag doesn't work. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11814 normal; normal; MediaWiki: Templates; (aaj) [15:18:43] 03(mod) linkTrail in Persian (fa) uses English value - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11813 +comment (10roozbeh) [15:20:07] 03(mod) Empty named tag doesn't work. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11814 (10aaj) [15:20:32] and there is one more thing to be done: it does add the /language to ALL links. So if the main page is english, and languages are english and german, you will find links to mainpage/en and mainpage /de... the mainpage/en not existing, because it is named /mainpage only [15:23:54] duesentrieb > i added what has to be done to perform the changes (and why) and what is left to be coded to the talk page of the extension. [15:24:17] i guess i am unable to do it, but i would appreciate if you would solve when you got time to spare. [15:26:34] see you later, got to go [15:31:08] hi [15:33:06] Nikerabbit [15:39:38] does templates=expand expand parser functions or only templates? [15:40:20] try it [15:49:44] Can I pass {{template}} calls in parameters to other templates? [15:49:57] Nikerabbit have time? [15:50:05] In other words, can I do {{template1|{{template2|a}} {{template2|b}}}}? [15:53:25] cctoide: You should be able to. [15:54:10] Try it and if you can "yes", otherwise "no". [15:56:09] okay, thanks [15:56:15] except that nested | messes up the template syntax [15:56:26] which is why the ugly {{!}} workaround exists [15:56:33] no idea how that would behave in this context [15:58:16] Duesentrieb: good point [16:00:05] Hm, | doesn't seem to break anything if it's inside a nested template call [16:00:15] at first try, that is [16:00:48] 03rotem * r27058 10/trunk/phase3/includes/EditPage.php: Fixing a variable name, and a PHP warning. [16:01:13] cctoide, the problem usually happens not when you call a template, but where you define it [16:01:28] Oh... I'm only nesting in the template call, though [16:01:34] If you haven't experienced it I can give an example. [16:01:46] I've seen {{!}} used on en-wp templates [16:02:02] It's a multi-pointer map overlay [16:02:08] (my template) [16:02:47] I guess, you can learn the usage of {{!}} easily from En WP templates, and when you achieve it, you can fix any such problem with your template. [16:02:59] btw, I have some spare time, and can have a look at your tempalte [16:15:40] Hojjat: sure [16:16:08] Nikerabbit: well soroush made some changes to the code while I was busy with my exam. [16:16:30] It enables having two different sets of names for the months (because the names given to the months is differnt in Iran and outside Iran) [16:16:55] I guess I can review it and send it to you by Friday [16:16:56] hi [16:17:29] Nikerabbit: any thing I could be missing? [16:17:34] Sundance_Raphael: hi [16:18:53] 03(FIXED) Show form under "edit" tab - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11736 +comment (10yaron57) [16:20:32] Hojjat: ping [16:20:36] 03(FIXED) Form fails for mandatory fields in multiple-instance templates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11755 +comment (10yaron57) [16:21:33] roozbeh:png [16:21:35] pong [16:21:37] hi there man [16:21:43] hi. [16:22:10] i am heavily working on upstreaming some patches i made to MediaWiki for a client. [16:22:12] If I configure SVN to get all http://svn.wikimedia.org/svnroot/mediawiki, how much space would it take? [16:22:37] i was wondering if you can help in upstreaming ones related to MessagesFa.php, so I don't need to file bugs. [16:23:04] roozbeh, I will. I'm checking what you recently sent about the linktrails [16:23:10] I'll commit it afterwar [16:23:11] ds [16:23:21] and for future cases, I would be glad to help :) [16:23:30] hey, i've got a quick question .. I'm trying to change the "log out" text to somethign else, do any of you have an idea of how to do that? [16:23:51] Snowolf: I guess it will be arround 100 MB [16:24:12] Snowolf: http://svn.wikimedia.org/svnroot/mediawiki/trunk are 267 MB. [16:24:33] Snowolf: http://svn.wikimedia.org/svnroot/mediawiki a lot more with all branches and tags... [16:24:39] ok, thx [16:24:41] *Hojjat made a bad guess [16:28:50] figured it out -- just had to edit /languages/MessagesEn.php [16:29:18] Hi. I've a problem uploading odt files to mediawiki. I add pdf and odt formats to wgFileExtensions on LocalSettings.php but only works with pdf files. I can't upload odt [16:34:32] I have updated mime.types and mime.info but somehow my files are still not recognised as: application/x-dia-diagram when I browse them [16:36:37] has anyone seen TimStarling ? I bet he'll know [16:47:24] 03(NEW) Persian localization: skin names not translated - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11815 normal; normal; MediaWiki: Internationalization; (roozbeh) [16:48:25] ah [16:48:30] it only works for new files [16:49:45] 03(NEW) alternative thumbnail not possible - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11816 15enhancement; normal; MediaWiki: Images; (san.jose.wiki) [16:56:23] 03(mod) alternative thumbnail not possible - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11816 15enhancement->normal (10raimond.spekking) [17:09:45] 03(NEW) Update for Cantonese language (yue) #60, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese localisation (zho series) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11817 15enhancement; normal; MediaWiki: Internationalization; (shinjiman) [17:29:42] 03river * r27059 10/trunk/tools/toolserver-sso/web/WEB-INF/classes/i18n.properties: missing langselect.lang.nl for English [17:31:58] anyone here familiar with the api? [17:32:55] anyone able to shoot me a little api help? [17:33:52] somewhat, Apollo [17:34:09] learning anyhow [17:34:14] ok, well [17:34:23] I'd like to take a string, and then search for it [17:34:35] like the search currently works when you're at the wiki [17:34:42] hmm [17:34:46] but the api doesn't seem to have a search functionality [17:34:53] it says it does, but I can't get it to work [17:34:59] you mean in the web api, or the php api, server-side [17:35:08] the REST api [17:35:14] ok [17:35:15] that sits around and lets me call it [17:35:25] I'm not familiar with the search bit [17:35:41] it has something that is list=search [17:35:44] I've been looking at pages the user already knows [17:35:55] hmmm [17:36:06] and it says it does a full text search [17:36:10] and you can specify title [17:36:19] or text [17:36:21] to search through [17:36:29] but it doesn't return anything [17:36:44] well, I suppose, assuming nobody else pipes in, let's look at the code [17:37:04] which version are you running? [17:37:17] or which wiki are you talking to? [17:37:18] the latest, what is it, 1.11? [17:37:24] not sure [17:37:31] I mean, I'm using wikipedia to test [17:37:34] but I also [17:37:39] have an install of my own api [17:37:42] of the latest version [17:37:47] and it also does not search [17:37:53] hmmm [17:38:11] lemme see [17:38:24] 03(NEW) Language name fix for Inuktitut - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11818 minor; normal; Wikimedia: Interwiki links; (thogol) [17:41:17] ocho, brb, phone, let me know if you [17:41:21] find anything [17:41:30] k apollo [17:42:35] 03(mod) Language name fix for Inuktitut - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11818 +comment (10thogol) [17:46:14] apollo, I could be wrong, but I think that most of the interesting stuff in API work is still going on on the apiedit branch [17:46:46] roozbeh: are you still there? [17:47:20] 03(mod) Language name fix for Inuktitut - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11818 (10shinjiman) [17:48:45] 03raymond * r27060 10/trunk/phase3/ (RELEASE-NOTES languages/Names.php): * (bug 11818) fix language name for Inuktitut [17:50:02] 03(FIXED) Language name fix for Inuktitut - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11818 +comment (10raimond.spekking) [17:52:00] 03raymond * r27061 10/trunk/phase3/languages/messages/ (4 files): [17:52:00] * (bug 11817) Update Chinese translations [17:52:00] Patch by Shinjiman [17:52:10] 03(FIXED) Update for Cantonese language (yue) #60, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese localisation (zho series) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11817 +comment (10raimond.spekking) [17:54:04] ocho, the apiedit branch? [17:58:56] wow. [17:59:28] a article instance with doEdit called on the commanline results in a core dump. [17:59:33] thats weird. [18:01:44] erm. results in a segmentation fault. [18:02:33] 03raymond * r27062 10/trunk/phase3/languages/messages/MessagesYue.php: fix typo [18:29:57] anyone around with some api experience? [18:36:09] 03(mod) Long titles cause incorrect display in RC->IRC feeds - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4253 +comment (10nospam) [18:43:13] ...still looking for some API help if anyone knows about the API... [18:51:28] 03huji * r27063 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding linkTrail support for Persian. [18:52:12] hmm where's vyznew [18:57:41] 03(FIXED) linkTrail in Persian (fa) uses English value - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11813 +comment (10huji.huji) [19:01:13] api help, anyone? [19:02:15] I'm not that good, but I may help [19:05:18] weeeeeeeeeeeeell, it's kinda complicated [19:05:23] and by kinda complicated [19:05:31] 03huji * r27064 10/trunk/phase3/languages/messages/MessagesFa.php: *Fixing untranslated skin names for Persian. [19:05:33] I mean that list=search doesn't work on any apis [19:05:48] very irksome [19:07:21] apollo, if it really is that complicated, I think I'm not a good person to answer it [19:08:42] yeah, I'm just secretly hoping a dev is lurking around somewhere [19:09:30] well Apollo, I'm a dev too, but not every dev is a geek in every aspect of MediaWiki [19:10:05] good point :-) [19:10:26] then I definitely need a an api dev geek [19:10:37] *an [19:11:38] search with the api would be so awesome, it just kills me that it's broken :-( [19:11:59] 03(FIXED) Persian localization: skin names not translated - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11815 +comment (10huji.huji) [19:12:51] 14(DUP) Need more appropriate link trail for Farsi language - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10130 +comment (10huji.huji) [19:12:56] 03(mod) linkTrail in Persian (fa) uses English value - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11813 (10huji.huji) [19:13:01] Raymond_ is that last one right? [19:13:10] I mean the (DUP) one [19:13:38] Hojjat: thats fine [19:13:48] thanks for your notice. :) [19:19:52] I'm guessing there's a size limit that can be set on Special:Import [19:21:19] if I were to resqest a site to change this, anyone know what file I need to request be changed? [19:22:01] NedScott: why do you guess there is a size limit? afaik there's a limit for export, but not for import (could be wrong though) [19:23:10] "Upload of import file failed; perhaps the file is bigger than the allowed upload size." [19:23:32] I get this from a Wikia wiki I'm on [19:23:37] NedScott: ah - that would be a limit for all uploads or post requests, not specific to import [19:23:42] that would be in php.ini [19:23:49] hmmm [19:23:51] thanks [19:24:10] actually, this is not even specific to mediawiki. it's a php setting [19:25:24] ah [19:28:38] poks [19:28:39] NedScott: well... how large was the file you where trying to upload? [19:28:53] typical values for the upload limit are between 2 and 20 MB [19:31:05] one was 13 MB [19:31:13] another was 4 [19:32:00] in theory, I'd have to do some as large as 70 MB [19:32:06] err, not in theory [19:33:08] NedScott: ask them to import for you [19:33:43] NedScott: this is going to time out anyway, http is not going to like the long wait it will take to process that [19:34:05] NedScott: anyway - from where are you importing [19:34:14] Wikipedia [19:34:51] NedScott: current revisions, or all revisions of each page? [19:34:55] all [19:35:33] NedScott: make sure to follow the terms of the GFDL [19:36:06] also... this is a thing that kind of sucks about transfering page history this way: all the contributor links go to non-existing user pages on your wiki. [19:36:24] which makes them kind of worthless, unless it's made very clear that they refer to users on wikipedia. [19:36:31] aye, all contribs have "-en-wikipedia" added to them [19:36:32] and impersonation might also be an issue [19:36:40] oh, that'S neat :) [19:36:47] i always thought transwiki import was a stupid idea [19:36:52] or at least, a good idea that doesn't work properly [19:37:14] flyingparchment: with sso, it at last will work, at least within wikimedia [19:37:19] nod [19:37:30] NedScott: you stick a "this is GFDL, from wikipedia" notice on all the pages you imported? [19:37:48] hi all [19:37:55] well, i guess the athor's attribution is the most important bit, and you seem to have that covered pretty well [20:01:25] brion-office: If you aren't busy would it be possible to clarify what is meant by your comment to http://bugzilla.wikimedia.org/show_bug.cgi?id=8537 ? [20:02:37] back again looking for a dev with some api knowledge :-) anyone out there who can help? [20:02:55] MinuteElectron: it's pretty much a non-issue [20:03:02] such conflicts are rare and easily resolved by looking it up [20:03:12] and the user namespace will be merged [20:03:15] so who gives a shit? [20:03:17] But what about 'solved shortly'? [20:03:54] ok [20:04:19] Point taken. [20:09:32] anyone know a bunch about the api? [20:10:03] !repear [20:10:09] !repeat | Apollo [20:10:09] Apollo : Please do not repeat yourself too often, if little conversation has occurred since your last message then it is likely no one has an answer or someone who does hasn't looked in IRC yet. You stand a chance of annoying people if you repeat yourself. [20:17:46] well, does anyone know the nick of the api dev guy then? I can't remember it, (haven't talked to him in a few months), and I would just PM him if I knew it... :-\ [20:18:09] Apollo: it's yurik [20:20:01] raymond, yes, thanks! [20:20:24] hopefully I'll be much less annoying now :D [20:26:06] Anyone get AnyWikiDraw extension to work under 1.11 ? [20:26:25] getting a stall in the loading java applet [20:26:32] Got it working fine under 1.7 [20:47:20] Greetings, I am not able to find the answer to this in the documentation and FAQ, but is it possible to make customized groups that you can give sole permission to edit certain pages through the "protect" area? Like if you want a group called "researchers" and then have certain pages only editable by that group (and sysops/beaurocrats). [20:52:11] LC-Stratics: No, but it might be possible with an extension. I wouldn't recommend it, though; MediaWiki isn't intended for that sort of use, so the extensions to do that sort of stuff aren't flawless. [20:55:19] Ah, thats sad, sometimes you might want to restrict certain sections of a wiki to only a group of contributers. To prevent the "laymen" from adding their "2 cents" on projects/pages that deals with more serious subjects. But the pages are important as core data for the more layman topics. [20:56:24] Or like if its a school wiki, you might want certain pages restricted to teachers only. [20:57:01] pathoschild, that can't be true. Namespaces like the MediaWiki: namespace are restricted to editing only by members of the administrative group [20:57:15] that same mechanism should be easily applied to other namespaces and other groups [20:58:02] wknight-away: Yes, but as I recall that's an all-or-nothing toggle; it just applies regular protection to a whole namespace. [20:59:04] okay. i can buy that [20:59:51] Hmm... maybe not. [21:00:04] LC-Stratics: This might be what you're looking for: http://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection [21:00:23] In our case its for a game-wiki. We have certain complex core game data, which we'd to only be open for editing for certain selected contributers. Because if everyone can edit it, they'll just add wrong observations, non-verifiable data and other bad data. We could of course protect all the pages to sys-op only and then make all the contributers sys-ops, but that seems a little excessive. [21:00:43] see? I'm not stupid after all [21:01:08] So I imagine you could use that to require a custom right to edit certain namespaces, then assign the custom right to groups which can be applied to users. [21:01:11] Thanks, let me read that. (hope I don't get a hemorage(sp?) in the brain of all this reading, heh) [21:01:12] [21:26:54] 03catrope * r27066 10/branches/apiedit/phase3/includes/api/ApiChangeRights.php: apiedit: Adding read-only check in ApiChangeRights [21:27:48] RoanKattouw: there you are [21:27:54] Hi AzaTht [21:28:00] Yeah, I haven't been here for a while [21:28:04] have beed digging after you [21:28:19] AzaTht roan.kattouw@home.nl if you need me [21:28:23] true [21:28:34] or you could move in here ツ [21:29:09] hehe [21:29:14] I would like to be able to see other than just the latest revision when using generator [21:29:42] I'm afraid that's not possible [21:29:53] a specific problem just now is that I want to know if there are more than one revision [21:29:56] You can either get the latest N revisions of one page, or the newest revision of N pages [21:29:59] Not a mix of both [21:30:06] AzaTht that's easy [21:30:20] how? [21:30:23] Create a new page (User:AzaTht/Sandbox) on a wiki and prop=info it [21:30:31] You'll see the new="" parameter is set in the output [21:30:37] yea [21:30:44] s/parameter/attribute/ [21:30:55] Which means it's a newly created page without any previous revisions [21:31:27] ok [21:32:21] Is it possible to ban words from a wiki? [21:32:30] and or URLs [21:33:03] RoanKattouw: though I would also be able to get the oldest revision in a generator [21:33:13] LC-Stratics it is possible to require a captcha for entering external links [21:33:13] LC-Stratics: URLs with . [21:33:38] AzaTht rvdir=older? [21:33:48] Err sorry newer [21:33:50] RoanKattouw: rvdir is marked as enum [21:33:52] Does that work [21:33:54] no [21:33:56] Right [21:34:20] Hmm it shouldn't be, rvdir should be applicable for non-enum requests also [21:34:37] my point to ツ [21:34:45] As should pretty much every parameter [21:35:01] rvendid and start also? [21:35:12] You see when requesting the latest revision you really request a list of 1 revision sorted by timestamp [21:35:17] just rvlimit should be non-usable? [21:35:18] You can limit whatever you like [21:35:26] not in a generator [21:35:48] rv{start,end}id, rv{start,end}, rvuser, rvecxcludeuser [21:35:59] You're doing generator=something&prop=revisions right? [21:36:01] [21:36:10] I knoe [21:36:12] *know [21:36:18] yes [21:36:21] But that limitation is really just retared [21:36:24] *retarded [21:36:43] *RoanKattouw misspells "retared"; how "retared" can one be? [21:36:52] hehe [21:37:51] Open a bug at BugZilla, set Assigned-To to me (that's roan.kattouw@home.nl ) and I'll look into it tomorrow [21:38:04] ok [21:38:22] also, a question, " `groups` property uses more server resources and may return fewer results than the limit." on allusers, how is that calculated? [21:38:35] I'll look at the code, just a sec [21:39:23] 03catrope * r27067 10/trunk/phase3/includes/api/ApiFormatBase.php: API: Please use 03(NEW) generators and revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11819 15enhancement; normal; MediaWiki: API; (azatoth) [21:41:37] AzaTht there's not really a general formula for it [21:41:45] hmm [21:41:50] Say you set aulimit=50 [21:41:56] ok [21:42:03] Then the DB will give you 50 *entries* [21:42:10] aha [21:42:12] I see [21:42:13] But if Catrope is a sysop and a bureaucrat, that's two entries [21:42:17] it would be nice to redirect a user f.e. to a Main_Page/de instead of the default Main_Page if he chooses german in his preferences for the mediawiki ui [21:42:36] Of course, care is taken that stuff isn't split halfway a user's groups, so you might get 51 or 52 [21:42:41] Depends on how many groups you have [21:42:59] so the comment on the api page is missleading [21:43:16] mutante if you have more German content, you might wanna put that on a separate wiki entirely [21:43:19] AzaTht why? [21:43:33] " `groups` property uses more server resources" [21:44:01] It does [21:44:07] RoanKattouw: in this case its just a small wiki with docs for an open source game [21:44:16] mutante hmm [21:44:22] Maybe it's possible, I don't know [21:44:29] RoanKattouw: they just want every page as regular page name, and page_name_DE [21:44:46] I understand what you wanna do, but I don't know if and how it's possible [21:45:08] RoanKattouw: there are a tyop at "protection" - List the protection level of each page" on the api.php page [21:45:11] AzaTht I double-checked, and it does have a check that ensures you'll never get more than aulimit users [21:45:30] oki [21:45:31] What's the typo? [21:45:40] " [21:45:51] not a type [21:45:56] Oh [21:46:00] Hi all! [21:46:00] but an encoding error possibly [21:46:30] AzaTht I don't see it in the latest SVN [21:46:37] hmm [21:46:47] it's on prop=info [21:46:54] I know [21:46:55] inprop [21:47:02] I implemented that one [21:47:15] aha [21:47:24] it only shows when error page is thrown [21:47:41] see http://en.wikipedia.org/w/api.php?action=query&generator=categorymembers&gcmcategory=foo&prop=revisions&rvlimit=29 [21:48:27] Wow that's weird [21:48:42] I think I've seen a quite recent revision that may have caused that [21:48:52] Oh and all the & uglyness is back to [21:48:56] In error pages only, that is [21:49:16] double-encodiung? [21:49:24] ()in engrish) [21:49:53] Yeah, double-encoding [21:49:58] Someone added an ugly patch to counter it [21:50:12] ok [21:50:13] hehe [21:50:14] But they apparently didn't consider error messages [21:58:41] RoanKattouw: would it be possible to find imageusage that is not a transcluded usage? [21:58:58] or is that data not available? [21:58:59] You mean a link to an image? [21:59:04] no [21:59:04] list=backlinks ? [21:59:38] if Foo is transcluding Template:Bar and Template:Bar is using the image, then not enumerate Foo [22:01:40] RoanKattouw: 'augroup', why isn't autoconfirmed in there? [22:02:08] Because autoconfirmed isn't a real group [22:02:19] It's an implicit group, just like '*' and 'user' [22:02:21] hmm [22:02:27] ok [22:03:33] hmm, http://en.wikipedia.org/w/api.php seems not have been synced with the apdir addition [22:04:02] Maybe not *yet* [22:04:09] Check the revision numbers [22:04:17] http://en.wikipedia.org/wiki/Special:Version [22:04:32] r26409 [22:05:11] http://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2007-10-22/Technology_report [22:05:44] someone forgot to press the sync button [22:05:46] (r26725, bug 11634) [22:05:56] And Wikipedia is at 26409 [22:06:09] whoo [22:06:11] Note that not all changes described here are necessarily live as of press time; the English Wikipedia is currently running version 1.12alpha (r26409), and changes to the software with a version number higher than that will not yet be active. [22:06:34] yea [22:06:39] missed that one [22:09:21] RoanKattouw: and, what's the progress of api-edit? ツ [22:09:47] AzaTht just did the docs for changerights [22:09:52] Gonna write move soon [22:09:54] is there any reason the internal groups (sysop, bureuacrat, user) couldn't be renamed in localsettings, by fiddling with grouppermissions? [22:10:11] And that's pretty much all I planned on writing [22:10:22] will you support maxlag? [22:10:27] flyingparchment sysop and bureaucrat aren't internal/implicit groups [22:10:33] Only *, user and autoconfirmed are [22:10:56] hmm, user isn't a real group, right? it's implicit for logged in users [22:11:06] And no, you can't change their names through LocalSettings because they're like magic group names that automagically apply to certain users [22:11:09] Exactly [22:11:19] As is autoconfirmed for users older than $wgAutoConfirmAge [22:11:22] okay, that works.. i'll just change sysop and bureaucrat [22:11:26] And * for everyone [22:11:35] AzaTht just exactly what is maxlag? [22:12:18] http://en.wikipedia.org/wiki/Main_Page?maxlag=-1 [22:12:31] used for bots to not clog [22:12:39] Waiting for 10.0.0.243: 12 seconds lagged --> And that means? [22:12:50] that slave is 12 seconds behind the master database [22:13:00] http://www.mediawiki.org/wiki/Manual:Maxlag_parameter [22:13:08] so its view of the wiki is out of date.. maxlag means if that happens, you'll get an error [22:13:12] flyingparchment: grep through the source for hardcoded references to those groups [22:13:57] $r = $titleObj->getRestrictions( 'edit' ); [22:13:57] if ( in_array( 'sysop', $r ) ) { [22:13:59] yuck. :) [22:14:38] Duesentrieb: i want to synchronise sysop and bureuacrat with crowd, but rename them to mw-sysop and mw-bureaucrat.. maybe not worth the effort though [22:15:00] flyingparchment where does that happen ('sysop') ? [22:15:06] Linker.php [22:15:13] *RoanKattouw is at a Windows box and misses grep [22:15:15] Line? [22:15:32] 1309 in r26817 [22:15:37] flyingparchment, RoanKattouw: there's also a "sysop" pseudo-permission [22:15:39] Thanks [22:15:45] True [22:15:55] which is ok for direct use in the code [22:16:06] 03(NEW) enumerated Property:Page only works for first allows_value - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11820 major; normal; MediaWiki extensions: Semantic MediaWiki; (info) [22:16:20] $r = $titleObj->getRestrictions( 'edit' ); [22:16:21] if ( in_array( 'sysop', $r ) ) { [22:16:35] hm... restrictions refers to groups, or to requried permissions? [22:16:50] Required perms [22:16:59] then it's ok [22:17:00] So that's OK [22:17:15] i'm not sure; if i set edit=mw-sysop, that check won't fire [22:17:25] flyingparchment you shouldn't [22:17:32] why shouldn't i? [22:17:36] Protection is about rights, not groups, IIRC [22:17:43] flyingparchment: edit=foo requires the permission foo, not the group foo [22:17:53] (which is what i was just asking about) [22:18:00] $wgGroupPermissions['sysop']['sysop'] = true; [22:18:06] ['autoconfirmed']['autoconfirmed'] = true; [22:18:09] hmm. that's confusing. [22:18:10] flyingparchment: mw-sysop would imply the permission sysop. then all should work [22:18:10] In DefaultSettings.php [22:18:14] Yeah it is [22:18:21] ['mw-sysop']['sysop'] = true; [22:18:29] kind of confusing, yes. [22:18:55] but it allows to do crazy shit like renaming groups. that would otherwise be much more painfull [22:19:13] You may not need the rename there [22:19:15] okay, so i guess i'll make crowdauthentication pull in user groups [22:19:25] Simply change MediaWiki:sysop [22:20:06] RoanKattouw: i guess it's abotu conflicts with other stuff from ldap. [22:20:13] Oh [22:20:19] not conflicts, more about having better names [22:20:24] RoanKattouw: a group name like "sysop" is prone to conflicts [22:20:28] seeing someone is a 'sysop' in jira is confusing [22:20:31] True [22:20:32] well, potential conflicts :) [22:21:10] flyingparchment: do we get admin rights fro all ts users then? [22:21:54] all those in the ts-users group [22:22:00] still don't have a good way to automatically add users to that group [22:23:25] the crowd api is annoyingly undocumented [22:23:37] 03(NEW) Enable import on q:cs: - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11821 normal; normal; Wikimedia: Interwiki links; (danny_b) [22:24:01] RoanKattouw: would it be possible to implement for categorymembers for example to filter out the namespace in the argument? [22:24:17] What do you mean 'filter out'? [22:24:49] cmcategory=Foo and cmcategory=Category:Foo [22:25:08] 03(mod) Enable import on q:cs: - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11821 normal->15enhancement; +shell (10raimond.spekking) [22:25:09] AzaTht how about Category:Category:Foo ? [22:25:29] RoanKattouw: I know you where going to say that ツ [22:26:04] Hey winter sports fans, Is there a function to escape wiki markup text in the output of an extension? "[[MyTitle]] is a bad page title" turns into a link so it's confusing for users. Surrounding with doesn't work in this case. [22:26:08] perhaps a param to say that all pages are given prefixed [22:26:28] skierpage [[MyTitle]] should work [22:26:29] will groups with spaces in work? (we have a group called 'Directory Administrators') [22:26:37] Dunno, try [22:26:38] RoanKattouw: as it's easier for the server to keep track of the prefixes than a user-script/bot [22:27:22] AzaTht I know, but when there are two cats: Category:A and Category:Category:A and you set cmcategory=Category:A, which cat should be selected? [22:27:27] RoanKattouw: as the result of all queries will return prefixed data, it should be able to handle parameters with prefixed data as well [22:27:31] That's nasty shit [22:27:44] So it should be either prefixed, or not prefixed [22:27:49] yea [22:27:59] And since categories are always in the Category: namespace, we chose not prefixed [22:28:04] We should document that, agreed [22:28:07] or a parameter saying we are using prefixed or not [22:28:15] No that just sucks [22:28:36] I'll add a note in the docs that the "Category:" prefix should be omitted [22:28:56] problem is that prop=categories will return the data with Category prefixed [22:29:13] is there a set way to rename a vandal account that's blocking a real user's account name? we can't delete it so what should i rename it to? [22:29:19] so if I would want to pass that data back to the api, I need to filter out the prefix [22:29:44] hippietrail there is a user rename extension I believe [22:29:59] http://www.mediawiki.org/wiki/Extension_Matrix --> list of all extensions, look in there [22:30:17] It's probably called RenameUser or something similar [22:30:18] RoanKattouw: though imageusage is taking with prefix [22:30:19] RoanKattouw, definitely doesn't work in my case. I'm showing this error deep in Semantic MediaWiki parsing parsed parser output from parsing 8-) . I think replacing [ and ] with [ and ] might do it. [22:30:32] http://en.wikipedia.org/w/api.php?action=query&list=imageusage&iutitle=Image:Albert%20Einstein%20Head.jpg [22:30:36] skierpage I think that would be best [22:30:43] AzaTht you're right [22:30:49] so I would say categorymembers should be changed [22:30:53] RoanKattouw: yes we have rename. i just wondered what name to pick to rename such an account to. i think i'll just go with vandal_xxx where xxx is the stolen username [22:30:56] Doing prefixed is probably best [22:31:01] agree [22:31:05] But it's a breaking change, we [22:31:10] true [22:31:11] 'll have to advertise [22:31:13] *ize [22:31:19] haha [22:31:23] ise is ok [22:31:34] we are international here [22:31:39] I know [22:32:02] thanks guys [22:42:15] 02De retour... [22:42:18] 02Ca cause quelle langue ici? [22:43:49] Surtout l'anglais. [22:44:34] 03skierpage * r27069 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_WikiPage.php: [22:44:34] NULL out m_title in parse_value to fix bug 11820 (enumerated Property:Page only works for first allows_value ). Also note bug 11666 in comment. [22:44:34] Feel free to shoot me if this messes up Subversion. [22:44:35] 02Ah... [22:44:38] 02Mais tu parles français? [22:44:47] Je suis bilingue. :) [22:44:49] 02J'ai une question sur un truc que je savais faire mais que je sais plus faire :'( [22:44:51] 03river * r27070 10/trunk/extensions/CrowdAuthentication/CrowdAuthentication.php: should have an option to import Crowd groups into MediaWiki groups [22:44:59] Pathoschild: please tell Diderot not to talk in blue text [22:45:00] Lequel? [22:45:31] 02Pour empêcher les nouvelles inscriptions sur un wiki, c'est quelle ligne qu'il faut taper ou déja plus? [22:45:35] Diderot: Pourrais tu ne pas utilisez un texte bleu? C'est difficile de le lire sur un arriere-plan noire. :) [22:45:40] thx :) [22:45:44] Welcome. :) [22:45:54] 02J'vais essayer de changer ça :p [22:46:04] Comme ça? [22:46:06] !rights | Diderot [22:46:06] Diderot : http://www.mediawiki.org/wiki/Help:User_rights [22:46:09] Oui. :) [22:46:58] Duesentrieb: http://wiki.ts.wikimedia.org/view/Special:Listusers/sysop :) [22:47:21] Oulààààààà [22:47:27] (need to log out and in again to make it read the groups) [22:47:31] C'était plus simple... [22:47:33] Diderot: Ce qui faudrais faire c'est d'enleve le droit "createaccount" pour tous le monde. (Desole, je n'ai pas encore de clavier sur mon nouveau system Ubuntu. :) ) [22:47:42] ... [22:47:44] Je modifiais directement le wiki via FTP [22:47:49] d'accents* sur mon nouveau system. [22:48:24] *Shannie a vole le clavier. :D [22:48:31] o.o [22:49:17] *Shannie lacks accents because she is anglophone. [22:49:18] :P [22:49:31] flyingparchment: cool! oh, no ts-user for Duesentrieb. figures. [22:49:47] Duesentrieb: ts-users, the one in mediawiki is misnamed.. i'll fix that in a bit [22:49:58] oh, you don't have ts-users either, weird [22:50:00] Mais le super truc à rajouter via FTP :'( [22:50:07] Je me souviens même plus ou!!! [22:50:13] flyingparchment: no, not wired. different nick. [22:50:14] :'( [22:50:17] ah [22:50:20] flyingparchment: there's no Duesentrieb on hemlock. [22:50:32] Diderot: LocalSettings.php dans / [22:50:44] Ouais!!! [22:50:46] Il est ou? [22:51:35] Ah je l'ai trouvé :D [22:51:38] :) [22:51:48] 03(FIXED) enumerated Property:Page only works for first allows_value - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11820 +comment (10info) [22:52:08] $wgGroupPermissions['*']['createaccount'] = false; [22:52:09] C'est ça? [22:52:30] Oui, ca devrait faire. :) [22:52:47] \o/ [22:52:50] Merci du fond du coeur [22:52:53] Ah, encore une question [22:52:59] Comment nettoyer la userlist? [22:53:13] Supprimer les utilisateurs? [22:53:40] Certains [22:53:40] Enfin [22:53:46] 250 sur 263 *sifflote* [22:53:54] XD [22:54:20] @search permission [22:54:20] Results: [newusergroup] [22:54:23] Pas facile, est surtout ce n'est pas recommande. :) [22:54:26] hm. [22:54:49] Mais ça fait vraiment tâche [22:55:18] Duesentrieb: i put LocalSettings.php under SCCS version control (it's a bit like sccs).. instructions on the top on how to edit it [22:55:33] Le problem, je pense, c'est que chaque utilisateur apparait dans plusieres tables du base de donnee; ce n'est pas une seule operation de suppression. [22:55:57] er, a bit like RCS i mean. [22:56:15] never used either [22:56:30] it's like cvs, but for local files instead of over a network. so it stores the history in the same directory as the file [22:56:33] Diderot: Peut-etre ? [22:56:36] bit easier than a subversion repo ;) [22:56:46] hm....maybe :) [22:56:50] anyway, it's trivial to use [22:56:57] k [22:57:07] "to merge" ? [22:58:18] Oui, ca te laissera combine et supprime les comptes (il ne te resterai q'un seule). [22:58:29] hm, why am i talking about this in #mediawiki? oh well [22:58:57] Mais j'peux pas virer un compte??? [23:00:27] Il ne semble pas avoir de manieres facile de le faire; il faudrais le faire a partir de commandes SQL au base de donnes. [23:00:50] Erf... [23:00:52] :'( [23:01:04] Oauis. [23:01:47] Mais c'est boulet [23:01:51] Ma userlist est toute pourrie!!!! [23:02:19] hm.. i wonder how i'm meant to update groups in the authplugin [23:04:26] Diderot: Tu pourrais les renommes, non? :) [23:05:43] Pathoschild: Well what if he wants to be lazy. :O [23:05:57] Then he leaves the user list alone. :P [23:13:04] é. [23:13:07] Whee, I have accents back. [23:13:33] les renommer???? [23:13:35] Je mets quoi? [23:13:48] Pâquerette une? Trefle un, trefle deux, etc... [23:13:58] Comme ça mes contacts seront dans un pâturage? ^^ [23:14:08] XD [23:14:22] C'est un option. ;) [23:14:35] cool [23:14:35] I now own something that used to belong to Don Mattingly [23:46:01] 03(NEW) rescaling of animated gif increase size - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11822 major; normal; MediaWiki: Images; (azatoth) [23:49:03] How would I add extra stuff to the bottom of each article, rendered by some code? Is there a hook for that? [23:51:15] Korolen: Yes there is a hook for that [23:51:41] Jazz: Great. What's it called? [23:52:10] I think it's fnHookArticleInsertComplete [23:52:15] no wait [23:52:20] that's after you save an article [23:52:44] I think it's fnOutputPageHTML(&$out, &$text) [23:54:24] Read hooks.txt in the docs/ folder of the MW package [23:56:07] there's probably several hooks to choose from and it might depend if you want the text as part of the article or in the footer