[00:08:53] how can I remove the maximum file size on uploads? [00:10:21] anyone have any experience with the ProofreadPage extension? I installed the extension but there isn't much documentation what to do next [00:20:55] 03(mod) Add magic word __NONEWSECTIONLINK__ - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16335 (10ameliorate) [00:28:42] 03(ASSIGNED) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10nyphbl8d) [00:29:28] *I-MOD wins! [00:30:27] 03(mod) Generic Edit Page: Extraneous layout tag append on page save - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16397 +comment (10john) [00:33:23] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10mrzmanwiki) [00:33:29] 03(mod) Add magic word __NONEWSECTIONLINK__ - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16335 -easy +need-review +patch (10mrzmanwiki) [00:48:13] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [01:43:10] 03(NEW) Cascade protected pages show "edit" tab instead of " view source" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17036 minor; normal; MediaWiki: Page protection; (danny.b) [01:53:02] hi, how do Wikipedia's infoboxes make a right align and have a border? I'm pretty sure I copied the template:infobox correctly b/ it aligns on the right and has no border [01:53:15] er aligns on left [01:53:44] CSS classes [01:53:59] you have to implement those into the skin? [01:54:14] MediaWiki:Common.css [01:54:25] k [01:54:32] !css [01:54:32] --mwbot-- To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [01:54:45] 03(mod) Cascade protected pages show "edit" tab instead of "view source " - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17036 +comment (10Simetrical+wikibugs) [01:56:17] Simetrical: yes, I think that's correct, Title::getUserPermissionsErrorExpensive(), or someother long named function [02:10:20] I think that bug is a dupe. [02:12:09] https://bugzilla.wikimedia.org/show_bug.cgi?id=11700 [02:13:03] 14(DUP) Cascade protected pages show "edit" tab instead of "view source " - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17036 +comment (10public) [02:13:04] 03(mod) Edit tab on cascade protected pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11700 +comment (10public) [02:52:27] 03(NEW) Ability to protect the image only but not the description page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17037 15enhancement; normal; MediaWiki: Page protection; (danny.b) [03:04:15] Has anyone had any luck getting collapsible tables to work in a drupal skin? [03:22:03] 03(NEW) Extension Installment Disabled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17038 major; normal; MediaWiki extensions: General/Unknown; (habatchii) [03:53:11] 03(mod) Show logs for moved pages corresponding to old page name - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8731 +comment (10hardy) [05:48:57] 03(mod) Problems wih fallback character encoding - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17020 (10zayoo) [05:49:43] Hey everyone. I am working on setting up a shared resources wiki, like the commons, for my small wiki farm. Is there a way to transfer the images to the new wiki other then manually? (I do have root access) [06:10:45] 03(mod) Extension Installment Disabled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17038 +comment (10innocentkiller) [06:10:56] <^demon> ^ Most vague bug of the day. [06:21:26] Is there anyway to easily port images from one wiki to another (on the same server). [06:36:51] I just enabled shared uploads and it added a link to the commons on the shared upload file page. How do I remove this? [07:33:08] does anyone know if it's possible to group pages/subcats in a category, ie. page A-L and pages M-Z? [07:33:27] ie. group all groups with 3 members or less? [07:33:35] or something arbitrary like that? [08:36:44] moin [08:51:38] moin [08:53:43] r [09:17:02] 03(NEW) Default focus should exist for user name filed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17039 major; normal; Wiktionary tools: General; (ramyaa) [09:36:10] 03raymond * r45791 10/trunk/phase3/ (5 files in 2 dirs): [09:36:10] * Wrap deletedwhileediting/confirmrecreate messages into a div with own classes [09:36:10] * Add class "error" for deletedwhileediting [09:36:10] * Remove "span class=error" from some localizations [09:36:10] ** Makes default behaviour more consistent over all languages [09:36:11] * Use proper Xml::function for the checkbox [10:20:46] Hey, With flagged revs is there a way i can stop it from pushing page alignments out of whack [10:21:12] Atm its always on the RHS and pushes table elements over or in somecases, sits on top of them [10:24:09] 03(mod) Default focus should exist for user name filed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17039 major->normal; +comment (10matthew.britton) [10:29:35] hi! i'm looking for a tool that converts a wikibook to pdf or latex or openoffice format. [10:31:40] yeaaha: wikibooks has that built in now, i though... [10:31:44] but i have never tried it [10:37:34] but i need a script so that i can modify it for our needs. i think wikibooks follow certain standards that our wiki doesn't. some perl, python or other script would be great. i once found a website, i think the author had sort of an indian name, which provided such a script. but i don't find it again. [10:52:36] yeaaha: princexml appears to be good at rendering mediawiki stuff. or look at mwlib for python, that's what pediapress (the wikibooks stuff) uses. [10:52:53] i think it's usually done via HTML [10:55:14] Does anyone have burstmedia ads working in mediawiki? I can't seem to get them placed correctly (vertical in top right) [11:08:21] 03(mod) api.php opensearch returns only JSON - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9143 +comment (10matthew.britton) [11:08:35] TimStarling: http://translatewiki.net/wiki/Template:Needinfo shows up as empty page when logged in it seems [11:16:03] where is aaron [11:43:51] Hi there. [11:45:20] I've got a weird problem. I'm moving from Debian Etch 32-bit to Debian Etch 64-bit, and have already moved my MySQL databases, installed the necessary things for MediaWiki to work, and since they're both Etch, I have the same versions of everything (except for security fixes) [11:46:32] Now, I've got two installations of MediaWiki in particular. The larger one works just fine as before. The smaller one, which is behind an HTTP Basic Authentication set in .htaccess, is erroring out with "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /home/personal/public_html/languages/Language.php on line 387" [11:47:22] It wasn't doing that on the 32-bit installation, and I find it weird that the larger one works but the smaller one doesn't. Same Apache settings, same hardware. (well, it's virtual hardware - I'm running in a Xen instance) [11:47:53] Does anyone know what might be up? I could up the PHP memory_limit but I'm interested in knowing why it's doing this, because I can't work it out. [11:55:47] Sophira: for reason or another it cannot increase the memory limit automaticlaly [11:57:06] mike_jh: I didn't think it was even possible to change the memory limit from a PHP script, since that would defeat the point of setting it in the first place, wouldn't it? [11:59:38] Err [11:59:44] Why are you asking me? [12:00:43] But yes, the memory limit is hard set in php.ini [12:00:51] Changing it from a script would be madness [12:01:06] Although maybe it is possible to reduce it? [12:06:58] Hellow all! ) Can someone help me with applying patch under windows on wiki? [12:09:06] What sort of patch? [12:15:12] 03mkroetzsch * r45792 10/trunk/extensions/SemanticMediaWiki/includes/ (17 files in 2 dirs): [12:15:12] Updated datavalue API to allow for a more effective stubbing mechanism and lazy loading. Some further improvements in SMWSQLStore2 cahce management. [12:15:12] Significantly reduced DB access and memory needs overall (varying depending on taks). See email to developer's list for details. [12:16:34] Again me with same question ) [12:16:58] trouble is that i dont know how to apply it under win [12:17:29] under linux it is not a big problem [12:29:51] mike_jh: Eep, sorry, didn't mean to ask you that question earlier - blame tab completion. I meant to ask Mikerabbit. [12:30:08] ...and now I see that it's Nikerabbit, not Mikerabbit. Oops. [12:30:16] *Sophira stops pinging people now >_> [13:08:18] Is it possible to do section transcludes from wikipedia? Something like {{#lst:wikipedia::SomeArticle|SomeSection}} [13:09:52] no. [13:09:58] :( [13:12:53] Using the cite module what's the best way to cite Wikipedia, using {{cite web ... } I guess? [13:12:58] MrGrinch, look into [13:13:24] if you want to pull a select piece of text, you can only pull one from the entire document [13:14:02] I-MOD: I seem to remember using that at one point hrm, let me give that a try. Thanks for the pointer. [13:14:26] np [13:15:27] / is fine for use on your own wiki [13:15:33] it does not help you to get anything from wikipedia [13:15:49] true [13:16:21] i missed the "from wikipedia" part of his question :D selective reading ftw [13:18:06] also, an issue with transcluding from wikipedia (even if it was possible), is that wikipedia is constantly changing and the would mess up your transcludes when section names change [13:18:42] I-MOD: I'm willing to bite that bullet :) [13:19:01] it's also a bit nasty from the licensing perspective [13:19:15] Duesentrieb: How so? [13:19:29] you have to a) give property attribution and license info and b) license at least the page you use it on as GFDL [13:19:43] err, s/property/proper/ [13:20:32] That parts not a big deal everything on this wiki is public domain as far as I'm concerned. [13:23:31] 03aaron * r45793 10/trunk/phase3/includes/Article.php: Tweak r45778, check exists() [13:26:06] MrGrinch: but that part would no longer be public domain. it would have to be specifically GFDL. [13:26:15] no more, no less. [13:26:33] GFDL is a bitch like that :) [13:26:40] All licenses are a bitch :P [13:29:56] 03(mod) Factbox does not show in SMW 1.4.1 running on MW 1.13.3 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17023 +comment (10publicaddress) [13:31:16] DWTFYWWI license (http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ParserFunctions/COPYING?revision=16953&view=markup) ftw ;-) [13:31:30] ashley: heh [14:00:51] 03(NEW) New logo for hr.wikibooks (Croatian) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17040 normal; normal; Wikimedia: Site requests; (dalibor.bosits) [14:19:16] ok, are there any rules for submitting patches? [14:19:22] quick question, one of the chaps at work was asking if it was possible to lock a page so it cannot be updated, anyone know how to do that? [14:22:28] MrHappy, i know it's possible, they do it on wikipedia [14:22:32] no idea how, though [14:22:53] aye, that's why I was asking on here. [14:23:15] everyone else must be away from the PC. [14:23:41] yeah [14:23:44] seems that way [14:23:55] *I-MOD looks for patch guidelines before submitting anything [14:24:53] MrHappy, Protection [14:25:45] I-MOD, dont do anything stupid.. If you submit it to a bug, you'll possibly get some comments for tweaks/improvements, and then need to update it :) [14:25:53] MrHappy: if youare logged in as sysop, you see a "protect" tab at the top of every page. [14:26:44] oh, yes, never noticed before. [14:27:34] ohh, I like that, Edit, Sysops only. [14:27:36] Reedy, yeah, i know, but other projects have entire pages dedicated to patch guidelines and code formatting, and i'd prefer to find it before getting yelled at :D [14:28:20] also, this is currently against 1.9.3 [14:28:32] :/ [14:28:39] Isnt that useless/redundant? [14:29:19] meh [14:29:39] well, as its not a stable/supported version [14:29:46] hi, anyone into Semantic Mediawiki? [14:30:00] I-MOD: "use the coding style used in the code around your patch" is the best guide. [14:30:07] heh# [14:30:15] thanks, Duesentrieb [14:30:47] *I-MOD gets the latest stable to see if his patch applies [14:32:42] I-MOD: one made for 1.9? unlikely. 1.9 is nearly two years old [14:34:02] heh [14:34:30] didn't even realize that, i was working off what someone else had installed (and apparently never updated) [14:38:42] well, it seems like the parts I modifed haven't changed in the least :D [14:39:04] that's suspicious :) [14:39:46] well, maybe a little [14:40:06] the function that I made most of the modifications to hasn't changed at all [14:40:20] some of the sites of supporting changes have shifted in very minor ways [14:40:33] is it easy to make text a different color in MW? [14:40:56] font tags, iirc [14:41:17] that was for me? [14:41:44] http://www.mediawiki.org/wiki/Help:Formatting [14:42:06] it lists tags as one of the supported HTML tags in mediawiki [14:42:16] you should be able to use that to change the color [14:43:29] nice,thanksyou [14:43:38] np [14:46:24] What would cause mediawiki to suddenly defide it doesn't like my passwords? [14:48:42] Return to $1. [14:48:45] what's that about? [14:51:20] is anyone familiar with the export pdf extension? I've installed it, and can use the "special" page to export pages as PDF, but the toolbox doesn't contain an option for just downloading _this_ page as as pdf [14:52:46] hi all [14:53:05] i have edited Monobook.css [14:53:22] but it is still showing some older styles which now i have removed [14:53:39] i have cleared the cache as well [14:53:54] i dont have any personal CSS [14:54:32] when i inspect the pages with Firebug -it shows the presence of styles that i hv removed from Monobook.css [14:54:43] what cud be the reason? [14:56:05] the problem is with .pBody class [15:03:40] 03ialex * r45794 10/trunk/extensions/ (2 files in 2 dirs): svn:eol-style native [15:05:08] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [15:05:54] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [15:06:32] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [15:08:18] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [15:08:22] *I-MOD has patches against 1.13.3! yay! [15:09:08] *I-MOD waits for someone to come along and comment [15:09:12] uh... you know that any and all patches need to be against the current trunk, right? [15:09:18] crap [15:09:27] i was wondering about that [15:09:39] *I-MOD goes to get the current trunk [15:09:58] since 1.13.3 is a stable release, pretty much only very important features and security fixes get backported [15:10:18] *I-MOD runs off to find trunk [15:10:37] http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [15:11:48] also, it should be in unified diff format, meaning one patch file will be able to patch multiple other files [15:12:02] yeah [15:12:24] alright, i'll take care of it, thanks for the info Skizzerz [15:12:30] no problem [15:12:38] I'll test it out once you get the patch done [15:13:09] 03(NEW) Thumbnail script doesn't work in PHP Safe Mode - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17041 major; normal; MediaWiki: Images; (noels01) [15:18:40] I-MOD: looking at your patch, a few other things: 1) use foreach() and not for() to recurse through arrays 2) follow the coding conventions as documented at http://www.mediawiki.org/wiki/Manual:Coding_conventions 3) join() is an alias for implode(), use the latter [15:19:41] Hello, is it possible that the toolbar (those who you see when you're edditing a article) only can seed/used by mods, do I've to edit a piece of script? [15:20:00] * seen [15:20:29] uh... if you canedit, why shouldn't you see the tools? [15:21:42] Better question, is it possible to add a part to the tool bar that only mods can see? [15:22:24] so that normal users see the toolbar, and moderators the toolbar with more buttons. [15:24:29] Skizzerz, at the moment, I can't really do anything about the main for loop, because I'm skipping an index in certain circumstances [15:24:40] hmmm [15:24:50] oh, yeah, didn't notice the $i++ in there :P [15:24:53] i could partially rewrite it to use a flag variable [15:25:07] at that point, i'd be able to use a foreach loop [15:25:16] would that be more acceptable? [15:25:59] I see you wont help me. Bye [15:27:34] *I-MOD rewrites with a flag [15:28:25] ew...that would be ugly [15:28:32] *I-MOD does it anyway [15:29:54] my big problem is, this is the first thing i've ever written in php :D [15:47:29] what pages are necessary to create a portal? [15:47:36] do I need to export anything from wikipedia? [15:54:14] 03jojo * r45795 10/trunk/extensions/Collection/Collection.templates.php: implemented change request http://code.pediapress.com/wiki/ticket/392 [15:54:42] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10roan.kattouw) [15:54:58] *I-MOD decides to simplify his processing a little [15:56:13] 03(ASSIGNED) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10roan.kattouw) [15:56:42] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [16:06:08] SixThreeOh: Where do you see "Return to $1" ? [16:08:09] anyone? [16:08:11] making portals? [16:08:13] I'd like to add a few [16:08:35] is anyone familiar with the export pdf extension? I've installed it, and can use the "special" page to export pages as PDF, but the toolbox doesn't contain an option for just downloading _this_ page as as pdf [16:10:09] antitab: Portals aren't really special, so you can just make them look like whatever you want them to look like. Feel free to steal templates and stuff from Wikipedia, but take care to steal the templates they depend on too. Also, some templates require the ParserFunctions extension (if you see weird #if and #expr stuff all over the place) [16:17:01] 14(WFM) Extension Installment Disabled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17038 +comment (10roan.kattouw) [16:17:35] now...i need to test this trunk version [16:17:39] antitab: If your question is about adding a Portal: namespace, see: [16:17:41] !extranamespaces [16:17:41] --mwbot-- To add a namespace, modify your LocalSettings.php file, and add namespaces via $wgExtraNamespaces. A comprehensive set of instructions for adding a namespace can be found at . $wgExtraNamespaces can also be used to rename the default namespaces. [16:18:41] <^demon> RoanKattouw: WFM? You don't know what his problem is yet :) Maybe he uninstalled them because they caused borkages? [16:18:46] http://wiki.command-q.org/index.php?title=Portal:⌘-Q [16:18:48] :/ [16:18:53] do I need to add the namespace? [16:19:01] ^demon: The bug description says he can't install extensions. I can, so it works for me [16:19:15] <^demon> Was hoping to get some more info before WFM'd. [16:19:27] <^demon> You know people give bad summaries :p [16:19:31] antitab: If you want to have Portal talk:Foo rather than Talk:Portal:Foo, yes [16:20:22] ^demon: Well the point is that BZ is not a support forum, it's for bugs. His problem is obviously not a bug in MW [16:21:06] http://wiki.command-q.org/index.php?title=Portal:⌘-Q&action=edit [16:21:10] I imported box-header and footer [16:21:13] why are they not appearing? [16:21:14] antitab: Remember what I said about required templates? Templates at WP depend on other templates, you need those too. To see which templates they are, edit the template and go through the list "Templates used on this page:" [16:21:20] <^demon> Not necessarily. Could be an issue with how his setup conflicts with MW. I've got a similar bug in 16554 where it's a borkage under certain setups. [16:21:35] right, but box-header should be there [16:21:43] antitab: Because you used {{/box-header}} rather than {{box-header}} (note the slash) [16:22:04] I created the cmdq/box-header page though [16:22:09] following the instructions on wikipedia [16:22:15] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10nyphbl8d) [16:22:41] Skizzerz, patch is uploaded [16:22:42] :D [16:24:10] erp [16:24:11] {{/Selected article/Expression error: Unrecognised punctuation character "["}} [16:24:23] is this the ParserFunctions thing? [16:24:51] 03(mod) {{SECTION}} variable to return number of section within a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [16:25:59] antitab: No, you've got PF already [16:26:07] what's the problem, then? [16:26:13] <^demon> RoanKattouw: That's a PF error though...? [16:26:17] But you don't have all the templates yet [16:26:31] ^demon: Isn't that exactly what I said? [16:27:53] antitab: You should enable subpages for the main namespace (while you're doing that, you might as well create a Portal and Portal talk namespace) [16:27:55] !subpages [16:27:55] --mwbot-- By default some namespaces have subpages enabled and others don't. You can enable or disable them using $wgNamespacesWithSubpages in LocalSettings.php. [16:27:58] !extranamespaces [16:27:58] --mwbot-- To add a namespace, modify your LocalSettings.php file, and add namespaces via $wgExtraNamespaces. A comprehensive set of instructions for adding a namespace can be found at . $wgExtraNamespaces can also be used to rename the default namespaces. [16:28:18] =\ svn upped the wrong dir [16:28:24] Take care to move Portal:⌘-Q to some other title not starting with Portal: , or you'll get ugly issues [16:28:39] 03(mod) {{SECTIONNAME}} and {{SECTIONNUMBER}} variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 summary; +comment (10nyphbl8d) [16:29:31] I imported all the non / templates, but I still have those punctuation errors :/ [16:30:26] antitab: In order for the /foo templates to work, you need to enable subpages (see above) [16:30:31] ok [16:31:11] Also, /box-header depends on other templates that you haven't got yet [16:31:29] http://wiki.command-q.org/index.php?title=Portal:%E2%8C%98-Q&action=edit --> see "Templates used on this page", the red ones you still need [16:33:46] 03(mod) {{SECTIONNAME}} and {{SECTIONNUMBER}} variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +need-review +patch; +comment (10roan.kattouw) [16:33:48] Anyone have any experience with the Navigation Popup gadget? [16:34:28] $wgNamespacesWithSubpages["Portal"] = true; [16:34:30] is this wrong? [16:34:32] the / are still red [16:35:07] hello [16:35:27] antitab: $wgNamespacesWithSubpages[NS_MAIN] = true; [16:35:35] <^demon> svip: Check out #wikipedia-en. That's not a built-in feature. [16:35:40] but I created a portal namespace [16:35:51] antitab: What's its ID? 100? [16:35:56] yup [16:35:57] In that case, $wg...[100] = true; [16:35:58] <^demon> Nikerabbit: Howdy :) [16:36:06] k [16:36:22] hmm [16:36:28] how do I tell my portal page to use the portal namespace [16:36:37] It already does [16:36:43] no dice then [16:36:44] (look at the Portal tab on top) [16:36:47] still no / [16:37:03] http://wiki.command-q.org/index.php?title=Portal:%E2%8C%98-Q&action=edit : you're missing quite a few still [16:37:09] (the red ones) [16:37:44] I made Portal:⌘-Q/box-footer though [16:37:48] but it's not seeing it [16:38:16] oh [16:38:17] got it now [16:39:05] I think [16:39:09] <^demon> antitab: For future reference: exporting with the "include all templates" option is very helpful for things like this [16:39:19] can you do that? [16:39:28] !bot [16:39:28] --mwbot-- I don't know anything about "bot". You might try: !access !botbrain !botnoob !chanspam !enableapi !help !mwbot !pywikipediabot !rcbot !rights [16:39:39] <^demon> antitab: Or are you doing interwiki imports? [16:39:51] I'm just exporting from wikipedia [16:39:55] and importing to my wiki [16:40:05] I wanna make bot on my wiki. [16:40:25] <^demon> On the Special:Export page, you should see a button to include all templates used in the given page you're exporting. [16:40:41] ^demon: whiii [16:40:59] is there any Extention or docs. available regarding BOT? [16:41:06] 03ialex * r45796 10/trunk/extensions/Configure/ (5 files): Added support for $wgNewPasswordExpiry [16:41:06] I'll keep that in mind [16:41:08] <^demon> Mr-Fines: "Bots" aren't a feature in MediaWiki. They're external programs written by users to automatically do "stuff" (their usages are extremely varied) on a wiki [16:41:31] http://wiki.command-q.org/index.php?title=Portal:⌘-Q [16:41:33] that's a bit better [16:41:34] :) [16:41:36] ^demon: lot's of things to fix, want to help? :) [16:41:40] <^demon> Mr-Fines: The "bot" group is a feature, but it doesn't _do_ bot things on its own [16:41:56] ok [16:41:58] <^demon> Nikerabbit: Depends on how involved. Was going to run some errands this afternoon. [16:42:03] antitab: Now it actually looks like something :P should be enough to get you started [16:42:11] thanks much [16:42:21] actually, I wanna run a bot on my wiki which automatically create date categories [16:42:25] Nikerabbit: I'll help, depending on what the things are :P [16:42:51] <^demon> Mr-Fines: Your best bet would be asking people over at http://en.wikipedia.org/wiki/Wikipedia_talk:Creating_a_bot for some people [16:43:00] 03nikerabbit * r45797 10/trunk/phase3/languages/classes/LanguageGv.php: Fixes to gv plural function [16:43:18] Mr-Fines: There's a lot of bot frameworks. The one sane enough to use the API are listed at http://www.mediawiki.org/wiki/API:Client_Code [16:43:29] RoanKattouw: lots of small issues in http://translatewiki.net/wiki/Support :) [16:43:53] (the most popular ones from that list are pywikipediabot (Pyhton), mwclient (Python) and MediaWiki::API (Perl)) [16:44:16] *RoanKattouw hides behind a random API bug [16:44:44] <^demon> Can't hide behind the utf-8 bugs anymore :-D [16:45:06] I-MOD: one issue with your patch: SECTIONNUMBER should return the numbers based on the highest-level heading present on the page (much like the ToC does) instead of on h1->h2->... [16:45:25] like if a page only had h2 or below, adding {{SECTIONNUMBER}} beneath the first one returns 0.1 when it should return 1 [16:47:05] ok, i can have it omit leading zeroes [16:47:30] hrm [16:47:32] actually [16:47:40] that might be a little hard to do [16:47:46] since I'm parsing as I go [16:48:16] but I can minimize the space where there are issues [16:48:49] what is the general behavior for a == stuff == preceeding the first = stuff =? [16:48:59] like..numbering [16:49:04] *I-MOD goes to poke [16:49:12] if it goes = stuff = to == stuff ==, the == stuff == would be 1.1 [16:49:20] however, if = stuff = does not exist, it should be 1 [16:49:46] RoanKattouw: :) [16:50:10] http://wiki.command-q.org/index.php?title=Portal:⌘-Q [16:50:11] :D [16:50:49] Skizzerz, ok, i'll work on it [16:50:59] check out to see how the ToC does it [16:51:04] yeah [16:51:23] there's a corner case i'm thinking about, right now [16:52:03] nevermind [16:52:13] my change will preserve current behavior [16:54:06] <^demon> Nikerabbit: One of your issues is with ct_upload. Fwiw: that's a very very icky thing it does. There's *no* escaping on the param at all, and it's fed directly to HTML. [16:54:12] 03skizzerz * r45799 10/trunk/extensions/ (8 files in 7 dirs): [16:54:12] * fix missing global in AmazonPlus extension [16:54:12] * update EditUser extension - now allows for editing of oneself even if exempt, adds support for 1.15, and fixes PHP Warning from a hook on versions 1.11 and 1.12 [16:58:55] Hello all [16:58:59] *Mr-Fines is HERE [16:59:48] 03(mod) {{SECTIONNAME}} and {{SECTIONNUMBER}} variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10nyphbl8d) [17:01:09] Skizzerz, done, but there is still a corner case where it doesn't preserve numbering behavior *EXACTLY* [17:02:01] this one is going to irk me [17:02:25] 03demon * r45800 10/trunk/extensions/uniwiki/CustomToolbar/CustomToolbar.php: [17:02:25] Minor cleanup to CustomToolbar: [17:02:25] * Escape mType when used in HTML [17:02:25] * Use array for author names [17:02:25] As a sidebar, this extension is _very_ confusing...we're extending UploadForm, yet still calling its methods? Is this designed to augment UploadForm or replace it? [17:06:37] ^demon: mm? [17:06:52] <^demon> Nevermind. [17:07:18] *I-MOD works on some speghetti code to fix numbering behavioral issues [17:08:36] ^demon: did you fix it? [17:09:41] <^demon> Not really. It was more of a question as to what the param in that message did. I still haven't figured out what the whole extension does yet :-D [17:11:13] Skizzerz: isn't addWikiMsg already on 1.14? [17:11:29] uh... probably [17:11:39] It's a lot older than that, isn't it? [17:11:47] but I need to update EditUser again once 1.14.0 gets released anyway, so I'll fix it then [17:12:10] Skizzerz: and you are using it on new code, tsot tsot :D [17:12:34] :P [17:12:38] RoanKattouw: probably, but it can't be overly old because I remember tim adding it [17:12:46] *RoanKattouw checks [17:13:10] maybe in 1.13 somewhere [17:13:47] WTF? Why can't I find addWikiMsg in GlobalFunctions.php? [17:14:02] because it'd be in OutputPage.php [17:14:05] it's a $wgOut method [17:14:05] <^demon> Damn. [17:14:08] <^demon> You beat me to it. [17:14:11] Right [17:14:59] r31044, Feb 18, 2008 [17:15:03] By Tim indeed [17:16:16] 1.12 [17:21:41] 03ialex * r45801 10/trunk/extensions/Configure/ (Configure.obj.php Configure.settings.php): [17:21:41] * more profiling [17:21:41] * short circuit WebConfiguration::snapshotDefaults() to not load settings definitions on all requests if $wgConfigureEditableSettings is not an empty array [17:30:49] 03(mod) Check PHP file_uploads settings in Special:Upload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17035 (10brion) [17:31:23] hi all [17:31:33] i have a images directory not hashed [17:32:18] i have images in that directory linked to wiki pages, if i set $wgHashedUploadDirectory = true; what is the behaving of the wiki???? [17:32:36] do they get hased automatically ? [17:35:44] 03(mod) Sanitizer rejects identifies valid xhtml attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17031 +need-parsertest +patch; +comment (10brion) [17:35:59] what will happen to existing images ? [17:36:16] bostik: the wiki won't be able to locate them anymore unless you move them into place [17:38:14] brion, is there a converter that copies them in new hashed dir structure ? [17:42:12] 03(FIXED) Check PHP file_uploads settings in Special:Upload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17035 +comment (10innocentkiller) [17:42:30] 04(REOPENED) Check PHP file_uploads settings in Special:Upload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17035 +comment (10innocentkiller) [17:43:46] 03(mod) Check PHP file_uploads settings in Special:Upload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17035 (10brion) [17:46:00] 03werdna * r45802 10/branches/change-tagging/phase3/maintenance/archives/patch-change_tag.sql: Add missing file. [17:46:26] 03(mod) Check PHP file_uploads settings in Special:Upload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17035 (10innocentkiller) [17:48:55] Anybody tell me some thing about BOTS please ? [17:50:16] !pywikipedia | Mr-Fine [17:50:16] --mwbot-- Mr-Fine: pywikipediabot is a bot framework written in Python that allows for easier automated actions on a wiki. For more information, see . [17:50:51] thanks | sorrow [17:51:17] hi [17:51:32] yes Danwe [17:51:48] *Mr-Fine is here, No fea [17:51:52] e^ :D [17:52:35] why wikipedia bot ? [17:53:15] I had to install my Wiki on another server. Now in some categories I cant see al the pages which belong to the category. on the Pages by their self say on the page bottom that they are in the category... The Category is added over a template to the pages, when I change the category in the template and then change it again the pages are all in the category... [17:53:48] Does somebody know how I can do this faster for all categories where something is wrong like that? [18:07:59] hello, i need a wiki engine in java language... [18:08:10] whats recommend? [18:08:30] why are you asking here? [18:08:55] the media wiki is the best engine [18:09:01] but its works in PHP [18:09:50] wikimatrix.org [18:10:11] that site will help you choose an engine written in Java [18:11:25] thanks [18:18:32] 03werdna * r45803 10/branches/change-tagging/phase3/includes/ (4 files in 2 dirs): [18:18:32] Improve display classes, and display tags on history and logs. [18:18:32] Now, I need to refactor this code to be a bit more sensible. [18:21:19] greetings! [18:29:26] 03werdna * r45804 10/branches/change-tagging/phase3/includes/ (6 files in 2 dirs): Refactor tagging code to use a common method to format the tag summaries on changes lists. [18:30:40] 03mrzman * r45805 10/trunk/extensions/Cite/Cite_body.php: partial revert of 45771, mistaken commit? [18:30:43] Raymond_afk: ^? [18:31:44] Hmm, can I say "Eiher rev_id, rc_id or log_id can be null, but not all three?" [18:32:56] Add them and if the result is zero, they're all empty. :P [18:39:32] hi [18:39:57] do I need an extension to set fine granular page viewing rights? [18:40:20] yes, and no [18:40:29] there are extensions that do it [18:40:31] something like apache htgroups logic would be cool [18:40:33] but not properly [18:40:54] [require-group:whatever] [18:40:55] basically mediawiki should *not* be used to partially restrict read rights [18:41:06] because it wasn't designed for it, and won't be secure [18:41:28] take a look at http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions [18:41:29] i have read that [18:42:29] werdnum: if ( !($a === $b && $b === $c && is_null($c)) ) { do_stuff();} [18:44:59] if $a===$b and $b===$c and $c===null, $a and $b must also be null [18:46:25] Is there a way to 'lock' pages of my wiki, so that only authenticated users can view them? [18:46:37] I took a look at the options under protect, but none of those seem to have a 'view' option [18:47:02] basically mediawiki should *not* be used to partially restrict read rights [18:47:04] girasquid: basically no http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions [18:47:06] because it wasn't designed for it, and won't be secure [18:47:08] hehe [18:47:33] i picked that up quickly didnt i [18:47:35] I thought as much :( - so I should just go find another wiki then? [18:47:50] girasquid: no, find a cms [18:48:06] inki: okay, thanks for the help [18:48:07] girasquid: atlassian confluence can do it, but its commercial [18:51:33] Does anyone have burstmedia ads working in mediawiki? I can't seem to get them placed correctly (vertical ads in the top right) [19:00:08] 03(mod) behavior of empty section link [[#]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17006 (10brion) [19:04:44] 03(mod) Namespace selection in Special:Whatlinkshere doesn' t follow redirects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11556 major->15enhancement (10JSchulz_4587) [19:05:04] Danwe: Run maintenance/refreshall.php [19:05:12] (may not be the exact name, I'm not sure) [19:05:35] MrZ-man: I think werdnum meant SQL [19:05:42] ah [19:06:49] though something similar might work for that as well [19:07:10] I don't think so, because he doesn't have OR in that context [19:07:10] 03huji * r45806 10/trunk/phase3/languages/messages/MessagesFa.php: Localisation updates: From betawiki [19:07:33] You can define a field as being NOT NULL or NULL (which means null values are allowed), but werdnum wants something different [19:07:58] werdnum: How about a unique index on those three fields? I think you need it anyway, and that way (NULL, NULL, NULL) can only occur once [19:09:18] 03(mod) {{SECTIONNAME}} and {{SECTIONNUMBER}} variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10mrzmanwiki) [19:09:24] ew. [19:09:35] I have separate UNIQUE INDEXes anyway [19:09:39] see the SQL file on SVN [19:10:19] I don't think NULL works as you might expect with UNIQUE indexes. [19:10:30] Although I might be misremembering. [19:10:39] *werdnum shrugs. [19:10:50] I've added a sanity check in the only method that will insert. [19:12:29] tomaszf: http://mwref.werdn.us [19:12:38] 03werdna * r45807 10/branches/change-tagging/phase3/includes/ChangeTags.php: Add ChangeTags.php to repo. [19:13:17] *RoanKattouw bookmarks that [19:13:52] Nifty little thing I wrote a while ago if you're ever writing extensions. [19:13:56] werdnum: very nice. [19:13:57] Just rediscovered it. [19:14:38] Simetrical: I know that in some languages all comparisons involving NULL are false (supposed to be a feature *cough*), but surely a unique index will treat NULL right? [19:14:53] No, all comparisons involving NULL are NULL. [19:15:00] In all SQL dialects I know of (i.e., MySQL). [19:15:36] An error occurs if you try to add a new row with a key value that matches an existing row. This constraint does not apply to NULL values except for the BDB storage engine. For other engines, a UNIQUE index allows multiple NULL values for columns that can contain NULL [19:15:39] http://dev.mysql.com/doc/refman/5.0/en/create-index.html [19:15:57] NULL is supposed to mean "unspecified value". [19:16:05] Uniqueness is a nonsensical constraint for those semantics. [19:16:37] Hmm [19:19:04] tomaszf: running an update now.. [19:19:16] *werdnum remembers the obscure command [19:19:17] andrew@voltaire:~/scripts/mwref$ find /home/andrew/mediawiki/includes/ -name '*.php' | xargs cat | ./parse_classes.pl [19:20:01] cron that guy :) [19:22:23] 03(mod) {{SECTIONNAME}} and {{SECTIONNUMBER}} variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [19:22:42] :P [19:22:47] mebbe [19:27:12] Hmm, I'm thinking about where in the code I can give the abuse filter the opportunity to add tags. [19:27:58] See, it necessarily does its hooking BEFORE anything is put in the database -- and until then I don't know what the revid, logid or rcid of an action is. [19:28:49] werdnum: Isn't there a post-action hook? There's a lot of BlahComplete hooks around [19:29:03] I think the only sensible thing to do is to provide it as a parameter to all 5 or 6 hooks that the AbuseFilter uses, and then passing those up the chain to recentchanges. [19:30:00] I guess another option is remembering in a class member the action/user/title/time of anything that needs to be tagged, and having a generic AddTags hook. [19:30:01] That seems really ridiculously awfully ugly, though. [19:30:32] tomaszf: andrew@voltaire:~/scripts/mwref$ find /home/andrew/mediawiki/includes/ -name '*.php' | xargs cat | ./parse_classes.pl [19:30:35] Inserted 6271 records. [19:32:16] RoanKattouw: One of the most annoying parts of writing the AbuseFilter is the multitude of action hooks that it needs to use. [19:32:21] 03werdna * r45808 10/branches/change-tagging/phase3/includes/ChangeTags.php: Add a courtesy lookup of rcid, if logid or revid are specified. [19:32:35] One for editing, moving, deleting, protecting, blah blah blah BLAH BLAH [19:32:51] one for mommy [19:33:06] ew [19:33:08] american spelling [19:33:10] *werdnum hides. [19:33:17] where? [19:33:29] mOmmy as opposed to mUmmy [19:33:36] (took me a while to realize too) [19:33:42] *RoanKattouw hides for using realiZe [19:33:43] mummy isn't the thing in sarcofag? [19:33:53] That too, of course [19:34:05] well, is it nice to call mummy mummy [19:34:23] http://www.mediawiki.org/wiki/Manual:Hooks/ArticleSaveComplete [19:34:23] hmm [19:34:25] that one gives a revid [19:34:52] http://www.mediawiki.org/wiki/Manual:Hooks/RecentChange_save [19:34:55] That might be a best bet, too. [19:35:01] Except, isn't there a slight difference in pronunciation between mommy and mummy? Or do the British actually pronounce mummy and mummy the same? [19:35:14] those two words are identical. [19:35:26] To me, US pronounciation of 'mommy' sounds like mar-my. [19:35:44] Americans pronounce "mommy" like "mom" + "E". At least I do. [19:35:49] just take our language and dumb it down! cheque is too complex. make it check.. [19:35:52] Brits pronounce it (and spell it) like "mummy". [19:35:55] z not used enough ? replace s wtih z [19:35:56] :) [19:36:14] buzz_, it's called spelling reform, yeah. [19:36:20] (Didn't go far enough, I think . . .) [19:36:25] buzz_: Of course we felt the need to call the letter different as well [19:36:30] hehe [19:36:42] RoanKattouw, i thought you were dutch or something ? why did i think that ? [19:36:45] It's not like the language belongs more to the Brits than to the Americans. [19:36:58] i wasnt being serious [19:36:59] :) [19:37:05] Good. Some people say that, and are. :P [19:37:12] language doesn't belong to anybody :o [19:37:17] buzz_: You thought correctly. It's just that I strongly identify with American English because of my mother's Canadian upbringing [19:37:30] RoanKattouw aah :) [19:37:41] But then 'we' did some grammar reform to make stuff more consistent :P [19:37:51] my favourite word is "gibbon" [19:37:51] cf. get-got-got vs. forget-forgot-forgotten [19:38:06] the word gibbon is amusing. just said on it's own :-) [19:38:12] i mean its [19:39:07] Ugh [19:39:22] The problem with doing it all in RecentChange_save is that it still assumes the whole "One action per request" thing. [19:39:26] Which is, granted, true now. [19:39:39] But it makes assumptions about the way we access our functions and so on that are kinda icky. [19:40:04] i.e. Who's to say that we don't, in future, allow the API to make multiple edits? [19:40:04] You shouldn't make that kind of assumptions. You never know what the API might do [19:40:07] *RoanKattouw does his evil laugh [19:40:18] I wonder if I should blog about drawing i18n text with php [19:40:26] Don't we allow that already with subpage moving? [19:40:35] (which is not possible in the API yet :O ) [19:40:35] If so, one change but not the other can be given a particular tag. [19:40:58] And if we assume one-change-per-request, then that won't be possible. [19:41:14] *werdnum goes out to the floor -- any ideas? [19:41:25] fix our code [19:41:42] it sucks always, and sucks less only if someone fixes it :o [19:41:47] werdnum: How does that work with moving subpages then? That does multiple moves in one request [19:42:02] RoanKattouw: I would still consider that "one operation" [19:42:11] And if one edit is tagged as suspicious, then all of them should be. [19:42:19] Yeah [19:42:22] I'm generally talking about stuff like bots interfaced with the software directly. [19:42:30] Just pointing out it's closer than you think ;) [19:42:33] Like, for instance, if I use Article::doEdit() through the command-line interface. [19:42:48] As I might choose to do. [19:51:28] brion: I do most abuse filter stuff in EditFilter and related pre-save hooks for moving etc, but I need to apply tags *AFTER* the edit is saved, and we have an rcid, revid and/or logid. I can see that I can apply them in the RecentChange_save hook, but I don't have any way to figure out which edit I'm applying things to, and it seems kinda icky to assume that any call to RecentChange::save after a call to EditFilter is related to the same edit (it's a [19:52:00] hmmmm [19:52:13] can I get someone to review and commit https://bugzilla.wikimedia.org/show_bug.cgi?id=16854 [19:52:25] ideally there would be some kind of session thingy you could tie them to [19:52:38] at the least, you could match from the title, though that does feel a bit funky [19:52:39] 03(mod) Remove .hiddenStructure from CSS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17009 +comment (10Wiki.Melancholie) [19:52:41] Like an "Action ID" or something? [19:52:49] or, we could provide some way to pass data on from the filter to be used later [19:52:53] As I said above, I could match user/title/timestamp/comment or something silly [19:53:07] but it seems like a big hack that might stop working someday when somebody does something funky [19:53:10] sec [19:55:03] Another option is including a 'tags' by-ref parameter for every one of the eight or so hooks I'm using. [19:56:39] But that sounds like a big mountain of work. [19:57:04] 03aaron * r45809 10/trunk/phase3/includes/EditPage.php: (bug 1181) Don't try to replace the whole page with one section if replaceSection() fails [19:57:25] 03(mod) Section edit bug where entire article is overwritten on save - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1181 (10JSchulz_4587) [20:04:12] brion: yo yo [20:05:27] what up [20:05:57] it's lunchtime [20:06:02] 03(mod) New logo for hr.wikibooks (Croatian) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17040 +comment (10Wiki.Melancholie) [20:09:27] Anyone know what happens when I change a wiki from using its own accounts to using an ActiveDirectory server? What happens with conflicts when a user already has an account on the wiki under the same name as they do in AD? [20:09:49] (and presumably any of the standalone accounts that aren't in AD just won't log in anymore) [20:10:27] *Simetrical points CydeWeys to Ryan_Lane [20:10:37] Is the LDAP plugin his baby? [20:10:43] At least, I assume this is using the LDAP Authentication extension, right? [20:10:45] Yes, he wrote it. [20:10:57] Yes, that's the plugin I'm u sing. [20:20:11] I'm actually here right now :) [20:20:39] CydeWeys: There shouldn't be a conflict. [20:22:28] Ryan_Lane: So older accounts that do not have entries in AD can still log in? [20:22:47] CydeWeys: gimme a sec. brb [20:24:09] CydeWeys: yes, if you use $wgLDAPUseLocal [20:24:23] CydeWeys: unless... [20:24:45] Okay, so if I turn that off then the older accounts that do not have corresponding entries in AD will be deactivated? [20:24:57] CydeWeys: unless the someone in AD has the same username, the username is two different people [20:25:20] If the user name is the same, it should be the same person. [20:25:29] ok. that isn't an issue then [20:25:54] by default $wgLDAPUseLocal = false, so older accounts would be deactivated [20:26:14] Okay, that's fine. I could manually rename them to be what they are in AD if anyone didn't match it up when creating their account. [20:26:31] yeah. the recommended option is to leave that as false [20:26:39] BTW, what did the user_rights field in the user table morph into in current versions of MediaWiki? [20:26:54] ? [20:26:57] The user_groups table I guess [20:26:58] I have DB access and I'm trying to make myself an admin. [20:27:02] oh [20:27:11] make yourself an admin before you enable the plugin [20:27:14] Was there ever a user_rights field? If so, that was before my time [20:27:32] RoanKattouw: So ug_user in the user_groups table is the user_id from the user table? [20:27:36] Yup [20:27:38] RoanKattouw: MediaWiki 1.4 and prior. [20:27:40] RoanKattouw: Thanks [20:27:51] 1.4 :O that's *way* before my time [20:28:01] heh, I haven't kept up to date too well. [20:28:06] Anyway, maintenance/createAndPromote.php makes that particular job a little easier [20:28:19] Ah, neat, so I can run that from the shell? [20:28:23] i think that is the first mediawiki release that had ldap auth :) [20:29:08] CydeWeys: Yup. "php maitenance/createAndPromote.php username password" [20:29:21] Will create a user and put it in the sysop group [20:35:54] What's the difference between an undo and a revert? [20:35:58] svip: Do you mean undo and rollback? [20:36:08] Eh... [20:36:09] No. [20:36:11] I mean revert. [20:36:12] Rollback is simply a quicker version of undo that only rollbackers can use [20:36:17] It's pretty much the same [20:36:21] Hm. [20:36:29] So I guess you don't know the difference then. [20:36:53] Rollback just reverts it, undo you have to click save aswell ;P [20:37:04] Ah. [20:37:08] But I am not talking about reverts, Reedy. [20:37:12] I mean roolbacks. [20:37:15] I am talking about reverts. [20:37:16] All I know is that you can revert to a certain revision, while you can't undo to a certain revision. But that's more like a linguistic distinction :P [20:37:19] O_O Now I completely lost my place. [20:37:23] Okay. I get it. [20:37:35] A revert allows you to revert the article back to a specific version. [20:37:41] While an undo only undoes a specific edit. [20:37:46] But newer edits are not changed. [20:38:02] Unless of course you're undoing the top edit, which is equivalent to reverting it :P [20:38:15] Well, obviously. [20:38:29] The terms are kind of used interchangeably though. Brion always says "reverted rNNNN" even if it wasn't the latest rev [20:39:40] 03(mod) {{SECTIONNAME}} and {{SECTIONNUMBER}} variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10nyphbl8d) [20:46:32] This call to getUserInstance() is breaking me; any idea what version of MediaWiki even defines this function? I don't see it in 1.13.3. [20:46:35] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Renameuser/SpecialRenameuser_body.php?r1=44598&r2=45119 [20:47:49] CydeWeys: It's in 1.13 alright: public function AuthPlugin::getUserInstance( User &$user ) { [20:47:54] http://mwref.werdn.us/ [20:48:28] how do I edit the navigation column on the left-hand side of a wiki? [20:48:46] !sidebar | dystopianray [20:48:46] --mwbot-- dystopianray: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [20:48:48] MediaWiki:SideBar [20:48:58] awesome [20:49:05] RoanKattouw: Oooh, nice link. [20:49:15] CydeWeys: Credit to werdnum, he wrote it [20:49:49] is there a way to generate a graphical graph (or some other visual representation) of an entire wiki? [20:50:03] @RoanKattouw: thanks, I will try that :D [20:59:46] Hi. I get an internal error when I try to access some pages on my wiki: http://www.radakan.org/Category:tools Any idea what could be the cause and how to fix it? [21:00:54] Could the database be a bit messed up? [21:00:54] is there an easy way to find the top contributors to a wiki? [21:01:06] Taldor: look at php's and/or apache's error log to see what causes the error [21:01:13] Taldor: its a capitalization issue [21:01:29] Taldor: http://www.radakan.org/Category:Tools doesnt give an error [21:02:15] Betacommand: http://www.radakan.org/about doesn't give errors, but http://www.radakan.org/world_editor does [21:02:18] dystopianray: select rev_user_text, count(*) as n from revision group by rev_user_text order by n desc limit 10; [21:02:23] (untested) [21:02:43] is there a way that doesn't require database access? [21:03:14] if not, is is possible to create a special page that lists top contributors? [21:03:21] Taldor: http://www.radakan.org/World_editor doesnt give an error (capitalization again) [21:03:22] 03catrope * r45810 10/trunk/phase3/ (3 files in 3 dirs): [21:03:22] API: (bug 17027) Allow all configuration variables in $wgAPIReadableConfigVars [21:03:22] to be read through meta=siteinfo&siprop=configvars. I tried my best to only make [21:03:22] useful stuff readable and skip stuff that's sensitive (like $wgDBpassword), [21:03:23] available already (like $wgExtraNamespaces) or useless (like [21:03:24] $wgUpdateRowsPerJob). [21:03:39] woot :D [21:03:52] Man, we got a *lot* of $wgUseRandomThing variables [21:03:54] dystopianray: yes, it's possible. it would pretty much run that query. there's a base class for specialpages that just show the result of a basic sql query. [21:04:11] Duesentrieb: ok awesome, I'll create one now then [21:04:25] 03(FIXED) Output LocalSettings.php Variables via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17027 +comment (10roan.kattouw) [21:04:34] RoanKattouw, thanks! [21:05:03] Reedy: You'd better thank me :P Sorting out all those $wg* variables and deciding which ones to make readable took quite some time [21:05:47] 03(FIXED) Get value of $wgLegalTitleChars through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17024 (10sam) [21:06:33] RoanKattouw, feck, that is a lot [21:06:38] 03(mod) Prettify permalinks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16659 (10brion) [21:07:10] It used to be a lot more before I truncated it [21:07:14] 593 global vars on my install [21:07:19] (including stuff added by extensions) [21:07:22] is it possible to obtain a list of wiki links within a given page without having to parse it? [21:07:36] ouch RoanKattouw, i think SoxRed's "fileextensions" is now redundant isnt it? [21:07:38] Sure, through the API or by querying the templatelinks table [21:07:54] awesome [21:07:58] Reedy: Not exactly. You might argue all of meta=siteinfo is redundant, but for some things it's quite useful [21:08:01] !api | dystopianray [21:08:01] --mwbot-- dystopianray: The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at . For client libraries in various languages, see . [21:08:14] RoanKattouw, i was meaning as a seperate option? [21:08:15] I suppose [21:08:19] it wont cause any harm being there [21:08:24] are there perl bindings for the API? [21:08:32] dystopianray: There's MediaWiki::API [21:08:39] See the API docs I just linked -> Client Code [21:08:48] excellent [21:08:56] dystopianray: server side? no. for the web api, there's a perl client, i think. [21:09:26] Reedy: Array-like config vars that have some special meaning in conjunction with each other are better off as a separate siteinfo prop, like namespaces and namespacealiases [21:09:35] My Mediawiki is hanging o.O I have a xampp installation, localhost, phpmyadmin and so on, everything works well but my wiki is not reachable and is loading and loading for minutes... [21:09:48] Ah, fair enough :) [21:10:01] is the API accessible server side via PHP? [21:10:09] 03catrope * r45811 10/trunk/phase3/includes/api/ApiQuerySiteinfo.php: Followup to r45810: remove unused global declaration [21:10:25] dystopianray, you'd still have to access the api file [21:10:35] (via the webserver) [21:11:01] well is it posible to get a list of wiki links within a page easily using php on the server side? [21:11:03] dystopianray: Yes, see Calling Internally in the docs [21:11:09] ok cool [21:11:25] Duesentrieb: See above, the API is accessible from inside MW [21:11:57] RoanKattouw: uh... but how would you do that ith perl, if not via http? [21:12:49] You wouldn't, true [21:13:31] Duesentrieb: where is this special page template stored within the mediawiki file heirarchy? [21:13:41] dystopianray: includes/specials [21:14:15] it's called QueryPage or some such [21:14:30] RoanKattouw: I don't have that directory [21:14:34] yea, includes/QueryPage.php [21:14:35] *werdnum back from lunch. [21:14:39] Then you probably have an old version of MW [21:14:40] dystopianray: if you don'Ät have that, upgrade [21:14:47] you are using a pretty old version [21:14:58] !version [21:14:58] --mwbot-- To find out the version of your MediaWiki installation, visit the page Special:Version. Should the wiki be broken, but you have access to the program files, find $wgVersion in DefaultSettings.php. [21:15:00] Not very old [21:15:12] (not necessarily anyway) [21:15:12] pretty sure i'm using 1.12 [21:15:21] dystopianray: look [21:15:32] RoanKattouw: i think that was added in 1.12, no? [21:15:37] 1.12.1 [21:15:39] *RoanKattouw looks [21:15:54] hi all [21:15:55] is there a way to call a private method of a class? i.e., with reflection? [21:16:11] !tias [21:16:11] --mwbot-- Try it and see. You learn much more by experimentation than by asking without having even tried. [21:16:18] lol [21:16:31] Duesentrieb: Nope, 1.13 [21:16:34] tell us when you find out. i never tried :) [21:16:47] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=36353 http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/RELEASE-NOTES?view=markup&pathrev=36353 [21:16:51] RoanKattouw: oh really? hm... maybe it was the parser subdir that was added in 1.12 then [21:17:08] No, that was the same commit [21:17:29] i'm confused then :) [21:17:50] j4zzcat: if you need to call a private method, either you are doing something wrong, or the designer of the class did. [21:17:54] j4zzcat: Call it from where? [21:18:07] that's for unit testing [21:18:15] j4zzcat: even for testing. [21:18:23] right. [21:18:29] j4zzcat: testing shouldn't test implementation details, normally. [21:18:34] you test the public interface. [21:18:41] but if you must, use the whitebox pattern. [21:18:46] is it difficult to upgrade from 1.12 to 1.13? [21:18:51] No [21:18:53] !upgrade [21:18:53] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [21:19:20] 03demon * r45812 10/trunk/phase3/ (4 files in 4 dirs): (bug 17035) Fail gracefully if php's file_uploads are disabled. [21:19:39] 03(FIXED) Check PHP file_uploads settings in Special:Upload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17035 +comment (10innocentkiller) [21:19:47] dystopianray: upgrading is fast & painless. unless something goes wrong :) [21:19:49] 03(FIXED) New logo for Wikibooks projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17034 +comment (10brion) [21:19:52] for testing, is there a way to instanciate the parser class ? [21:20:09] j4zzcat: look at the parsertest script :) [21:20:19] thanks [21:21:28] parserTests.inc is really complicated, I doubt it would be very easy to figure it out. [21:21:51] ^demon: poke [21:21:58] *^demon is poked [21:22:24] ^demon: could you review and re-commit https://bugzilla.wikimedia.org/show_bug.cgi?id=16854 [21:22:34] Duesentrieb: will I have problems with installed extensions? I have ParserFunctions, StringFunctions and SyntaxHighlight_GeSHi installed [21:22:51] dystopianray: you should update them too. [21:23:01] dystopianray: You probably want to upgrade those to. You can download 1.13-compatible versions from mediawiki.org [21:23:16] snapshots matching each mediawiki release are available from mediawiki.org [21:23:16] oh man, this is starting to get painful [21:23:35] what's the procedure for updating an extension? [21:23:54] dystopianray: Just replace the old files with the new ones. End of story [21:24:11] insane [21:24:52] <^demon> Betacommand: I'd prefer someone else to give that a once-over first. I'm not familiar with ParserOptions. [21:25:23] ^demon: who do I need to bribe? [21:25:52] For parser stuff, Tim, usually [21:27:25] http://www.mediawiki.org/wiki/Extension:ParserFunctions does not indicate any special upgrade requirements [21:27:27] 03(mod) {{SECTIONNAME}} and {{SECTIONNUMBER}} variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 (10nyphbl8d) [21:28:41] is it possible to put mediawiki into maintenance mode? [21:28:50] dystopianray: $wgReadOnly = true; [21:28:57] Will disable all editing and stuff [21:29:14] Or $wgReadOnly= "Short explanation here"; [21:29:27] 03(mod) {{SECTIONNAME}} and {{SECTIONNUMBER}} variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 -need-review (10nyphbl8d) [21:31:44] 03(mod) New logo for hr.wikibooks (Croatian) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17040 (10dalibor.bosits) [21:33:58] 04(REOPENED) New logo for Wikibooks projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17034 +comment (10mikelifeguard) [21:35:50] <^demon> dystopianray: Just set it to a message, don't set to true. Setting to true will throw into maintenance mode without any explanation for your users. [21:36:03] yeah I set a message [21:36:16] all the users will yell at me via irc anyway [21:37:30] 03(mod) API: Autoconfirmation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16867 +comment (10matthew.britton) [21:43:47] RoanKattouw, ^ you've fixed other api bugs too ;) [21:43:59] Yup [21:44:05] Fatal error: Call to a member function isUnpatrolled() on a non-object in /home/andrew/wm-svn/phase3/includes/Article.php on line 975 [21:44:08] hm. [21:45:38] looks unrelated to my branch work, on http://voltaire.local/wiki/index.php?title=MediaWiki:Mw-changeslist-tag-main [21:45:57] I wonder if it's a change that's been reverted since my branching. [21:46:42] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/45778 [21:46:43] aha [21:47:47] Meh, this sucks. SQL doesn't provide for renaming indices or changing their character, do you have to DROP then CREATE them [21:47:51] *so [21:47:52] *werdnum throws stuff at AaronSchulz [21:49:04] with running the update script [21:49:36] is it possible to invoke it from php, ie. system("php update.php --quick"); ? [21:50:12] Probably, yes, but why would you want to do that? [21:50:28] becuase I don't have shell access [21:50:31] 03werdna * r45813 10/branches/change-tagging/extensions/AbuseFilter/ (6 files): Add new action to Abuse Filter -- tagging. [21:52:19] brion: Have you reviewed Tim's recent database overhaul yet? He's renamed a couple of indices (including giving unnamed indices a name different from their first field). Some of those were for compat wil SQLite (which has DB-wide index scope), others were unnecessary IMO. So my question here is: do you support renaming the pl_namespace and tl_namespace indices to pl_namespace_title and... [21:52:21] ...tl_namespace_title, or should they keep their names? [21:53:22] if it a) improves compatibility to change the names and b) doesn't affect anything since we don't ever specify by them by name, then sure why not [21:53:36] 03(mod) Change lang and xml:lang in no. =?UTF-8?Q?wikipedia=20from=20=E2=80=98no=E2?= =?UTF-8?Q?=80=99=20to=20=E2=80=98nb=E2=80=99?= - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12317 +comment (10ekkoekko) [21:53:46] B is untrue: unnamed indices do have a name in MySQL: the name of their first field [21:54:36] A is untrue as well, because there seems no reason why the index can't have the same name as its first field (il_to does, and Tim didn't change that) [21:55:39] Another issue is is that when Tim made those schema changes (which is what index renames really are), he didn't commit a maintenance script to propagate them [21:55:41] 03werdna * r45814 10/branches/change-tagging/phase3/includes/Article.php: Merge in r45793. [21:56:12] RoanKattouw: b) refers to whether we actually use them by name, such as in USE INDEX/FORCE INDEX clauses. if we don't, then it makes no difference to us generally [21:56:14] RoanKattouw: Have you thought about talking to Tim about it? [21:56:39] Can anyone help with a post-upgrade problem [21:56:47] I have, but it's kind of a weird time in Australia right now [21:56:52] *RoanKattouw checks what exactly [21:57:33] brion: True. I'm not sure whether we use it [21:57:47] grep? [21:58:30] grepping [21:58:46] Point is, the index's name is the same as an often used field's name [21:58:53] So I'll get a lot of bogus results [21:59:30] Ah, it turns out the API uses pl_namespace at least [21:59:31] grep for 'INDEX'? [21:59:46] so change it in Tim's commit. [21:59:51] Yea [21:59:53] h [22:00:11] I was working on a DB patch myself, that's why I brought it up [22:00:48] *werdnum yawns. [22:01:03] *werdnum pulls a stroopwafel out of his desk [22:01:04] mmm [22:01:27] Ah, Dutch food :P [22:01:39] om nom nom [22:03:27] 03(mod) Sanitizer rejects identifies valid xhtml attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17031 (10gbruin) [22:05:50] Who wants a new job? [22:05:52] http://news.bbc.co.uk/2/hi/asia-pacific/7823812.stm [22:06:52] <^demon> Who loves sea kittens? [22:06:53] <^demon> http://www.peta.org/sea_kittens/index.asp [22:07:04] fuckin' australia [22:07:10] hey! [22:07:20] you guys got it too easy ;) [22:07:20] *werdnum finds something to throw at brion. [22:07:58] brion: when are you moving over here? [22:08:02] or there... [22:08:15] *werdnum keeps forgetting that he's not actually in Australia. [22:08:16] <^demon> Yeah I want that job... [22:08:29] oh by the way, this stupid little boxy thing keeps appearing on my screen [22:08:41] <^demon> $103k / yr to sit on an island? [22:08:41] black outline, with a white outline of the outline. [22:08:49] ok, post upgrade problem fixed [22:08:53] and it moves whenever I press tab. [22:09:30] I have a page in my wiki that has a word "CAD" in it's title as well as in the page. If I search for the word "CAD" though it doesn't find it. Even if I do advanced and select every category option.... help? [22:10:03] !faq | Wanderer [22:10:03] --mwbot-- Wanderer: Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [22:11:03] I did and didn't see somethine relevant, will look again [22:11:47] ah, see it now [22:23:41] MrZ-man: thanks for the revert. my mistake :( [22:24:07] no problem [22:24:43] I was doing something unrelated and wondered why there was a var_dump in my parserTests results :P [22:29:36] werdnum: old news is so exciting! also: http://fe31.story.media.ac4.yahoo.com/news/us/story/nm/20090114/lf_nm_life/us_job_dream_website [22:30:36] Simetrical: You were right: For all engines, a UNIQUE index allows multiple NULL values for columns that can contain NULL. (from MySQL manual) [22:31:12] hah [22:31:15] that's wacky [22:31:49] 03werdna * r45815 10/branches/change-tagging/extensions/ (3 files in 2 dirs): In TorBlock, tag edits made through tor as such. [22:32:02] *werdnum solicits worship for that commit. [22:32:28] brion: I agree. But as usual, Simetrical is right even about the wacky stuff when it comes to databases [22:32:46] i ain't saying it's wrong, i'm just amused :D [22:32:49] That does kinda make sense. [22:33:07] brion: I know. Just expressing my amazement that Simetrical knows these kind of wackynesses [22:33:17] sorta :) [22:33:30] Simetrical: it a little freaky. [22:33:32] is* [22:33:32] 03(mod) Change lang and xml:lang in no. =?UTF-8?Q?wikipedia=20from=20=E2=80=98no=E2?= =?UTF-8?Q?=80=99=20to=20=E2=80=98nb=E2=80=99?= - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12317 +comment (10oddeivind) [22:33:53] Im sure most people can remember really obscure useless information [22:34:09] It's called "school" [22:34:12] *werdnum hides. [22:34:42] ugh, iired. [22:34:47] *werdnum goes to get some coffee. [22:34:50] haha [22:35:06] <^demon> RoanKattouw: Maybe you and I don't read the mySQL manual for fun? [22:35:43] True. Simetrical probably knows more about database stuff than you and I put together [22:36:23] 03(mod) Sanitizer rejects identifies valid xhtml attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17031 (10gbruin) [22:36:59] 03rotem * r45816 10/trunk/phase3/languages/messages/ (MessagesEn.php MessagesHe.php): Localization update for he, and reordering messages in en (according to messages.inc). [22:37:20] <^demon> Making my phone get RSS updates from Bugzilla might have been a mistake.... [22:37:43] haha [22:37:55] <^demon> It's been vibrating all day... [22:39:18] That sounds like fun. [22:39:19] *werdnum hides. [22:40:23] *Reedy wonders what werdnum uses his phone for [22:40:49] Reading bugzilla updates. It thrills me. [22:40:52] What did you think I meant? [22:41:02] <^demon> werdnum: You too? [22:41:15] Occasionally, when they go to my mail. [22:41:18] <^demon> I mean, who needs crack when you have constant bugzilla updates to keep you going? [22:48:08] 03werdna * r45817 10/branches/change-tagging/extensions/AbuseFilter/SpecialAbuseFilter.php: Fix resetting of af_throttled when a filter is re-enabled. [22:52:02] 03(mod) Change lang and xml:lang in no. =?UTF-8?Q?wikipedia=20from=20=E2=80=98no=E2?= =?UTF-8?Q?=80=99=20to=20=E2=80=98nb=E2=80=99?= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12317 (10jhsoby) [22:52:09] how can I tell if update.php succesfully ran? [22:55:35] 03(NEW) internal http redirects should never send user to a 404 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17042 15enhancement; normal; MediaWiki: User interface; (herd) [22:56:01] argh [22:56:04] I think my wiki is broken now [22:57:47] 03(mod) internal http redirects should never send user to a 404 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17042 +comment (10brion) [22:58:30] it doesn't load or do anything anymore [22:58:32] damn it [22:59:10] brion: did code review stop for now? [22:59:58] bit behind this week :) [23:00:47] 03(mod) Change lang and xml:lang in no. =?UTF-8?Q?wikipedia=20from=20=E2=80=98no=E2?= =?UTF-8?Q?=80=99=20to=20=E2=80=98nb=E2=80=99?= - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12317 (10oddeivind) [23:01:34] 03werdna * r45818 10/branches/change-tagging/extensions/AbuseFilter/ (AbuseFilter.i18n.php SpecialAbuseFilter.php): [23:01:34] Use a 302 to redirect to a success page, which is just a message at the top of the normal page, rather than using it as the result of a POST. [23:01:34] Less chance of doing and redoing things. [23:01:59] 03(NEW) "redlink" 404 should be cacheable in linear browser navigation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17043 15enhancement; normal; MediaWiki: User interface; (herd) [23:02:51] 03catrope * r45819 10/trunk/phase3/ (6 files in 3 dirs): [23:02:51] Attempt at cleaning up r45764, r45769 (renamed indices for SQLite compat): [23:02:51] * removing the indexName() hack and with it the /*i*/ stuff from tables.sql [23:02:51] * undoing renames of formerly implicitly named indices [23:02:51] * three indices have to be called different in SQLite because of naming conflicts, adding a patch to updaters.inc that does that [23:04:20] 03ashley * r45820 10/trunk/phase3/ (RELEASE-NOTES includes/templates/Userlogin.php): (log message trimmed) [23:04:20] allow extensions that use 'UserCreateForm' to add checkboxes into the signup [23:04:20] form to define messages containing HTML. this can be very useful and necessary; [23:04:20] think of something like a checkbox "I have read the site's terms of use", it [23:04:21] would obviously need to link to the terms of use page. using msgWiki() instead [23:04:23] of msgHtml() here would probably be safer, but msgWiki() likes to mess things up [23:04:25] by introducing

tags and this is meant for extensions, so it won't cause any [23:04:30] whoa, lol wut [23:06:34] 03(mod) "redlink" 404 should be cacheable in linear browser navigation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17043 +comment (10brion) [23:15:11] 03catrope * r45821 10/trunk/phase3/maintenance/ (archives/patch-pl-tl-il-unique.sql tables.sql updaters.inc): (bug 16645) Making the pl_namespace, tl_namespace and il_to indices UNIQUE, just like their differently-ordered counterparts. This helps MySQL optimize stuff (see bug) [23:15:26] 03(FIXED) Inconsistent indices on pagelinks, imagelinks, templatelinks tables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16645 +comment (10roan.kattouw) [23:20:16] 03(FIXED) Srv101: The upload directory (public) is missing and could not be created by the webserver - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16972 +comment (10brion) [23:20:22] <^demon> is there an exists() type of functions for users? [23:20:54] ^demon: generally you'd check the id [23:20:59] or isLoggedIn() [23:21:05] <^demon> Just saw that. [23:21:08] of course if you want to know if an anon "exists" that's a different question [23:21:45] I think isLoggedIn checks the ID. [23:22:20] function isLoggedIn() { return $this->getID() != 0; } [23:22:27] sez mwref. [23:23:58] <^demon> was looking at the "shouldn't return 404 for users who exist" thing...should be pretty straightforward for logged in users... [23:24:35] what are the new features in mediawiki 1.13 compared to 1.12? [23:25:41] oh man, everything about it is crazy and different [23:27:22] <^demon> A lot of stuff changed in 1.13: http://www.mediawiki.org/wiki/Release_notes/1.13 [23:28:43] 03(mod) Change lang and xml:lang in no. =?UTF-8?Q?wikipedia=20from=20=E2=80=98no=E2?= =?UTF-8?Q?=80=99=20to=20=E2=80=98nb=E2=80=99?= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12317 (10jhsoby) [23:32:43] ^demon: the bug isn't just about users existing [23:33:12] any 30x redirect from search should not 404, search currently sends people to non-existing User: pages if they enter that [23:33:17] how can I find out the ip address of a user in mediawiki? [23:33:22] so you'd have to do that check in both search and in 404 serving [23:33:48] <^demon> Hmm [23:33:55] which is code duplication [23:34:04] ... [23:34:09] no it isn't? [23:34:15] except when it is [23:34:25] my proposed solution is a shared function what both search and 404-determinism can share ^_^ [23:34:32] *Splarka oblivious to php, nya nya [23:34:49] !checkuser | dystopianray [23:34:49] --mwbot-- CheckUser is an extension that allows privelaged users to see what IPs a user edited from or what users edited from an IP. For more information see < http://www.mediawiki.org/wiki/Extension:CheckUser > [23:34:54] 03pinky * r45822 10/trunk/phase3/ (RELEASE-NOTES docs/hooks.txt includes/User.php): Add new hook 'UserLoadFromDatabase' that is called while loading a user from the database. [23:35:31] cool [23:35:46] fixed yon typo [23:35:49] werdna: there are other checks, like red category links for categories that exist, or mw namespace defaults, these are already correctly handled by the 404 switch, but the code should probably be centralized to prevent divergence, no? [23:36:10] (unless it is something dumb like excluding those namespaces...) [23:36:30] <^demon> The category code uses the parent's article code. [23:36:47] <^demon> Then handles its specific case. [23:44:51] what does it mean for something to be marked patrolled? [23:46:14] also is it possible to delete a user from mediawiki? [23:46:42] !! [23:46:42] --mwbot-- A red exclamation point (!) in recent changes or on your watchlist is due to either the enabling of patrolled editing or the Flagged Revisions extension [23:47:22] cool [23:47:29] !deleteuser [23:47:29] --mwbot-- Deleting users is very messy and not recommended, because this breaks referential integrity in the database (they appear in many different tables like users, edit histories, recentchanges, preferences, etc). A safe solution is to block the users, and possibly rename them with . You can also try [23:51:27] is User Merge and Delete safe to use??