[00:02:01] lol [00:04:50] last dewiki looks ok, but the one before it has the same issue with a cut-off .7z [00:05:00] possibly the bunzip2 is dying... [00:05:08] i'll have to double-check the .bz2 file, make sure it's not corrupt [00:05:10] *sigh* [00:09:37] 03aaron * r32885 10/trunk/phase3/languages/messages/MessagesEn.php: Make it clear what this will do [00:15:38] ok, it had an err :( [00:15:41] *sigh* [00:15:50] well, i'll put that on my list of things to fix [00:20:11] 03(NEW) Wiki data dump bzip2 -> 7zip conversion doesn' t report failure on corrupt input - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13637 15enhancement; normal; Wikimedia: Downloads; (brion) [00:20:22] that would be funny to make that list public, so you could make it an auto-reply when too busy "Think I can help ? Well, just see how much I have to do !" :þ [00:20:44] is there a way to grab the theme so I can wrap it around another application? [00:20:59] I'd like to wrap the monobook around my forums [00:21:27] kassah_, found your latter bug ? :) [00:21:42] yeah... it was a circular loop [00:22:04] I plan to send the diff to the original creator of the extension [00:22:44] ah, nice. I thought that php would send some kind of "took too long to generate, killing..." message [00:22:56] yeah... me too [00:23:02] prolly wasn't caught [00:23:12] due to the custom error handlers [00:23:24] once I put a wfDebug message in the right place [00:23:27] 03erik * r32886 10/trunk/tools/planet/en/config.ini: +4 ; 2 modified [00:23:42] I noticed that a hook was calling a function that was calling the hook [00:24:11] 03(mod) issues getting to move protection box with screen reader JAWS in English Wikipedia and form labels - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11039 (10grahamwp) [00:24:18] 03(NEW) Wiki data dump intermittently produces corrupt .xml. bz2 files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13638 15enhancement; normal; Wikimedia: Downloads; (brion) [00:24:57] now I just want to wrap the Wiki theme around the forums... so when they go to the forums they get the sidebar and everything [00:27:36] wonder if there is a way I can get the header and footer [00:28:17] hello [00:31:43] kassah_, includes/Skin.php , /me thinks :) [01:26:08] is this channel for help with wiki code? [01:27:49] not really, it's about the mediawiki software, but you could ask ;) [01:36:02] well, my question is here: http://wikia.pastey.net/85239 [02:20:03] hi, if I wanted the save button to do something else when people click on it [02:20:17] do you think MediaWiki:Common.js is a good place to do it? [02:22:49] That's one place. [02:22:57] What do you want to do? [02:22:59] Any other suggestions? [02:23:08] well, ideally, I'd like to use PHP [02:23:16] What are you trying to do? [02:23:28] I'm using Semantic Media Wiki and I'd like it to run an a shell script [02:23:37] to force a dump of the RDF data in the background [02:23:50] Hmm...I wouldn't know. [02:23:56] so everytime a save button gets clicked, a sell script gets run [02:23:58] OK. [02:27:48] Could write a simple hook to the page save event that executes the script [02:29:07] amidaniel: where do I find the save page event [02:29:16] e.g. is it in javascript or php? [02:29:24] php [02:29:32] js would never have access to shell [02:29:33] in EditPage.php ? [02:29:40] I could do an AJAX call [02:29:50] That's just evil and stupid [02:29:56] Do you want the script to execute on the client machine or the server? [02:30:00] the server [02:30:10] Dantman|FS: I'm glad you approve [02:30:40] mecredis: Then add a $wgHooks['ArticleSaveComplet'] = 'myFunction'; function myFunction { exec ( ... ); } [02:30:45] ArticleSaveComplete* [02:30:56] into EditPage.php ? [02:31:02] No [02:31:05] As an extension [02:31:08] ok [02:31:56] so i can create a new php in extensions [02:32:00] called myFunction.php [02:32:03] and just have that in there [02:32:22] Honnestly, SMW doesn't rebuild RDF on every page save for a reason [02:32:36] Dantman|FS: Yes, I understand that [02:32:39] it's intensive [02:32:39] mecredis: Yes, then load the extension in your local setting [02:32:46] using require_once [02:33:12] but this is going to be a very low traffic wiki [02:33:51] and the RDF dump is pretty quick [02:37:26] I'm getting a weird error : Warning: Cannot modify header information - headers already sent by (output started a ... [02:38:36] err forget it [02:42:40] I suggest cron... [02:44:41] If you really want it to be actively refreshed... I suggest setting up a system where the save hook creates a small file signalling the old state of the data, and having a script run on very high repeat in cron, if it finds that it'll create a sort of lock file to stop other calls to the script from calling a second process, and when it's finished it'll remove both files [02:45:10] That sounds much better to me [02:45:35] cronjobs are a far safer / more efficient way of handling this kind of situation [02:45:52] Having web-accessible php code execute shell scripts sends shivers up my spine :) [02:47:59] Dantman|FS: yeah, that was my plan [02:48:06] to just set a flag [02:48:11] and make cron notice it [02:48:18] but I wanted to get this just to do something [02:48:44] mecredis: What problem are you having? [02:48:45] but now ArticleSaveComplete is giving me issues [02:48:53] mkay... thought you were going to do something stupid like doing a shell call to spawn a new rdf process all the time [02:49:18] In this case all you need inside of MW are good old php functions [02:49:31] right, to create a file [02:49:38] or set a flag somewhere [02:49:40] that cron can check [02:50:05] Here's the error I'm getting trying to write this extension: [02:50:06] Detected bug in an extension! Hook rdfSaveDump failed to return a value; should return true to continue hook processing or false to abort. [02:50:21] file_put_contents( "{$IP}/.agedrdf", '1' ); [02:50:32] mecredis: Yes, the function will have to return true [02:50:38] ok [02:51:04] great, that fixed it [02:51:06] thanks [02:52:11] {$IP} is the media wiki main dir right? [02:52:22] It should be [02:52:25] Ya [02:52:31] Remember to global it though [02:52:34] ah [02:53:06] hrm [02:53:56] Can someone help me (with Templates) Please? http://wikia.pastey.net/85242-28tw [02:54:48] file_put_contents isn't doing it for me [02:54:53] do I need to give anything permissions? [02:55:08] Well the webserver is going to need write permissions [02:55:15] Nicolas_Jager: Do you have parser functions installed? [02:55:34] ok [02:55:49] I would think... aren't they on wikia.com? [02:55:49] Actually l suggest creating a locks/ or whatever you want to call it folder [02:56:02] Then making that writable by the server [02:56:06] right [02:56:15] via chown ? [02:56:15] That way you don't have to relese security on your files [02:56:26] chown and chmod [02:56:34] yeah [02:56:44] Did you read what I pasted? amidaniel? [02:57:51] still not work [02:57:59] working [02:58:08] I feel like I'm leaving something stupid out [02:58:11] Nicolas_Jager: Yeah, it's kind of a really complex template though. I can't give you a quick answer [02:58:56] well, what about a slow answer? [02:59:05] Nicolas_Jager: Just one thing; I'm not sure that inherited template parameters will be properly parsed by included templates. [02:59:35] um... could you explain that better? [02:59:45] That is if template Foo transcludes Bar, which has text {{{1}}}, and you use {{Foo|1=Test}}; I believe you might see {{{1}}} instead of Test [03:00:08] As 1 is a parameter to Foo, not Bar. I don't believe they are inherited [03:00:52] ok, it was user permissions [03:00:55] done, got it [03:00:58] thanks Dantman|FS [03:01:49] Nicolas_Jager: Yes, indeed, that is the case [03:01:54] oh, so, would I need to code Template:Weapon/If Exist/sub1 entirely different so it's not dependent on {{{x}}}? [03:01:57] The parameters will need to be forwarded for that to work [03:02:04] Yes [03:02:12] forwarded? how I do that? [03:02:43] Have your top-level template pass the parameter the lower level template is expecting to the lower level template [03:02:58] So, Foo would be {{Bar|1={{{1}}} }} [03:03:01] In the example I gave [03:06:13] so, what would be the top level and lower level templates in my case? [03:07:11] This .. umm .. Template:Weapon would be the top-level template [03:07:18] What ever it transcludes are the lower level templates [03:07:58] transcludes means calls upon? [03:10:32] umm .. yes [03:11:37] Whee .. fun irc problems [03:14:38] so, which template is the one I'd need to change? Template:Weapon, Template:Weapon/If Exist/sub1? or some other thing like List_of_Weapons? [03:15:38] Template:Weapon and everything that's transcluded in it [03:16:00] Template:Weapon has the parameter, anything that needs it will also need to receive the parameter [03:20:49] so as it is Template:Weapon/If Exist/sub1 doesn't have the parameter 0slotstype1str even though Template:Weapon does have it? [03:21:04] yes [03:24:49] I'm still not understanding how to make Template:Weapon give all the parameters it has to Template:Weapon/If Exist/sub1 [03:25:55] It would need to use {{User:Nicolasjager/Template:Weapon/If Exist/sub1 |0slottype1str={{{0slottype1str}}}| etc., as would all the templates included in that and so on [03:32:05] So, would this be the case: http://wikia.pastey.net/85244-1oij ? [03:33:00] yes [03:33:56] hm... that kinda invalidates the whole reason I wanted to use Template:Weapon/If Exist/sub1 .... [03:36:03] or am I adding: 0slottype1str={{{0slottype1str}}} ... to the Template: Template:Weapon/If Exist ... not to every place I use/call it? [03:50:31] yay, it now works, but instead of replaceing 5 lines of code with one line, I can replace 5 lines with 420 lines. [03:59:51] okay... odd question... can't find this in the docs... but how do I create a link that will open in a new window? [04:00:15] kassah_: well, its not really doable in mw [04:00:37] unless you use javascript [04:00:49] ahh [04:02:45] Is it possible to have all of my articles and mediawiki files in a folder called /wiki/ like recommended, but also have the web server (Apache) configured to have URLs with or without /wiki/ work? ie wikisite.com/Main_Page/ would be an internal Apache alias (or something) to wikisite.com/wiki/Main_Page? [04:04:05] in short no... [04:04:39] but... with some rewrite trickery [04:04:48] you may be able to setup a redirector without breaking everything [04:04:57] but I've tried without success for a couple of years now [04:05:08] It can be done, but it's usually a bad idea. [04:05:25] Unless you set up a separate subdomain to alias the articles to the wiki subdir of another subdomain [04:05:31] Well what about vice versa? Would it be better or worse to have the wiki pages stored in documentroot with aliases to a /wiki/ folder? [04:06:27] my current untried theory is setting up rewrite to rewrite any url where a file or folder wouldn't exist to x url... which redirects to the proper wiki url [04:07:25] If all that's in the root is the wiki directory then you can set up a conditional rewrite to rewrite all but wiki to wiki/index.php?title=$1 [04:07:50] It's still usually bad for rewrite rules to conflict with actual files on the server [04:08:01] !shorturl | lymeca [04:08:01] --mwbot-- lymeca: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [04:08:48] Anyway, gotta run [04:08:52] Good luck [04:08:59] amidaniel|away: I've read extensively on different methods of getting short URLs and negative aspects of files in documentroot [04:09:01] aye [04:30:18] 03shinjiman * r32887 10/trunk/phase3/languages/messages/ (4 files): [04:30:18] * Update Chinese translations [04:30:18] * Update Cantonese translations [04:30:18] * Update Old Chinese / Late Time Chinese translations [04:39:37] 03aaron * r32888 10/trunk/extensions/FlaggedRevs/flaggedrevs.css: Tone down [04:41:32] 03shinjiman * r32889 10/trunk/phase3/languages/messages/ (MessagesKk_arab.php MessagesKk_cyrl.php MessagesKk_latn.php): [04:41:32] * (bug 12145) Update Kazakh translations [04:41:32] patch by AlefZet [04:41:56] 03(FIXED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10shinjiman) [04:46:11] 03aaron * r32890 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage.i18n.php FlaggedRevsPage.php): Inevitable preference bloat ;) [04:50:46] 03aaron * r32891 10/trunk/phase3/languages/messages/MessagesEn.php: Shorten a tad by using '/' [04:54:01] 03shinjiman * r32892 10/trunk/phase3/RELEASE-NOTES: update the RELEASE-NOTES for r32889 [05:02:53] 03shinjiman * r32893 10/trunk/phase3/languages/messages/ (4 files): [05:02:54] * Update Chinese translations [05:02:54] * Update Cantonese translations [05:02:54] * Update Old Chinese / Late Time Chinese translations [05:06:49] 03aaron * r32894 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Add fieldset [05:10:44] Hi! I've just added in Template [05:10:48] oops [05:11:34] Hi! I've just added in Template:Lowercase : {{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}} I've revised the code and tried to find the problem... can't see what doesn't work! Any idea? [05:12:21] (so I put {{Lowercase}} in a normal page so that it prints the first letter as lowercase in the title.. doesn't work!) [05:35:01] *Werdna waves [05:41:49] but it works if I directly use DISPLAYTITLE [05:41:52] o.0 [05:44:15] Werdna: sooo, how about those time dropdowns? [05:46:56] AaronSchulz: didn't I give you a standard method for making them? [05:47:26] *AaronSchulz looks at protection forms [05:48:21] that's the {{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}} part which is not working [05:48:37] lol, look at Special:Preferences in Opera [05:48:46] that lang menu is funny [05:50:31] hmm [05:50:36] Werdna: when will it be on protection forms? [05:50:55] ohhh ... *head on the desk* it's an extension [05:50:55] what's wrong with this line of code, for removing any element which is array('ns-specialprotected'): $errors = array_diff( $errors, array( array('ns-specialprotected') ) ); [05:51:02] AaronSchulz: I'm supposed to put it on protection forms? [05:51:23] not tonight, I'm finishing off global blocking [05:52:56] oh I see [05:53:00] it compares string representations [05:53:01] damn. [06:27:13] Hmmm..... evil escape syntax..... perhaps |> <| [06:43:29] ah, Werdna, are you still on the upload only block ? [06:44:34] NicDumZ|Zzz: Well, it would be doable by something I'm working on [06:45:27] okay, your new blocking "framework" :þ [06:49:41] mmm [07:00:31] 03nikerabbit * r32895 10/trunk/phase3/languages/messages/MessagesEn.php: [07:00:31] If the idea was to get all tabs to fit one line by shortening them, this is a wrong way. [07:00:31] They already span multiple lines and shorter isn't always better. [07:16:23] 03siebrand * r32896 10/trunk/phase3/languages/messages/ (72 files): Localisation updates for core messages from Betawiki (2008-04-09 08:48 CEST) [07:23:51] I'm trying to make short URLs work, and yes I've followed instructions on mediawiki.org, but it's nto working. [07:24:20] I'm sure the lines in .htaccess are correct because Apache is definitely translating the URLs and getting rid of the index.php stuff [07:25:01] After adding the correct line into LocalSettings.php I can tell MediaWiki is trying to use those redirected URLs, but it keeps coming up with an error "The requested URL /Main_Page was not found on this server." [07:32:20] 03siebrand * r32897 10/trunk/extensions/ (109 files in 108 dirs): Localisation updates for extension messages from Betawiki (2008-04-09 08:48 CEST) [07:35:54] 03siebrand * r32898 10/trunk/extensions/MWSearch/MWSearch.php: Add URL [07:41:27] 03(NEW) Things that could use the title rewrite (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13639 15enhancement; normal; MediaWiki: User interface; (dan_the_man) [07:41:29] 03(mod) Tracking bug (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2007 (10dan_the_man) [07:42:22] 03(mod) New Hook TitleUserCase for manipulation of names in MW. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13166 (10dan_the_man) [07:42:26] 03(mod) Things that could use the title rewrite (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13639 (10dan_the_man) [07:42:31] 03(mod) Weaken DISPLAYTITLE restictions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12998 (10dan_the_man) [07:42:32] 03(mod) Things that could use the title rewrite (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13639 (10dan_the_man) [07:43:57] 03(mod) Add configuration options to broaden (or otherwise specify) the set of characters available when naming pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13634 +comment (10dan_the_man) [07:44:05] 03(mod) Things that could use the title rewrite (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13639 (10dan_the_man) [08:02:04] 03nikerabbit * r32899 10/trunk/extensions/Translate/Exporters.php: * Tweak exporting [08:26:35] 03(mod) Single login (Unified login) on all wikimedia projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=57 +comment (10siebrand) [08:42:16] <_wooz> lo [08:49:40] 03werdna * r32900 10/trunk/extensions/GlobalBlocking/ (6 files): (log message trimmed) [08:49:40] * Extension for blocking a particular IP address Wikimedia-wide. [08:49:40] Caveats: [08:49:40] * Does not link to the blocker's userpage in the blocked message, nor on the [08:49:40] global block list. This is so because of technical limitations, and can be [08:49:41] worked-around by customising the interface message to point to meta (where all [08:49:45] Wikimedia global blocks will probably be made from) [08:50:13] let the localisation begin :) [08:50:28] 03(mod) Create a tag that excludes all annotations - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13570 (10catlow) [08:51:27] Werdna: hurr [08:52:30] Werdna: + 'globalblocking-search-ip' => wfMsg( 'ipaddress' ), ?? [08:53:30] that's bad if you want it in betawiki :o [08:54:36] I also wonder do we need to hardcode wikimedia in messages [08:54:49] $form .= Xml::openElement( 'td' ) . $input . Xml::closeElement( 'td' ); [08:55:04] Xml::tags( 'td', null, $input ) ? [08:55:28] wfSubmitButton ?? :o [08:55:37] it's a method? [08:55:42] in xmlFunctions.php? [08:56:44] yeah, I didn't know Xml::tags existed before a few minutes ago :P [08:57:08] there is also wfInput :o [08:57:14] indeed [08:57:59] anyway, I suggest to replace wfMsg in the i18n file with actual messages, because we don't support default aliases for messages [08:58:24] bo-ring :P [08:58:57] otherwise we get bogus definitions when we load those translations :o [09:00:22] 03werdna * r32901 10/trunk/extensions/GlobalBlocking/GlobalBlocking.i18n.php: I'm told that aliasing messages doesn't play nicely with BetaWiki. Changing these aliases to copies of the associated message. [09:00:33] ARE YOU HAPPY NOW? [09:00:54] Werdna: you are soon :) [09:01:08] :P [09:01:52] ah, guys, could I get you to give me some feedback on my ML thread ? :p [09:02:36] *Nikerabbit takes a shower [09:05:38] I have a wiki in hebrew and when I try to print a page it looks all ruined [09:05:46] any idea if it's a known issue or how can I fix it? [09:06:01] ( on newness & Special:Contributions. ) [09:06:42] *NicDumZ will be back, if some discussion is needed :) [09:17:44] 03(mod) Support global blocking - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8707 +comment (10Andrew) [09:25:49] hello! [09:25:57] I am looking for a way to produce something similar to sitemap for a mediawiki [09:25:57] e.g. a page that displays all categories and also all the pages in all these categories. [09:25:57] Like here I only see the categories themselves: http://wiki.sioc-project.org/index.php/Category:List_of_Categories [09:25:57] But I would like to list all the pages in these subcategories right there, too [09:25:57] Is there any way to do that? [09:27:29] nakeee: are you sure it is a mediawiki issue and not an issue with your browser? [09:40:52] 03(mod) ":" indent markup fails if paragraph is to the right of an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11782 +comment (10sco_scam) [09:42:08] Werdna: wfGlobalBlocking is kindof expensive. AFAIK logs and extension credits automatically load ExtensionMessageFiles. For what other reason do you need the messages available at all times? [09:43:13] siebrand: I don't. I just copied the code from CentralAuth or something. [09:43:42] Werdna: Is it your intention to get this active on WMF sites? [09:44:01] so long as the specialpages and the hook have messages loaded, no problem. [09:44:09] siebrand: yes, so your advice is appreciated. [09:44:47] Werdna: only load the messages where needed: in execute() for special page names and messages [09:45:02] Werdna: and when your hook is called i guess [09:45:06] okay, one second. [09:45:22] Werdna: we call this 'delayed loading' [09:46:40] 03werdna * r32902 10/trunk/extensions/GlobalBlocking/GlobalBlocking.php: Load extension messages only when the hook or the specialpages are called (thanks, Siebrand) [09:46:53] yw [09:49:25] anyone here uses semantic mediawiki? How can i link to Special:SearchByProperty::Blah ? [09:49:39] it only creates link to Blah when i write [Special:SearchByProperty::Blah] [09:53:09] try [[ instead of [ [09:53:14] 03siebrand * r32903 10/trunk/extensions/GlobalBlocking/ (5 files): [09:53:14] * add some newlines in i18n file to ease translation [09:53:14] * add version and svn keyword [09:53:14] * fix whitespace [09:53:40] 03(NEW) #ifexist does not detect special pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13640 normal; normal; MediaWiki extensions: ParserFunctions; (sco_scam) [09:54:27] 03siebrand * r32904 10/trunk/extensions/GoToCategory/ (GoToCategory.php GotoCategory.i18n.php): * add i18n file for description message [09:54:34] who improved special:userrights lately? [09:54:58] it may be a good idea to not show header "groups you cannot change" if it is empty [09:55:37] it was me. [09:56:13] 03siebrand * r32905 10/trunk/extensions/WatchSubpages/ (3 files): [09:56:13] * update i18n file to standard [09:56:13] * add version and descriptionmsg [09:56:13] * fix whitespace [09:56:13] * actually load localisation of special page names [09:56:42] Werdna: oh sorry i meant to write [[Special:SearchByProperty::Blah]] [09:56:50] (that was what linked to Blah)) [09:56:54] why not /Blah [09:57:05] 03siebrand * r32906 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): * add support for GlobalBlocking, GoToCategory, and WatchSubpages [09:57:20] Werdna: because Blah is a SMW parameter shown on the SearchByProperty-page [09:57:42] hmm, 2 strict warnings out, one in: PHP Strict Standards: Declaration of FileRepoStatus::newFatal() should be compatible with that of Status::newFatal() in /var/www/w/includes/filerepo/FileRepoStatus.php on line 6 [09:57:58] siebrand: new? [09:58:00] Werdna: you can only use smw parameters with :: [10:00:05] 03siebrand * r32907 10/trunk/extensions/GoToCategory/GotoCategory.i18n.php: Remove incorrectly CamelCased file name [10:00:29] 03siebrand * r32908 10/trunk/extensions/GoToCategory/GoToCategory.i18n.php: Re-add correctly named file [10:00:47] siebrand: svn move? :) [10:01:11] 03siebrand * r32909 10/trunk/extensions/WatchSubpages/WatchSubpages.i18n.php: Fix syntax error [10:01:34] Werdna: can't do that with TortoiseSVN unfortunately (not when only thing to change is capitalisation) [10:01:57] haha [10:01:57] windows [10:04:13] you can do remote moves with TortoiseSVN [10:04:19] just use the repository browser [10:04:24] 03siebrand * r32910 10/trunk/extensions/WatchSubpages/WatchSubpages.i18n.php: Tweak extension description [10:04:43] TortoiseSVN kicks arse, I want it ported to linux now that I'm using linux [10:04:51] TimStarling: ah, shoot. That could have worked, indeed. I'm done spamming for now :) [10:05:28] TimStarling: Wine? ;) [10:06:06] nautilus plugin? [10:07:19] TimStarling: I have been looking for a TortoiseSVN style package for OSX. Haven't been able to find a proper performing client for that platform yet :( [10:09:47] 03(NEW) "Show changes" yields php error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13641 15enhancement; normal; MediaWiki: Page editing; (bugzilla.wikimedia) [10:09:56] TimStarling: what do I need to do to get GlobalBlocking enabled on wikimedia? poke brion? change bug 8707 to be a shell request? close bug 8707 as FIXED and open a new bug? all of the above? [10:10:54] you only committed it like an hour ago [10:11:11] I know, but I'm wondering what the next step is. [10:12:02] maybe to merge those two (three) same msgs globalblocking-search-ip and globalblocking-unblock-ipaddress [10:12:04] :) [10:12:27] I'll review it, then brion should at least be told about it [10:12:32] I left those separate because some languages or wikis may wish to type IP address to search for for the former, and IP address to unblock for the latter, or something [10:12:37] it should sit in SVN for general community review for a few days [10:12:42] okay [10:12:50] then we can think about enabling it [10:13:43] Werdna, ok, fine with me [10:15:00] why does it load extension messages on startup? [10:15:52] it doesn't, anymore [10:15:53] see above [10:16:13] siebrand already pointed that out to me. [10:16:31] ok [10:16:37] http://en.wikipedia.org/wiki/User:Splarka/dabfinder.js can anyone think of an easier way to do this? (this was an exercise in speculation: a self contained live disambiguation finder userscript) [10:16:44] why does it use global functions? [10:17:23] those hooks could be static member functions of an autoloaded class [10:17:42] and should be? [10:18:16] well, it would be good practice [10:18:22] okay, I'll fix that up [10:19:31] $conds = array( 'gb_address' => $ip, 'gb_timestamp<'.$dbr->timestamp(wfTimestampNow()) ); [10:19:43] $dbr->timestamp() needs addQuotes() [10:20:24] $res = $dbr->select( 'globalblocks', '*', $conds ) [10:20:32] needs function name parameter [10:21:49] also you appear to only use one row of that result, so selectRow() would make more sense [10:22:14] *Lady_Aleena lurks. [10:22:14] which will add LIMIT 1 [10:23:23] *Lady_Aleena stops lurking. [10:23:37] Anyone here familiar with Template:Chart? [10:24:23] {{disambig}}? which wiki? [10:24:39] en.wikipedia [10:25:56] ahh, yah, sorta like the family tree template (spooky) [10:26:04] specifying an access restriction in the SpecialPage constructor doesn't actually restrict it if you override execute() [10:26:19] Splarka: More features... [10:26:38] you need to call userCanExecute() and displayRestrictionError() yourself [10:26:46] I tried to help someone port that (the family tree one) to another wiki, was a horrible experience, heh [10:26:58] so, while I am not familiar with it, I am scarred by it [10:27:44] TimStarling: ah, I noticed that, hence the check lower down in execute(). Can I just call parent::execute() instead? [10:27:48] I made a chart with it, but I could use some help with the asthetic (sp) look of mine. And Splarka, once you get the hang of it, it isn't too awfully bad. [10:28:36] oh, you mean using it? isn't wikicode fun... [10:29:03] you mean this? [10:29:07] if (count($errors = SpecialPage::getTitleFor('GlobalBlock')->getUserPermissionsErrors('globalblock', $wgUser))>1) { [10:29:27] yes, that. [10:29:28] Splarka: Yes, it is just a joy. Unfortunately, for two templates I made, I had to use HTML instead of Wiki code for the layout. [10:29:38] *Splarka shudders [10:29:39] it's very wordy [10:29:44] indeed. [10:29:51] I wasn't aware of userCanExecute [10:29:58] yeah, use that instead [10:30:03] Splarka: A single carrage return in those two templates would break them. [10:30:03] parent::execute() doesn't work [10:30:23] ok. [10:30:52] SpecialPage::userCanExecute(), that is [10:31:30] okay. [10:32:22] Lady: indeed, wikicode is very line-return sensitive [10:33:00] although there is some movement to reduce that somewhat.. such as allow ol/nl lists to continue, with line breaks... *glances at Tim* how is that coming along? [10:33:02] /server irc.belwue.de [10:33:04] Splarka: Don't I know it. I had to use HTML since it can all be one line and still be formatted correctly. I would love it if I could one line tables. [10:33:36] ..if I could do a one line wiki code table. (that is) [10:34:17] well, you can with template calls... heh [10:34:26] ` [10:34:34] Ah, that would sort of defeat the purpose. [10:34:37] indeed [10:34:57] link? [10:35:05] TimStarling: how often should I be purging expired blocks? (I just realised I wasn't doing that) I understand it'll be fairly nasty, performance-wise, so I was thinking of doing it when a block is made (i.e. connection to the master already open) [10:35:16] Also, I want to be able to format lists...especially ordered lists. [10:35:35] Splarka: What do you want a link to? [10:35:38] sounds fine [10:35:42] you can do that by using the html (not what you wanna hear, heh) [10:35:57] put it in a separate transaction so it doesn't hold the locks for too long [10:36:05] some people might consider it uncool to let your lines run out to 150 characters [10:36:13] Splarka: I can handle it, but there are so many who would wikify it and break it to bits. [10:36:14]
  1. bar
  2. bar
  3. bar
[10:36:36] re [10:36:38] I usually break at 100 and I get a lot of flak for that from people who use MS DOS or something and think 80 is the one true line width [10:36:52]
  1. foo
  2. bar
  3. baz
[10:37:12] you can style them as well [10:37:13] 12. foo [10:37:18] 13. bar [10:37:28] 14. baz [10:38:03] Splarka: I just wish there was a wikicode way of doing it so that I don't hear others whining that the list isn't in wikicode. [10:38:30] I believe there is a mediazilla request for that [10:38:37] Lady_Aleena, this name make me startle about Lady Aliena, from Ken Follett :) [10:38:42] TimStarling: so just add $dbw->commit() before I do the purge, right? [10:39:12] you can add $dbw->begin() before the purge queries, and $dbw->commit() afterwards [10:39:20] NicDumZ: If I remember correctly, isn't Ken Follett an author? [10:39:48] Lady_Aleena, yes he is. Lady Aliena is one of his character from "The pillars of Earth" [10:40:04] $attribs = array( id => $id, name => $name, onchange => 'considerChangingExpiryFocus()' ); [10:40:10] that's better, because it means I won't forget to do it after other write-only queries. [10:40:11] NicDumZ: Probably not the same pronunciation. [10:40:15] E_NOTICE and bad style [10:40:27] might, I'm not a native :þ [10:40:31] ah, ' around my keys. [10:40:36] you should have E_NOTICE enabled during testing [10:40:38] yes, I hit a nasty snag doing that a few days ago [10:40:42] Maybe I should try to get that one too as another dopple. [10:42:02] $selector .= xml::openElement( 'select', $attribs ); [10:42:42] I'm a bit obsessive about correct case... [10:43:00] TimStarling, can I ask you what you actually think of my suggestions on the ML about improving Special:Contribs / history pages ? [10:44:22] TimStarling: ah, Xml [10:45:34] NicDumZ: do you want to mark page creations in contributions, or do you want to be able to filter? [10:46:17] I want to mark them. Filtering would be a plus, but is not the first intention [10:46:41] mmm, but maybe if you marked them then someone would implement filtering on the client side, and we'd have an even worse performance scenario [10:48:20] would it count as a page creation if the page was deleted? [10:48:27] and then recreated [10:48:59] *TimStarling rolls eyes [10:49:06] *Lady_Aleena wonders if she should go over to #wiki(something)-tech to see if the magic word she wanted is ever going to happen. [10:49:17] Lady_Aleena: what magic word? [10:49:31] CATPAGECOUNT or somesuch. [10:49:38] NicDumZ, I use normal firefox [10:49:41] it could be done [10:49:47] Something that will give the amount of pages in a category. [10:49:56] Excluding subcats. [10:49:59] In which mysql-table of mediawiki have wiki-texts stored? [10:50:08] opss I meant Nikerabbit [10:50:13] Nineth: well [10:50:14] well yes, a page creation would be marked as... a page creation, no matter if it is a re-creation or not :) [10:50:18] Nineth: it depends. [10:50:25] Nikerabbit, it also works well in hebrew wikipedia [10:50:34] Nineth: on wikimedia, none. [10:50:37] nakeee, ? :) [10:50:40] Nineth: by default, 'text' [10:51:22] Werdna: do you know which is the connecting field (relation ) between page and text tables? [10:51:36] look at the revision table. [10:51:41] Ok. [10:51:54] NicDumZ, sorry I meant Nikerabbit (auto complete mistake:) [10:51:56] So, bad idea, I'm guessing ? Still, some sort of display of pages creation is needed in Special:Contribs :) [10:52:02] confusing.. let me try hard :P [10:52:05] okay :) [10:52:52] *Lady_Aleena decides to skulk. [10:52:53] Werdna, i want to talk to you about reusing messages [10:53:02] Jhs: what did I do now? :) [10:53:08] nothing [10:53:14] siebrand said i should talk to you about it [10:53:18] Nineth, http://www.mediawiki.org/wiki/Manual:Database_layout is very handy. Not always quite complete, but very helpful [10:53:18] hehe [10:53:37] Ok. Let me try. [10:53:47] [12.50.26] as long as one makes sure that two messages are semantically 100 % the same, reusing is no problem [10:53:47] [12.50.26] --> maxsonnelid has joined this channel (i=53b2054c@gateway/web/ajax/mibbit.com/x-192a3202292f457c). [10:53:47] [12.50.57] for example, the message "IP Address:" used in the context of a blocking form will be the same always, in all languages [10:53:47] [12.51.10] no need to duplicate it three times for different instances of the form [10:53:57] from #mediawiki-i18n [10:54:10] but see they're not. [10:54:16] 03rotem * r32911 10/trunk/phase3/ (2 files in 2 dirs): Update. [10:54:56] TimStarling, sad, I considered this little schema change as a good opportunity for GSoC :þ [10:55:18] as I explained in #mediawiki, some sites may wish to reword the messages to something like "IP address to block:" / "IP address to unblock:" / "IP address to search for:". That's why I reused the message from core on the block form, but added new messages for the others. [10:56:11] Werdna: in gbGetUserPermissionsErrors, why do you load the blocklist regardless of $action? [10:56:14] Werdna, yeah. but you still won't need three messages for three kinds of block forms (normal block, global block & crosswiki block) [10:56:41] TimStarling: hmm, which actions should I check it for? anything except 'read'? [10:57:42] Jhs: I'll see what I can reuse from the regular ipblocklist [10:57:50] :) [10:58:02] i can help you with that [10:58:17] just waiting for svn access (skulks at brion, who's not here) [10:58:18] well, presumably it should work the same way as normal blocks [10:58:32] the hook is not called for page views, is that right? [10:59:23] no, it's an 'expensive' query. [10:59:30] Werdna: while you're being swamped with good advice... :) Use wfMsgForContent when writing log messages. Otherwise the logs will be written in the user's UI, which can be problematic and leads to unreadable/inconsistent logs. [10:59:52] domas told me I shouldn't be reading secondary databases on pageview, which kinda makes sense :) [11:00:47] bah [11:01:02] my wiki gives a blank page every time I visit Special:Allmessages, and every other time I visit the main page. [11:01:05] I wonder if it's the memcached [11:01:48] nope [11:03:34] Jhs: okay, I've added one reuse. [11:03:34] 03siebrand * r32912 10/trunk/phase3/languages/messages/ (19 files): Rebuilt all languages files (fixing previously 'unknown' and some comments) [11:03:50] Werdna, cool :) [11:04:07] hmm, where can i see changelog for those commints [11:04:12] what lines are changed [11:04:26] http://svn.wikimedia.org/viewvc [11:04:27] Title::getUserPermissionsErrors() isn't called on page view [11:04:37] doesn't matter. [11:04:50] Title::userCan is, and that calls Title::getUserPermissionsErrorsInternal [11:05:23] Title::getUserPermissionsErrorsInternal covers all the stuff that Title::userCan used to cover, and Title::getUserPermissionsErrors calls that, plus checks wfReadOnly() and blocks. [11:05:54] ok [11:06:31] anyway, it might be nice to have a check for $action=='view' in there somewhere, even if just for self-documentation [11:06:42] I've done that already. [11:06:50] *Werdna will brb, will read scrollback when he gets back. [11:09:53] ok, I'm done [11:18:17] AaronSchulz: what's the difference between oversight in core and in the extension? [11:25:28] Werdna: $1: '''$2''' (''$3'') globally blocked '''[[Special:Contributions/$4|$4]]''' ''($5)'' [11:25:42] Werdna: what's what? [11:26:08] Werdna: $2: blocking user, $4 blocked user. The others? [11:29:07] Werdna: is this correct: http://translatewiki.net/wiki/MediaWiki:Globalblocking-list-blockitem/qqq ? [11:30:34] 03(mod) Implement rev_deleted (deletion of single article revisions) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3576 +comment (10powerpdn) [11:37:20] siebrand: wfMsgExt( 'globalblocking-list-blockitem', array( 'parseinline' ), $timestamp, $row->gb_by, $row->gb_by_wiki, $row->gb_address, implode( ', ', $options) ) [11:37:44] so, timestamp, blocking user, blocking user's wiki, blocked address, options. [11:37:47] in that order [11:37:53] TimStarling: you've finished reviewing? [11:39:19] hey guys. [11:39:37] I have been looking for some time for an answer to this question: [11:39:58] can I somehow display which pages a category contains within a regular wiki page? [11:43:50] 03werdna * r32913 10/trunk/extensions/GlobalBlocking/ (4 files): [11:43:50] Various fixes for issues in GlobalBlocking extension, including purging expired [11:43:50] blocks, failing gracefully when an address has already been blocked (and is [11:43:50] trying to be blocked), some code quality and performance stuff, and merging some [11:43:50] interface messages. This patch DOES introduce new interface messages. [11:47:31] eek [11:47:36] PHP warnings. [11:48:18] siebrand: when I'm doing a hook, how can I have the hook function call a static function on a class? I can't see that info on http://www.mediawiki.org/wiki/Manual:Hooks [11:48:32] error_reporting( E_ALL | E_STRICT );ini_set( 'display_erros', 1 ); should be at the top of all developers LocalSettings.php file. [11:49:18] Werdna: yes you can [11:49:25] how? [11:49:32] $wgHooks['EditPage::showEditForm:initial'][] = 'TranslateEditAddons::addTools'; [11:49:39] ahh [11:51:38] 03werdna * r32914 10/trunk/extensions/GlobalBlocking/GlobalBlocking.php: Oops. I'd forgotten how to correctly refer to static methods on classes in hook setup. [11:52:05] siebrand: yes those are correct. [11:59:54] Werdna: yes I'm finished [12:00:29] TimStarling: okay. I committed all your suggested fixes, plus a few suggested by some others. [12:02:36] 03werdna * r32915 10/trunk/extensions/GlobalBlocking/SpecialGlobalBlock.php: Use wfMsgForContent when saving data into logs, to prevent inconsistency when users select different languages [12:08:07] TimStarling: what would you think of automated global blocking of any user blocked on more than, say, 10 wikis? [12:08:11] s/user/ip/ [12:10:00] That sounds easily explaitable - it's probably pretty easy to get admin on a few of the smaller wiktionaries or wikiquotes [12:11:01] ST47: You have to know the language? [12:12:08] I'm not sure that's true, some of the smaller projects use english for coordination, as I remember [12:12:19] ok [12:13:01] Though, I suppose you could find a way to do it based on wiki size [12:13:29] If the wikis the user is blocked on have a number of articles equal to a certain percentage of total? [12:15:02] arfg [12:15:21] why threshold are always brought up... [12:15:53] they are so arbitrary and usually impossible to calculate in real time [12:16:41] hmm, they're necessary though when you're basing a discrete decision on non-discrete input [12:17:14] I'd say no automation or they start to use the automated way as the normal way... [12:18:24] most admins now should have SUL, so nobody can spoof them on other wikis [12:19:02] and I don't think it is at all easy for a malicious person to get admin access on 10 wikis [12:19:12] we'd have bigger problems if it were [12:22:25] 03(NEW) Add simple "end of sublist" w/ o having to start a new list item. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13642 15enhancement; normal; MediaWiki: Page rendering; (bugzilla.wikimedia) [12:24:23] 03(mod) Allow blank lines between list items - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13223 +comment (10bugzilla.wikimedia) [12:25:11] Hello guys [12:26:15] hi [12:26:31] I made an extension for use together with FCKEditor that allows the use of local file links [12:27:08] I know that something like this exists, but it does not allow for local links editing fron within the FCKEditor [12:27:35] 03(NEW) PHP Strict Standards Issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13643 15enhancement; normal; MediaWiki: Images; (minuteelectron) [12:27:46] the question is: i want to give it to the community, how do I proceed ? [12:28:31] is it in subversion? [12:28:54] I don/t have commit rights [12:29:16] would you like it to be in subversion? [12:29:26] yes, why not [12:29:32] where is it? [12:29:47] i have it locally [12:30:21] can you make a patch against the extensions part of our repo? [12:30:31] yes [12:30:34] great [12:31:06] hi all [12:31:10] hi [12:31:38] hi VasilievVV [12:32:06] Werdna: wouldn't it be better to use some block-specific hook rather than getUserPermissionsError? [12:32:16] VasilievVV: like what? [12:32:39] There's no one such yet [12:32:48] Because no one ever needed it :) [12:32:55] mm, how do you handle multiple blocks then? [12:33:07] Hmm [12:33:15] one global, one local [12:33:30] Currently we initially check for local block? [12:33:35] yes [12:34:02] We can check for local block and give it to hook [12:34:15] we could [12:34:27] That's usually what we do [12:34:38] or we could use getUserPermissionsErrorsExpensive :) [12:34:48] Check and then give a possiblity to override something [12:35:00] What about range blocks? [12:35:26] haven't implemented them yet [12:35:32] And autoblocks? [12:35:33] Hello !!! somebody follows the instruction of this page ???? http://www.mediawiki.org/wiki/Extension:NamespacePermissions#Source_of_NamespacePermissions.php [12:35:50] I cant add this extension to my wiki [12:35:53] VasilievVV: no such thing as a global autoblock [12:36:02] because there are no global user blocks. [12:36:16] Why? [12:36:36] because there is no SUL. [12:36:42] like, no compulsory SUL. [12:36:42] it'll simply be a block on each wiki, right? so 700 and some blocks, but made from one interface? [12:36:53] yes [12:37:08] after compulsory SUL...? [12:37:12] No [12:37:16] It's IP-only now [12:37:18] no, that's not how it works [12:37:24] it's made in a central database [12:37:30] and all wikis check that database. [12:37:36] Next step will be SUL account blocks [12:38:16] huh. how will unblocking be handled? are per-wiki and global both possible? [12:38:27] Only global [12:38:39] yes, globally. [12:38:59] global blocks are intended for plain vandalism, and in most circumstances should be anon-only. [12:39:30] And what about username-applied? [12:39:44] still.... that's like having the global spam blacklist but no per-wiki whitelist :( [12:41:24] Mike_lifeguard: if the need for per-wiki unblocking arises, I may consider it. [12:41:51] I don't like what it allows, though. [12:42:19] Werdna: it would be nice if CU had a global log [12:42:22] It makes global blocking less serious.. it should be considered a tool basically for cross-wiki vandalism and spam and that sort of thing only. [12:42:24] how's that? it's exactly the same situations... only worse because you're blocking people from editing instead on simply blocking certain urls [12:42:52] Will global blocks work for logged-in users? [12:43:11] only by IP address, and if the block is not set as anon-only. [12:44:02] If user is logged in, and it isn't anon-only block, will he be autoblocked? [12:44:11] that wouldn't make any sense. [12:45:54] Nikerabbit: the one in the core is for rev_deleted, it gives private log access and an easy way to unsuppress articles [12:50:01] AaronSchulz: ...and? [12:51:55] That's it [12:51:55] Werdna: I made the diff [12:51:56] moisadoru: can you pastebin it or something? [12:51:56] yes [12:53:06] Werdna: http://rafb.net/p/61bqpQ91.html [12:54:08] Werdna: it also inludes the FCKEditor plugin, so you must have the FCKEditor estension installed [12:54:09] AaronSchulz: what does the extension do then? [12:54:30] Oversight? [12:55:03] that [12:55:07] lets users hide revisions permanently [12:55:19] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10conrad.irwin) [12:55:50] hello! :) [12:56:15] one small question.. I installed mediawiki 1.10 on Ubuntu from the universe repository [12:56:37] is there a way to create several different wikis (different vhosts, pages, etc) with only one install of mediawiki? [12:56:43] or do I have to install mediawiki several times? [12:59:53] yann2: you can probably use symlinks to wherever the ubuntu package is installed and use a vhost-specific LocalSettings file [13:00:03] you can use one installation but you need to add the configuration logic yourselves [13:01:08] moisadoru: how would you like to be credited? [13:02:09] Werdna: Moisa Doru (tmoisa@optaros.com), Optaros Inc. [13:02:09] 03catrope * r32916 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryRecentChanges.php): (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges [13:02:17] 03(FIXED) filter recent changes by redirect/nonredirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13618 +comment (10roan.kattouw) [13:02:30] Werdna: is that ok ? [13:02:46] I'm just crediting your full name in the commit message, and the rest will be in the extension file. [13:03:09] ok :) [13:03:26] it seems that the debian packages makes the apache conf look at /var/lib/mediawiki which contains mostly links to /usr/share/mediawiki [13:03:40] I think I understand how it works, I may even be able to improve the package :) [13:04:31] moisadoru: a short description of the extension, and a URL (if any)? [13:05:11] something like "Allows the usage of local file links with FCKEditor" [13:05:36] any URL? [13:06:24] well ... you could put the url of my company www.optaros.com, but we don't have a specific page for this extension (yet) [13:06:29] ok [13:06:50] committing.. [13:07:04] 03werdna * r32917 10/trunk/extensions/ (5 files in 2 dirs): Add LocalFileLink extension, by Moisa Doru [13:07:22] Werdna: thanks [13:12:18] Werdna: LocalFileLink.php needs svn keyword LastChangedDate [13:13:15] Werdna: I was also wondering if maybe that extension should be in a sub dir of FCKeditor, as it cannot be used without. [13:14:05] $ svn propset svn:keywords LastChangedDate [13:14:05] svn: Explicit target required ('LastChangedDate' interpreted as prop value) [13:14:55] Werdna: you didn't provide the property value [13:15:05] ah, no, you didn't provide the file [13:15:31] ph right [13:15:36] *Werdna has to go to bed [13:15:44] I'll fix it tomorrow if nobody else has [13:15:45] nn [13:15:49] Werdna: sleep well. [13:17:36] 03siebrand * r32918 10/trunk/extensions/LocalFileLink/LocalFileLink.php: +svn keyword LastChangedDate [13:27:45] 03catrope * r32919 10/trunk/phase3/includes/api/ApiQueryRecentChanges.php: Oops, let's use a RIGHT JOIN here rather than an INNER JOIN, or rcprop=redirect will drop all log entries. [13:29:33] . . . [13:29:40] The API has its own database abstraction layer? [13:30:01] Well, kind of. [13:30:15] the API reimplements everything [13:30:22] Yeah, that's what I'm remarking on. [13:30:32] Maybe it was a bad idea to have a totally separate group of developers work on it. [13:30:33] 03siebrand * r32920 10/trunk/extensions/WatchSubpages/WatchSubpages.i18n.php: Make message more generic [13:30:36] They even have their own lead developer. [13:30:48] pretty much came back to bite them when they reimplemented editing, and wikimedia won't enable it ;) [13:31:40] It's funny because the so-called lead developer hasn't touched the project in months. [13:31:50] the lead developer now is catrope [13:32:10] His last commit a few weeks ago was when Roan changed him from lead to former-lead, he reverted it. [13:35:03] MinuteElectron, not really true. http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiMain.php?r1=32075&r2=32210 [13:35:20] Roan is still listed as "lead developer Sep 2007-present". [13:37:26] I just don't get the point of API - it wasn't needed in the past, is it needed now? :) [13:37:44] It's used by bot authors, basically. [13:37:47] Very useful to them. [13:37:59] Seems worthless to everyone else. [13:38:06] I see... [13:38:44] 04(REOPENED) Do not SUBST: namespace names (etc.) in user preferences signature. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13480 normal->low; +comment (10bugzilla.wikimedia) [13:40:50] 03(mod) Do not SUBST: namespace names (etc.) in user preferences signature. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13480 (10bugzilla.wikimedia) [13:41:53] 03(WONTFIX) Add a watched field in prop=info - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13445 +comment (10roan.kattouw) [13:42:35] Hi there [13:42:56] TimStarling: You still here? [13:44:28] 03(mod) Do not SUBST: namespace names (etc.) in user preferences signature. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13480 +comment (10niklas.laxstrom) [13:44:55] Anyone could help me? My wiki-site, is running extremely slow (loading time > 2mins at times) [13:46:20] 03(mod) Create (rev_timestamp,rev_user_text) index - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13622 (10roan.kattouw) [13:46:42] 03(mod) Create (rev_timestamp,rev_user_text) index - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13622 +patch (10roan.kattouw) [13:48:11] 03siebrand * r32921 10/trunk/extensions/GlobalBlocking/ (GlobalBlocking.i18n.php GlobalBlocking.php): Add localisation for extension description [13:48:23] 03(mod) Implement rev_deleted (deletion of single article revisions) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3576 (10voyagerfan5761) [13:50:16] busy [14:00:09] TimStarling: enhydra is now active so you could unban him? [14:05:25] 03tstarling * r32922 10/trunk/phase3/maintenance/archives/upgradeLogging.php: Proposal for method to upgrade the logging table at wikimedia [14:05:49] that debian package for mediawiki is a complete mess :( [14:07:38] howdy [14:09:24] what's the name of the extra "plugin" which forces user to type simple math expression when a user updates an article? [14:13:00] YazzY, ConfirmEdit [14:13:43] Simetrical: thank you [14:19:19] Simetrical: http://rafb.net/p/6CkAUG31.html [14:19:50] i got the monobook skin and make that changes... [14:20:07] you know if have anything about it or like it ? [14:20:27] * i will post the html too [14:20:58] Anyone could help me? My wiki-site, is running extremely slow (loading time > 2mins at times) [14:22:01] Simetrical: http://rafb.net/p/9jZ8nt27.html [14:25:01] Atina: is it a shared host? [14:25:53] yes, but I don't know what makes the wiki so slow [14:26:38] well, it's hard to debug or fix on a shared host [14:26:51] it might just be the sysadmin's fault [14:28:32] hmm, ok thanks. I guess I'll send them a mail and describe the problem. [14:30:04] 03(mod) Implement rev_deleted (deletion of single article revisions) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3576 +comment (10Aphaia) [14:33:50] 03(mod) Implement rev_deleted (deletion of single article revisions) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3576 (10voyagerfan5761) [14:58:02] 03catrope * r32923 10/branches/ApiEdit_Vodafone/ (148 files in 15 dirs): ApiEdit_Vodafone: Merging latest revisions from trunk [15:01:34] I got my multi-install to work, but it required quite a lot of tweaking, and the debian package is alpha imho [15:01:43] I'll write a small tutorial about how I got it set up soon :) [15:07:21] 03(NEW) Line Numbers on Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13644 15enhancement; normal; MediaWiki: User interface; (tylerromeo) [15:08:40] yann2: The debian package is not supported by us, we urge people not to use it at all costs. [15:09:04] that bad? [15:09:17] maybe not that bad, but it's unadvisable [15:09:23] :) [15:09:29] It's funny, the fedora package installs firefox. [15:09:33] in theory its just a mediawiki with a couple of sylinks [15:09:38] ahah [15:09:57] they package all the tex stuff which has tons of dependencies, but they badly design it [15:10:30] hehe [15:10:45] packaging webapps is a very good idea usually though, too bad you don't support these [15:11:18] how so? [15:11:28] security upgrades, gets done with the rest [15:11:40] no need to subscribe to the security mailing list [15:11:40] imo it's usually a bad idea, web apps are entirely different to applications for which packaging was designed for [15:12:00] web applications need far more controlled deployment, especially on the scale of a wiki farm [15:12:06] i.e. more than on wiki [15:13:01] well, half true :) it needs control but package could make it simpler, and for me its all about the security upgrades [15:13:45] for this you need an active package maintainer though I must say I'm not to sure right now about that partticular one :P [15:15:44] anyway, thanks for your help - I'm quite happy I got it to work :) [15:17:13] Well, AFAIK the package maintainer is not a member of the general community which makes it more difficult. [15:17:53] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10random832) [15:22:17] is there a variable like {{USERNAME}} as there is {{PAGENAME}} [15:22:19] ? [15:22:30] not in core [15:22:33] ok. [15:22:47] would ~~~~ work? [15:22:48] heh [15:22:50] but you can implement {{USERNAME}} as JavaScript hack ;-) [15:22:56] as you can for anything [15:25:11] hrmmm [15:26:22] yeah, I guess I could do that in common.js [15:26:41] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10conrad.irwin) [15:34:15] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10random832) [15:41:55] 03(mod) #iferror should catch imagemap errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13620 (10rene.kijewski) [15:43:13] 03(mod) Implement rev_deleted (deletion of single article revisions) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3576 (10JSchulz_4587) [15:45:10] anyone have any experience with semantic forms? [15:53:34] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10conrad.irwin) [15:54:02] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10conrad.irwin) [15:55:15] hiya ialex :-) [15:55:35] hello Jack_Phoenix :) [15:55:55] rar [15:57:41] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10conrad.irwin) [16:04:18] 03ialex * r32924 10/trunk/extensions/FCKeditor/plugins/mediawiki_localfilelink/link_dialog.html: Setting svn:eol-style native [16:12:50] Anyone know how to fix this error I got after updating mediawiki Table 'wikidb.page_restrictions' doesn't exist [16:13:29] kury: run maintenance/update.php [16:13:46] 03(mod) Can't Replace Images (PostgreSQL) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13345 (10harding.ian) [16:15:06] ialex, is that php suppose to be executable or should I just run php maintenance/update.php? [16:15:35] kury: it's not executable so you have to use php ... [16:15:44] ialex, K.. just checking [16:17:10] Is there documentation anywhere on the new preprocessor - for example the difference between Preprocessor_DOM and Preprocessor_Hash? [16:19:45] ialex, it says "No superuser credentials could be found. Please provide the details..." apparently I need to pass it a username or something? do you know the syntax? [16:20:39] kury: create AdminSettings.php in the main directory of the wiki, see AdminSettings.sample in the same directory for informations about that [16:21:02] hi, i tried to disable edit pages to all users as described in the wiki but my mediawiki installation is not interested of my configuration settings :) [16:21:42] ialex, :( I don't have either of those files... [16:22:01] kury: you should have AdminSettings.sample [16:22:03] i login with a stardard user, no rights, no groups assigned and i can edit content, even with that line in the localsettings [16:22:05] $wgGroupPermissions['user' ]['edit'] = false; [16:22:32] also put $wgGroupPermissions['*']['edit'] = false; [16:23:14] ialex, this returns nothing.. find /var/www/localhost/htdocs/mediawiki |grep -i admin [16:23:30] ialex: the line is already in my config [16:24:00] ialex: not logged in users cannot edit content, logged users can but should's be able to edit [16:25:19] $wgGroupPermissions['*']['edit'] = false; should be sufficient [16:25:37] if only anonymous users should be able to edit [16:25:48] ialex, ah.. I found one... does it go in the mediawiki root or the maintenance dir? [16:26:00] kury: root [16:29:29] ialex, uhg... sorry to be such a pain... how do I find out what my mediawiki admin username is? I have the mysql root login/password....... and I know the users password... I just don't know the user.. [16:30:11] kury: you a to put a mysql admin user/password in that file [16:30:15] *have [16:30:41] mysql root is good too :) [16:30:54] ialex, ... ya I seen that.. but I don't know what the username is, I'm sure I used the default but as I recall its changed in the current version of media wiki.. [16:31:03] ialex, can I use the root one? will that work still? [16:31:31] kury: if he have all rights on your database it is ok [16:31:52] *it [16:33:22] ialex, sweet... back in business... Thank you sir......... [16:33:36] kury: no problem :) [16:33:49] ialex: it work's, ty [16:40:05] 03aaron * r32925 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Add unreviewedpages link too [16:49:03] 03aaron * r32926 10/trunk/phase3/includes/PageHistory.php: Make it possible to prefix the line by hooks [16:51:18] 03(mod) new parser function for conditional transclusion based on page size - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12698 (10cbm) [16:53:24] does someone know about templates? Parameters: I use [[:File:{{{1}}}|(desc)]] to create a link to desc page of {{{1}}} which is the file name. Now sometimes it can happen that this parameter is an external link. In this case the desc link shouldn't show up. I dunno much about #if so is there a way to e.g. if param1 = http... then "(desc)" = "-" or something? [16:58:51] 03(mod) Line Numbers on Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13644 +comment (10ssanbeg) [17:06:21] how can I embed a google search box into one of my mediawiki pages? (for searching the entire web, not just my wiki) [17:08:41] hello [17:09:00] oih [17:10:17] hi Nikerabbit [17:11:07] hi ialex [17:14:03] 03shinjiman * r32927 10/trunk/tools/planet/zh/config.ini: +Mountain [17:17:40] qualcuno può aiutarmi in italiano? [17:17:47] (ciao a tutti!) [17:18:42] can someone help me? [17:19:12] in mediawiki 1.12 i can't find italian... is it possible? [17:19:34] fabri: no [17:19:52] where are you looking for it? [17:20:30] no? but... i uploaded the folder on netsons, and when i setup mediawiki there aren't italian, english, french [17:22:10] what's in the languages/Names.php and in the languages/messages subfolder? [17:23:22] BrokenArrow: have fun :) [17:23:32] language.php, languageconverter.php names.php [17:23:48] on messages a lot of php's! [17:24:33] there's a messagesIt.php [17:26:03] fabri: ok. are you setting up the wiki for the first time? [17:26:14] yes [17:27:11] 03(mod) Line Numbers on Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13644 +comment (10pathoschild) [17:27:24] fabri: So you are in the "Site config" section of the installation page, and Language: doesn't have it - Italiano? [17:28:30] right... no italian, from inh to iu without any it [17:30:15] ... does the list start ad 'ab' and end at 'zu'? what browser are you using? what's the content of Names.php? [17:31:39] hrm. Can someone help me? I'm trying to reconfigure the menu items but can't seem to access :Sidebar as described in the guide. Do I need to create it? [17:31:43] !anonymus [17:31:43] --mwbot-- I don't know anything about "anonymus". [17:32:20] How to stop anonymus from edit? [17:33:08] i use firefox, the list starts with ab nd ends with zu, in names there's a string for italian [17:36:53] BrokenArrow, [17:37:00] fabri: is the Italian string in the HTML source for the installation page? If so, it's a visualization problem [17:37:57] BjornH: Look in the FAQ for anonymous. [17:40:03] BrokenArrow, there isn't! [17:40:14] have i to edit it? [17:40:28] fabri: that's very strange. anyway, you can set the wiki to any language during install and then change LocalSettings.php to $wgLanguageCode = "it"; [17:40:39] ok [17:40:51] i will try to modify the html too [17:40:57] thank you so much! [17:41:09] the html should be generated from the names list... [17:41:17] np, torna quando vuoi [17:41:39] ok [17:44:18] is there anyone who would be willing to help me rewtire the VOTE extention to allow for voteing for 2 items instead of one? [17:47:16] tale, ok. [17:49:04] mjau [17:49:09] tale, it was easy, thank you! [17:53:43] 03ialex * r32928 10/trunk/phase3/ (docs/hooks.txt includes/OutputPage.php): Added parameter to BeforePageDisplay hook so that extension can use it to modify it. See my next commit for an inplementation of it. [17:54:28] *ialex always forget to escape $ in his commit messages >.< [17:55:54] I wonder why people use -m anyway [17:56:09] then they don't even see list of files they are going to commit [18:00:15] TimStarling: if you have a minute some time, I would appreciate any thoughts about bug 12698. It's becoming a more irritating issue on enwiki, and I have some time to work on the code for it, but I'm not sure the best way to proceed [18:00:35] !bug 12698 [18:00:35] --mwbot-- http://bugzilla.wikimedia.org/show_bug.cgi?id=12698 [18:00:41] stupid bot [18:02:41] the parser was changed a lot after that code was written, so it would need to be redone, but I think the {{pagesize:Foo}} method might be better [18:03:22] is the page size stored anywhere? [18:03:25] it'd be potentially slow, like #ifexist [18:03:31] in the page table [18:03:31] it would increment the ifexit counter [18:04:56] carl-m: you should see my patch on https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 [18:05:28] It also looks painful to tell whether a magic word is substed or not [18:06:06] MrZ-man: thanks, will read that [18:06:10] hi, does anyone know which extension #titleparts comes from? [18:06:43] uberfuzzy: looks like it's in ParserFunctions [18:07:20] i thought i looked there [18:07:36] doh, i opened the link to string functions twice [18:07:45] thanks [18:08:24] MrZ-man: the issue on enwiki is the peer review page [18:08:42] too may big transclusions? [18:08:48] yep [18:08:50] *many [18:09:11] and it's made worse by bug 13260, where the size is counted multiple times towards the template limits [18:12:05] 03ialex * r32929 10/trunk/extensions/SkinPerNamespace/SkinPerNamespace.php: Now using the new version of BeforePageDisplay hook introduced in r32928. WARNING: require MediaWiki 1.13 to work correctly. [18:21:22] hi is there any body try apachebench on mediawiki? [18:21:26] 03aaron * r32930 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevs.php flaggedrevs.css): Style changes/cleanup [18:22:12] i got 'Requests per second: 3.64 [#/sec]' only [18:22:18] is there any help [18:24:23] please help [18:26:40] hi is there any body try apachebench on mediawiki? [18:26:56] i got 'Requests per second: 3.64 [#/sec]' only [18:28:46] 03(mod) Line Numbers on Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13644 (10ssanbeg) [18:29:49] ab2 -n 100 http://127.0.0.1/wiki/index.php/Main_page [18:29:50] This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 [18:29:50] Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ [18:29:50] Copyright 2006 The Apache Software Foundation, http://www.apache.org/ [18:29:50] Benchmarking 127.0.0.1 (be patient).....done [18:32:21] ab2 -n 100 -c 10 http://127.0.0.1/wiki/index.php/Main_page [18:32:34] HELP HELP HELP [18:32:59] alecliu: You have not stated what help you need. [18:33:22] ab2 -n 100 -c 10 http://127.0.0.1/wiki/index.php/Main_page it is slow here [18:33:32] it got 4 requests per second only [18:34:42] ab2 -n 1000 -c 10 http://127.0.0.1/iProber.php i can have 'Requests per second: 340.22 [#/sec] (mean)' [18:34:43] Can category pages be redirects at present? [18:34:51] not in any useful way [18:35:08] how's htat? [18:35:29] any one try this: " ab2 -n 100 -c 10 http://127.0.0.1/wiki/index.php/Main_page" [18:35:36] they can be made into redirects, but they won't work like you think they should [18:35:45] alecliu: 127.0.0.1 is a local address [18:35:54] How will they work then? [18:35:56] yep, i try it on my computer [18:36:07] right, but nobody else can do it for you [18:36:21] i mean you have got MediaWiki on your own , and then try it [18:36:40] the page will work as a redirect, but it will also still work as a category [18:36:52] that means, that is no problem for the net connection [18:37:15] MrZ-man: Sounds like what I want; I just wanted to know about the page itself as a page, not how the category graph considers this. [18:39:03] anyone try it [18:39:30] or try this "ab2 -n 100 -c 10 http://www.mediawiki.org/w/index.php/Main_page" btw: i run it in the linux [18:40:22] alecliu: I woudl but I've never run into a2b [18:40:25] where is it? [18:40:33] wait wait [18:40:42] /usr/sbin/ [18:40:56] I read it wrong [18:41:42] but it doesn't seem to exist in my linux distro [18:42:02] that is call as ' ApacheBench' [18:42:07] you may try to have one [18:42:53] unfortunately not [18:43:15] but your problem is you want higher requests per second? [18:43:16] The following URL to a graphic works, but why doesn't it show up when I put it in mediawiki? http://wikidev.wsu.edu/resources/wsu/wsuwiki/images/wikiwelcome.jpg [18:43:23] do you have apache on your computer [18:43:30] yep [18:43:32] yes [18:43:35] it is slow [18:43:45] the response [18:44:07] even the local visit [18:44:34] i am not sure, if i make any mistake on the configure of php or apche [18:44:47] alecliu: I found it. I get 9.3 per sec on my local wiki [18:45:28] how about the mediawiki.org [18:45:58] /usr/sbin/ab2 -n 100 -c 10 http://www.mediawiki.org/w/index.php/Main_page [18:47:13] How can I enter a url to a graphic so it shows the graphic? [18:48:07] !externalimages | matthew_ [18:48:07] --mwbot-- matthew_: To allow images from elsewhere to be included in your wiki, see . To limit this to some specific sources, see . [18:48:08] Requests per second: 264.04 [#/sec] (mean) [18:48:08] i have got, with a file t.php. which contains '' only [18:48:42] I think, though not sure, when someone tries to upload to my wiki it causes it to spawn apache2 out of contorl. [18:50:52] ialex: that first link you gave starts by saying when set to true... and continues talking but never mentions what to set as true or false... [18:52:03] matthew_: what to set to true is $wgAllowExternalImages in LocalSettings.php (and it's mentionned in the title of the page) [18:52:05] ialex: ok.. i c.. it's the topic of the page: $wgAllowExternalImages (didn't notice the heading) [18:52:10] ^^ [18:55:32] hellow can i find language packs for wikimedia? [18:55:49] !language [18:55:49] --mwbot-- I don't know anything about "language". You might try: !langlinks [18:55:57] !multilingual [18:55:57] --mwbot-- I don't know anything about "multilingual". [18:56:03] !romanian [18:56:03] --mwbot-- I don't know anything about "romanian". [18:56:07] ... [18:56:16] !langlinks [18:56:16] --mwbot-- Language links are links to translations of the same article on another wiki. For information on how to set up language links, see [18:56:25] gligorhoria: MediaWiki already comes with hundreds of avaliable languages [18:56:46] oh u can setup that at installation? [18:57:16] yes [18:57:22] its an option in LocalSettings [18:57:35] ty :D i didn;t know i was that advanced :)) [18:57:42] ialex: so how can I make it show the image? I enter the url with or without [[ ... ]] around it, and it always shows the url.. not the image [18:58:03] !wg LanguageCode [18:58:03] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgLanguageCode [18:58:26] matthew_: you set $wgAllowExternalImages to true ? [18:59:03] yes [18:59:35] copied and pasted it so I wouldn't make a typo [19:01:11] ialex: i.e. I put exactly this as a line in a wiki page and it shows the url: http://wikidev.wsu.edu/resources/wsu/wsuwiki/images/wikiwelcome.jpg [19:01:49] matthew_: hmm, should work [19:04:22] ialex: Ok.. I will move on to my next issue and come back to this one, later.. [19:04:42] matthew_: is your wiki public ? [19:05:00] ialex: this development version is.. not publicly editable.. [19:05:25] matthew_: but viewable ? [19:05:36] ialex: yes.. wikidev.wsu.edu [19:06:21] matthew_: and when you put [[Image:wikiwelcome.jpg]] ? [19:07:07] I tried that also.. didn't work.. let me try again with a capitol "I" in image [19:07:58] ialex: I didn't actually try like that.. no... sorry.. it's an external image. [19:08:16] matthew_: can't you upload it with Special:Upload ? [19:08:18] because it's a multi-wiki site and each has its own image directory--intentionally kept separate [19:09:31] ialex: how does Special:Upload work.. just enter that in [[ .. ]] ?? [19:10:06] matthew_: upload the image with Special:Upload and then link it with [[Image:...]] [19:11:39] Where does it go.. on the url line, in a wiki page? [19:12:04] matthew_: Image:... wiki page [19:17:28] strange.. I set $wgEnableUploads = true; but it still says uploads are disabled. [19:21:58] Is there any way to see what user has what IP address on the wiki? [19:22:33] for example i want to know which user of mine is logged in with the ip address 10.10.24.227 [19:23:08] !extension CheckUser | MadFrenchie [19:23:08] --mwbot-- MadFrenchie: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [19:23:16] erg [19:23:48] MadFrenchie: http://www.mediawiki.org/wiki/Extension:CheckUser [19:26:04] thank you Ialex [19:28:19] I lost my main admin password [19:28:31] How can I reset it ? my db is in MySQL [19:28:45] !passwordsql [19:28:45] --mwbot-- UPDATE user SET user_password=MD5(CONCAT("12345-",MD5("password"))) WHERE user_id=12345; This will reset the password for the user with user_id 12345. Replace that with the desired ID (there are two places it's used in the query!). If you know a user's name but need to find out their ID, use: SELECT user_id FROM user WHERE user_name='Bob Smith'; [19:30:02] ialex, I did that, but still it is telling wrong password :( [19:32:27] kushal: what was your sql statement [19:33:11] fixed [19:33:19] ialex, did a wrong userid [19:33:25] ialex, thanks a lot [19:34:00] kushal: no problem, but now the other user password might be broken i you gave a valid user id [19:39:11] ialex, I will check that, thanks for telling me [19:51:21] woudl cause much databse load if i do the following: i plan to display the number of articles in a category on the category page. [19:52:15] MONK3000, depending on how you do that.. [19:52:23] err that's a question ;) would it cause much database load? cos i think there may be areason why it doesn't show the full number as soon as it's more than 200? [19:52:53] i think the new category table addresses that.. (though i'm not sure) [19:53:25] would hack /includes/CategoryPage.php and try to use the same method as Special:Mostlinkedcategories does [19:53:28] easiest way would be to "scan" the categories once and then pull a cached number, and if a purge occurs it can scan one.. [19:54:00] if were talking about less db load [19:54:58] but why doesn't MW do it by default? [19:55:42] i think it does it now.. (v1.13 trunk) there was a schema update and they created a category table to store these things.. (but again, i'm not sure if they addressed this issue specifically) [19:55:44] it does in the trunk version, but not in any stanble release yet [19:55:57] beat you to it MrZ-man ;) [19:56:04] Pages in category "Articles lacking sources from December 2007" [19:56:04] The following 200 pages are in this category, out of 8,611 total. [19:56:25] that is not the standard [19:56:59] ?? [19:57:03] (previous 200) (next 200)There are $1 pages in this category. [19:57:05] MONK3000: it's only in 1.13 [19:57:10] oi [19:57:14] !import [19:57:14] --mwbot-- To import pages into your wiki, export them using Special:Export (see !export). Then, navigate to Special:Import on the target wiki and select the dump file. You can also import pages directly from another wiki (see !importsources). For mass imports, use the dumpBackup.php and importDump.php scripts (or mwdumper). NOTE: when using content from another wiki, follow the LICENSE TERMS, especially, attribute source and authors! [19:57:25] !importsources [19:57:25] --mwbot-- For information on configuring interwiki page imports, please refer to [19:57:32] *Mike_lifeguard lesigh [19:58:18] ok if it's in MW 1.13 soon then i can wait and no trouble for me [19:58:34] or you can just run 1.13 [19:58:43] stop beating me! [19:58:46] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10random832) [19:58:46] hehe [19:59:16] woot. just upgraded from 1.8.2 to 1.12. took me a day since i hacked lots of source code [19:59:37] 1.12 was just released, it will be few months before 1.13 [19:59:42] !svn [19:59:42] --mwbot-- Subversion is a version control software that allows users to download the very latest version of a branch without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and submit patches. See http://www.mediawiki.org/wiki/Subversion for more information. [20:00:11] http://www.mediawiki.org/wiki/Download_from_SVN - more helpful [20:00:26] mwbot should learn that link [20:01:14] svn is just too much for me. i changed lots of MW code files without keeping track of what I've changed. now i have a simple log but still much effort to upgrade [20:01:26] so i just wait for the official 1.13 [20:01:36] monk3000, my suggestion is make the effort, you're going to have to one day anyway [20:01:59] why? i can upgrade, it just takes time [20:02:00] and i'm sure per your experience upgrading 1.8->1.12 you noticed that much of the core code had changed [20:02:20] is there any way to see any kind of statistics for users? [20:03:12] i know you can upgrade, but sooner or later some code will be changed which directly conflicts with your changes and requires you to merge with new release.. (if you ever consider running trunk that is) [20:03:16] or just list their email addresses as an admin? [20:03:29] jep i just dunno how the heck i can change code code without touching the core code [20:03:42] trying to determine if a user name collision is the same person or not [20:03:48] MONK3000: if you use svn it is easierto see what you have changed and upgrade [20:03:51] higdur, there are a couple of extensions that can do statistics for that, i don't know of any that do email lists.. you can just pull that from the db pretty easy [20:03:57] yes old hack conflicted new code already. adjusted. all fine :) [20:04:25] monk3000, i isuggest extensions and hooks instead of core changes and svn for easier consolidation with new code.. [20:04:29] Wiredtape: since I have next to none experience with sql, any chance you could list the query to do it? [20:04:50] but, heck, you're the one going to deal with it, so suit yourself :) [20:04:50] "it is easierto see what you have changed" well i use soem dif prog [20:05:22] higdur, i would, however i am not at a computer on which i can do that atm [20:05:30] ok [20:05:40] *can't do that atm, that is [20:05:45] anyone else that knows more sql than me? :) [20:05:55] !download is The latest stable release of MediaWiki can be downloaded from . Files are supplied in a .tar.gz archive. MediaWiki can also be obtained direct from our Subversion repository . See for more information. [20:05:55] --mwbot-- Keyword "download" already exists. Use "!download del" to remove it. [20:06:07] !download del [20:06:07] --mwbot-- Successfully removed keyword: download [20:06:09] !download is The latest stable release of MediaWiki can be downloaded from . Files are supplied in a .tar.gz archive. MediaWiki can also be obtained direct from our Subversion repository . See for more information. [20:06:09] --mwbot-- Successfully added keyword: download [20:07:15] MrZ-man, i didn't know there was a download.mediawiki.org sub? [20:09:06] Anyone who could help me make an SQL query to find the email address of a user? [20:10:31] higdur, do you know how to use phpmyadmin? ( do you have it installed?) [20:10:47] select user_email from prefix_user where user_name = 'x'; [20:10:47] select user_email from user where user_id=1; [20:11:37] thanks [20:11:44] Wiredtape: yes, it's installed [20:11:47] * in Nikerabbit's example change prefix to whatever your prefix is.. and in ialex's change 1 to whatever the user id is.. (in case you didn't figure that out) [20:12:01] :) [20:12:34] Wiredtape: yeah, I kinda go that :) [20:12:37] *got [20:12:41] :) [20:14:14] I'll be taking the database course at university this period, so hopefully I'll be able to handle those things myself in not too long :) [20:14:17] ialex, how goes your admin ext? [20:14:40] Wiredtape: i should publish it some day :) [20:14:52] s/some/one [20:14:53] :) [20:15:02] hehe [20:22:49] How do I fix this blockage? if I try and unmerge tetex it says that it can't find it to remove it http://pastebin.com/m66d85feb [20:25:29] my bad...... wrong channel.. (sorry) [20:25:45] 03(NEW) Include *all* Wikimedia wikis in Domas' wikistats - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13645 15enhancement; normal; Wikimedia: Usage Statistics; (Wiki.Melancholie) [20:30:47] has anyone created a script to get a wiki page and email the 'printable' version of it? [20:31:20] 03(mod) Expand Special:Nuke to revert all of a user' s actions in recentchanges - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13601 (10Bryan.TongMinh) [20:31:21] I keep getting stuck on the required login [20:31:26] 03(NEW) #fi.wikinews disappeared from irc.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13646 15enhancement; normal; Wikimedia: General/Unknown; (zach+bugs) [20:31:36] 03(mod) #fi.wikinews disappeared from irc.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13646 15enhancement->normal (10zach+bugs) [20:33:24] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10conrad.irwin) [20:41:44] 03(mod) Record "new" pages on User contributions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4150 (10brion) [20:47:11] 03(mod) Include *all* Wikimedia wikis in Domas' wikistats - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13645 (10Wiki.Melancholie) [20:53:21] 03(mod) Include *all* Wikimedia wikis in Domas' wikistats - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13645 +easy (10Wiki.Melancholie) [20:53:32] has anyone created a script to get a wiki page and email the 'printable' version of it? [20:53:58] wikibugs: tell Wiki.Melancholie to use the preview button ...wait... [20:55:17] whats an easy way to disable the page title? [20:55:47] in version 1.11.2 [20:56:38] "disable the page title"?? What is that? :\ [20:57:02] where it says 'Main Page' on the start page of mediawiki [20:57:25] http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title.3F [20:57:31] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10brion) [20:59:06] 03(mod) Create Wikimania 2009 website - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13547 (10brion) [21:01:08] 03erik * r32931 10/trunk/tools/planet/en/config.ini: fix martinp23 [21:01:45] 03(WONTFIX) interwiki [[tlh:]] does not work correctly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9164 +comment (10Wiki.Melancholie) [21:01:59] 03(CLOSED) interwiki [[tlh:]] does not work correctly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9164 (10Wiki.Melancholie) [21:09:04] 03(mod) Skip forced SUBST: for constant parser functions in user signatures - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13480 trivial->15enhancement; summary; +comment (10brion) [21:11:02] hi! [21:12:57] AaronSchulz: yo [21:14:07] 04(REOPENED) create namespace alias on nds Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12780 +comment (10wiki) [21:15:15] tadam...^ [21:16:06] 03(WONTFIX) ability to have member categories as well as subcategories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13590 +comment (10brion) [21:17:23] ah, yes, it's monday. bugday. [21:17:38] whee [21:17:50] brion: https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 needs some attention [21:19:23] *brion looks at patch [21:21:20] + if (!$category) { [21:21:21] + return 0; [21:21:27] that'll return 0 for Category:0 :) [21:21:31] has anyone created a script to get a wiki page and email the 'printable' version of it? [21:21:34] I keep getting stuck on the required login [21:22:09] Wanderer: there's probably an extension or two to do it, but i don't know offhand [21:22:16] check on mediawiki.org [21:23:31] MrZ-man: should it be claiming to be 'expensive' if it's just doing single-row lookups from the category table? [21:23:36] seems overengineered at this point [21:23:58] I dunno, that's what Simetrical said to do [21:26:02] meh, i guess [21:26:25] we still don't want to do a billion such calls i guess :D [21:27:00] wiil [21:27:02] if (!$category && $category != '0') { [21:27:04] work? [21:27:27] to avoid the Category:0 issue [21:27:45] MrZ-man: != '' will do the job [21:28:05] or rather == '' [21:30:30] How do I see an article's wikitext after template expansion and such? [21:34:05] davidmccabe: use Special:Expandtemplates [21:34:33] thanks. [21:35:16] [17:26:12] we still don't want to do a billion such calls i guess :D - and you know enwiki will if you give them the chance [21:35:34] what is the limit set to right now by default? [21:35:46] for peer review we would need over 100, maybe 200 would be safe [21:36:25] for ifexist? 100 [21:36:38] but I think Wikimedia uses 500 [21:38:28] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 summary; +comment (10brion) [21:38:47] one... biiiilllliiiooonnnn templates [21:39:11] WP consists of 2m articles and 1b templates [21:40:23] 14(WFM) Diff display sometimes does not hightlight the entire change - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13621 +comment (10brion) [21:40:33] MrZ-man: one difference between your patch and what I had in mind is you don't cache the results [21:42:14] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 (10l8qjvx002) [21:42:42] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +comment (10mrzmanwiki) [21:45:01] hi [21:45:17] i have read that rev_delete is only for burocrates [21:45:32] like this is absolutly unuseful [21:45:52] was request for copyright deletion.. [21:45:58] used by sysops [21:47:31] lusum, whatever happens, this has nothing to do with the mediawiki software. [21:47:56] NicDumZ: eht, the granularity of the tool is indeed a matter of its implementation into MW [21:48:05] mediawiki would allow, if I'm right, this to be done by sysops, it's only a question of settings [21:48:41] NicDumZ: where we can request differents settings? [21:48:53] for instance, if a subset of the new features is the same as "single deletion visible to sysops" like now and it has a corresponding permission, it can be used as such [21:49:29] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 (10cbm) [21:49:56] you have to consult your community, lusum. If there is a consensus, the setting might change [21:51:05] NicDumZ: this is consensus, so... [21:51:10] lusum: btw, rev_deleted is not live, so configuration requests at this point might be premature? [21:51:23] but you want bugzilla [21:51:35] https://bugzilla.wikimedia.org/ [21:51:47] Mike_lifeguard: in our wiki ( it.wiki ) this feature was log waited [21:52:00] Mike_lifeguard: I think the inquiry was about what we can expect in terms of configurability [21:52:04] everyone has been waiting for it [21:52:06] Mike_lifeguard: cause stricter copyright poilcy [21:52:11] I know [21:52:37] but requesting it doesn't mean you'll get it yet. the code is not live. have patience [21:53:46] Mike_lifeguard: was only a reminder :) [21:54:30] Mike_lifeguard: we wouldn't like to correct some things in the future .. [21:55:08] well, put in a request, but the code isn't even live, so there seems to be no point in doing so [21:55:21] you can't configure something that's not enabled :) [21:55:41] Mike_lifeguard: ok :) [21:55:47] i have to go to sleep now [21:55:52] thanks and good night [21:58:46] What does the $wg prefix stand for in all the MediaWiki code? I'm writing an extension and I wonder if I should use $wg prefix. [21:59:08] archivist: Wikipedia Global [21:59:42] you may want to name your variables $egVariable, for extension global [21:59:44] if it's a global... [21:59:58] I'm going to have a few global options define in LocalSettings.php. I wonder if I should stick with the $wg convention. [22:00:02] 03(mod) Create (rev_timestamp,rev_user_text) index - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13622 (10brion) [22:00:16] Ah, $eg sounds good too me. [22:00:18] sorry, meant to type arkivist_ [22:01:32] brion, https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 updated [22:06:31] *brion looks [22:09:45] looks good MrZ-man [22:09:57] :D [22:11:47] 03brion * r32932 10/trunk/ (7 files in 4 dirs): [22:11:47] * (6943) Added PAGESINCATEGORY: magic word [22:11:47] Patch by Mr.Z-man, https://bugzilla.wikimedia.org/attachment.cgi?id=4793 [22:11:47] Moves some of the 'expensive parser function' tracking to core. [22:12:02] brion: is there any reason why the userCan hook isn't run when an article attempts to save? [22:12:07] 03(FIXED) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +comment (10brion) [22:12:38] Skizzerz: is the permission already granted so it's shortcutted? [22:13:15] well, it checks for $wgUser->isAllowed('edit') but doesn't allow userCan functions to override that check [22:15:23] ugh :( [22:15:32] hmm [22:15:36] well, perms funcs suck :P :) [22:15:50] isAllowed sucks. it should die. [22:16:16] permissions should always be checked against an object. [22:16:31] as in, subject, predicate, object. [22:17:51] is it possible to do ldap or radius auth with mediawiki? [22:19:11] 03(mod) Create Wikimania 2009 website - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13547 (10cbass) [22:20:23] 14(DUP) TOC Table is XML bad formed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13623 +comment (10brion) [22:20:28] 03(mod) TOC causes w3c html validation to fail (if Tidy not enabled) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12077 +comment (10brion) [22:20:56] brion, what about https://bugzilla.wikimedia.org/show_bug.cgi?id=13577 ? :) [22:21:20] *brion looks [22:22:07] Could some dev also take a look at https://bugzilla.wikimedia.org/show_bug.cgi?id=13262? [22:22:15] I have a use for it on my talk page. [22:23:09] NicDumZ: can you double-check that there is a category table entry for a category page that's never been used as a category? [22:23:39] checking... [22:27:32] brion, there isn't. [22:27:34] Soxred93: i'll take a peek [22:27:40] Simetrical: :( [22:27:44] It's in the comments. [22:27:47] tables.sql. [22:29:26] right. I understand. [22:31:35] mmh. Seems like a "I do everything wrong" day. Well. I'll get some sleep, then :) [22:31:46] heh [22:31:56] the bit for mostusedcats should be fine tho [22:32:17] nice to hear. [22:32:24] But i still need to sleep ;) [22:33:01] is Special:MostLinkedTemplates listing most-transcluded or just most-linked-to templates? [22:34:32] Mike_lifeguard, the former. [22:34:40] thanks [22:35:38] brion: hmm? [22:36:06] AaronSchulz: domas was mentioning some displeasure over the storing of large blobs in the core database by flaggedrevs [22:36:15] thought i'd pass it on :) [22:36:23] he may or may not still be hanging around somewheres [22:37:45] brion: it is the same as old_text [22:37:57] anyway, it uses external storage if on as well [22:39:25] 03(mod) Create approved wikis (March 2008): Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 summary (10pathoschild) [22:40:48] 03(mod) Record "new" pages on User contributions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4150 (10JSchulz_4587) [22:42:19] brion: should I bother to populate rev_parent_id ? [22:42:39] probably should get done at some point [22:43:29] AaronSchulz: ok i'll double-check w/ domas if that's failing to store in ES properly or if he's just whinging :) [22:44:16] brion: reminds me, there is no way to delete things from external storage. Can you add a method for that? [22:44:29] hmm [22:44:32] purgeOrphanedText and stuff could use it [22:44:40] per'aps [22:44:56] flaggedrevs too, for killing unreviewed version/overriden ones [22:54:18] 03(mod) New Talk Page Option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13262 +comment (10brion) [22:54:21] Soxred93: some comments for you [22:55:27] Brion, use the new preloadtitle option [22:55:45] You provide a page in the page source [22:56:03] and the text box contains the section title [22:56:03] 03(mod) Unusedcategories & Mostlinkedcategories could use the new category table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13577 (10brion) [22:56:11] Soxred93: can you provide an example in a bug comment? [22:59:05] Hmm...not really. [22:59:13] Nothing that will explain it better than I did [23:04:02] Soxred93: it's probably not very hard to type some example of parameters which would actually provide an example of what this patch does [23:04:13] Oh, I see. [23:04:14] if that's not possible, then why would we ever apply a mystery patch? :) [23:05:35] 03(mod) Special:Import: "XML import parse failure" and wrong number of imported revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9911 (10mike.lifeguard) [23:06:54] 03(mod) Protection log entries can be cut off - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12234 (10cbm) [23:09:32] O_O [23:10:02] 03(mod) New Talk Page Option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13262 (10soxred93) [23:29:16] 03(mod) Blocking and tagging from checkuser interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12808 +comment (10mike.lifeguard) [23:31:05] 03brion * r32933 10/trunk/phase3/ (RELEASE-NOTES includes/Parser.php): [23:31:05] * (13624) Fix regression with manual thumb= parameter on images [23:31:05] Fixes parser test case: [23:31:05] * Fuzz testing: image with bogus manual thumbnail [Fixed between 07-Apr-2008 22:04:11, 1.13alpha (r32931) and 07-Apr-2008 23:29:32, 1.13alpha (r32931)] [23:32:14] 03(FIXED) Thumb= parameter on images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13624 +comment (10brion) [23:52:30] I installed extensions/LdapAuthentication.php but it complains of no AuthPlugin.php [23:52:47] Where do I get AuthPlugin.php? [23:53:00] There's a public SVN. Try there? [23:53:59] Is there a variable to tell mediawiki where includes are? [23:54:10] 03aaron * r32934 10/trunk/phase3/includes/ (Article.php Revision.php): [23:54:10] * Populate rev_parent_id [23:54:10] * Mark off and document some functions [23:54:52] ok, I'll have to make a maintenance script