[00:00:27] so something like "If you didn't register the account, follow this link to cancel the confirmation"? [00:00:43] ^email address confirmation [00:01:28] Maybe have some wikis put a https site on? [00:01:40] MrZ-man: yes that's along the lines i was thinking :) [00:02:02] Soxred93: many have! usually nothing to it; just set up SSL correctly on your server [00:02:22] sorry if this seems like a really obvious question.. what is the difference between {{ }} and {{{ }}} ? [00:02:41] {{}} is a template. {{{}}} is a parameter to a template [00:02:48] hi friends. I need accelerate my mediawiki, exist some howto for this ?., [00:04:35] hi friends. I need accelerate my mediawiki, exist some howto for this ?., [00:04:38] They exist accelerating like these: eAccelerator, APC, MMcahe, as of these recommend? [00:04:49] Mike_lifeguard: if that's so, then why is |title = {{{title|}}} in these templates? [00:05:11] Mike_lifeguard: isn't that saying.. in template {{blah}}, the variable title equals.. the variable title? [00:05:15] I don't know [00:05:26] apparently, yes [00:05:27] what template? [00:05:41] derwin: yes... it's passing its own parameter title to the title parameter of t he template it is calling [00:06:03] oh. that makes sense. [00:06:32] bashman: APC is easiest if you can install it. [00:08:32] bashman: MW should be able to use eAccelerator, mmTurck or APC, whichever is available [00:09:29] yes, but i need install only one. [00:09:54] apc does odd things to apache2, at least here, i think it's got some ppc bugs [00:13:28] 03brion * r32389 10/trunk/extensions/DidYouMean/DidYouMean.php: fix more broken stuff [00:13:48] 03(mod) Image caption is interpreted as a parameter (e.g. =?UTF-8?Q?=20when=20it=20ends=20with=20?==?UTF-8?Q?=E2=80=9Cpx=E2=80=9D?=) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13436 (10soxred93) [00:14:00] Oh crap, wrong bug [00:14:18] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10soxred93) [00:14:37] 03(mod) New Talk Page Option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13262 (10soxred93) [00:14:44] 03brion * r32390 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): * (bug 344) Purge cache for talk/article pages when deleting the other tab [00:14:50] 03(FIXED) Cache timestamps not updated on talk deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=344 +comment (10brion) [00:14:55] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10soxred93) [00:16:56] 06(LATER) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10soxred93) [00:18:04] 03(mod) Request feature: Subpages of Shortcuts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12980 15enhancement->minor (10soxred93) [00:18:22] why do people care how many rollbackers there are? [00:19:02] well, down 17 ain't bad :D [00:19:15] ok kids, i think i'm gonna head home and maybe nap a bit :D [00:20:11] brion, late congrats [00:20:12] brion: I'll have the patch ready in a minute if you want to wait [00:21:04] at the end of the day i'm in no condition to review patches; i'm hungry and irritable :D [00:21:21] i'll look it over again when i've eaten, either this evening or in the morning [00:21:38] it's coming along very well, congrats MrZ-man :) [00:21:42] thx Sasoriza [00:21:49] brion, just remember if you ever need it... http://www.mens-divorce.com/attorneys.html [00:21:59] hehe [00:21:59] (sorry, my bad humor) [00:22:42] hey, if she wants half my debt she's welcome to it ;) [00:24:18] Random832, if there are 50,000 of them, we don't want to have to scan that many rows to figure out the answer to NUMBEROFROLLBACKERS. [00:37:01] 03(mod) Image caption is interpreted as a parameter (e.g. =?UTF-8?Q?=20when=20it=20ends=20with=20?==?UTF-8?Q?=E2=80=9Cpx=E2=80=9D?=) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13436 (10Simetrical+wikibugs) [00:39:29] 03(mod) Image caption is interpreted as a parameter (e.g. =?UTF-8?Q?=20when=20it=20ends=20with=20?==?UTF-8?Q?=E2=80=9Cpx=E2=80=9D?=) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13436 (10soxred93) [00:40:00] 03(mod) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 +comment (10mrzmanwiki) [00:41:46] 04(REOPENED) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 +comment (10Simetrical+wikibugs) [00:42:58] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10soxred93) [00:45:25] 03(mod) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 +comment (10mrzmanwiki) [00:46:50] 03simetrical * r32391 10/trunk/phase3/ (3 files in 3 dirs): [00:46:50] (bug 13436) Treat image captions as image captions when they include option [00:46:50] keywords (like ending with "px" or starting with "upright"), provided the [00:46:50] non-keyword part of the caption is non-numeric. Patch based on suggestion by [00:46:50] Mormegil, Soxred93. [00:47:03] 03(FIXED) Image caption is interpreted as a parameter (e.g. =?UTF-8?Q?=20when=20it=20ends=20with=20?==?UTF-8?Q?=E2=80=9Cpx=E2=80=9D?=) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13436 +comment (10Simetrical+wikibugs) [00:47:30] Hrmm... could I file a bug about wikibugs and not be stabbed? [00:48:07] MZMcBride, there's a component, under Wikimedia. [00:48:46] https://bugzilla.wikimedia.org/show_bug.cgi?id=9995 <-- Someone beat me to it. [00:49:08] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10Simetrical+wikibugs) [00:50:26] 03simetrical * r32392 10/trunk/phase3/includes/Parser.php: Actually, let's be a little pickier here. [00:50:39] should ExtensionFunctions.php go under /extensions/? [00:50:43] I need to get images working on my wiki so I can actually test image stuff. :( [00:51:53] i did, included from localsettings [00:53:13] Simetrical? That's your area isn't it? /extensions/ExtensionFunctions.php [00:53:29] ExtensionFunctions are the devil. [00:53:41] Sasoriza, no. [00:53:51] Never looked at ExtensionFunctions. [00:53:59] Oh. Hmm. Ok. [00:54:15] Sasoriza: What are you trying to do? [00:54:49] MZMcBride: ExpandTemplates [00:54:59] We really need a demo of configuration files. [00:55:11] !e ExpandTemplates [00:55:11] --mwbot-- http://www.mediawiki.org/wiki/Extension:ExpandTemplates [00:55:20] right [00:55:45] the devil, why? [00:56:03] You download the file, put it in extensions, and ... [00:56:48] yeah, I just forgot where I had ExtensionFunctions.php [00:59:02] All better? [00:59:54] eeps, now I get fatal error [01:01:08] oh, nm... it's a one-of-them-Mondays [01:01:13] 03(mod) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 +comment (10mrzmanwiki) [01:06:20] are spaces treated as underscores in trunk file calls? [01:13:00] Hi, I have a problem with math display. The formula png files are created and I can view them in Irfanview, but they won't show up on my wiki page. [01:14:38] The links to the files are correct, but I can't access them. File permissions are ok. Firefox says pix are 0x0 pixels (but I can see the formula in IrfanView). [01:16:04] I tried http://meta.wikimedia.org/wiki/Troubleshooting_math_display_errors and http://www.mediawiki.org/wiki/Manual:FAQ#.22File_is_corrupt_or_has_an_invalid_extension.22 without success. [01:41:55] For anyone familiar with SQL/phpMyAdmin: What's the purpose of "ignore" if checked? [01:42:35] !conf [01:42:35] --mwbot-- For an example LocalSettings.php, see . [01:46:15] MZMcBride: ? [01:46:40] That was just a general comment, not directed at you. :) [01:47:03] For phpMyAdmin issues, try googling or reading the manual. [01:48:39] Sasoriza, in what context? SQL dump? [01:49:13] I was just wondering why the mw interwiki shortcut isn't in there by default [01:49:41] so people can use the "mw" namespace? [01:49:48] *Sasoriza nods [01:50:36] no, actually, I'm talking interwiki [01:51:45] Sasoriza: There are some pretty good extensions for interwiki links. They make life much easier. [01:51:53] No direct database fiddling and such. [01:53:54] meh. Only takes a row... [01:54:28] oh, heh, they could use the mw: namespace, even if there was an interwiki link, because you'd get the mw: page if it exists [01:54:50] I had to insert it myself [01:55:08] I don't know why Wikipedia wasn't included until recently [01:55:21] but i agree, I don't like fiddling with the tables [01:57:35] Use an extension. [01:59:17] I like extensions, but they're hard to track... or track down, sometimes. [01:59:40] That's 'cause no one's written a good extension manager yet. [01:59:41] :( [02:00:02] They probably face the same problem. [02:07:33] MZMcBride: Any you recommend? [02:08:38] http://www.mediawiki.org/wiki/Extension:SpecialInterwiki is decent. [02:11:01] Hey, on api.php, what does cmcontinue do? [02:12:06] Er, how do you use it? [02:23:59] Hey, if I install with svn and change a file, it'll hold my changes when I update, right? [02:27:17] JDigital: I don't think so. If the file is updated in the SVN, it'll overwrite I think. [02:28:39] How about my config file? [02:28:57] That isn't in the SVN at all, so it'll be left alone. [02:30:29] what's the proper way to add a template link? [02:31:13] to parser output during parsing, that is [02:31:45] TimStarling, ^ if you have the time [02:35:06] I wonder if there's a better general CMS than Mediawiki [02:35:37] no, especially with the new preprocessor [02:35:44] What's that do [02:35:44] it's now possible to extend it to anything [02:36:14] parses wikisource in a sane manner, and allows extensions to do stuff that was impossible before [02:36:23] spiff. [02:49:30] anything? I'll believe that when I see it [02:58:49] MinuteElectron: Is there any progress being made on the extension manager? [03:18:22] Is it possible to use XML with Mediawiki so that I can make internal declarations and have things replaced on a page with what is declared? [04:02:42] 03(mod) SVG font scaling bug ("%" and "em" misconverted to "px") - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13494 summary; +comment (10FT2.wiki) [04:27:11] 03tstarling * r32393 10/trunk/phase3/includes/ (4 files): Stack depth limit for expand() [04:35:03] is there a way to allow text to wrap when it is indented in the editor (causing a box to be drawn around it when the page is viewed) ? [04:41:53] ? [04:42:12] you mean you don't like your browser's scrolling in an input box? [04:42:20] ("the editor") [04:43:28] well, when the page is viewed... finished page... if the line is too long, the outline box will only be drawn over part of the line [04:43:37] whatever doesn't fit on the screen will keep going on the same line [04:44:02] http://armchairinventors.com/mediawiki/index.php5?title=PlanetPlanet see bottom of that page [04:45:36] oh, yeah, I know that bug.. I bet it is fixed with css [04:52:17] 03(mod) SVG text attribute "underline" doesn't render - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13495 (10FT2.wiki) [04:53:46] 03(mod) SVG text-decoration (including underlining) doesn't render - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13495 summary (10FT2.wiki) [04:56:59] Question: What extension controls all the #if mediawiki? [04:59:14] anon1532_: ParserFunctions [04:59:17] !parserfunctions [04:59:17] --mwbot-- "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [04:59:21] oh jea [04:59:25] TY! [05:00:52] So I need to istall all the parser function related extensions, correct? parserfunctionshelper parsertools, etc? [05:02:02] dunno [05:02:11] depends on which functions you need to use? [05:02:53] uhhhhhhhhhh, i'll apologize in advance, i'm relying information to my sysop who is basically doing whatever i tell him to do, for me. [05:04:32] there's no down side to installing an extension that isn't being used, right? or could that bork something. I'm treading new waters. D: [05:04:54] I am not an expert on mediawiki, but I would assume the worst that could happen is that it would do something to performance [05:05:08] but the doc should indicate which one you need [05:05:27] if you have someone on the hook to install it, probably best to just install as many as you might need now, etc. depends on your goal :) [05:11:30] not a fan of planetplanet [05:15:49] derwin: http://www.religionisfree.org/wiki/index.php/Church_of_Scientology [05:16:02] as you can see, it's all screwed up. [05:17:55] 03tstarling * r32394 10/trunk/phase3/includes/Parser.php: [05:17:56] Fixed r32391 -- the media handler may define parameters, and the parser has no [05:17:56] right or ability to validate those parameters. The handler does in fact provide [05:17:56] a validateParam() function for precisely this purpose -- to signal to the parser [05:17:56] which parameters should be silently ignored. In particular, the thumbtime [05:17:58] parameter in OggHandler would have been broken by this commit. [05:18:31] i love you guys so much. [05:18:37] :) [05:19:45] hmm, it's installed..... [05:21:17] 03(mod) Image caption is interpreted as a parameter (e.g. =?UTF-8?Q?=20when=20it=20ends=20with=20?==?UTF-8?Q?=E2=80=9Cpx=E2=80=9D?=) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13436 +comment (10tstarling) [05:22:29] 03(mod) Image caption is interpreted as a parameter (e.g. when it ends with "px") - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13436 summary (10tstarling) [05:51:08] I'm at my wits end with this. Anybody want a contract? We're willing to pay for hands on help. :( [05:57:29] 03tstarling * r32395 10/trunk/phase3/includes/Parser.php: allow spaces in numeric image parameters for b/c [06:18:18] <_wooz> lo [06:18:36] kljöb [06:19:13] Sorry, my cat wrote that. I don't know what it is she wanted to convey. [06:19:43] I think the only explanation for the ö was that it is a very special cat [06:19:49] belonging to a certain physicist [06:21:59] anybody have experience with articleSave, articleSaveComplete, etc. hooks ? [06:22:53] i have a parser function which sets some data which I save in a table [06:23:28] i do that ok enough, and I handle page moves and deletes (though deletes are a bit stupid, because by the time you get the hook, the article's pageId is gone) [06:23:37] zocky: Wait until your first question gets answerd before posing more. [06:23:59] Taleman, nah, I'll just type and hope somebody sees it some time later and answers [06:24:38] my problem is getting the table updated when an included template changes [06:24:42] api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=14|15 [06:24:59] ugh...why is that query shown as an example [06:27:55] 03(NEW) internal link selection resizes table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13497 minor; normal; MediaWiki: User interface; (opensourcejunkie) [06:28:41] domas? [06:34:28] http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuserprefix=217 [06:35:11] that one took a while, maybe that prefix limit should be higher [06:56:58] ok, who broke temporary passwords? [06:57:08] no wonder I kept getting that login error [07:04:20] Hmm, may have to do with the captcha [07:04:38] no, that would give a different error [07:04:58] Werdna: around? [07:05:02] AaronSchulz: maybe [07:05:34] uh, did somebody commit any parser changes lately? [07:05:37] when you email yourself a new password, then enter it, the form asks for a new password [07:05:45] then when I enter it twice... [07:05:53] it says "Your password has been changed successfully! Now logging you in..." [07:06:03] and below "Login error: [07:06:05] Incorrect password entered. Please try again." [07:06:20] I didn't do it! [07:06:23] but it works after another attempt [07:07:10] Werdna: can you have a look at something for me? (also, sorry for not replying to you on WP) [07:07:17] yeah? [07:07:23] http://en.wikinews.org/wiki/Special:ParserDiffTest [07:07:31] text: "{{New lead article|type=breaking}} [07:07:37] old news [07:07:40] :/ [07:08:05] that's odd [07:08:29] that's Tim's domain. [07:08:48] indeed, the main page now broke :| I'm going to hack the template for a quick fix [07:09:38] *Splarka looks [07:11:13] bj: btw, you can link to the ptd thusly too: http://en.wikinews.org/wiki/Special:ParserDiffTest?pdt_input={{New%20lead%20article|type=breaking}} [07:11:52] didn't know that, I just broke that example to fix the home page [07:12:34] odd, hmm [07:13:33] well [07:13:45] I see the prob I think [07:14:02] http://en.wikinews.org/wiki/Special:ParserDiffTest?pdt_input=%5B%5BImage%3AWikinews-breaking-news.svg%7Cx15px%5D%5D [07:14:14] http://en.wikinews.org/wiki/Special:ParserDiffTest?pdt_input=%5B%5BImage%3AWiki.png%7Cx15px%5D%5D [07:14:56] Splarka: remove the x? [07:15:08] but it worked in the old one, which is odd [07:15:28] does the x do anything? [07:15:40] probably only if another number is there? [07:15:44] like 20x40px [07:16:45] oh, it did do something [07:16:45] hmm [07:16:54] did it set it by height? [07:16:59] yep [07:18:15] *Splarka re-pings TimStarling [07:18:35] x100px image parameter no longer works [07:32:34] hi i have a question which concerns python and regular expression because i'm working on a improvement of an wikipdf extension: if a image is a gif i want to convert it...the command for image magick is convert imName.gif imName.png and the regular expression for searching the gif is imName = re.sub(r'\.(gif|GIF)$'... but i don't really know how i put those two things together...has anybody... [07:32:36] ...an idea!? [07:42:13] 03(mod) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 +comment (10grin) [07:51:59] *Sasoriza thinks this is the longest he's been on #mediawiki [07:55:02] 03tstarling * r32396 10/trunk/extensions/CentralAuth/ (CentralAuth.i18n.php CentralAuth.php): Don't allow local user renames if the target username is globally reserved [07:55:55] mondschein: Could you state more exactly what the problem is? [07:59:42] taleman: the extension i want to improve translates the wiki text in latex and then generates via pdflatex a pdf...the problem is latexpdf doesn't use gif or isn't able...so i wanted to convert the gif image in an png image...which i'm able to do via terminal if i type "convert imName.gif imName.png" so i'm trying to convert the image in my python script...or i want to...but somehow i'm not... [07:59:44] ...able to get it going...--> sorry for my bad english [08:01:04] mondschein: If your Python-installation does not have image conversion module, you can use system() to call the command line to do the job. [08:02:16] I know this isn't strictly MW-related, but when exporting an SQL DB (doing a backup), which is better, zipped or gzipped? [08:02:43] on Unix, probably gzip. on Windows, probably zip [08:02:50] Sasoriza: Define the criteria for better or worse. [08:03:09] restoring [08:03:51] Sasoriza: Then both are about equally good. Zip is better if you need to send it to others, can be opened on Windows, Unix, probably mac too. [08:04:15] ty [08:04:24] don't talk in here about wikimedia stuff, I'm not going to see it [08:04:50] taleman: so how do i have to use system()?! i'm not very familiar with python :-( [08:05:39] mondschein: http://mureakuha.com/paste/?b2bdf6753d13b64bec641c23f72ad4bf [08:08:16] taleman: so i thought if i use regular expression (because i have to "find" the place where gif images are) then imName = re.sub(searched term, the command, output) is that right!? [08:16:15] mondschein: Why not ask these questions on a Python programming channel? [08:16:58] But looks to me that imName ... command does not parse in Python. [08:19:45] imName is a variable...i asked the python channel some time ago another question --> no answer... :( [08:20:21] whee, i'm so happy for the 1.12 release [08:20:36] the wiki works even better than before [08:21:02] TimStarling, got a few minutes? [08:23:23] 03tstarling * r32397 10/trunk/phase3/includes/Parser.php: Another bugfix in the parameter validation thing: allow the handler to validate height/width. Apparently some people specify thumbnail sizes by height only using "x100px", relying on the handler to discard the width. [08:25:21] How does one exclude DB username from setup? Don't want it to appear in page code.... [08:26:07] *MZMcBride thinks "x100px" should be invalid. How absurd. [08:32:00] MZM: the problem is it worked in the old parser, so yknow, legacy support [08:32:18] and handy apparently, if you want to specify just a height [08:32:21] anybody know how to make a new queue job type? [08:36:27] Hmm... "Error selecting database wikidb: 1044 Access denied for user 'user'@'localhost' to database 'wikidb'" ?? [08:36:53] Did I forget to make it writable? [08:54:45] 03(mod) Set file upload to autoconfirmed ( meant is 4 days after account creation) Wikimedia-wide. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12556 (10thogol) [08:55:34] Splarka: thanks for the message [08:56:10] np [08:59:48] yeesh [09:06:32] you rang! [09:16:45] Hey... if you change your db name in an upgrade, will that cause problems later? [09:18:38] no, just change the name in the config accordingly [09:18:54] (resp. supply the new name when running the installer) [09:20:45] Does that affect backups? [09:22:12] is there a simple way to add something to the page that's shown after you save an article? [09:22:35] so that my debugging info doesn't get overwritten by the http redirect [09:25:08] *VonSchmut growls at LionsMane... quit, join, quit, join [09:27:26] zocky: there's an option to change redirects to "click-through". [09:27:32] wgDebugRedirects or some such [09:29:23] Hi, I have put the extracted mediawiki directory in /var/www but now browsing to it with firefox prompts me what to do with a .phtml file [09:29:34] Duesentrieb, for http redirects? [09:29:37] *zocky goes look [09:29:42] zocky: yes. [09:30:25] Peaker: the webserver setup is scred up... it sounds like you don't have php installed. [09:30:35] *or [09:30:56] Duesentrieb, I installed the Ubuntu packages for php, and added "AddType application/x-httpd-php .htm .misc .inc .phtml" to httpd.conf [09:31:03] anything else needed to get php running? [09:31:23] thanks [09:31:55] Peaker: err... how aboput mapping .php to the php interpreter, but not .html or .misc? [09:32:13] also, the dir index order should probably be something like index.php index.html [09:32:19] Duesentrieb, you mean add .php to that list? [09:32:32] Duesentrieb, how do I set up dir index order? [09:32:32] and remove .htm at least. and probably .misc. [09:32:36] where did you get that from? [09:32:41] someone in #apache [09:32:47] o_O [09:32:59] sounds like complete and utter bullshit to me. [09:33:36] better ask in #php :) anyway... installing ubuntu package of mod_php for apache should take are of all that [09:33:53] i guess by fiddeling with it manually you'll break more than you fix, if you don't know what you are doing [09:34:56] I changed it to a LoadModule for php5 and then "AddType application/x-httpd-php .php .phtml" and now getting blank page [09:41:07] !blankpage [09:41:07] --mwbot-- A blank page usually indicates a fatal PHP error. See !error [09:41:12] !error [09:41:12] --mwbot-- For information on debugging (including viewing errors), see . [09:46:16] 03mkroetzsch * r32398 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageRu.php: Updated translation [09:47:25] 03mkroetzsch * r32399 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: do not store type ids for property values any longer [09:47:41] 03mkroetzsch * r32400 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php: removed obsolete code [09:48:28] 03mkroetzsch * r32401 10/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php: +support for formatting parameters in Special:Ask (not used by any caller/inlink yet) [09:49:09] 03mkroetzsch * r32402 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Infolink.php: simplified/unified code for generating links [10:00:42] 03(mod) using nowiki to disable markup in a string property garbles factbox and inline query - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13474 (10mak) [10:11:38] LocalSettings.php: Is that supposed to be readable by user, group, world, or all of the above? [10:12:42] Also, (unrelated), is RevisionDelete supposed to be listed as a Special page? [10:27:07] VonSchmut: Depends on your system setup. [10:27:14] VonSchmut: What user is apache running as? [10:37:53] MinuteElectron: I'm not sure, to be honest. "root", I think. Apache was never my forte, and I don't use linux. [10:38:36] hmm [10:38:40] not sure then [10:38:43] I'm thinking of that little message at the bottom of a successful installation. [10:45:16] "order allow,deny" "deny from all", if that's any clue... On a different matter: Is it safe to simply overwrite the images and extensions folder in a 1.12 upgrade? [10:45:56] folders* [10:46:10] VonSchmut: as long as you have no images and no extensions, yes [10:52:47] Hey guys [10:52:58] any word on the upload part of the API? [10:58:47] Howdy all.... Anyone able to give me a tip regarding the localsettings.php file not being created in /wiki/config though no installation errors occured? [11:05:58] Hello [11:07:19] yay [11:07:35] solved my problem [11:07:43] after only 24 hours of searching :\ [11:08:11] turns out the LinksUpdate hook is to stupid, because it doesn't get the whole parser output [11:12:42] 03siebrand * r32403 10/trunk/phase3/languages/ (Names.php messages/MessagesDum.php): Remove Middle Dutch: not a living language, no known projects using it as UI. [11:16:17] Howdy all.... Anyone able to give me a tip regarding the localsettings.php file not being created in /wiki/config though no installation errors occured? [11:19:40] Stephen: no, that sounds very odd. [11:19:51] sure you are looking in the right place? [11:22:38] @Duesentrieb Yep... Am on my third install.... I chmod /wiki/config with 755 then 777 and third time with 777 again and the file isn't there! [11:23:27] Stephen: what *is* in that directory, then? [11:24:02] 03(mod) Counting number of contributions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1725 (10wiki) [11:24:34] Even if I go to /wiki/config after the install I am greeted with "Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki" [11:25:25] then it's created. you are probably looking in the wrong directly [11:25:51] again: what files are in the directory you are lloking at? are you sure it's mapped to a we path the way you think it is? [11:26:00] hallo [11:26:14] just index.php and index.php5 [11:26:49] ist hier auch deutsch möglich? :) [11:28:32] Ahhhhh! 'Patience Little Grasshopper, you have much to learn' = Wait 5 minutes and reconnect FileZilla twice and the file is now listed... GRRR!!! I even checked with direct FTP login.... Odd Slow file creation I suppose in the CGI scripting to write the file or something else weird [11:31:24] does anyone of you use the new google analytics ga.js on your mediawiki installation? [11:31:37] i inserted the script part correctly before the of my default skin [11:31:46] and analytics doesn't seem to find it [11:35:40] google analytics may take a while before it gathers some data and processes it [11:36:02] Stephen: i know but it *should* recognize the js tags on the page immediately [11:36:29] i know that data starts appearing way later but it even suggests that i "check again in one minute" [11:36:42] 03tstarling * r32404 10/trunk/extensions/CentralAuth/ (CentralAuth.i18n.php CentralAuth.php): [11:36:42] * Removed reference to the link to the home wiki user page -- not implemented yet [11:36:42] * Added AbortNewAccount hook to abort account creation for local accounts that already exist globally. [11:37:31] 14(WFM) simultaneous page move revert bug - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3231 +comment (10minuteelectron) [11:42:57] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12096 (10N/A) [11:47:42] Good morning, folks. [11:48:45] is it possible to change the many and varied a, a:hover, a:visited CSS settings in MediaWiki:Common.css ? [11:48:59] or do I have edit dozens of CSS entries in the file itself? [11:49:12] never edit the files. you can change any css you want in common.css or the skin-specific pages [11:50:24] flyingparchment: is there one sort of "master" set of setting for link colors, or are they different for each blocktype, etc. [11:50:34] 03(mod) Special:MergeAccount does not identify all accounts - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12096 summary; +comment (10tstarling) [11:50:46] blocktype? [11:50:48] Zhinjio: ask firebug [11:51:19] in normal CSS, you can obviously set a different link color for every containing block to be different. [11:51:41] I guess I'm asking if that was done here, or if most blocktypes inherit a single link color setting from a master containing block [11:51:54] it is normal css [11:51:59] and you *can* do a lot of things [11:52:03] I'm also tired, and probably not explaining myself well [11:52:28] Zhinjio: use firebug or some such, it will tell you what css rule effects which element [11:52:38] generally, link styles are pretty global [11:52:46] with a few exceptions, like the plainlinks class [11:53:31] I'll take a look. never heard of firebug. that sounds awesome for debugging and such. [11:53:34] THank you. [11:57:40] Hi. Mediawiki creating
when i do [[Image:xxx.xxx|center]]. I want to define . But i dont find this defination on files. Do you know which file printing
? [11:59:14] onur: uh, why would you want to do that? [11:59:37] messing with the source is generally not a good idea if you don't REALLY know what you are doing [12:00:38] Duesentrieb: my skin using center class for image. [12:00:51] It's not working when div class [12:01:57] damn, thats a pretty kickass tool. [12:02:04] onur: fix your skin then. [12:02:14] can it show you the inheritance of element properties? [12:02:18] *Zhinjio digs s'more. [12:02:40] Zhinjio: yes, vfery handy. make sure to disable it when not in use though. it makes some websites crawl (gmail was a prominent example, but i think that's fixed now). [12:03:29] Duesentrieb: noted. Thanks. [12:04:20] Zhinjio: it shows you all properties from all rules that apply, and where they are defined. I have not found a way to show what is inherited from parent elements, and how - but you can always select one parent node after the other and look at the properties. just click in the html on the left and watch css on the right. [12:04:33] oh, and note the "inspect" button. very handy. [12:04:56] the js console isn't bad either, but i like firebug most for the css stuff [12:14:45] 03(NEW) Request for New User Group to be created, to create account Requests. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13498 15enhancement; normal; Wikimedia: Site requests; (Thehelpfulonewiki) [12:14:54] Hi, anyone used the LDAP extension? [12:15:13] Does it just replace the original login system, or can it prevent users from viewing the wiki aswell? [12:15:30] What should file permissions be for /wiki/localsettings.php - http://www.mediawiki.org/wiki/Manual:LocalSettings.php Doesn't actually give a precise value! 700 , 740, 744? [12:15:34] How do you secure your wiki in a enterprise enviroment? [12:16:54] If the Wiki is inside your firewall do you need more security to limit internal users from acessing the site? [12:17:07] We are a school, well actually 18 schools [12:17:13] and we want to prevent students from viewing it [12:17:23] atm. we use basic apache auth [12:17:47] We use the wiki for documentation of ICT [12:18:24] Have you looked at http://www.mediawiki.org/wiki/LDAP [12:18:31] yeah looking at now [12:18:39] But does it prevent users from viewing? [12:19:40] In that case I would use .htaccess on the wiki site with password protection and only the 'allowed' users have the username/password and that would be quick and simple [12:19:45] 03(mod) Request for New User Group to be created, to create account Requests. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13498 +comment (10stwalkerster) [12:19:56] Stephen: that is our current solution. [12:20:17] !access | Espenan [12:20:17] --mwbot-- Espenan: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [12:21:13] ah nice [12:24:40] hi there [12:24:55] is it possible to put raw html code in wiki pages? [12:25:16] !html [12:25:16] --mwbot-- For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [12:25:37] !localsettings.php [12:25:37] --mwbot-- I don't know anything about "localsettings.php". You might try: !conf !config !errors !extranamespace !javascript !logo !newusergroup !subpages !tidyforidiots !uploads [12:25:41] !localsettings [12:25:41] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , [12:26:15] This is the correct way to comment something out? [12:26:16] [12:27:48] yeah, the top level Common.css seems to control each and every link, so that was very easy. [12:27:52] Thanks again, folks. [12:28:31] 03(NEW) Type:Number doesn't pass unit to service links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13499 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (info) [12:31:23] !tias | Scream [12:31:23] --mwbot-- Scream: Try it and see. You learn much more by experimentation than by asking without having even tried. [12:37:08] thanks Duesentrieb, and mwbot :) [12:37:09] does someone know anything about using sqllite with mediawiki ? [12:37:57] vi390: yes. it's not supported. [12:38:30] Duesentrieb: not even with extensions ? [12:39:00] nope [12:39:58] ok thanks [12:41:53] vi390: I'd quite like to see it happen though, but probably no one is going to do it for a while if ever. [12:42:46] 03raymond * r32405 10/trunk/ (6 files in 5 dirs): Localisation updates German [12:43:42] 03(mod) Request for New User Group to be created, to create account Requests. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13498 +comment (10Thehelpfulonewiki) [12:44:25] what are the chances of upgrading from 1.3.5 to 1.12 successfully? [12:44:42] <^demon> 1.3.5 to 1.12? [12:44:49] ya [12:45:21] *1.3.6 [12:45:49] <^demon> I've never tried that big of an upgrade...1.5 was a major change, so you might try pushing to 1.5.x first, then go higher. I'm not entirely sure though. [12:47:02] ok. today is the first time ive looked at any wikimedia files, but i've been asked to upgrade the company's wiki. lol. ill try to 1.5 first [12:47:58] i understand the database structure changed quite a bit - are there tools to migrate the data, or must it be done manually? [12:48:38] rewolf: take a backup first (like you would for any upgrade) and go straight to 1.12 [12:48:44] What are the 'best practices' for file permissions for /wiki/localsettings.php - http://www.mediawiki.org/wiki/Manual:LocalSettings.php Doesn't actually give a precise value! 700 , 740, 744? [12:48:56] the upgrade procedure will update the database automatically [12:49:14] Stephen: the most restrictive that allow the user mediawiki runs as to access it. (and it doesn't need to be executable) [12:49:21] i'd try to use mwdumper to grab an xml dump first. safeguard against the charset messup [12:49:32] charset conversion will probably be needed, and that is not automatic [12:49:51] 1.3 supported utf-8, didn't it? [12:50:21] yes, but it wasn't the default [12:50:25] i don't think many people used it [12:50:29] So 'Owner' Read (i.e 400) would be sufficient [12:50:34] why would anyone not seleect it? ;) [12:50:42] Stephen: if it's owned by the user mediawiki runs as, then yes [12:51:10] you want to be able to serve raw files too [12:51:17] so if the apache user is different from the php user... [12:51:18] Thanks FlyingParchment - I'll set it at 400 Thanks [12:51:29] ah, localsettings [12:51:31] sorry. [13:03:21] 03mkroetzsch * r32406 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Number.php: Supply unit information for service links (Bug 13499) [13:03:50] 03(FIXED) Type:Number doesn't pass unit to service links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13499 (10mak) [13:09:55] 03(mod) sidebar rendered over wiki content - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12357 (10marz2k) [13:11:46] 03(mod) sidebar rendered over wiki content - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12357 (10marz2k) [13:19:05] How would one tranclude a page section via relative path, sans categories or section headers? [13:21:23] as in, {{:foo{{{1}}}#Events}} [13:31:43] 03(mod) add DOM friendly importScript and importStylesheet functions into wikibits .js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13232 (10hartman) [13:31:55] VonSchmut, you can't do this. [13:36:44] NicDumZ: Not even via #relabs:? [13:37:14] I don't know about that function. [13:53:02] 03yaron * r32407 10/trunk/extensions/SemanticCalendar/includes/SC_ParserFunctions.php: Added 'isHTML' => 'true' to parser function [13:53:19] 03yaron * r32408 10/trunk/extensions/SemanticCalendar/ (INSTALL includes/SC_GlobalFunctions.php): New version: 0.2.2 [13:53:58] *VonSchmut curses profusely [13:55:52] i would like to write a special: page with progressive display (using php flush). are there already existing examples of that ? [13:57:29] ThomasV: that would very much mess with how mediawiki handles page output. you'd have to bypass the skin completly [13:58:19] Duesentrieb: I was hoping there would be a method that calls flush [13:58:45] there's nothing to flush until the page is finished to render [13:58:55] hmm [13:59:24] in that case I guess it might be easier to use javascript [14:06:05] If we used a non-PHP skin system that used syntax such as {{{body-content}}} instead of html( 'body-content' ) ?> then theoretically OutputPage could explode( '{{{body-content}}}', $theme ) and then just output the first half and everytime flush is called output everthing that hasn't been until execution ends when the second half is output. [14:07:28] You want more parsing? [14:08:04] 03(NEW) Improper scaling of images sized with "px" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13500 minor; normal; MediaWiki: Images; (jonnymt) [14:08:06] well the {{{}}} syntax would just be a simple find and replace [14:08:21] or near enough [14:08:45] MinuteElectron: implementing a template language for generating html in php is plain silly imho. [14:08:48] that's what php *is* [14:08:53] ok [14:08:58] that's way too complicated for me now [14:09:06] php standas for "PHP Hypertext Processor" after all :) [14:26:40] 03(mod) Improper scaling of images sized with "px" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13500 +comment (10tstarling) [14:31:37] 03(mod) {{PAGELENGTH}} magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13483 summary (10roan.kattouw) [14:41:12] HOw is it reccomended that extensions include stylesheets? $wgOut->addStyle hardcoes $wgStylePath forcing the file to be in that directory even though it would be more suited in the extensions directory? [14:41:55] 03siebrand * r32412 10/trunk/extensions/ (37 files in 35 dirs): * Message style updates (by Jon Harald Soby) [14:48:34] why isn't there a 'restore all' for deleted revs? [14:49:01] VonSchmut, there is [14:49:11] just don't match any checkbox [14:49:26] oh, right :) [14:59:22] what is that creates an empty page? __END__? something like that? [14:59:30]   [14:59:56] hi is david pean or aaron wright connected? :p [15:01:32] Hi folks. I'm having issues with special characters in a mediawiki setup I'm running. [15:03:30] When I start a page and fill it with, say katakana or whatever, it'll display nicely. But when I then what to edit it, I only get ???? [15:03:57] link? [15:04:22] Platonides: in's in my companies intranet. [15:04:38] And I'm suspecting some breakage with the creation of the databse. [15:05:15] I just tested the same on a different server [also intranet, but running on Debian, not on Solaris] and it seems to work out just fine there. [15:05:36] a Solaris bug? [15:05:53] it could be related to mysql table language encoding [15:06:27] Platonides: yah, because the database is basically.. hand-made.... [15:06:52] are you using binary latin1 ? [15:08:40] | wikidb | CREATE DATABASE `wikidb` /*!40100 DEFAULT CHARACTER SET utf8 */ | [15:08:47] Platonides: looks fine to me. [15:08:53] the character set should be latin1 binary [15:09:31] 14(WFM) "Premature end of section headers" in api.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13496 +comment (10roan.kattouw) [15:09:58] What's wrong with UTF-8? - I used UTF-8 on Debian machine it works out there pretty fine. [15:10:12] mediawiki doesn't use mysql's utf-8 support, because it doesn't work properly [15:10:26] (and it didn't exist in older versions) [15:10:48] I see. [15:11:26] Is there any chance of fixing this without breaking it, completely and utterly? [15:17:52] you could use mediawiki's newer support for utf8 tables [15:18:09] although in your case i'd probably delete and start from scratch [15:18:38] Platonides: I have quite a lot of data in this wiki..... [15:19:02] i thought it was a new one [15:19:11] didn't you have this problem at the beginning? [15:20:07] Platonides: newly migrated [15:21:07] then you can migrate it again [15:21:28] it'll be easier than fixing it [15:21:48] Bleh, I was hoping for an option that will support my lazyness. [15:22:38] 03(NEW) Bug in the search of wikipedia accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13501 normal; normal; MediaWiki extensions: CentralAuth; (deep_silence_fr) [15:23:42] So.. dump, drop, create database wikidb DEFAULT CHARACTER SET latin1 binary, import, and be done with it...? [15:24:05] probably [15:24:10] how did you migrate it? [15:24:17] !help migrate [15:24:17] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at < http://www.mediawiki.org/wiki/Mwbot >, you can find all my source code at < http://amidaniel.com/viewvc/trunk/MWBot/?root=svn >. A dump is now available at < http://tools.wikimedia.de/~amidaniel/botbrain.html > [15:24:46] Platonides: pretty much like that - before being done with it, I ran php maintenance/upgrade.php [15:24:53] http://www.mediawiki.org/wiki/Backup [15:31:36] 03catrope * r32413 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryInfo.php): API: Adding inprop=talkid,subjectid to prop=info [15:32:19] domas? [15:32:31] 03siebrand * r32414 10/trunk/phase3/languages/messages/ (24 files): Localisation updates for core messages from Betawiki (2008-03-25 15:24 CET) [15:34:02] 03siebrand * r32415 10/trunk/phase3/languages/messages/MessagesHu.php: Localisation updates for core messages from Betawiki [15:34:29] Platonides: http://yoonkit.blogspot.com/2006/03/mysql-charset-from-latin1-to-utf8.html "... and repeat ad infinitum..." [15:36:17] 03catrope * r32416 10/trunk/phase3/includes/api/ApiQueryInfo.php: Correcting slight mistake in r32413 [15:36:58] 03siebrand * r32417 10/trunk/extensions/ (37 files in 36 dirs): Localisation updates for extension messages from Betawiki (2008-03-25 16:24 CET) [15:42:37] AaronSchulz? [15:42:46] domas: http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuserprefix=64. [15:42:59] Platonides: the 'problem' is, that show create table ; shows character set latin1 collate latin1_bin NOT NULL default and ) ENGINE=InnoDB DEFAULT CHARSET=latin1 etc, so I would want to assume that it.. works. [15:43:02] some of these queries are kind of slow, even the examples [15:44:04] api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=14|15 [15:44:11] that just dies [15:44:43] 03(mod) "Premature end of script headers" in api.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13496 summary; +comment (10roan.kattouw) [15:45:22] AaronSchulz: should I disable api? [15:45:41] =) [15:45:43] the prefix needs to be bumped, or maybe depend on misermode [15:46:07] did people realize they can use estimations [15:46:13] that second query is just fucked up [15:46:17] and reject operation in case too many rows are there? [15:46:19] domas: I use estimates for CU [15:46:27] AaronSchulz: can you add estimates to that one too? [15:46:29] no longer times out anymore [15:46:54] *AaronSchulz has made like 1 api commit, and that was a tiny fix [15:47:03] I'd have to get familiar with it [15:47:26] I made like 1, and it was // [15:47:27] ;-) [15:47:35] 03catrope * r32418 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiBase.php): API: Added help text message that specifies whether a module is POST-only [15:47:51] domas: why is that second one dying? [15:48:01] *AaronSchulz wonders what the hell it is doing [15:48:15] even with just one namespace, it is hanging, so that's not it [15:48:44] domas: which wouldn't be as terrible if it wasn't an example on the API mainpage [15:48:54] ;) [15:50:05] AaronSchulz, worksforme . . . http://www.mediawiki.org/w/api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=14|15 [15:50:14] Maybe there are just too many on enwiki? [15:50:18] No, it has a limit. [15:50:31] Probably it's trying to use ORDER BY ... LIMIT without a proper index. [15:50:36] Filesorting the whole result set, yay. [15:50:57] yay, works on MW.org [15:51:03] *yay/yeah [15:51:03] <^demon> This is always fun: not allowing me to view deleted revisions on enwiki. [15:51:51] Simetrical: btw, "worksforme" is best when referring to the same thing ;) [15:51:56] *AaronSchulz goes to his testwiki [15:52:01] AaronSchulz, it's probably running SELECT * FROM archive WHERE ar_namespace=14 ORDER BY ar_timestamp;. [15:52:05] Or something like that. [15:52:20] yeah, I see timestamp paging params [15:52:22] The index is on (ar_namespace, ar_title, ar_timestamp), you can't skip the middle part. [15:52:25] so that would explain [15:52:34] It's filesorting the result set before applying the limit. [15:52:36] *Simetrical rolls eyes [15:52:42] domas: :D [15:52:47] how many rows is that? [15:53:27] You don't have a toolserver account? [15:53:35] oh wait, I do :) [15:53:48] 03(mod) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 (10mrzmanwiki) [15:53:50] mysql> EXPLAIN SELECT COUNT(*) FROM archive WHERE ar_namespace=14; [15:53:51] +----+-------------+---------+------+----------------------+----------------------+---------+-------+---------+-------------+ [15:53:51] | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | [15:53:51] +----+-------------+---------+------+----------------------+----------------------+---------+-------+---------+-------------+ [15:53:52] | 1 | SIMPLE | archive | ref | name_title_timestamp | name_title_timestamp | 4 | const | 1029924 | Using index | [15:53:55] Simetrical: how would it apply a limit before sorting? that's not possible... [15:53:55] +----+-------------+---------+------+----------------------+----------------------+---------+-------+---------+-------------+ [15:53:58] That was too long. [15:54:00] Oh well. [15:54:06] Duesentrieb, yes it is, if you're doing sorted retrieval from an index. [15:54:25] in that case no filesorting should happen at all [15:54:32] Yes, precisely. [15:54:50] SELECT ... FROM archive WHERE ar_user_text='Simetrical' ORDER BY ar_timestamp DESC LIMIT 50; will only look at 50 rows. [15:55:02] Because there's an index on (ar_user_text, ar_timestamp). [15:55:28] But you can't retrieve by namespace and sort by date, it's too large a result set. You're filesorting a million rows. [15:55:45] Because there's no (ar_namespace, ar_timestamp) index. [15:56:00] And even if they were it would fail for ar_namespace IN (14,15), although you could evade that somewhat with UNION. [15:57:48] hmm, too many titles [15:59:47] oh god, do namespace=0 [16:00:01] Mwahaha. [16:00:18] Or 0|1|2|3|4|5|6|7|8... it would just sort the whole table. [16:00:30] | const | 8704885 | Using where; Using index | [16:00:31] 17,000,000 rows. [16:00:44] for articles [16:00:57] AaronSchulz, that means that for the actual query, where it has to hit the data, it's going to just do a table scan. [16:01:00] <^demon> Note to self: play with API more. [16:01:25] Because it's like half the table already, it's insane to retrieve that many from index, way too many seeks. [16:02:19] 03raymond * r32419 10/trunk/extensions/SiteMatrix/ (SiteMatrix.i18n.php SiteMatrix_body.php): [16:02:19] * Follow up for r32286: Add new message to i18n file too [16:02:19] * Add a CSS id to the table, use some more nice XML functions [16:11:53] 03(NEW) Add Hungarian localization for the servers unavailable error message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13502 15enhancement; normal; Wikimedia: General/Unknown; (gtisza) [16:17:19] OMFGWTFBBQ [16:17:37] How do I make it so users must eb logged in to edit. seems they'd put this inthe docs somewhere natural [16:17:52] oh wait, it's in the wiki [16:17:53] lol [16:44:57] hiya jimbojw [16:45:19] hello snowolf [17:01:49] 03(mod) compress javascript output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12250 +comment (10seventowers) [17:07:49] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10reg) [17:12:27] <^demon> If anyone knows where the bug on creating a special page to list IW links is, I'd be grateful. [17:12:35] <^demon> Want to close it, as I've just whipped up an extension to do that. [17:13:45] https://bugzilla.wikimedia.org/show_bug.cgi?id=6628 [17:14:48] 03(mod) compress (obfuscate) javascript output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12250 summary; +comment (10brion) [17:15:03] <^demon> That's the one that deals with editing it (and there's already an extension for it). There's another request that just wants an extension to view the table (ie: so enwiki users can see the available list from a specialpage) [17:15:16] i think it's the one listed there [17:15:33] https://bugzilla.wikimedia.org/show_bug.cgi?id=3745 [17:16:05] 03(mod) compress ("minify"/obfuscate) javascript output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12250 summary (10Simetrical+wikibugs) [17:16:19] <^demon> Ah, 3745. [17:16:24] <^demon> That's what I wanted. [17:16:27] 03(mod) Improper scaling of images sized with "px" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13500 (10brion) [17:21:04] I ADDED NEW FEATURE [17:22:35] <^demon> yay [17:23:59] CIA: wtf?! [17:24:19] !!! [17:24:19] --mwbot-- I don't know anything about "!!". [17:24:23] 03(mod) Improper scaling of images sized with "px" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13500 +comment (10Simetrical+wikibugs) [17:24:32] domas: It didn't come through to mediawiki-cvs either yet/ [17:24:39] spoke too soon :\ [17:24:56] It was a whole 29 lines! [17:25:01] And highly useful for users! [17:25:41] yup! [17:25:52] I was using it in slightly other form for years :) [17:29:40] lol [17:29:46] new huge regression in mediawiki [17:30:12] you guys won't guess where [17:30:13] muahaha [17:31:31] http://en.wikipedia.org/w/index.php?title=MediaWiki:Opensearch-desc&action=edit [17:32:05] and this is from #wikimedia-tech [17:32:05] [19:31] domas WHY DO PEOPLE DO THIS TO ME [17:32:25] bwahaha [17:32:40] brion: WAS THAT YOU? [17:32:53] i believe it was [17:33:19] brion: you realize, that this adds quite a few milliseconds to every page load, right? :) [17:33:26] *^demon hides [17:33:36] domas: maybe you could help make it more efficient? :) [17:34:07] <^demon> oops...what do you know.... [17:34:11] <^demon> Already fixed. [17:34:14] brion: sure, make a maintenance script, that after every upgrade replaces all {{dynamicbits}} into static ones [17:34:53] domas, why not cache the pseudo-dynamic ones like {{SITENAME}}? [17:34:56] in every stupid top-X interface message [17:35:05] Or rather cache the parsed version of the interface message. [17:35:07] Simetrical: cache where? how? [17:35:14] we don't want yet another layer of text handling, do we? [17:35:27] why do we have to cache the parsed version, if it never changes anyway? [17:35:32] We don't? I thought we loved to add more of those wherever possible. [17:35:43] that cache already exists [17:35:49] Well, that's usually what you want to cache, right? The stuff that doesn't change much? [17:35:55] No point caching something that changes every second. [17:36:07] mediawiki:pagetitle too [17:36:37] Things like this may change from time to time on some wikis, although not usually Wikimedia ones. [17:37:02] and your tooltip code sucks too [17:37:16] used to be nice single blob [17:37:17] :) [17:37:22] *domas frowns [17:37:44] domas: if you want to do a shitty temporary hack, change it to '$1 - $2' with the two parameters being the sitename and language code [17:38:06] that'll give a compatible default which can still be fully customized [17:38:32] there're more messages like that [17:38:33] bah [17:38:36] domas, the old tooltip code was horrible. Why don't you give us some way to batch-load messages from memcached if you're so annoyed by all the extra calls? Then it will be a nice blob again. [17:38:38] pagetitle and such [17:38:52] Simetrical: you understand how batch-load works from memcached, right? :) [17:38:58] Nope! [17:39:04] say, you ask for 50 keys [17:39:10] it will go to 50 different servers ;-) [17:39:28] Well, so fix memcached. :) [17:39:36] actually, it doesn't go to memcached [17:39:38] 03(mod) Request for New User Group to be created, to create account Requests. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13498 (10tra.wiki) [17:40:38] Simetrical: try my new mediawiki extension [17:40:54] Special:Electroshock? [17:41:04] profilersimpletext :) [17:41:14] it is very worthy to keep it enabled on development machines [17:41:26] How does it work? [17:41:59] prints profile at bottom of pages ;-) [17:42:05] Nice. [17:42:24] Is there some nice config option to turn it on? [17:42:37] profilers are loaded before configuration [17:42:45] at the top of the file it tells what to put where :) [17:44:09] domas, "Strict Standards: Non-static method ProfilerSimpleText::sort() cannot be called statically, assuming $this from compatible context ProfilerSimpleText in /var/www/trunk/phase3/includes/ProfilerSimpleText.php on line 17" [17:44:41] mmmm [17:44:48] can set 'static' [17:45:18] 03(mod) SVG text-decoration (including underlining) doesn't render - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13495 (10brion) [17:45:38] <^demo1> Blasted cingular card. [17:45:40] My development wiki is highly representative! 5.804307 32 - Database::query [17:45:51] 5.8?!!? [17:46:01] 0.006451 10 - Database::query [17:46:02] =) [17:46:36] domas, 1928 mysql 20 0 95828 23m 5276 S 0 1.1 0:34.45 mysqld [17:46:55] huh [17:46:56] Hi... is there a way to include a list of items in a certain categorie in an article? Something like MyCategory? [17:46:58] must have been sleeping [17:47:14] <^demon> yankee: Use DynamicPageList. [17:47:24] domas, dev machine == desktop [17:47:30] *Simetrical frowns at 23 MB RAM usage [17:47:50] uses 5MB here [17:48:00] allocated 150MB though [17:48:09] huh [17:48:11] Mine is probably configured for 8 MB InnoDB buffer. \o/ [17:48:13] I have 8 mysqlds running [17:48:14] :) [17:48:21] 03(mod) internal link selection resizes table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13497 (10brion) [17:48:28] on my desktop [17:49:15] Oh, yes, I forgot to decrease it. Only decreased for MyISAM. key_buffer = 1M [17:50:14] 03(mod) Improper scaling of images sized with "pxpx" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13500 summary (10brion) [17:50:17] 0.031497 26 - Database::query [17:50:20] That looks a little better. [17:50:41] Not sure this is real helpful, though. :D [17:50:45] I'm looking for a server side scripting extension for mediawiki that will allow me to execute a script when a user tries to save an edited page to do complex assertions on template variables. Is there something like that already, or is it just a matter of tying into the right extension hook and executing the script from php? [17:50:50] Wikipedia charts are a little more germane. [17:51:09] Yowan, what sort of complex assertion? [17:53:41] Well, for example preventing illegal 'moves' (template variable differences between the last and edited version) in the chess diagram template, Simetrical [17:53:54] That *is* pretty complex. [17:54:03] Sounds like a job for an extension to me. [17:54:26] [25-Mar-2008 12:53:48] PHP Fatal error: Class 'DOMDocument' not found in /var/w [17:54:26] ww/w/includes/Preprocessor_DOM.php on line 567 [17:54:27] Damn. [17:54:30] Uh. [17:54:44] [simetrical@odin w]$ php --version [17:54:44] PHP 5.1.6 (cli) (built: Sep 12 2007 11:11:52) [17:55:04] How do I fix this? [17:55:25] I don't know who to inform, but the DOMDocument class is not standard with php 5.1.6, at least--as per the redhat package. Thus, mediawiki fails to work by default, after a successful install. [17:55:48] Simetrical: install xml support for php [17:55:56] php5-xml or something like that [17:56:06] It's not default on Red Hat, yeah. Maybe not a great idea here. [17:56:20] redhat package really exists [17:56:20] <^demon> Someone was complaining about that yesterday. [17:56:24] Someone gave me a solution to this, yesterday that did work fine: $wgParserConf['preprocessorClass'] = 'Preprocessor_Hash'; [17:56:26] 'not default on redhat'? [17:56:41] solifugus: must have been Tim :) [17:56:45] Well, not default installed with the PHP package. [17:56:50] domas [17:56:52] yes.. it was me [17:56:57] It's a separate package. [17:57:00] Simetrical: is php5-mysql package installed by default? [17:57:02] fwiw, I was able to get 1.12.0 into a fc7 RPM.. seems to be working fine :) [17:57:09] *domas: me [17:57:16] domas, doubt it, but this isn't installed with it either way. [17:57:32] We should do RPMs for the releases. And DEBs. [17:57:35] *Simetrical looks at brion [17:58:04] Yay, my site's custom skin broke somehow! [17:58:15] I asked last week about the default search and changing it to search all, or certain namespaces I specify and someone linked me something but I can't get it working. Anyone had any experience with this? I have installed the namespace manager extension and created many custom namespaces for orginizational purposes, but when you search it only searches the main namespace. [17:58:16] aww [17:58:21] ialex: ha! [17:58:26] $wgParserConf['preprocessorClass'] ?? Since when does MediaWiki have this? [17:58:35] lch: 1.12? :) [17:58:45] munda: if you scroll to the bottom of the search screen you'll see all those checkboxes [17:58:46] right :) [17:58:50] the default state is settable in user prefs [17:58:57] the default user prefs are settable in a global variable [17:59:04] you can see the default of that in DefaultSettings.php [17:59:30] that explains things, I'm still on 1.11 [17:59:40] sweet [18:00:21] Oh, now it works. Magic! [18:00:22] derwin: I am using RHEL 5, php 5.1.6 installed.. Fedora could be different. [18:00:35] <^demon> brion: Tuesday can't be bug day too? [18:00:47] :D [18:00:51] has somebody got the Math/LaTeX plugin working with SELinux enabled? [18:01:06] Which wfMsg function do I use to get my message parsed by the parser? [18:01:24] MinuteElectron: wfMsgExt [18:01:26] with appropriate options [18:01:27] thanks [18:01:31] like 'parse' or 'parseinline' [18:01:36] note also $wgOut->addWikiMsg() [18:01:39] I think wfMsgWikiHTML also works. [18:01:40] ^demon: YOU ARE A BASTARD [18:01:54] Is there an example somewhere of a drupal-style top LocalSettings.php file? [18:02:08] I am trying to setup a farm [18:02:10] ^demon: I violate zillion policies, make myself sysop, just to find that you already fixed stuff on enwiki. [18:02:19] > User::newFromName("Midom")->addGroup("sysop"); [18:02:20] :((( [18:02:41] > User::newFromName("Midom")->removeGroup("sysop"); [18:02:45] no audit trail! :) [18:02:51] domas, you just gave us one. [18:02:54] Don't suppose anyone knows of a way to convert from pdf to wiki format? [18:03:03] Simetrical: this one could be invented! [18:03:09] Despot, there's no way to do it losslessly. [18:03:20] How about HTML? [18:03:28] I'm fine with losslessly [18:03:29] <^demon> domas: I fixed it shortly after you posted it. [18:03:32] Whats the way you know of? [18:03:37] <^demon> "What do you know, already fixed" or somesuch comment above. [18:03:54] Despot, there are various converters wandering around the Internet. Google. [18:03:57] ^demon: hehe [18:04:08] ^demon: it is one of those rare developer pleasures [18:04:18] silently obtain sysop privileges, do something, then remove privs [18:04:34] <^demon> domas: How do you think I get away with it at work on our wiki farm? [18:04:54] =) [18:05:05] ^demon: can you change it on other major wikis? [18:05:14] <^demon> no :'( [18:05:15] where is my super-developer-single-user-login [18:05:16] :) [18:05:45] 03(mod) Bug in the search of wikipedia accounts - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13501 (10brion) [18:05:47] <^demon> domas: It's coming soon. Right after we finish the MW neural interface. We discussed it yesterday. [18:05:59] domas, you mean sysadmin privileges. Us developers don't get to do that. :( [18:06:03] Simetrical: thanks [18:06:18] *Simetrical adds back-door [18:06:22] Simetrical: super-developer != developer [18:06:41] super-developer is the one you revert, and find yourself reverted afterwards :) [18:06:44] ;-p~ [18:06:55] domas: Surely you don't even need to grant yourself sysop, just do the thing you want in the database? [18:06:55] ^demon: thx, I installed it and it works :-) [18:07:00] *Simetrical should check in some code sometime that adds a blatant back-door, commented out, with comment "need to find a way to make this more subtle." [18:07:05] <^demon> yankee: no problem. [18:07:12] MinuteElectron: that too. [18:07:20] Easier to write in PHP than in MySQL? [18:07:25] <^demon> Simetrical: 2 bug votes if you do it. [18:08:59] brion: I've tried editing those in the Defaultsettings.php file but it doesn't seem to be making any difference. Our wiki is at http://wiki.xmission.com and I could send you a copy of our Defaultsettings.php and maybe you can tell me what I'm doing wrong? [18:09:38] munda: the defaults set it for new users and anons [18:09:40] ^demon, it's what, a week till April Fool's? [18:09:43] >:) [18:09:44] existing accounts will already have their prefs set [18:09:52] oh, hm [18:10:06] I like how Bugzilla has all prefs default to a "use site default" option. Doesn't work with checkboxes, though. [18:10:18] We need ternary checkboxes! [18:10:25] man, how'd i get unified account id 488 :P :) [18:10:31] so, if I have changed the Defaultsettings.php and a new user signs up it should search all of the namespaces I've specified, any existing users would have to change that in their own prefs? [18:10:40] brion, steal Werdna's! [18:10:47] Simetrical: ternary checkboxes are pure evil :D [18:10:56] they're like one of those forgotten control types in windows [18:11:00] <^demon> brion: I'm assuming the id displayed in your prefs is the local account ID? [18:11:12] ^demon, yes. [18:11:20] ^demon: in prefs it'll show your local id and separately, your unified id (if it exists) [18:11:45] oh actually... it doesn't show your unified id at all [18:11:45] brion, it doesn't show mine? Hmm, maybe because I'm on enwiki? [18:11:47] <^demon> It doesn't show mine either. [18:11:57] yeah i was looking at the sekrit admin console [18:12:01] No, not on mw.org either. [18:12:15] "All in order!" [18:12:40] I've spent the past two hours doing *nothing* but procrastinating. [18:12:44] It's starting to wear on me. [18:12:54] Pardon the intrusion but is there anyone who might be able to help me with a technical issue conscerning installing and operating wiki media? I seem to have found a bug in a combination of FireFox and WikiMedia that no one seems to talk about on the internet. [18:12:57] <^demon> The real question is: unifying all sysops first...are all new registrations going into the global pool as well, or are they being made locally? [18:13:22] ^demon, they're still local. [18:13:22] Simetrical: i find that procrastinating on sul was a great way to get other projects done, like major bug fixes or cleaning my house [18:13:33] i'm not sure what i'm going to do with myself now that tim's finishing it :) [18:13:39] <^demon> Simetrical: Likewise, and it feels great. [18:13:42] !ask | Schwanke [18:13:42] --mwbot-- Schwanke: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [18:14:02] heh, #perlhelp says "don't ask to ask! just ask!" [18:14:15] lol I just got reprimanded for being too polite lol [18:14:16] derwin, we have too at some points. [18:14:25] <^demon> brion: Can I know my sooper-sekrit global ID? [18:14:44] *brion discovered he has an itunes credit and is downloading music on his iphone... if he was only in a starbucks he'd feel very poseuriffic [18:14:44] ^demon, Tim pasted some script that listed them all. [18:14:51] ^demon: sure, what's your account name :) [18:14:57] <^demon> "^demon" [18:15:00] clever [18:15:07] <^demon> I try. [18:15:18] 326 :) [18:15:31] <^demon> < 500, I'm happy. [18:15:34] So basically the latest non beta version of Media wiki running on whatever settings my apache server has (webmasters.com, rented server) and firefox 2.0 has a problem where the monobook and other templates dont render. Doesnt have tghe problem with the latest beta on wikipedia.com but Id rather not run beta and have to patch everyday if i can help it. any ideas how to patch the 1.12? [18:16:06] Schwanke: can you show us the url to your site? [18:16:09] <^demon> Thanks brion. [18:16:10] http://en.wikipedia.org/w/ca.php [18:16:13] might be able to poke at it and help diagnose [18:16:14] sure http://schwanke.org/wiki [18:16:33] Probably bad rewrite. [18:16:38] Oh, no. [18:16:41] Misread the URL, never mind. [18:17:18] I found one other site that had the same problem and another site that referenced the problem but the site that referenced it the patch didnt work. They said it was because there was no text/css css mime type on the server but i checked and there is.. atleast through the only way that i can modify mime types on the rented server [18:17:30] Schwanke: seems to be something odd about your config [18:17:47] http://www.schwanke.org/cgi-php5/php/wiki/skins/monobook/main.css?116 <- style sheet is being run through php? [18:18:12] so problem 1 is that it looks like you have an insecure CGI configuration of PHP [18:18:17] 261 \o/ [18:18:18] I don't know about that. [18:18:18] But it's served as text/html. [18:18:18] yeah, i know.. and i cant figure it out cuz im not an apache guru and i dont know where to begin twaking things [18:18:23] it looks like it'll run arbitrary files through the php interpreter [18:18:33] <^demon> Simetrical: beat you by 30 :-P [18:18:36] Schwanke, the CSS file is being served using the text/html MIME type. That's incorrect. Apache is misconfigured. [18:18:43] second problem is that the system is reporting back an internal path instead of the external path [18:18:52] ok, you *really* should see about fixing the insecure configuration [18:19:07] Ah, so that's why? [18:19:08] ok.. is that something that is done through standard configuration or a botch on the install? i didnt install it, its a rented server but im sure they would like to hear its botched cuz they run several hundred servers with the same config [18:19:12] but to work around your front-end problem, try setting $wgScriptPath manually to '/wiki' [18:19:16] in your LocalSettings.php [18:19:25] X-Powered-By PHP/5.2.1 [18:19:30] For a CSS file. :( [18:19:36] contact your host about the insecure php thing [18:19:52] brion: it's not working for non-logged in or new accounts. We have an extension installed that syncs user/pass with our customer accounts so all customers have an account by default, but even turning that off and creating a new account doesn't change the fact that it's only searching the main namespace [18:19:57] will do.. been in contact with them on this and they seemed to think i should complain to you guys lol.. but they are nice.. i will tell them [18:20:11] munda: url? [18:20:18] wiki.xmission.com [18:20:21] ok.. ill try the wiki patch and ill contact them a bout the insecurity.. thank you guys [18:20:40] Schwanke, Apache is configured to serve all files as PHP if they're accessed under that path. That means that if someone can upload a file in any fashion, they can disguise it as a PHP file and get Apache to run it. Apache should only pass through things ending in .php or .php5 or similar to the php executable. [18:21:10] Schwanke, what happens is that when someone visits the skin file, it's passed to the PHP interpreter, which passes it through as HTML (which it's not, it's CSS). [18:21:10] Schwanke: give them this url - http://www.schwanke.org/cgi-php5/php/wiki/skins/monobook/main.css - and tell them we're concerned that the php configuration looks insecure as it appears to be executing arbitrary files on the system through php. if so that's a major security risk, as any user-uploaded files could breech site security [18:21:29] In particular, it would be arbitrary code execution. [18:21:42] to be safe, they should install the cgi executable *outside* the cgi-bin path [18:21:48] there should be notes on that on php.net in the documentation [18:22:05] <^demon> Isn't xmission the same people who host Maddox? [18:22:17] ^demon: yes [18:22:27] <^demon> ...in that case....does that mean...? [18:22:40] ok, think i got all that.. thank you [18:23:07] ^demon, at least our ID's both beat practically everyone else by about 1,000,000. :D [18:23:50] <^demon> Still beat you by 30 :-P [18:24:07] We both beat Brion by over 100! \o/ [18:25:21] 566. MelancholieBot botAdmins? [18:25:50] 03(mod) sidebar rendered over wiki content - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12357 (10brion) [18:25:51] Only have to be admin on one project. [18:26:25] right. but the name must match [18:27:01] Well, yes, so I guess one project made the bot an admin. [18:27:55] tere're a bunch. just curious, thought that was deprecated almost everywhere. [18:29:01] Why should it be? [18:29:06] At least if it's unflagged. [18:29:32] No real reason to flag it, maybe, but maybe there is. No point in spamming stuff up with repetitive deletions of redirects or God knows what. [18:29:40] I never understood the paranoia about admin-bots on enwiki. [18:29:44] <^demon> We have an admin bot on enwiki. [18:30:06] *Simetrical would promote one on mw.org if someone had a use for it, which is doubtful [18:34:22] Is there a way to get rid of the index.php in the urls? [18:34:29] to make shorter.. easier urls? [18:34:35] read the faq [18:34:38] lol [18:34:46] what an easy way to remove LOTS of execution time [18:34:48] bwahahaha [18:34:59] *domas added premature return at Linker::tooltipAndAccesskey [18:35:01] hahahaha [18:35:07] *domas grins at Simetrical [18:35:08] like, doesn't the install notes say how to do that url thing like 5x? [18:35:33] !shorturl | solifugus [18:35:33] --mwbot-- solifugus: 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 [18:36:46] domas, the previous way was a maintenance nightmare. We were distributing a chunk of JavaScript in the default install. We couldn't change any part of it without our changes being overridden by unrelated local customizations. The same went for the strings, which were embedded in it. [18:36:48] 03(NEW) Cannot remove sysop flags at [[Special:Userrights]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13503 15enhancement; normal; Wikimedia: General/Unknown; (Wiki.Melancholie) [18:37:02] We can spare a few ms for better maintainability. [18:39:20] mmm [18:39:21] can anyone tell me [18:39:28] why sidebar cache is off by default? [18:43:09] 03(WONTFIX) Cannot remove sysop flags at [[Special:Userrights]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13503 +comment (10axel9891) [18:44:12] hide [18:44:34] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10nbuda) [18:45:21] 04(REOPENED) Cannot remove sysop flags at [[Special:Userrights]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13503 +shell; +comment (10Simetrical+wikibugs) [18:45:26] 06(LATER) Cannot remove sysop flags at [[Special:Userrights]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13503 (10Simetrical+wikibugs) [18:46:05] 03(mod) On alswiki, allow bureaucrats to remove sysop - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13503 summary (10Simetrical+wikibugs) [18:49:13] *Simetrical finally goes off to do some math studying, like three hours late [18:49:19] *Simetrical feels like he's wasted the last two or three hours [18:49:23] 03(mod) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 (10brion) [18:49:44] Simetrical: I think I'll just add tunable to turn them off :) [18:50:27] 03(NEW) Autoflagging should not be possible for levels higher than sighted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13504 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [18:50:35] 03(mod) On alswiki, allow bureaucrats to remove sysop - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13503 +comment (10brion) [18:52:06] [18:52:07] =D [18:57:53] my next project will be dtracing mediawiki [19:02:17] <^demon> Well, I'm going to run up to the hospital for a bit. [19:03:24] brion: spreading phear? ツ [19:07:00] [19:07:11] hehe [19:07:18] *brion tosses about the iron fist [19:07:41] 03(NEW) Admin override doesn' t work if the username contains a space character - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13505 normal; normal; MediaWiki extensions: CentralAuth; () [19:08:11] hehe [19:08:22] wfDebug() always executes stuff between brackets [19:09:30] heh [19:10:28] brion: on only got back a minute ago - did someone tell you about the renaming issue with global accounts? it's kind of a bummer... [19:12:21] mmm, whole millisecond of action inside wfDebug [19:12:22] haha [19:12:42] Duesentrieb: what issue is this? [19:12:44] 03(FIXED) Admin override doesn' t work if the username contains a space character - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13505 +comment (10brion) [19:13:21] that's fast bug fixing :) [19:14:00] hehe, wfDebug in memcached setup block takes 0.1ms alone :) [19:15:20] brion: a local account can't be renamed to a name reserved for a global account. makese sense, but consider this scenario (happened to someone else, but will happen to me too): i merged my Duesentrieb accounts. on some wiki, that name was taken by someone else, so I have an account under a different name on that wiki. So i get a 'crat there to let me usurp that name by renaming the other account (if unused or the user agrees or wahtever). so [19:15:20] far, so good. The next step would be to rename my lokal account there to may global user name. which is not possible, corrently. that's the problem [19:15:57] brion: i'd suggest to allow renaming a local account to a name reserved for a global account if the password or email-match rules apply. [19:16:16] that would be consistent with the normal process, and seems sane in general. [19:16:23] yes please :) [19:16:37] Duesentrieb: at the moment, renaming is in general pretty restricted. improvements will be made as they can be done securely and safely [19:17:15] 03(NEW) Special:Reviewedpages has one level too many - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13506 minor; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [19:17:54] brion: i'm not asking for renaming of global accounts.... in any case, because of the scenario i just mentioned, people should be arned to try to *first* usurp any copnflicting names and only then merge and thus create a global account. [19:18:12] as it is, my usurpation request on en has become mute :( [19:18:33] Duesentrieb: i'm not disagreeing with you :) [19:19:37] good :) so... where to put this info so it really happens? [19:19:51] dues: moot [19:20:04] BrokenArrow: oh yea, tnx [19:20:24] having trouble with it, too :) [19:21:35] Is MW 1.12 different from 1.11 in how to change the logo in top left corner? I changes wgLogo but 1.12 shows nothing in that spot. [19:21:54] tale: should be exactly the same [19:22:08] I try to check I have everything the same in 1.11 and 1.12 but 1.11 shows my logo and 1.12 shows nothing. [19:22:16] make sure you are using a full web path (or even full url) [19:22:23] check that path/url manually in your browser [19:22:33] The installations are on different web hotels, and seem to have different web setups. [19:22:51] Does it need to have the http:// in front? [19:23:27] In 1.11 I have $wgLogo = "images/jazzjun-135lev.png"; and it works. [19:29:11] tale: $wgLogo needs to be a full path [19:29:19] you're missing a / and whatever other path you might need [19:29:20] tale: if that works, it's by coincidence, and it will not work in all configurations. it must be an absolute path or a full url, an absolute path starts with a "/" [19:29:44] I tried already full pathname, starting with / but still no logo. [19:30:45] if you supply correct, a full path, it'll work. make sure the path is currect by trying to load it directly. if that works, but it doesn't work on the wiki page, come back and give me the url :) [19:30:54] tale: Full pathname as in url not as in unix, right... [19:32:37] brion: got it working! Thanks for pointing me in the right direction. [19:33:54] GOT IT! Now I get the logo. [19:34:11] :D [19:34:18] I'll go change my 1.11 installation too, since it probably breaks when I update it to 1.12. [19:36:08] it's not about the version of mediawiki. it's about the webserver setup and reqite rules. [19:36:32] wgLogo always required a full path to work properly. if it worked with a relative path, it was by luck. [19:39:34] AzaTht: Here I am, ready to be poked [19:39:55] hehe [19:40:12] *AzaTht gets the talc for his hands [19:40:36] RoanKattouw: first, lets talk XML [19:41:01] what you think about creating an XML Schema for the api? [19:41:02] hi people [19:41:27] insomniac: Mediawiki is too much graphical for slackers ツ [19:41:28] AzaTht: What's that? A specification of what XML can be returned? [19:41:46] RoanKattouw: yea, think like an advanced DTD [19:41:47] Hmm maybe we could have the modules generate that themselves [19:42:01] Well a regular DTD will do just fine, won't it? [19:42:03] AzaTht: that's not my concern [19:42:11] RoanKattouw: depends [19:42:26] DTD sucks [19:42:29] you have much more options if using XML Schema [19:42:46] DTD is an evil leftover form SGML [19:42:50] from* [19:42:54] XML Schema is simpler, more powerful, and more flexible... [19:42:57] I had a problem upgrading to mediawiki 1.11.2 from 1.8.5 [19:43:10] it can't find the 'wikidb.page_restrictions' table [19:43:13] Duesentrieb: agree [19:43:19] maybe it's a known issue [19:43:33] Anyone know why when attempting to save a page containing a 3.5k text document it fails and just returns to the page saying no page exists [19:43:38] insomniac: Run "php maintenance/update.php" from the command lin [19:43:47] RoanKattouw: thanks very much [19:43:50] RoanKattouw: was just going to say that :-P [19:44:10] Alright, so we want an XML Schema [19:44:12] Hello, everyone. [19:44:19] RoanKattouw: would be useful [19:44:29] okay the ghost in the machine is totally on my side because magically the religionisfree mediawiki is showing everything just as it does on wikipedia. [19:44:31] Maybe as part of paraminfo? [19:44:45] both for entites using the api, and for the maintenace of the api also [19:44:58] Despot: Size shouldn't matter there; Wikipedia has 100k+ articles that work just fine [19:45:15] RoanKattouw: I understand, it however does not work [19:45:17] Hi all, having a small problem with 1.11.1. Search isnt returning any results from the 'community portal' page, even when I specify all namespaces. [19:45:21] Any idea to what would be causing the problem? [19:45:22] list drupal* [19:45:38] Hmm let's not do paraminfo, let's do a separate action instead [19:45:44] and generate one schema for the entire API [19:45:48] It'll be huge though [19:45:49] yea [19:46:02] RoanKattouw: I have been though big shemas [19:46:07] But what the hell, we GZip that stuff anyway [19:46:26] it's not like it would be loaded that often anyway [19:47:17] RoanKattouw: for example http://www.cip4.org/documents/jdf_specifications/index.html#schema [19:47:21] Well it'd probably be about the size of api.php?action=help which is loaded very often [19:47:31] zipped, the schema is 107K [19:47:35] 107KB zipped? [19:47:38] I have a question: Just did an install of mediawiki here: www.pansexual.net/wiki and am having trouble with image paths. Specifically, neither the logo nor the edit buttons are showing up. Anyone able to help me with this? Either in channel or PM. [19:47:41] That's pretty damn huge [19:47:47] RoanKattouw: the spec is over 900 pages [19:48:19] AnonymousNY: What have you set the image path as? [19:48:40] AnonymousNY: Have you tried using the full URL, not the relative path [19:49:00] Despot: Where would one set that? When I look at the paths in the source, they seem to be accurate. [19:49:32] RoanKattouw: second: think it could be nice to libraries implementing the api to be able to speak xml both ways [19:49:33] 03(NEW) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 15enhancement; normal; MediaWiki extensions: CentralAuth; (timichal) [19:49:43] AnonymousNY: Oh sorry, I misunderstood, I thought you were trying to set a logo [19:49:48] AzaTht: Yeah, we'd be providing some real and accurate documentation ther [19:49:52] AnonymousNY: Do you have any mod_rewrites in place or something? [19:50:01] Not in this domain, no. [19:50:07] So that's on my TODO list [19:50:12] AnonymousNY: uh, that is really odd - when taking the path that shows up in the html source and loading it manually, it works: http://www.pansexual.net/wiki/skins/common/images/wiki.png [19:50:25] Exactly. [19:50:30] Same with the buttons. [19:50:50] Hence my extreme confusion. [19:51:01] RoanKattouw: what I meant is to be able to use xml as the medium of talk instead of relying on query strings [19:51:22] Can I include text in my artcles that will match search terms, but won't display in the article? [19:51:29] perhaps only one query parameter that tells that I'm sending an xml doc [19:51:37] silly question but is there a way to remove the link from an [Image] wiki tag? [19:51:38] AnonymousNY: firebug tells me that trying to load the images in context results in a 403 error (access denied). [19:51:48] Aha. [19:51:54] So maybe a chmod issue? [19:52:01] AnonymousNY: maybe it's some kind of plugin that is supposed to prevent leeching? maybe it's triggered by the referer string or something? [19:52:08] AnonymousNY: Its working now... [19:52:09] no, not a file permission issue [19:52:16] as i said, loading the image directly works [19:52:18] it's accessible [19:52:28] AnonymousNY: My bad, I'd cached an image [19:52:31] it's somehow context-dependant. referer-header is thus a prime candidate [19:52:49] or it's somehow related to http keep-alive. but that would inidcate a very broken webserver. [19:52:51] Duesentrieb: Plugin? Such as what? This is an add-on domain. Does that have any relevance? [19:53:01] AzaTht: That's some evil stuff I'd like not to get into [19:53:07] AnonymousNY: what's an add-on domain?= [19:53:18] POST and urlencode work just fine for long and complicated queries [19:53:47] Duesentrieb: I just mean that I'm hosting several domains off one account. The main domain for the account is chrisahall.com [19:54:06] no that doesn't matter [19:54:06] There's no reason to send all that XML bloat [19:54:06] RoanKattouw: if there is a schema around, it's easier to ensure an query is correct with using xml [19:54:56] and using an xml-based format, it could allow a limited ammount of multiple queries [19:54:59] Duesentrieb: What do you mean referer-header is a prime candidate? [19:55:05] AzaTht: You'd also have a schema for correct queries then? The point is an incorrect query can't be declared invalid offhand in 99% of the cases [19:55:11] Duesentrieb: What is referer-header? [19:55:17] AnonymousNY: well, loading directly works. loading in the page doesn' [19:55:29] t. so somehow the request must be different. one difference is the referer header. [19:55:40] bah, damn, lost half the line [19:55:42] Duesentrieb: Okay. [19:55:52] Queries are often invalid because 1) there's a parameter missing (OK, you can catch that beforehand, but it's kind of retarded to leave out a crucial parameter) or 2) a page that should exist doesn't [19:56:01] AnonymousNY: the response header tells me abotu two apache modules that *might* cause something liek this: mod_bwlimited and mod_auth_passthrough [19:56:14] AnonymousNY: ask your hosting people, they probably have seen this problem before. [19:56:33] it feels like a broken anti-leeching heuristic [19:56:49] Duesentrieb: Okay. Thanks. I'll check that out. They're excellent with support. [19:57:01] RoanKattouw: one problem with your current query string usage, is t hat you'r definition of arrays doesn't seem to mach common usage [19:57:16] AnonymousNY: be sure to tell them that loading the image directly does work [19:57:35] AzaTht: You mean ¶m[]=foo¶m[]=bar ? That's not common usage, that's PHP specific [19:57:36] If I have a page that includes a template, is it possible for me to get searches that match the template to return the including page? [19:57:40] Duesentrieb: I will. I feel a bit stupid for not running it through Firebug. [19:57:50] Duesentrieb: And thanks very much for your help. [19:57:54] np [19:58:08] hellooo [19:58:30] RoanKattouw: trying to find out IF there is any standard at all... [19:59:07] AzaTht: There isn't. We just do this because it's more intuitive, less bloated and | is not a valid character in any context [19:59:52] anyone willing to help me make sense of categories? [20:00:10] !categogies | mirri [20:00:10] --mwbot-- mirri: I don't know anything about "categogies". [20:00:12] hmm [20:00:17] !categories | mirri [20:00:17] --mwbot-- mirri: http://www.mediawiki.org/wiki/Help:Categories [20:00:19] ah :) [20:00:40] already went there [20:00:41] mirri: if you need more help than what that page provides, please ask more precisely :) [20:00:56] How do I make Sub Categories? [20:01:01] what if update.php says: [20:01:02] MediaWiki 1.11.2 Updater [20:01:02] No superuser credentials could be found. Please provide the details [20:01:02] of a user with appropriate permissions to update the database. See [20:01:02] AdminSettings.sample for more details. [20:01:13] mirri: Add [[Category:Foo]] to Category:Bar and Foo will be a child of Bar [20:01:23] Welcome MrZ-man! You have achieved a new peak of 207 users for #mediawiki! [20:01:35] insomniac: You should create AdminSettings.php first, see AdminSettings.sample for the format [20:01:42] ok, thanks again [20:01:49] Welcome rp2! You have achieved a new peak of 208 users for #mediawiki! [20:02:06] RoanKattouw: no such file in my installation [20:02:06] $ find . -iname "*adminset*" [20:02:07] $ [20:02:08] Welcome Jatz_! You have achieved a new peak of 209 users for #mediawiki! [20:02:22] when i got to edit the category i want to make the sub category in, it doesn't list all of its sub-categories or linked articles [20:02:25] well, I'm just great aren't I. [20:02:27] is this a new file? [20:02:32] do i need to have admin status to do this? [20:02:40] insomniac: AdminSettings.sample should be *somewhere*, maybe one directory up [20:02:50] what do I win? [20:02:50] ok [20:02:51] mirri: No, just permission to edit the category page [20:02:56] Which could be protected [20:03:01] i just noticed i'm announcing peaks to this channel [20:03:01] Welcome mikedub! You have achieved a new peak of 210 users for #mediawiki! [20:03:05] dammit [20:03:08] i'll brb >_> [20:03:09] RoanKattouw: per RFC 1738, | must always be encoded [20:03:14] stupid peak cript [20:03:27] Basically, you just edit the Category:Bar page, and add [[Category:Foo]] to the bottom [20:03:32] AzaTht: No problem [20:03:43] Hey, I have a question before try mediawiki for something [20:03:51] The point is | can't be part of a title [20:03:52] RoanKattouw: perhaps the examples at api.php should only have encoded | [20:04:09] No, that doesn't look very nice [20:04:18] RoanKattouw: say that to the rfc [20:04:26] It might be against standards, but it's just an example, it's not like it *breaks* anything [20:04:34] would I be able to have, say, a list of every page, and then count the total number of items on those lists? [20:04:40] Can anybody tell me what controls? I know the extension, but what exactly does it effect on mediawiki? The reason I ask is because we didn't install it last night, but we installed the Cite extension - even with the extensions we installed we were having trouble getting references to show up - I thought it was that extension was missinbg. [20:04:58] is there a simple way to display a message on all articles, something like a "system message" or something [20:04:59] But this morning I went on the site and all the references are showing up perfectly fine, as if a ghost in the machine touched our mediawiki and healed it. [20:05:15] I have a complicated page that uses templates for leftside/rightside/footer. Unfortunately, this page is not appearing in any searches because the actual content is in the templates. Is it possible for me to get searches that match the template to return the including page? [20:05:19] mikedub: Special:Allpages [20:05:39] Plus I was under the impression that the extension was it's own infastructure. [20:05:53] okay, i'm back [20:05:59] peak-script free [20:05:59] Duesentrieb: I don't want to see all the pages, I want the ability to broadcast a message on all pages [20:06:05] I know my question is kind of silly, I was being unclear. could I count the number of items on a list on a page? [20:06:21] mikedub: Edit MediaWiki:Sitenotice [20:06:27] perfect [20:06:29] so roankattouw, you said category pages might be protected? [20:06:30] Sitenotice [20:06:31] thanks [20:06:46] Welcome Mibbles! You have just matched the peak of 210 users for #mediawiki! [20:06:54] Mibbles: If an admin has protected a page, you may not be able to edit it. It doesn't happen often though [20:06:55] hehe [20:06:55] O-o [20:07:25] roankattouw this is for a university wiki, so i wouldn't be surprised if they protected the categories page [20:07:30] is there a way to know? [20:07:33] sure [20:07:36] try to edit it [20:07:38] i mean, i can edit the page [20:07:43] Mibbles: Try ;) If you click edit for a protected page, it won't work [20:07:44] then its not protected [20:07:46] Then it's not protected [20:07:47] and you can categorize it [20:07:58] Just add [[Category:Foo]] to the bottom [20:08:00] Mibbles: you dan't "create subcategories". you categorize categories. [20:08:05] just like you categorize other pages [20:08:16] RoanKattouw: when using action=parse, could resulting xhtml be included as xml instead of encoded text? [20:08:38] okay help me out cause i'm so lost, this is the category page: http://library.osu.edu/wikis/library/index.php/Category:Japanese_Studies [20:08:45] RoanKattouw: it worked perfectly, thanks! [20:08:55] when i click on edit, all i see is: [[Category:East Asian Studies]] [20:08:56] AzaTht: Maybe. If the XML tree is stored somewhere, it would be possible (gotta ask Tim) [20:09:14] Mibbles: What did you expect to see then? [20:09:18] like [20:09:25] a sub-category list? [20:09:29] the articles too? [20:09:30] also, and xml namespace for api could be logical [20:09:36] i'm a wiki nub >_> [20:09:38] Mibbles: That's all auto-generated [20:10:08] Isn't Special:Revisiondelete on 1.12? 'Cause I'm not seeing it. Do I have to add 'deleterevision' permission to a privileged group? [20:10:11] AzaTht: Why? It's not possible to get other XML than the API-generated stuff [20:10:18] so if i want to add something like "Arts and Visual Cultures" as a sub-cat should i just add it next to [[Category:East Asian Studies]] ? [20:10:27] Mibbles: No [20:10:54] You should edit Category:Arts and Visual Cultures and add [[Category:East Asian Studies]] to the bottom [20:11:05] i see [20:11:29] [[Category:Foo]] basically means "this page (or category/image/whatever) is in category Foo" [20:11:29] RoanKattouw: oh, I meant if the xhtml could be included as xml instead of text [20:11:36] ima have to think another way :/ [20:11:48] this wiki... its charged by ALL the libraries at OSU [20:12:04] i can't just make an Arts Category and dump all the Japanese Articles there [20:12:12] AzaTht: I know. I'll have to ask Tim if Parser.php keeps an ApiResult-like array around somewhere [20:12:21] i'd have to make a separate ... Japanese Art category or something [20:12:22] Some easy-to-parse XML tree [20:12:38] Mibbles: so, make narrower categories, oput articles into them, and put those into a top-level categorie [20:12:51] i was hoping i could do something like Japanese Studies > Arts, etc. [20:12:52] Mibbles: look at the categories in wikipedia. look at their wikitext. [20:13:03] Mibbles: you should see how the structure is built. [20:13:15] the wikipedia structure? [20:13:23] ...yes? [20:13:32] like, tens of thousands of categories? [20:13:44] let me see then [20:13:44] 03(mod) On alswiki, allow bureaucrats to remove sysop - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13503 +comment (10der.umschattige) [20:14:05] RoanKattouw: a question; why does action=block and unblock has gettoken? [20:14:21] Mibbles: You have an error on the [[Wikitext]] page in the Linking section, [[http://example.com Foo]] should be with [ not [[ [20:14:36] *RoanKattouw checks [20:14:40] i have no idea what you're talking about [20:14:44] are those tokens uniqe to each blokee? [20:14:56] unique* [20:15:08] AzaTht: No, not in the current implementation, but that may change [20:15:10] Mibbles: Have you read the MW documentation about Categories and how to make new categories? [20:15:19] Currently, block tokens are identical to the ubiquitous edit token [20:15:27] i did tale [20:15:42] RoanKattouw: I just implemented your Vodafone API edit version of MW... nice work :) [20:15:51] AphelionZ: Most of that is already in trunk [20:15:59] RoanKattouw: just wondered, as all other tokens can be gotten from prop=info [20:16:00] 1.12 has action=edit already [20:16:09] oh [20:16:12] AzaTht: Those tokens relate to pages, block tokens to users [20:16:19] well, i dig it [20:16:20] true [20:16:25] \ [20:16:48] RoanKattouw: but if I want to move an user??? ツ [20:16:48] AphelionZ: Vodafone does have action=upload but I don't even know if that works [20:16:49] Mibbles: He means use [ on each side of http://example.com Foo ] << like that, instead of [[ ]] [20:16:56] oops, nm, I'm behind [20:16:58] yeah i figured out what he meant, but why s he pointing this out to me :P [20:17:01] AzaTht: That's userrename, an extension [20:17:02] RoanKattouw: yea, about users, how did it went with user-generators? [20:17:05] i didnt install this wiki software [20:17:11] i dont even have access to it [20:17:15] this is a university thing [20:17:15] AzaTht: Haven't started yet, still got lots of docs to update [20:17:21] k [20:17:28] Mibbles: You don't need to, you can edit pages right? There's an error on the [[Wikitext]] page [20:17:31] Mibbles: because it'S a wiki, so you can fix it [20:17:57] psh, nobody uses that :P [20:18:00] RoanKattouw: on action=rollback, could an parameter userignore be added? [20:18:11] and i get paid to work on the design of the japanese studies section :P [20:18:30] AzaTht: No, or we'll get rollback conflicts [20:18:46] RoanKattouw: hmm [20:18:54] You intend to rollback A's edits, but you'll end up rolling back B instead because B made a spelling correction in the meantime [20:19:09] it's mostly because of SineBot : [20:19:11] ツ [20:19:21] Mibbles: For the category stuff, you only need to edit and create pages, no complicated stuff [20:19:38] vandal makes big vandalism, sinebot signs the vandals edit... [20:19:56] yeah, i got how to make the sub-cats & stuff, thanks a lot for your help [20:19:59] its confussiing [20:20:21] confusing, even [20:20:23] so, api.php?action=rollback&title=Foo&user=Vandal&ignoreusers=SineBot [20:21:30] AzaTht: That'd rollback SineBot's edits [20:21:52] Or I'd have to change the rollback core [20:22:00] RoanKattouw: yea, the second one ツ [20:22:09] *hehe* [20:22:33] do you have any idea when the edit-api will be activated anywhere? [20:23:01] Hmm why don't you go and open a bug for that on BZ (assign to me) and see what comments you get, I'm curious to see what Brion & co. think about that (it could cause counter-intuitive behavior) [20:23:15] AzaTht: There is a public test wiki for it, dig the mediawiki-api archives [20:23:22] As for WMF wikis, ask Brion [20:23:27] Who got back just now [20:23:28] k [20:23:43] brion: I ask you the all-mighty question [20:24:20] 03(mod) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 (10grin) [20:24:56] RoanKattouw: is there a list of return values for edit? [20:25:22] AzaTht: The docs? mw:API [20:25:27] *RoanKattouw looks there [20:25:41] Meh, no [20:25:41] minor - Minor edit [20:25:41] notminor - Non-minor edit [20:25:50] wghy not only one parameter? [20:25:54] That's not as useless as you think [20:26:05] We need to differentiate between yes, no and leave-as-is [20:26:17] There's also a user pref "Mark all my edits as minor" [20:26:25] Setting neither means do whatever the prefs say [20:26:32] ok [20:26:32] what [20:26:39] is it defined anywhere? [20:26:43] This is even worse for watching pages, multiple prefs affecting that [20:26:45] brion: edit-api [20:26:47] AzaTht: Is what defined? [20:27:13] RoanKattouw: minor=yes¬minor=yes results in? [20:27:30] One overrides the other, not sure which way [20:27:34] *RoanKattouw looks at the source [20:27:41] BTW, return values are also in the source [20:27:53] http://svn.wikimedia.org/doc/classApiEditPage.html [20:28:13] AzaTht: minor overrides notminor [20:32:26] *ahem* Since I got lost in the shuffle... Isn't Special:Revisiondelete on 1.12? 'Cause I'm not seeing it. Do I have to add 'deleterevision' permission to a privileged group? [20:33:11] RoanKattouw: would like some asserts parameters to edit as well if it's prosible [20:33:22] AzaTht: Like what? [20:33:33] for example, I would like to flag that it should only edit the page if it exits [20:33:35] etc... [20:34:01] VonSchmut: Try going to Special:Revisiondelete directly; if you get "No such special page", it's not there, if you get "Permission denied", it is [20:34:09] AzaTht: That's the recreate parameters [20:34:16] Pages aren't recreated by default [20:34:18] Oh wait [20:34:27] RoanKattouw: meant create from scratch [20:34:29] *That* [20:34:37] So you'd like dontcreate? [20:34:41] That can be done [20:34:45] On it [20:35:03] would be better to have an flags param instead of polution the space [20:35:31] flags=createonly|recreate [20:35:41] "You are not allowed to execute the action you have requested." [20:35:50] VonSchmut: Then it is there, you need to adjust permissions [20:36:17] AzaTht: Maybe, but I don't see the problem with the current interface [20:36:48] I don't believe there are any useful use cases in which you'd pass more than two such flags [20:37:00] RoanKattouw: there will be! ツ [20:37:19] Such as? [20:37:35] gonna have to invent them first [20:37:39] heh [20:37:50] What could be wrong if cortado player gives "Not allowed url" and it doesn't play, while VLC plugin works..? [20:37:53] Well I guess I can count on you to come up with the crazy stuff [20:38:09] flags=createonly|recreate|minor|watch|bot [20:38:29] flags=createonly|norecreate|minor|unwatch|bot [20:38:43] a logical bot flags row [20:40:22] RoanKattouw: generally, I don't like loose flags [20:40:24] ツ [20:42:26] AzaTht: Do bots ever watch pages? [20:42:32] TimStarling you there? [20:42:35] Or have an autowatch pref? [20:42:48] RoanKattouw: betacommandbot did ツ [20:42:48] *RoanKattouw kicks CIA-44 [20:42:48] ow [20:43:02] AzaTht: Yeah, I remember that one; 7m 26s right? [20:43:07] yea [20:43:13] *ggeller install mediawiki ツ on CentOS 5.1 [20:43:25] jsut saw an error in the example under action=edit [20:43:36] Well OK maybe flags is better, but that'd be a breaking change for no good reason and I don't like to do that [20:43:44] RoanKattouw: the example uses "edittime" [20:43:52] RoanKattouw: breaking change? [20:43:58] there is nothing yet to break [20:44:16] should it be edittime or basetimestamp ? [20:44:44] (quick check I'm using laters svn...) [20:44:49] basetimestamp, sorry [20:45:57] AzaTht: That the edit API is not active on WMF wikis doesn't mean no one is using it [20:46:06] 03(mod) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 +comment (10mrzmanwiki) [20:46:22] RoanKattouw: true [20:46:26] Hmm CIA-44 dropped my last two commits [20:46:36] but not many funks it [20:46:43] RoanKattouw: it's been broken for hours [20:46:49] Anyway, your dontcreate parameter is there [20:47:00] MinuteElectron: Why didn't anybody file a bug then? What's broken? [20:47:07] Oh CIA [20:47:09] RoanKattouw: yeah, it has some problems today, it also dropped my commit [20:47:18] I thought action=edit :P [20:47:28] Notice: Undefined offset: 2 in /home/azatoth/public_html/srcwiki/includes/api/ApiBase.php on line 245 [20:47:36] Parse error: syntax error, unexpected $end in /home/azatoth/public_html/srcwiki/includes/api/ApiEditPage.php on line 266 [20:47:46] ROAN!!! [20:47:50] :) [20:48:28] *AzaTht goes to the super market buying some tar and feathers [20:49:25] RoanKattouw: prepare! ツ [20:49:28] *hehe* [20:50:07] AzaTht: The first is a PHP notice, not an error. $arr = array(); $foo = $arr[2]; is legal [20:51:09] ok [20:51:09] AzaTht: try updating [20:51:09] The second is a dropped backslash, fixed [20:51:14] http://aza.nehle.net/~azatoth/srcwiki/api.php [20:51:22] Ialex beat me to it [20:51:33] hehe [20:51:40] good [20:52:14] RoanKattouw, it's "legal" in the sense that PHP won't issue a fatal error. You should still avoid it. [20:52:22] We try to keep MW code free of E_ALL | E_STRICT errors. [20:52:35] Simetrical: I'll see if it's avoidabl [20:52:43] Maybe an @ will silence it [20:52:43] Of course it's avoidable, do isset() if necessary. [20:52:53] And any important errors in the same line. [20:53:07] Just do isset(), or avoid coming up with the bogus value in the first place. [20:53:57] You seem to assign first, then check if it's set. [20:54:44] $type = $paramSettings[self :: PARAM_TYPE]; if (isset ($type)) { --> if( isset( $paramSettings[self :: PARAM_TYPE] ) ) { $type = $paramSettings[self :: PARAM_TYPE]; [20:55:06] RoanKattouw, you should do development with error_reporting( E_ALL | E_STRICT );. It helps catch errors and is good practice. [20:55:41] Normal languages do this automatically, i.e., they throw an exception or something if you do out-of-bounds array access. It's usually a good idea to have loud errors for development. [20:56:02] Yeah well those errors end up in my error_log which I don't visit very ofter [20:56:12] But I'll see if that E_NOTICE is fixable [20:56:33] I'm curious: On mw.org, for example release notes, why aren't instances of hooks linked to their Manual: pages? Like $wgExtraLanguageNames... so users can go to the page, learn a bit more about it [20:56:53] That's why you also should use ini_set( 'display_errors', 1 ); [20:57:05] I have that [20:57:15] But somehow not all of it gets caught [20:57:16] Then it should be going to your monitor, not your error log. [20:57:22] Oh I see E_STRICT too [20:57:25] VonSchmut, because nobody's done it? You can fix it, it's a wiki. [20:57:51] *ggeller reads mediawiki-1.12.0/INSTALL [20:58:30] Simetrical: Still not going to my monitor, API output clears the buffer [20:58:52] I guess it makes sense for the API to force error display off. Would kind of be a problem. :P [20:59:03] Yeah well I don't think it's intended [20:59:17] Bots don't report error messages getting printed on their screen, they just break. :) [20:59:24] Fatal errors do get printed [20:59:36] But if the API manages to output XML, errors aren't displayd [20:59:40] Simetrical: for format=typefm error messages could be retained [20:59:43] Weird, but for the better [20:59:50] They should be [20:59:58] No idea where that suppression happens though [21:00:01] alnokta: java applet can only load files from the same server the jar came from. plugin is not limited in that way [21:00:21] if you're hosting the wiki code on a different host than the images, you have to put the jar on the server with the images [21:00:55] RoanKattouw: file a bug on BZ with you as the assignee ツ [21:01:17] Go ahead [21:01:26] was talking about you [21:01:32] Oh :P [21:01:40] Reported-By: Roan Kattouw [21:01:43] Assigned-To: Roan Kattouw [21:03:38] Simetrical: Thought somebody would have done it after all these years... which led me to believe maybe it was a bad practice for some reason. *shrugs* [21:04:37] 03(NEW) php errors are gone - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13508 trivial; normal; MediaWiki: API; (azatoth) [21:04:46] RoanKattouw: there you have [21:04:51] brion ah .. the file is on the same host.. i just tried to add the file to another wiki (same settings) and cortado works there.. i'm deleting images directory and readding.. may be [21:04:51] VonSchmut: mediawiki.org is relatively new. [21:05:18] only picked up like a year ago or so. [21:06:00] 03(mod) On alswiki, allow bureaucrats to remove sysop - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13503 (10Wiki.Melancholie) [21:07:51] brion http://alnokta.arablug.org/omkalthom/index.php?title=%D85%D9%88%D81%D8%A9:Aawedt-ainy.ogg <- not working... http://alnokta.arablug.org/ksd/en/index.php?title=Image:Aawedt-ainy.ogg <-working [21:08:05] Is MediaWiki 1.12.0 the quarterly branch release for Winter 2008... or 2007? [21:09:34] RoanKattouw: you added dontcreate, you should also add createonly [21:09:45] that's what I would mostly have use for [21:10:05] Ok, you got it [21:10:07] as a last security enforcement to not over-write a page [21:11:06] alnokta: works here [21:11:19] AzaTht: dontcreate right now *does* createonly [21:11:40] I'm really messing stuff up today [21:12:18] brion both? with cortado? [21:12:21] yep [21:12:34] firefox 3.0b4, mac os x [21:13:10] ok then it must be cached things i'm looking at [21:13:40] these things makes me pull my hair [21:14:11] the java plugin does really agressive caching. [21:14:23] the only really reliable way around it i ever found was: change the name of the jar [21:16:57] AzaTht: Is this Fluffy the three-headed version? [21:17:14] If that's the case I'll break out my enchanted harp [21:17:50] 03(NEW) Allow bureaucrats on Meta-wiki to remove rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13509 15enhancement; normal; Wikimedia: Site requests; (axel9891) [21:19:22] 03(mod) Allow bureaucrats on Meta-wiki to remove rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13509 +shell (10raimond.spekking) [21:20:12] btw, OggHandler doesn't work if the require line isn't the default value ($IP/extensions/OggHandler/OggHandler.php) .. [21:23:33] 03(mod) SVG text-decoration (including underlining) doesn't render - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13495 (10FT2.wiki) [21:23:41] re [21:28:57] hi all , does media wiki knows how to set tool-tips for a given list of words ? I have lots of texts which I want to publish and technical dictionary and I want to link them. [21:30:38] you mean, assign the tooltip automatically to each occurrance of the word? [21:30:46] Duesentrieb: Should Gadgets work on Special:UserLogin and Special:UserRights? [21:31:03] Seems like a security issue. [21:31:05] The_SB: maybe an extension exists for that [21:31:44] MZMcBride: it's not more of a security issue than any other js code that is editable by any admin. [21:32:23] MZMcBride: disabling it for those pages could be considered. but it would probably make mroe sense then to disable all site-js for those pages. [21:32:38] Duesentrieb: Right. But regular user JS is disabled there, I think. [21:32:51] At least on Special:UserLogin it is, I think. [21:32:54] really? please check. [21:33:04] if so, gadgets should be disabled too. [21:33:37] On Special:UserLogin, it doesn't import my /monobook.js (viewing the source code). [21:34:03] On Special:UserRights, it does -- though it really shouldn't. [21:34:57] on userlogin it loads /skins-1.5/common/ JS, gadgets, and site JS [21:36:15] yea, i see common.js being loaded [21:36:35] it may be nice to have a list of pages where site-js should be disabled. if that existed, gadgets should use it [21:36:43] RoanKattouw: yea [21:37:02] AzaTht: Yea to what exactly? :P [21:37:05] <^demon> Duesentrieb: There's a bug about it. [21:37:06] fluffy [21:37:10] Oh right [21:38:45] <^demon> Duesentrieb: https://bugzilla.wikimedia.org/show_bug.cgi?id=10005 [21:39:52] ^demon: that's about user js [21:40:04] <^demon> Oh yeah *facepalm* [21:40:24] Duesentrieb: thanks I am looking for it in th mediawiki site [21:40:24] <^demon> JS issues on those pages, related? [21:41:04] ^demon: it's related, yes [21:41:25] the question is if this security measure should apply to more pages and also to site-js, gadgets, etc [21:42:24] ^demon: you play wow? [21:42:48] AzaTht: http://www.mediawiki.org/w/index.php?title=API:Query_-_Lists&action=history [21:42:57] <^demon> domas: No, why? [21:43:09] nah, nothing [21:43:39] hehe [21:44:38] 03ialex * r32437 10/trunk/phase3/includes/api/ApiEditPage.php: Parse error. [21:44:49] ow :) [21:45:01] RoanKattouw: why does allcategories/c give the category as a text node and not as an attribute? [21:45:23] Dunno, VasilievVV wrote that module [21:45:35] k [21:45:36] Look at the JSON output [21:45:43] hi, is it possible to include images into the navigation bar? [21:45:45] Maybe it's just the XML formatter's fault [21:45:45] *ialex pokes CIA-44 [21:45:50] *RoanKattouw kicks CIA-44 [21:45:51] ow [21:46:07] 03midom * r32431 10/trunk/extensions/Oversight/HideRevision.php: delay message loading. this cripples the special page titles, but I don't really care, as they're interesting just to 3 or 5 people. [21:46:15] Hmm no it's not [21:46:21] It's VasilievVV's fault [21:46:39] OK, it's not very logical, but as always I'm not gonna break stuff for cosmetic reasons [21:46:40] <^demon> domas: Only 3 or 5? [21:46:47] cosmetic? [21:46:48] <^demon> Not 4? [21:46:55] it's consistency ツ [21:47:03] ^demon: yup [21:47:12] <^demon> Just making sure. Proceed. :-P [21:47:34] haha, queued up commit message sbeing sent in random orders [21:49:50] 03mkroetzsch * r32432 10/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php: use getText instead of getVal for textareas [21:50:16] brion: I update the patch again on https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 if you're interested [21:50:27] 03siebrand * r32427 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: [21:50:27] * plural [21:50:27] * ID [21:50:27] 03midom * r32425 10/trunk/phase3/includes/ProfilerSimpleText.php: make it static :) [21:50:29] 03brion * r32430 10/trunk/extensions/Collection/Collection.php: [21:50:31] For god's sake! The purpose of the check is to NOT EXECUTE THE ABRITRARY CODE, [21:50:33] SO DON'T PUT IT AFTER THE ARBITRARY CODE EXECUTION VULNERABILITY when [21:50:35] register_globals and allow_url_fopen are on on a PHP version that allows [21:50:37] inclusions via remote URLs [21:50:39] 03brion * r32446 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): * Trackback display formatting fixed [21:50:40] ah cia's back :D [21:50:44] 03midom * r32420 10/trunk/phase3/includes/ProfilerSimpleText.php: simple profiler text output [21:50:51] rnaodm orders :\ [21:50:52] 03brion * r32429 10/trunk/extensions/CentralAuth/SpecialCentralAuth.php: * (bug 13505) Normalize input in Special:CentralAuth [21:51:01] MrZ-man: great! sec... [21:51:01] 03raymond * r32428 10/trunk/ (2 files in 2 dirs): Localisation updates German [21:51:12] 03brion * r32422 10/trunk/phase3/languages/messages/MessagesEn.php: Revert r32409 -- smart quotes infecting our nice clean text [21:51:23] 03raymond * r32424 10/trunk/extensions/Renameuser/SpecialRenameuser_body.php: [21:51:23] * Fix double escaping [21:51:23] * Add 'redirect=no' to the link of the old page name [21:51:23] * Use proper CSS classes for label/input elements [21:51:24] * Remove
, not longer needed due to the nice fieldset [21:51:37] 03brion * r32423 10/trunk/extensions/ (68 files in 66 dirs): Revert r32410, r32411, r32412 -- smart quotes infecting everything [21:51:47] 03brion * r32447 10/trunk/extensions/Collection/Collection.body.php: [21:51:47] * fix misspelling of variable [21:51:47] * fix big splashy undefined index notice on every page view that's not a collection page [21:51:47] <^demon> I wonder if CIA will get auto-kicked for flooding :-P [21:51:59] ^demon: it has flood protection [21:52:03] <^demon> Ah [21:52:04] 03ialex * r32426 10/trunk/extensions/CentralAuth/WikiMap.php: E_STRICT [21:52:08] hi there [21:52:09] RoanKattouw: http://en.wikipedia.org/w/api.php?action=foobar&format=xml [21:52:10] i have troubles during installation [21:52:24] it seems the installation script forgets the username right after connecting, but before selecting the database [21:52:24] shouldn't that error message be enclosed in xml? [21:52:26] AzaTht: Known bug, in BZ already [21:52:29] k [21:52:43] the error message is (no username!): "Error selecting database terminationdb: 1044 Access denied for user ''@'localhost' to database 'terminationdb'" [21:52:47] bah [21:52:54] hrm, transclusion seems to fail if the transcluded paged doesn't exist? [21:53:09] yet it prints what is within {{ }} ? [21:53:44] [[procw:Find A Spare]] {{procw:Find A Spare}} - prints as "procw:Find A Spare Procw:Find A Spare" [21:53:48] weird. [21:54:19] 03catrope * r32439 10/trunk/phase3/includes/api/ApiEditPage.php: Add this parameter so it actually works. I'm not really paying attention today :P [21:54:24] how's that weird now? [21:55:15] 03catrope * r32438 10/trunk/phase3/includes/api/ApiEditPage.php: That backslash should be there, I forgot to escape it. [21:55:20] 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 (10david.doherty) [21:55:25] 03mkroetzsch * r32441 10/trunk/extensions/SemanticMediaWiki/ (5 files in 3 dirs): [21:55:25] Started to move parameter escaping/link generation code into SMWInfoLink; this will eventually enable simple [21:55:25] extension of link parameters and centralised problem handling (e.g. overlong parameter strings preventing [21:55:25] proper [21:55:25] [[internal link]] creation) [21:55:27] OverlordQ: no space [21:55:35] oops [21:55:36] 03catrope * r32435 10/trunk/phase3/ (3 files in 2 dirs): API: Adding dontcreate parameter to action=edit [21:55:38] tjere is sorry [21:55:46] *MinuteElectron kicks CIA-44: [21:55:48] *MinuteElectron kicks CIA-44 [21:55:48] ow [21:55:51] heh, cia44, was that IRC comedy? [21:56:08] the splitting over multiple lines while talking about overly long lines? [21:56:26] <^demon> CIA-44, be nice and reply to derwin. [21:56:34] *^demon kicks CIA-44 [21:56:34] ow [21:56:38] *AzaTht slaps CIA-44 [21:56:54] <^demon> He must like that, he didn't complain. [21:56:55] derwin: Right, you can't transclude nonexistent pages, you'll just get a red link [21:57:05] sorry for asking again: is it possible to include images into the navigation bar? [21:57:56] brion: Would it be acceptable to deprecate MonobookToolboxEnd and replace it with a generic SkinToolboxEnd hook that is available on all skins? [21:58:17] maybe with better names, but in principle [21:58:20] maybe, maybe not [21:58:25] what does it do? [21:58:25] oh [21:58:29] is it clean? [21:58:35] or tied to a particular layout? [21:59:16] RoanKattouw: kinda weird, but guess it makes sense :) [21:59:30] i still fail to see the weirdness [21:59:33] oh, lol, cia-44 is the bot :) [21:59:39] brion: one moment [21:59:48] 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 +comment (10Platonides) [21:59:52] <^demon> derwin: I thought you knew that.... [22:00:06] brion: A question that AzaTht intended to ask but didn't: any idea when $wgEnableWriteAPI = true; will be set on WMF wikis? [22:01:01] 03raymond * r32448 10/trunk/ (2 files in 2 dirs): Localisation updates German [22:01:43] brion: The current implementation allows extensions to add items to the end of the toolbox in monobook however the toolbox is found in every skin except cologne blue and nostalgia but only monobook has this hook. [22:02:25] 03catrope * r32442 10/trunk/phase3/ (3 files in 2 dirs): API: Rename dontcreate to createonly, which actually makes sense [22:02:29] ^demon: sadly (or perhaps more hilariously?) I didn't know it was the bot.. [22:02:36] 03brion * r32443 10/trunk/extensions/Collection/ (4 files in 2 dirs): normalize whitespace [22:02:41] brion: There is no "clean" implementation of anything to do with skins due to the nature of them (i.e. being completely screwed up) but this is the next best compromise afaics. [22:02:48] 03ialex * r32445 10/trunk/extensions/Oversight/HideRevision_body.php: Oops. Forgot the permissions check. [22:03:09] 03kim * r32434 10/trunk/extensions/Wikidata/App.php: add {$IP} to all apiwikidata refrences. [22:03:13] 03brion * r32449 10/trunk/phase3/ (6 files in 3 dirs): [22:03:13] * (bug 13450) Email confirmation can now be canceled before the expiration [22:03:13] patch by MrZ-man - https://bugzilla.wikimedia.org/attachment.cgi?id=4764 [22:03:13] Plus text strings copied back from https://bugzilla.wikimedia.org/attachment.cgi?id=4761 [22:03:20] 03midom * r32421 10/trunk/phase3/includes/ProfilerSimpleText.php: some manuals need strangling. [22:03:21] 03ialex * r32444 10/trunk/extensions/Oversight/ (HideRevision.php HideRevision_body.php): (log message trimmed) [22:03:21] Rewriting Oversight extension: [22:03:23] * Moved special pages functions to HideRevision_body.php and put them into [22:03:25] classes, thus wfLoadExtensionMessages() can be called before setting the page [22:03:27] title and have "normal" page titles instead of or . [22:03:29] * Killed hrSetup() function, put $wgHooks definitions out of the function. [22:03:31] * Added call to wfLoadExtensionMessages() in HideRevisionTabInstaller::insertTab() [22:03:37] 03catrope * r32440 10/trunk/phase3/includes/api/ApiBase.php: Fixing E_NOTICE [22:04:14] :) [22:04:42] 03(FIXED) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 +comment (10brion) [22:05:02] how can i debug the installer's sql queries? [22:05:58] when a youtube video is full-screen, there is a 'map' option next to the pause button... is this a semantic application? it makes it easy to find other videos, similar to how content was/is to be shared with vista ... just wondering if anyone here knows what the terminology for it is?? [22:06:27] UL isnt working for me: says "Logic error in migration: Unable to determine primary account". anyone know? [22:06:54] plebiscit: ask in #wikimedia-tech [22:07:09] MinuteElectron, thanks [22:08:33] 03(NEW) Login error on temporary passwords - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13510 15enhancement; normal; MediaWiki: User login/settings; (JSchulz_4587) [22:08:38] AzaTht: If you have nothing else to poke me for I'm gonna go to bed now [22:08:56] How difficult would it be to add a keyword to reverse (or specify) a category sort key order? [22:08:58] !ask [22:08:58] --mwbot-- Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [22:09:04] any API guys here? [22:09:25] RoanKattouw was here a few minute ago. [22:09:32] Still here [22:09:35] AaronSchulz: Fire away [22:09:42] 03(mod) Allow bureaucrats on Meta-wiki to remove rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13509 (10lilewyn) [22:10:00] RoanKattouw: please use a row estimate for possible slow queries, such as the ucprefix stuff [22:10:07] bail out with an error if too many [22:10:27] and disable the query for deleted revs based only on namespace(s) sorted by timestamp [22:10:43] that easily turns into an 8+ million row filesort [22:10:53] AaronSchulz: We don't have indexes on those? We should [22:11:09] the deleted revs index is namespace,title,timestamp [22:11:13] you can see the problem ;) [22:11:16] Right [22:11:34] So drnamespace has to go [22:11:43] well no [22:11:49] you need an NS for a title right? [22:11:54] just don't let them give only an NS [22:11:58] Well yeah but titles=Talk:Foo does that [22:12:04] drnamespace=1 does all talk pages [22:12:06] and then remove the deleted list for namespace only from the example list ;) [22:12:11] ok, then it should go [22:12:59] AaronSchulz: Please file this list as a bug at BugZilla, set Component=API and assign to roan.kattouw@home.nl , I'll get to it tomorrow. Also please specify in some more detail how I can get those row estimates (I have only a very vague idea of what they are) [22:13:34] 03rainman * r32450 10/branches/lucene-search-2.1/ (45 files in 20 dirs): (log message trimmed) [22:13:34] Incremental updates: [22:13:34] * propertly handle deletions/additions, done basic testing [22:13:34] * custom snapshots, new switches for building from precursor snapshots [22:13:34] Prefix: [22:13:34] * use rank not references [22:13:36] * fix suggestions when default search is multiple namespaces [22:13:53] brion: Yeah, I see your concerns -- probably scratch my idea for now unless you really are happy with it. Maybe one day someone (maybe me) could work on rewriting the skin system some day which would allow all skins to use similar "blocks" so such a hook as this could be implemented more cleanly.. [22:14:04] AaronSchulz: I'm gonna go to bed now [22:14:11] n8 [22:14:18] MinuteElectron: *nod* [22:14:55] brion: I presume if it could be done well you'd sanction a rewrite of the skinning system if someone ever got round to it, right? [22:15:05] prolly [22:15:11] cool [22:17:26] *Duesentrieb has some ideas for a new skinning system - the question is if it would be fast enough [22:17:58] pray tell [22:18:13] 03(NEW) API performance issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13511 major; normal; MediaWiki: API; (JSchulz_4587) [22:19:08] are you "only" supposed to transclude "templates" ? when I {{:namespace:Page Name}} it says "Templates used in this doc" and includes namespace:Page NAme [22:19:20] (not on the wikipedia, just my private mediawiki) [22:21:03] you can transclude whatever you want [22:21:19] sure, I "can" obviously.. but I'm wondering why it thinks I'm including "Templates" [22:22:25] must be running old version then [22:22:40] nope, 1.12 [22:22:55] "Templates used in this preview:" [22:23:12] Hello [22:23:14] Duesentrieb: I guess that's a "no" ;) [22:24:10] I'm interested in setting up mediawiki and importing the wikipedia dump into it for local use. I've set up mediawiki and am currently downloading the Wikipedia raws. I was just wondering how I'd go about importing it into mediawiki? [22:24:19] MinuteElectron: huh? [22:24:28] "MinuteElectron> pray tell" [22:24:38] derwin: *shrug* change the message then [22:24:45] OverlordQ: lol :) [22:24:54] I just wanted to make sure I'm not doing something "wrong" :) [22:25:40] on WP the message is changed to: Pages [[Wikipedia:transclusion|transcluded]] onto the current version of this page: [22:26:16] Duesentrieb: "pray tell" I said, asking you to explain your ideas :) [22:27:22] Well, the FAQ in the topic has help on the subject! [22:27:29] I need not have asked \o/ [22:28:58] 03(NEW) CentralAuthUser:: chooseHomeWiki gets confused if all privileged accounts are blocked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13512 15enhancement; normal; MediaWiki extensions: CentralAuth; (brion) [22:30:11] OverlordQ: where did you find that message? [22:30:20] I looked for "messages" in my wiki, didn't find.. [22:30:31] Special:Allmessages [22:31:08] or for that particular message: MediaWiki:Templatesused [22:31:09] d'oh. searching namespaces does not search special :) [22:31:38] thanks :) [22:33:54] 03(NEW) paragraph justification destroys Indic font rendering - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13513 normal; normal; Wikimedia: General/Unknown; (kirk.miller) [22:34:02] MinuteElectron: oh, about the skinning system? sorry. hm... not sure i can offhand. i should write it up in a nice and structured way some time. i have thought a bout it a couple of times, but never got around to it. [22:34:36] yes [22:34:43] i thought we could take something from the druapl system [22:35:18] where they just use variables [22:35:26] except with a anazzy back-end [22:35:43] MinuteElectron: some basic principles of what i dreamed up: a) don't invent a language, php already is a macro system. b) the caller/user decides on encoding/escaping c) the caller/user should not have to know if some info is comming from a template file, a config string, a function, or whatever. [22:35:52] 03(mod) paragraph justification destroys Indic font rendering - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13513 (10brion) [22:36:03] yeah [22:36:31] i think it is veyr important to make the destinction between someone who knows enough to develop a program and someone who knows enough to develop a skin [22:36:56] yes, though it's a bit tricky to keep that separate in a language like php [22:37:04] anyway... with what i was dreaming up, you end up with a system from which you full snippets using function calls. and you can plug in simple strings, or functions, or template files, to supply the snippets. [22:37:04] the learning curve in html\css is far smaller so we should be making it easy for skin-developers to make skins rather than targetting it at code-developers who know what they're doing [22:37:13] not sure if that would be efficient enough for mediawiki [22:37:33] anyway, back to my thesis :/ [22:38:31] mmh, what i was thinking was using a skin class that has an output function that populates several variables (e.g. $title, $content, $sidebar, $toolbox, $toolbox_title) and the includes a skin file that uses PHp snippets to include them. [22:38:40] have fun with your thesis though [22:43:12] What variable tells mediawiki what to use as a self-referential URI ?? [22:45:51] solifugus: $wgServer ? [22:48:20] I think what I am looking for is $wgArticlePath (rtfm'd it) [22:50:28] derwin: I'm still trying to figure out how to do {{:foo{{{1}}}#header}} without the header (or cats)! [22:51:02] You'd think it'd be simple [22:51:42] hah, many things in wikimedia markup appear to not be simple :) [22:51:53] [[Category:Foobar]] [22:52:09] nope. nada. [22:52:48] I think it needs to stop parsing at a certain point for it to work, haven't gone that far yet [22:54:21] 03brion * r32451 10/trunk/extensions/Collection/ (Collection.body.php README.txt): don't require moving things into core skins dir [22:54:33] 03raymond * r32433 10/trunk/phase3/ (3 files in 2 dirs): [22:54:33] * Add a 'success' class analog to the 'error' class [22:54:33] * Add the new 'success' class to some messages of SpecialRevisiondelete.php [22:54:46] 03catrope * r32436 10/trunk/phase3/includes/api/ApiEditPage.php: API: Fixing errors in action=edit example [22:57:08] *OverlordQ slaps CIA-44 around a bit with a large trout [23:01:03] what is this, abuse the bot day? [23:01:22] it's called progress [23:01:35] ahhhh [23:08:32] 03brion * r32452 10/trunk/phase3/ (RELEASE-NOTES includes/Database.php): (log message trimmed) [23:08:32] * Don't die when single-element arrays are passed to SQL query constructors [23:08:32] that have an array index other than 0 [23:08:32] Since we don't enforce linear ordering of array keys on longer arrays, we [23:08:32] may as well not enforce it on single-element arrays either. [23:08:32] The freaky little Categoryfinder class was using different keys for its [23:08:34] arrays, which could cause a PHP notice and silent lookup failure when [23:15:09] changing $wgArticlePath to anything results it it still returning as index.php [23:15:18] doesn't seem to work as per the doc [23:15:58] Is there a way to move a MediaWIki install from one system to another if the versions are different? I have tried by doing a "mysqldump" and then mysql import but cannot see the data from the original MediaWiki installation. [23:16:46] Tako-san: import the dump on the new system then run maintenance/update.php [23:17:11] MinuteElectron: Excellent! Thanks. :) [23:17:39] yw [23:17:54] what should be in the array for RevisionDelete permission? Can't even access it with bcrat rights [23:23:09] It seems $wgArticlePath doesn't get used at all.. I see it in redirect.php, even though I see many redirects when going to the site, that code doesn't seem to get called. [23:23:16] VonSchmut: bcrat usually only has one right: to give rights. a bcrat as such doesn't even have sysop powers. [23:23:59] solifugus: $wgArticlePath is used for generating links between pages. for normal wiki links. [23:24:42] 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 +comment (10pathoschild) [23:27:27] Is there a way to get all articles in a category and all sub-cats using API? [23:27:38] I know you can get the main category [23:27:44] but what about sub-categories? [23:28:23] what is a "sub-category" in wikimedia? [23:28:30] Duesentrieb: then how can I change the "index.php" to what I want? I has aliased each wiki's URI in apache. [23:28:45] Derwin, mediawiki [23:28:53] And it's a category placed in a category [23:28:54] googling for "sub-category mediawiki" [23:28:58] does not produce anything [23:29:02] oh, because it's not a "sub category" [23:29:05] it's just a category. [23:29:41] 03aaron * r32453 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevs.php FlaggedRevsPage.php): [23:29:41] * Only autoflag up to "sighted" level [23:29:41] * Add $wgFlaggedRevPristine for wiki's to set/remove "featured" level [23:29:44] Duesentrieb: and in the main LocalSettings.php I check the URI and select the respective wiki.. it works first request, but then a bunch of (what looks like redirects) occur and they do not reflect the URI I entered to get there. [23:29:57] 03(FIXED) Special:Reviewedpages has one level too many - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13506 +comment (10JSchulz_4587) [23:30:01] 03(FIXED) Autoflagging should not be possible for levels higher than sighted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13504 +comment (10JSchulz_4587) [23:30:07] I don't see wgArticlePath doing anything, really. [23:31:11] I am not sure what $wgScriptPath is supposed to be either, I must admit. [23:32:39] 03raymond * r32454 10/trunk/ (2 files in 2 dirs): Localisation updates German [23:33:30] MinuteElectron: I ran the update.php script successfully but am still getting the default MediaWiki start page. [23:34:15] did you set the configuration variables? [23:34:21] in localsettings [23:34:26] Hi. I have followed carefully these instructions: http://www.mediawiki.org/wiki/Manual:Upgrading to upgrade my 1.6 to 1.12. [23:34:26] I have all requirements. I have also made a backup of everything. I have unpacked the 1.12 and uploaded it OVER my former files. I don't have a shell access, so I used the "re-run the installer" method. while entering mypath/config/index.php, I get a 500 - Internal Server Error. I can't see any apache logs. do you have any idea what else can I check? [23:34:37] MinuteElectron: Ah! [23:34:42] *Tako-san bangs head against the wall. [23:36:32] MinuteElectron: They appear to be set. Do I need to change something after doing the import? [23:36:39] MinuteElectron: If so, what? [23:37:27] Does 1.12 recognize 'steward' group access, or is that only on Meta? [23:37:43] Tako-san: Using the same database etc? [23:39:26] MinuteElectron: Ok, sorry if I am a little slow. I imported the old DB "jackson_wiki" in a DB on the new system with an identical name. I guess the DBuser and DBpassword has to be updated to reflect that of the original install though, correct? [23:39:35] yeah [23:39:42] but i don't know what the problem is [23:39:53] MinuteElectron: Thanks. Let me try that. [23:40:10] *Tako-san scuttles off to pound the keyboard some more. [23:40:56] No one has an idea? I've been trying to upgrade it in the last 4 days already, with no success. [23:42:46] *VonSchmut thinks, 'If answers were chiefs, answers would be Indians.' [23:43:14] *Tako-san has no idea what VonSchmut is talking about. [23:43:23] *peleg also. [23:43:50] *VonSchmut Correction: If questions were chiefs, answers would be Indians. [23:44:36] MinuteElectron: I don't think that is the problem. At least once I changed the DBuser and DBpassword fields in "LocalSettings.php" I am now getting a MySQL connection error. Are you sure they are supposed to be changed? [23:44:42] Can anyone tell what $wgScriptPath is supposed to be for? It's in this doc: http://www.mediawiki.org/wiki/Manual:Short_URL [23:45:34] The description is "Path to the actual files. This shoudl already be there" but I cannot tell what kind of path.. the example is just '/w' [23:46:17] Does this mean literal file path? from server root, or from apache root? Or, URL or URI? [23:46:40] '/w/ would be your wiki directory [23:47:03] My situation is actually quite simple: I have a fresh wiki, almost without contents; no extensions at all, no file modifications, nothing. I have php+mysql as needed, but upgrade won't work. I can reinstall it (from scratch), but I just wonder why the upgrade instructions won't work for me; is it a problem in the documentation, or a specific problem in the server I work with? [23:47:17] VonSchmut: ok.. but full file path or from my webroot? [23:47:58] peleg: What problem are you experiencing? I am in the middle of trying to migrate a MW install from one system to another myself. [23:48:48] Tako-san: I had 1.6, I copied the files of 1.12 on top of it, and tried to re-run the installer, but I get a 500-internal server error. [23:48:52] in short. [23:50:34] peleg: Why are you installing the newer version on top of the older version? Why not install to a seperate directory but point the new install to the original DB? [23:51:23] Tako-san: that's what the directions said. I didn't even know it is possible... [23:51:35] I put $wgScriptPath = 'var/www/devapps/wiki/mediawiki'; $wgArticlePath = '/mywiki/$1'; $wgUsePathInfo = true; but it still returns the same URLs [23:51:41] but it sounds like a good idea! [23:51:48] seems completely ignored [23:51:56] peleg: Which instructions are you following? [23:52:36] http://www.mediawiki.org/wiki/Manual:Upgrading#Alternative_2:_Re-run_the_installer [23:54:35] peleg: One sec, let me have a wee look. [23:54:53] thanks! [23:54:55] This is just amazingly difficult. [23:55:11] peleg: Why did you choose to not run the update.php script? [23:56:01] Tako-san: because on that specific server I don't have shell-access [23:56:29] peleg: Ah. Always a fun time when there is no shell access. [23:57:31] Tako-san: yes. I think I will move it to a different server and that's all. [23:57:41] too difficult this way... :-) [23:57:42] peleg: Which part of the process is it failing on? [23:57:48] peleg: That may be a good thought. [23:57:51] access config.php [23:58:01] peleg: Correction. That IS a good thought. 8-) [23:58:10] Tako-san: do you know about a way to install it using SVN ? [23:59:03] peleg: I am sure it would be just like installing anything via SVN. You just need to know the address of the SVN repository (assuming one exists). [23:59:05] Is there any way I can send a marked up document to mediawiki and have it return the html it would display -- but not have it really be in the wiki.. does that make sense? [23:59:33] xaxxon: I am not sure I have understood.