[00:01:21] i'll add a link to Configuration_settings [00:06:06] done - gn8 [00:06:54] Anyone know how to move pages with ampersands in the title? [00:09:16] <_Danny_B_> alxndr: which one you need to move? [00:09:35] I've got a couple pages on my installation that I need to move. [00:09:43] this is getting frustrating [00:09:50] but! I shall persevere [00:10:03] (and more likely, tomorrow after I've caught up on my sleep deficit, actually see what's wrong) [00:11:03] <_Danny_B_> alxndr: when do you have problems? i mean in which step of moving? [00:13:05] _Danny_B_, Ah, well first off I have the ampersand fix in place for really short urls. Anyway at the "Move page" view, the displayed title isn't correct (has a slash and then repeats part of the title, e.g. "Something & More/Something"), and after putting in a new title and hitting Move page, I get "This action cannot be performed on this page." [00:14:22] <_Danny_B_> alxndr: is your wiki public accessible? [00:14:29] yeah, oberwiki.net [00:16:21] <_Danny_B_> and one page to move is..? [00:16:42] <_Danny_B_> and where [00:17:25] "Seminar Buddhism & Orientalism" to "Seminar: Buddhism & Orientalism" [00:24:21] 03robchurch * r24925 10/trunk/extensions/RandomImage/ (README RandomImage.class.php RandomImage.php): [00:24:21] * Pull captions from image description page if possible; prefer (.*?), then first paragraph [00:24:21] * Limit database picks to files with MIME "image/*" [this might have a performance hit :(] [00:25:32] <_Danny_B_> alxndr: moved [00:26:03] so how did you do that? [00:26:38] <_Danny_B_> replace http://oberwiki.net/Special:Movepage/Seminar_Buddhism_%26_Orientalism with http://oberwiki.net/Special:Movepage?wpOldTitle=Seminar_Buddhism_%26_Orientalism [00:26:49] <_Danny_B_> pretty annoying, but works [00:26:59] aaahh, nice [00:27:04] thanks a million [00:27:11] <_Danny_B_> welcome [00:33:49] <_Danny_B_> alxndr: how many pages you have to move? [00:34:04] just a handful, I already did 'em [00:35:07] 03laner * r24926 10/trunk/extensions/LdapAuthentication/LdapAuthentication.php: [00:35:07] * Fixed problem where getCanonicalName() was munging usernames when [00:35:07] $wgLDAPUseLocal was enabled. (Specific issue was discussed here: [00:35:07] [http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication#Local_Username_Munging_and_Local_User_Creation] [00:35:07] ) [00:35:20] 03(mod) Create group on English Wikipedia that can edit protected pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10597 (10lilewyn) [00:36:06] <_Danny_B_> alxndr: i'd suggest to create either bookmarklet or script to change the move link [00:36:18] <_Danny_B_> just for future [00:36:38] thanks, I'll probably remember it if it comes up in the future [00:52:18] I *so* hate inconsistent behavior [00:53:18] ? [00:56:07] 03robchurch * r24927 10/trunk/extensions/RandomImage/ (README RandomImage.class.php RandomImage.php): Don't use the MIME check if $wgRandomImageStrict is off; default is the opposite of $wgMiserMode [01:44:52] 03(mod) Watched page not in Special:Watchlist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10986 (10N/A) [01:50:08] Alright, I've been using XAMPP for my wiki so far on my desktop, but I want to work on it on my laptop now. So I installed XAMPP and MediaWiki onto my laptop. I have the MediaWiki folder from my desktop copied, do I just paste it or do I move only particular files...? Anyone know? @_@ [01:51:37] 03aaron * r24928 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Show message when editing latest only (don't include stable unless it's on top) [01:52:28] ...hmm, do I need to have created a backup file? I didn't. ^_^;; [02:13:27] does *anyone* here have experience with DPL? (Dynamic Page Lists) [02:13:48] What do you need done? [02:13:56] 'get it to work!' [02:14:01] Oh [02:14:05] more seriously, I've got it installed [02:14:09] (followed the instructions) [02:14:13] it shows up in the extensions list [02:14:21] 03robchurch * r24929 10/trunk/extensions/RandomImage/RandomImage.class.php: Fix captions when size specified [02:14:23] Old version or new? [02:14:27] newest [02:14:33] I can get it to fetch back a list of pages that fit the criteria [02:14:43] (they show up in an unordered list) [02:14:51] Ok... then it's working [02:15:05] well, so you'd think [02:15:08] ^_^ you need help on how to change things arround [02:15:12] yes [02:15:27] What task are you trying to make it do? [02:15:32] includepages... I can get it to include the entire article (includepage=*) [02:15:40] Ok [02:15:41] I want to get a little trickier, though [02:15:49] (actually, let me confirm that last statement) [02:15:55] 03robchurch * r24930 10/trunk/extensions/RandomImage/RandomImage.class.php: Oops... [02:16:05] yep, that worked [02:16:29] now, I want to get a little trickier [02:17:04] ^_^ I need to know what you want to do to help draft the hook. [02:17:05] the articles I'm fetching back, each contains a single template invocation (that I'm interested in; there's a little more stuff I don't care about like category assignments [02:17:13] template:feat [02:17:26] {{feat|name=|brief=|benefit=|}} etc. [02:17:37] I want to display name and brief [02:17:42] Ok [02:17:55] For a little summary... [02:18:10] You can include a template and redirect it to another one. [02:18:16] I *thought* 'includepage={Feat} test' would do it -- create a template class 'Feat test' and it's *supposed* to take care of it [02:18:27] Ok [02:18:28] *kjdavies shuts up and listens [02:18:46] Did you try using "includepage={Feat}_test" instead? [02:19:07] just now [02:19:08] no dice [02:19:14] Got a Wiki url? [02:19:22] Or is it local.. [02:19:37] if I give it a bogus template name (Foo), I get told it wants the template I name [02:19:43] http://wiki.kjd-imc.org/index.php?title=Testpage [02:20:05] you may need to register to get access; it's not wide open [02:20:39] n/m, just granted edit to * [02:20:55] and createpage [02:20:58] meh.. just made an account [02:21:01] heh [02:21:08] okay, removed then [02:21:11] Though I do dislike user only wiki [02:21:25] I may open it up more later [02:21:38] I don't have a huge user base anyway [02:22:04] E-Mail confirmation to edit is a bit much... [02:22:15] that's how it set up, sorry [02:23:17] (fwiw, my background has lots to do with Freedom of Information and Privacy stuff -- relaxing permissions *this* much has been a challenge for me. I'm accustomed to oaths before the court, sort of data) [02:28:12] Hope I don't have to have a backup instead of a copy of the mediawiki folder, just to work on the wiki on another computer with xampp D: [02:32:32] kjdavies: I have a feeling this is some strange thing to do with whitespace [02:33:26] in the DPL call? [02:33:32] or the template? [02:33:49] it *is* fetching back the right articles [02:33:57] it's just not doing the right thing with them [02:34:46] *if* I understand things correctly [02:35:27] 'includepage={Feat} boo' means 'for each instance of {Feat] in the referenced article, call {Feat boo} instead, passing the same arguments' [02:39:41] it seems to want to refuse to call the substitution template altogether [02:40:45] ... [02:40:48] I think I may have it [02:41:07] [[category:assignment]] [02:42:16] http://wiki.kjd-imc.org/Testpage_2 [02:42:27] DPL seems to be picky on calls [02:42:47] very [02:42:49] I was only able to get it to work by using Template:Feat and altering the pages. [02:43:07] But considering how hard normalization is, it's understandable. [02:43:22] oh -- notice that Template:Feat boo isn't being applied correctly? [02:43:52] oh man. am I going to have to go through and modify them *all* like that? 'cause that'll suck [02:43:53] ^_^ well... just mess arround with it till it works. [02:45:18] *sigh* I *hate* 'try stuff until it works' [02:45:24] rotten inconsistent behavior [02:45:29] *kjdavies is grumpy [02:45:36] thanks for your help, though [02:45:46] and notice that 'Feat boo' doesn't seem to work quite right? [02:46:02] does the first part okay, but doesn't replace {{{brief}}} with the content [02:46:13] ... that is, when it gets called [02:56:01] hmm, curious. [02:56:43] n/m, more trouble to explain than it's worth [03:05:57] Dantman|FS: I *think* I may have found the problem. It seems to gag on only *certain* of them -- {{feat}} invocations that include invocations to another (particular) template [03:07:18] *Simetrical just discovered the ls color for "whoever set up these permissions is smoking something": dark blue on dark green [03:07:36] drwxr-xrwx :D [03:08:12] dark blue on dark green [03:08:20] get a bit of dark purple in there, you might have octarine [03:13:08] Dantman|FS: I did in fact identify the problem, finally [03:13:17] thanks for your help, it *was* a parsing problem [03:13:23] ok [03:13:34] a nested template call, which itself had a pipe in it, caused things to choke horribly [03:14:05] having instead '{{ft-mytype}}' (contains [[:Category:My Type Feats|My Type]]) appears to have solved it [03:14:32] (and I know get to tromp through some 180 articles fixing this) [03:14:35] s/know/now [03:14:55] I *could* try running RE over the wiki database [03:15:05] but that strikes me as a scary (and perhaps stupid) idea [03:22:22] ^_^ how about replace.py from the Pywikipediabot framework. [03:23:02] Dantman|FS: are you talking to me? [03:23:10] yp [03:23:13] hrm [03:23:28] If you need to change allot... bots work great [03:27:04] actually, I should go through and check these anyway. And a lot of them are stubs [03:27:14] so while I'm a little bummed, manual checking is probably a good idea anyway [03:37:13] okay, now... how to get a category page to not show articles in the category [03:37:17] (handling this with DPL now) [03:44:31] Amidaniel: You here? [03:55:11] hi [03:55:18] got a table question [03:55:53] what happens if i go |width="20%"|col1||col2 do they both get 20% or just the first one? [03:56:22] Just the first. [03:57:02] does the 2nd col get printed noramlly as if i had not set the width? [04:01:08] Yes. [04:01:14] You need to set it for that one separately. [04:01:27] Well, actually the second column may change width to account for the first's width of 20%. [06:01:45] hmm [06:02:01] uploaded an SVG, can't display it in my wiki (PHP is in safe mode) [06:02:17] is there a way to turn that off? [06:02:34] converting to raster, that is. Can I just show the 'raw' SVG? [06:06:10] ah well, it was worth trying, at least [06:42:26] 03(NEW) Uzbek Wikipedia sitename - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11000 normal; normal; Wikimedia: Site requests; (abdullais4u) [06:45:19] moin mob [07:33:40] 03david * r24931 10/branches/liquidthreads/extensions/ (LqtExtension.php LqtModel.php): mindblowingly stupid bug [07:40:07] 03(mod) Add section edit link for 0th section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=156 (10niels.oestergaard) [07:42:44] 03nickj * r24932 10/trunk/phase3/includes/PageHistory.php: [07:42:44] Prevent E_STRICT warning: [07:42:44] "Trying to get property of non-object in includes/PageHistory.php on line 257" [07:42:44] Happens because $next === 'unknown', i.e. not an object, on one revision for me with the following fuzz command line test on a local test wiki: [07:42:44] curl --silent --include --globoff -F 'offset'='< 03nickj * r24933 10/trunk/extensions/inputbox/inputbox.php: [07:45:12] Prevent E_STRICT warning: [07:45:13] "Undefined property: Inputbox::$namespaces in extensions/inputbox/inputbox.php on line 103" [07:59:16] Hello [08:00:51] once I've set a license for a mediawiki managed site (currently I have it on CC BY-SA 2.5), how do I change it (eg, CC BY-SA 3.0)? I've looked everywhere in the documentation and it doesn't say anything about it [08:04:24] 03nickj * r24934 10/trunk/phase3/includes/api/ApiBase.php: Variable $user seemed to be used before it was defined - removing. [08:13:28] 03nickj * r24935 10/trunk/phase3/includes/api/ApiPageSet.php: Variable $titleString seemed to be used before it was defined - removing. [08:15:20] Anyone taken a look at [[Special:Allpages]] on en.wikipedia lately? [08:15:41] clocks in at 161.8kb. It should be split again [08:16:14] like, symbols, numbers, a, b, c, d, e..., x, y, z, foreign characters or something [08:16:33] because you could probably knock that down to 20kb/page or less if you did [08:31:28] Can someone here help me with a friend who's been wrongly blocked by [[User:Proxy blocker]] for supposedly running an open proxy but can't be unblocked by the Administrators? [08:31:59] Apparently Proxy blocker was phased out in 2005 and the admins now have no access! [08:36:19] 03Mark Bergsma * r24936 10/trunk/routing/twistedbgp/src/ (bgp.py test.py): [08:36:19] - Add Last Update internal attribute [08:36:19] - Hash/len/order fixes [08:36:19] - Add test.py to SVN [08:38:06] damn, I got used to distributed hierarchical repos [08:45:56] Docta: wrong channel, try #wikimedia-tech [08:46:18] anyway, you'll probablyhave to wait a few hours, until the US comes awake [08:54:08] thanks very much Duesentrieb [09:17:59] lol, robchurch is pissed with gerrard [09:29:41] hmm [09:31:28] 03wegge * r24937 10/trunk/phase3/languages/messages/MessagesDa.php: New translations for da [09:38:20] hello [09:47:31] 03raymond * r24938 10/trunk/ (6 files in 5 dirs): Update German [10:15:24] is anyone here familiar with the format of the redirect table in the database? [10:25:26] gerdemb: +--------------+-----------------+------+-----+---------+-------+ [10:25:26] | Field | Type | Null | Key | Default | Extra | [10:25:26] +--------------+-----------------+------+-----+---------+-------+ [10:25:27] | rd_from | int(8) unsigned | NO | PRI | 0 | | [10:25:27] | rd_namespace | int(11) | NO | MUL | 0 | | [10:25:29] | rd_title | varchar(255) | NO | | | | [10:25:32] +--------------+-----------------+------+-----+---------+-------+ [10:25:34] what more is there to know? [10:30:42] 03(mod) Create Community-l - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10999 (10beesley) [10:32:39] I'm trying to use the database to determine where a redirect page lands [10:32:47] ah [10:32:50] which redirect page? [10:33:03] for example, if i look up 'USA' in wikipedia it redirects to 'United States' [10:33:03] 03(mod) Uzbek Wikipedia sitename - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11000 +shell (10raimond.spekking) [10:33:26] essentially, you want SELECT rd_namespace,rd_title FROM redirect WHERE rd_from=(SELECT page_id FROM page WHERE page_title='USA'); [10:35:12] that's what i'm trying, but it doesn't work [10:35:56] i just get an empty result [10:36:39] the page_id WHERE page_title='USA" is 869 [10:37:01] but there is no rd_from with a value of 869 in the redirect database [10:37:24] then it's not a redirect, I suppose - or it hasn't been properly added to the table. [10:37:31] gerdemb: when searching for page_title, always specify the namespace too. [10:37:42] i'm using the simplewiki sql data from wikipedia [10:37:53] same with link tables. title without namespace is meaningless [10:38:30] weird, because when i go to 'USA' on the wiki it definitely redirects to 'United States' [10:38:59] http://simple.wikipedia.org/w/index.php?title=USA&redirect=no [10:38:59] I presume it's been that redirect since before the table was introduced. [10:39:07] gerdemb: the redirect table was introduced only recently. only redirect pages that have been edited in the last weeks have entries in that table [10:39:18] chat-de-plafond: exactly. [10:39:44] oh, that makes sense then. someone should update the doc then as i didn't see this stated anywhere... [10:40:16] will the redirect table ever include the old redirects? [10:40:33] if they [10:40:37] re all null-edited [10:40:43] eventually [10:40:45] or somebody runs rebuildRedirects.php [10:40:48] or whatever the script is. [10:41:04] at some point, some background script should be written to update all missing entries. [10:41:25] but it'd be fairly low priority [10:41:31] running rebuildRedirects.php in the live db would be too heavy. some trickelish script would be needed [10:42:10] in the meantime is there a way to get the redirect links without resorting to looking at the actual text of the page? [10:42:23] that's more data than i want to work with :) [10:42:59] gerdemb: not reliably - you can simply you with pagelinks, but in sime cases, there may be more than one link in the pagelinks table for a redirect page. [10:43:06] then you are screwed, basically :/ [10:45:42] Duesentrieb and chat-de-plafond thanks very much for your help! [10:51:03] 03raymond * r24939 10/trunk/ (15 files in 14 dirs): [10:51:03] * (bug 10977) Update Portuguese translations [10:51:03] Patch by lugusto [10:57:51] 03raymond * r24940 10/trunk/phase3/languages/messages/ (4 files): [10:57:51] * (bug 10972) Update Chinese translations [10:57:51] Patch by Shinjiman [11:33:29] hi guys [11:33:29] my database corrupted and after i fix it i lost some data [11:33:40] i can find the title but the linked page is empty [11:47:17] help me in this please http://pastebin.com/m1c3a6201 [11:57:58] hi, is there a way to have an extension code added to all article and category pages by default? [12:25:37] hey all! I am trying to run mediawiki on top of Mac OS X and XAMPP, with PHP 5.2.3 [12:25:43] I've run into a problem [12:26:03] I added write permissions to the /config directory, no prob there [12:26:19] but now when I run the /config/index.php script, all it says is: [12:27:00] , then... [12:27:02] Checking environment... [12:27:02] Please include all of the lines below when reporting installation problems. [12:27:02] * PHP 5.2.3 installed [12:27:02] Script is still running [12:27:20] sorry, ignore the last line, that's debug I tried to put in [12:28:13] anyone know what's going on here? it seems like there's a problem running the script, but the page isn't really telling me what the problem is [12:30:06] hi all [12:30:34] how i put one image on a page ? [12:30:41] i already upload it [12:30:49] i dont remember the setence [12:36:08] whee [12:36:41] murftown: maybe adjust the php error display settings [12:37:26] murftown: so after PHP 5.2.3 the installation process stops? [12:38:29] mmm coffeeeee [12:44:51] PunkRock: yes, the last thing the page says is "PHP 5.2.3 installed" [12:49:58] murftown: so there is no line that reports which databasedrivers it found? [12:50:28] exactly, punkrock, there is no line at all underneath the php version line [12:50:38] scary. [12:50:50] this is 1.10.1 [12:51:32] is the config script basically just to create a LocalSettings.php file? [12:51:38] yep. [12:51:47] And Database if you don't have it... [12:51:49] you could try to configure it for our own. [12:52:16] in the next step after checking php it checks the database drivers. [12:52:37] you could try and configure your localsettings manually. [12:52:40] so it should ALWAYS mention the drivers right after the php line? [12:53:10] murftown: also you could try if phpinfo includes the mysql drivers. [12:53:36] yep. if there are no drivers found installation will fail. [12:53:44] but a hang up is not planned i think. [12:54:05] 03(mod) Improper base font size - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9119 +comment (10bugs) [12:54:07] maybe you write a bug report about this. looks like this is a bug. [12:54:28] or maybe this is a known bug. search the bug database before. [12:55:33] murftown: check the output of phpinfo if the drivers are there. [12:55:44] will do [12:56:13] but ... the hangup during the installation should also be reported. [12:57:12] yes, when I display phpinfo() there are sections for mysql and mysqli [12:57:32] which is expected since it all comes bundled and preconfiged in XAMPP [12:57:54] you know how to deal with a console? [12:58:17] you could additionally check if mysql is accessible via mysql client [12:59:21] good idea, or check it thru phpMyAdmin right? that comes with XAMPP too [13:00:33] murftown: yep. [13:01:01] 03(FIXED) Ability to give a reason when deleting old image revision - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7535 +comment (10raimond.spekking) [13:01:28] 03(mod) Update for Cantonese language (zh-yue) #53, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese (PRC) and Chinese (Taiwan) localisation (zh-cn/zh-tw) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10972 (10shinjiman) [13:01:56] Fixed it, did I? We'll see about that! [13:03:13] 03robchurch * r24941 10/trunk/phase3/RELEASE-NOTES: Bug number for image deletion confirmation stuff [13:03:20] murftown: well, if phpmyadmin runs, then there is definitely no reason for mediawiki to not accept the database. that's what i expect. [13:05:40] 03mark * r24942 10/trunk/routing/twistedbgp/src/ (bgp.py test.py twisted/protocols/bgp.py): Reformat ip addresses for radix [13:06:07] brion-office: before the checking of the databases, the reporting is set to a lower level, and overrides therefore usersettings for error reporting. [13:06:25] 03(NEW) Use GET instead of POST for username selection in Special: Newpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11001 15enhancement; normal; MediaWiki: General/Unknown; (dungodung) [13:08:37] yes, phpmyadmin ran and allowed me to interact with MySQL. I made a new database called "wikidb" [13:08:50] punkrock: [13:08:58] 03raymond * r24943 10/trunk/phase3/languages/messages/ (4 files): [13:08:58] * (bug 10972) Update Chinese translations [13:08:58] Patch by Shinjiman [13:09:18] 03(mod) Update for Cantonese language (zh-yue) #53, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese (PRC) and Chinese (Taiwan) localisation (zh-cn/zh-tw) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10972 (10raimond.spekking) [13:09:55] murftown: you have no fear of touching php code? then the easiest step would be to do what brion-office suggested. changing error reporting in the installation code. [13:10:30] what are some pitfalls i should look out for when authenticating users on MS ActiveDirectory. I am using RHEL4 [13:10:54] punkrock: ok is there just a variable to change or do I actually need to comment out some control blocks and so on? [13:11:41] murftown: just change lines 256 and 267. [13:12:07] do you know how to comment out a line? just put in two slashes in front of em. [13:12:08] dtolj: read http://www.mediawiki.org/wiki/LDAP and the associated talk page [13:12:35] murftown: both lines say smth. with error_reporting, right? [13:12:43] LDAP question: I get a error "Binding as the user" "Failed to bind as IP\Username with password: psw" [13:12:57] I have done the setup according to the initial setup from the give link [13:13:19] 03robchurch * r24944 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialNewpages.php): (bug 11001) Submit Special:Newpages as a GET, rather than a POST request [13:13:20] i am however connected successfully [13:13:38] 03(FIXED) Use GET instead of POST for username selection in Special: Newpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11001 +comment (10robchur) [13:13:56] 03(mod) OmegaWiki should use less memory - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10969 (10brion) [13:13:57] dtolj: perhaps read http://linuxwiki.riverworth.com/index.php/LDAP_Authentication too [13:14:12] dungodung: Fixed. [13:14:38] punkrock: at 276 on mine, error_reporting is backed up and set to 0 temporarily [13:14:46] brion: Nonsense! Throw another gig of RAM at it. [13:14:49] then 287 it is reset to the old version [13:14:57] murftown: set it to E_ALL [13:15:05] murftown: thats it. [13:15:14] comment em out. [13:15:28] they are set at the beginning of the script to E_ALL [13:15:36] so its redundant. [13:15:49] no harm in redundancy :) [13:16:04] not at all. [13:16:10] 03(mod) add exclude redirects on backlinks or indicate redirect in result - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10980 summary (10brion) [13:16:18] should keep my smart ass calm hehehe [13:16:20] ini_set("display_errors", 1); is also a good idea, if it's not already there [13:16:48] murftown: then restart the script [13:17:02] PunkRock: well, *actually*, redundant code can cause a lot of troubles. but in a case like this, I like to play safe :) [13:17:24] 03raymond * r24945 10/trunk/phase3/languages/messages/ (5 files): * (bug 10983) Removing Wikipedia hardwired messages [13:17:25] thanks robchurch [13:17:36] Depends on who you ask, really; an engineer will tell you that redundancy is a Good Thing, a programmer will hiss and claw at you. [13:17:53] well, redundante *code* sucks. [13:18:01] redundant data can be a good idea, or not. [13:18:18] 03(FIXED) Wikipedia hardwired message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10983 +comment (10raimond.spekking) [13:18:24] punkrock: would it make ANY sense at all if I commented those lines out then reloaded the script and it didn't add any new output? just the same page as before [13:18:43] Well, generally if your data is deliberately "redundant", i.e. duplicated, but you're doing that to speed up some query and you're careful about updating it, then it's probably fine, and it's not really redundant. [13:19:07] (In that it's not uselessly duplicated, it serves a positive purpose...) [13:20:00] right, though failover setups are often refered to as "redundancy". [13:20:21] 03(mod) Sub tag not closed if it contains an unmatched '' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6265 (10brion) [13:20:24] murftown: sense? ERM. [13:20:33] murftown: in some cases: yes! [13:20:46] murftown: but it's kind of nast for your problem. [13:20:52] nasty [13:21:10] yeah [13:21:36] you might think it would at least say something like "Running with all errors displayed" [13:22:09] murftown: no. [13:22:24] murftown: this should not be there. [13:22:40] punkrock: well it's not, so that's good I guess [13:22:43] Let's see. Brion likes having redundant hardware. Brion doesn't like redundant code, or redundant data, or redundant queries. Brion would be upset if Brion himself became redundant. [13:22:54] Game over, redundancy sucks. :P [13:23:00] murftown: but the lines in between your commented error_reporting code should made some verbose messages. [13:23:07] I need to come back to this later, but thanks for your help guys! [13:23:12] hehe [13:23:19] redundant hardware == if one breaks, the other still works [13:23:22] cool punkrock, I'll look at the code a bit to understand more. thanks again [13:23:27] redundant software == if one works, the other one still breaks ;) [13:23:27] I'm sure I'll be back [13:23:50] cu [13:24:03] hehe :P [13:24:08] I suppose the 64,000 Canadian dollar question is... [13:24:14] brion-office: nicely put. [13:24:15] Redundant Stroopwafels. Good or bad? [13:25:09] wtf is stroop? [13:25:17] robchurch: how much time for the answer? [13:25:29] can i use a reaoner? [13:25:44] 03(mod) Linguistic error on the Polish "Wikipedia has a problem page" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10982 (10brion) [13:26:14] reasoner [13:27:05] is it possible to setup the wiki so a certain group of users can only access certain pages or Category of page? [13:29:44] 14(DUP) Watched page not in Special:Watchlist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10986 +comment (10brion) [13:29:47] 03(mod) Logs about watched pages should appear in the watchlist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5546 +comment (10brion) [13:31:46] 03(mod) redirect-only messages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10990 (10brion) [13:32:23] Odd...QueryPage::doQuery(), ~ line 344; calls wfShowingResults(...) and wraps it in

. wfShowingResults() uses wfMsgExt() with parseinline. [13:32:24] MondayAfternoon: see http://www.mediawiki.org/wiki/Category:Page_Access_Control_Extensions [13:32:33] Thanks. [13:32:39] However, the result is

Showing....

, which causes validation to fail. Odd. [13:32:52] eww [13:32:59] MondayAfternoon: though note that read protection is not 100% air tight. read http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions [13:33:00] Shouldn't wfMsgExt() with parseinline be excluding the

tags? [13:35:03] Removing the extra tags in QueryPage seems to fix it, but this seems inconsistent. [13:40:13] Oh, I see. [13:40:42] I had Tidy left on, with $wgAlwaysUseTidy, for some reason, from when I was testing a recent patch. [13:40:49] Evidently Tidy still sucks. [13:42:35] 03robchurch * r24946 10/trunk/phase3/includes/SpecialNewpages.php: Trim some end-of-file whitespace [13:43:26] 03brion * r24947 10/trunk/phase3/includes/Xml.php: [13:43:26] Throw an exception for invalid data in expandAttributes() so we get a backtrace [13:43:26] and can beat the shit out of whoever did us wrong instead of just seeing a [13:43:26] useless PHP warning message or worse yet silently going through without even [13:43:26] knowing we probably lost the data we wanted somewhere else in our output [13:44:45] *robchurch sniggers [13:44:47] +stabbing [13:45:18] =) [13:45:29] robchurch: I saw you had some issues with Gerard :) [13:45:36] where? [13:45:50] *robchurch frowns [13:45:59] Now, why did I commit that horrible workaround in the first place? [13:46:00] mark: he wrote about that in blog, then erased it :) [13:46:08] *robchurch tries to remember who broke stuff [13:46:11] why did he erase it? [13:46:20] 03brion * r24948 10/trunk/phase3/includes/Xml.php: aaand restore behavior from prior to r24882 on expected input [13:46:24] dunno, robchurch, why did you erase it? [13:47:01] I mean, since when is he being politically correct? ;) [13:47:09] hehe [13:47:47] brion-office: did you get a chance to look at the Gadgets extension? [13:47:52] nope dues [13:47:54] ahh, there we go [13:48:06] here's my last month or so in summary: [13:48:20] brion-office: yea, i have been busy too, np [13:48:30] catch-up images-changes catch-up sul catch-up server-down catch-up wikimania catch-up sul image-change catch-up [13:48:53] i'll just keep namedropping or something :) [13:48:59] Maybe we *do* need redundant brions... [13:49:20] maybe robchurch ffels like doing a first code review :) [13:49:27] the hell [13:49:48] Hi all. A special page questions: is it sane to use the hook in SpecialPage::initList() to *add* your own special pages? This appears to be the most (only?) on-demand way of registering special pages. [13:49:55] robchurch: can you confirm this? i'm trying image revision deletion for a prior revision but it's telling me i'm deleting the most recent version of the file [13:50:19] MarkusK: No, use the $wgSpecialPages list. [13:50:40] robchurch: thanks, I will try [13:50:44] brion-office: Gimme one sec; for some reason, I've suddenly got this HORRIBLE SCARY EXCEPTION whenever I bring up a list of images. [13:50:50] MarkusK: the easiest way is $wgSpecialPages['PageName'] = 'ClassName'; [13:50:56] :) [13:51:01] robchurch: did you svn up a second time? [13:51:07] i dids [13:51:23] MarkusK: along with $wgAutoloadClasses['ClassName'] = dirname( __FILE__ ) . '/FileName.php'; [13:51:32] ah, you're passing false instead of null [13:51:38] or array() [13:51:47] robchurch: ok, but is 'PageName' the localised label for the page already? [13:51:56] wack-ay [13:51:57] bwahahaha [13:52:10] MarkusK: internal/canonical name. [13:52:11] *robchurch hands brion-office the stabby thing and points down under [13:52:22] :D [13:52:30] robchurch: OK, great. I want to avoid destubbing $wgLang without need. [13:53:36] I...don't understand. I changed it to array() but the exception, she is there still. [13:54:08] ok this is wrong: [13:54:09] + /** [13:54:09] + * Extract the timestamp of the old version [13:54:09] + * [13:54:09] + * @return string [13:54:09] + */ [13:54:11] + private function getTimestamp() { [13:54:13] + return substr( $this->oldimage, 0, 14 ); [13:54:15] + } [13:54:39] the timestamp on an archive filename is *not* the upload timestamp of the original file [13:54:51] it's the timestamp of when it was archived (replaced) [13:54:57] ah [13:54:59] thus... usually the timestamp of the _next_ uploaded revision [13:55:15] you should consider it to be an opaque key which happens to be \d{14} [13:56:16] OggHandler/OggHandler_body.php, line 365 is the apparent culprit behind my exception, but changing it to be $linkAttribs = array() still...breaks. [13:56:57] When I upload a svg image, and try to preview it, I get this error: Error creating thumbnail: convert: Must specify image size `/tmp/magick-XX2NtQs5'. [13:56:57] convert: missing an image filename `PNG:/home/www/henhod44.freehostia.com/images/thumb/4/4c/Template-info.svg/50px-Template-info.svg.png'. [13:57:02] oh, of course [13:57:05] *robchurch grumbles [13:58:28] 03robchurch * r24949 10/trunk/extensions/OggHandler/OggHandler_body.php: Don't pass false as attributes in Xml method arguments; causes bad things to happen [13:58:58] *robchurch was editing OggHandler in his main extension checkout, but OggHandler is one of those nice extensions which assumes it's in /mediawiki/extensions, so was running it from there [13:59:02] anyone know how to turn the fsck editor thing off? [13:59:26] someone installed that extension and my formatting is all off :-/ [13:59:39] Comment out the offending lines in LocalSettings.php? [14:00:03] god i wish i could :) [14:00:18] brion-office: In that case, there's a good chance the revert form is doing the same thing; I should have checked. [14:00:36] \o/ [14:00:55] Hmm, OldLocalFile::newFromArchiveName() looks promising [14:04:20] the fckeditor is almost appropriately named [14:04:42] lol [14:05:31] i hear there is a tag that turns it off for a page [14:10:24] Ah, right, I got it now. [14:10:48] *chat-de-plafond waves at robchurch [14:11:08] hello to you too, TimStarling [14:11:11] I can pass that "timestamp" to wfFindFile(), it seems, and it'll get me an OldLocalFile, from which I can then get the actual timestamp of that file. [14:11:25] *robchurch tests to see if that produces the right result [14:11:53] robchurch: a fancy-pants database storage system? [14:12:01] ? [14:12:07] hopefully it works now [14:12:18] rob: is that what you're working on? [14:12:18] OldLocalFile was checked in a long time before it was working [14:12:41] Er, no... [14:12:52] it's aimed at stable version display [14:12:56] *robchurch nods [14:13:24] Brion's just pointed out I've made a rather stupid assumption about the timestamp-like digits in the archive name for an image. [14:13:40] I'm attempting to work out how to get the old file version from that name. [14:16:09] the timestamp of the file isn't the same as the timestamp in the archive name [14:16:16] it's actually offset by one file revision [14:16:37] Yes. [14:17:05] cruel isn't it :D [14:17:05] All right, I'm still stuck; it doesn't work. [14:17:14] I have an archive name. How do I get a corresponding OldLocalFile? [14:17:25] you need to fetch the old image info by archive name... somehow... ;) and get the timestamp from the oldimage record [14:17:33] dnno how to do that in the nice new system [14:17:39] Do I ask OldLocalFile for it, or do I ask the repo to get it for me? [14:17:56] what's the application? [14:18:03] FileRevertForm and FileDeleteForm. [14:18:10] Specifically, getTimestamp() in both will be wrong. [14:18:49] do these forms display information for one revision, or a whole lot of revisions? [14:18:55] One. [14:20:16] well, I think RepoGroup::singleton()->getLocalRepo()->newFromArchiveName() would be the way to go [14:20:53] if it doesn't work, then fix the bug [14:21:23] ha [14:23:23] 03(NEW) Use AJAX for patrolled edit marking - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11002 15enhancement; normal; MediaWiki: History/Diffs; (le.korrigan) [14:24:32] btw, the filerepo architecture doesn't really abstract access to the local DB [14:24:55] you can still do direct DB queries on image and oldimage and expect it to work [14:25:11] Yeah, but if I can ask the repo to do something for me... [14:25:22] ...all right, that seems to be the trick. [14:25:25] yes, it's better, as long as it's efficient [14:32:22] 03robchurch * r24950 10/trunk/phase3/ (2 files in 2 dirs): [14:32:22] * Fix FileRevertForm::getTimestamp() - stupid assumption about archive names :) [14:32:22] * Do date/time adjustments where applicable [14:32:22] * Reverse odd ordering of date/times in messages - time, then date looks cleaner in English [14:32:22] * Remove the commented-out remnants for now [14:33:29] how can i get a fresh copy of monobook.php [14:34:18] download MW? [14:34:40] or even better, download only MonoBook.php if you need only that [14:34:41] <_Danny_B_> download it from svn head? [14:35:10] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/MonoBook.php?view=log [14:35:12] click download [14:36:11] 03robchurch * r24951 10/trunk/phase3/ (2 files in 2 dirs): As r24950, but for FileDeleteForm [14:37:02] brion-office: Should be sorted now, but let me check a couple bits... [14:39:04] how can i add an extension code at the end of all existing article and category pages automatically? [14:40:30] whee [14:40:35] i'll take a peek in a sec rob [14:40:43] Right, can you try your test again? :) [14:41:12] Now, to draw attention away from my bug... [14:41:32] *robchurch points from TimStarling to OggHandler to Xml::expandAttributes(), interspersed with horrified looks [14:42:49] if linkAttribs is false, it's not meant to create a link [14:42:58] you're not meant to create random tags with no attributes [14:43:33] it's fixed in my working copy already [14:43:59] *chat-de-plafond should think about sleep [14:49:20] 03robchurch * r24952 10/trunk/phase3/ (2 files in 2 dirs): More robust existence/sanity checking [14:56:00] robchurch: static variables in a method are global, eg the same for all objects [14:56:16] whoops [14:56:17] it's probably not wise to set one to something specific to one object [14:56:27] instance variables might be better :) [14:56:52] <[Jessy]> Hi! I need some help about how to add a book to my wiki [14:57:11] I'll tell you something interesting about function-scoped static variables? [14:57:41] Will you? [14:57:42] 03robchurch * r24953 10/trunk/phase3/includes/FileRevertForm.php: Use an instance variable, not a static one [14:57:45] they're referenced according to the current polymorphic class [14:57:59] not according to the lexical scope [14:58:30] so if you have two derived classes calling a parent function, they will get different values for the function static variable [14:58:37] brion-office: You know, I keep making that mistake. It doesn't bite me in the ass half as often as it should. [14:59:11] <[Jessy]> I have 2 books which i want to add to my wiki [14:59:49] <[Jessy]> These 2 books are the same. Hmm...I mean it is one book and in the wiki there should later be 2 versions [15:00:27] [Jessy]: What do you mean by add a book to your wiki? [15:00:42] as in reference it, or you want the text of them to be on the wiki? [15:01:26] <[Jessy]> I just want the text of the book. There should be 2 versions of text one to read and the other version can [15:01:49] <[Jessy]> be changed by the user with new chapter, comments, etc. [15:02:54] well, you could do the "to read" one with a permalink.. [15:03:13] <[Jessy]> Its no problem for me to add the booktexts to the wiki. but how can i manage 2 versions of texts. Should i use suppages of each version [15:03:39] well, as I said, you can use a permalink to get the page as it existed at a point in time [15:03:41] hmm [15:03:43] Error deleting file: Could not create directory "deleted/3/6/s". [15:03:45] :( [15:03:53] <[Jessy]> no permalink [15:03:54] that spewed a php-level error to my screen also [15:03:57] *chat-de-plafond hands brion-office some chmod [15:04:28] [Jessy]: well, I don't know of any other way - other than maintaining two texts and copying between them. [15:04:32] images dir is 777 [15:04:35] You can protect the page to stop others from editing it. [15:04:50] brion-office: mkdir -something deleted/3/6/s [15:05:02] chat-de-plafond: shouldn't have to do that, the system's supposed to do it :) [15:05:19] silly sysem [15:05:21] system* [15:05:52] <[Jessy]> i mean how can i handle to versions of text in the wiki? Should I use namespace, categories or supages? [15:06:26] <[Jessy]> for e.g. bookA/chap1 oder bookB/chap1? I only want no conflicts [15:07:52] oh, well it's up to you. Personally, I'd use namespaces, because you can do neat things with namespace protection - but I'm not really aware of what your needs are. [15:08:52] <[Jessy]> we have a book, an html manual with about 500 pages. And I should add this to the wiki, that the users can read it [15:09:28] I se. [15:09:38] <[Jessy]> Later when the book is in the wiki we want to duplicate it so the users can modify the 2nd version [15:09:46] back in an hour or so [15:09:58] hmmmm [15:10:33] <[Jessy]> How should I do this? I thought the subpages feature can handle this. [15:11:40] one wiki readonly and wiki editable? [15:11:50] well it can. [15:12:15] there we go, i had em in another dir which was wrong [15:12:17] now i just get: [15:12:20] Notice: Undefined property: LocalFileDeleteBatch::$repo in /opt/web/pages/trunk/includes/filerepo/LocalFile.php on line 1309 [15:12:21] Fatal error: Call to a member function getZoneUrl() on a non-object in /opt/web/pages/trunk/includes/filerepo/LocalFile.php on line 1309 [15:12:35] <[Jessy]> I Think with the subpages feature I can create something like a portal [15:13:55] probably $wgFileStore changes... [15:14:48] bug [15:14:48] who are people supposed to ask about getting set up on toolserver? [15:15:04] due, I think [15:16:20] Duesentrieb: wikiscanner dude has been recommended to ask about toolserver access. where do i point him? [15:16:44] wikiscanner == ? [15:16:54] yay bugs are fun [15:16:55] the guy who analyzed all the IP edits ? [15:17:00] chat-de-plafond: that thing in the news or whatever [15:17:19] *chat-de-plafond is no more informed. [15:18:19] http://mashable.com/2007/08/14/wikiscanner/ [15:18:44] *chat-de-plafond bows [15:18:54] eh http://wikiscanner.virgil.gr/ [15:20:07] http://wikiscanner.virgil.gr/name2ip.php?orgname=Sony&location=&pagetitle=Sony [15:21:58] *MartinCleaver checks FAQ for the Mediawiki release announcements RSS [15:26:20] does anyone know what causes my sidebar being moved below the body content here? http://img267.imageshack.us/img267/9967/capturelv9.gif [15:27:00] i use monobook. when i use a different skin it's ok [15:27:17] but i only offer monobook on my wiki though [15:35:17] 03(mod) Requesting watchlist for changes to category content. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7148 (10N/A) [15:39:25] Monk33: usually an unclosed tag [15:39:30] or too-closed tag :) [15:41:15] hmh i switched to the standard monobook.php and still. skintemplate? [15:42:39] is there a trick to categorizing according to a template variable? [15:42:55] [[Category:{{{something}}}]] dosn't appear to work. [15:43:17] can I get round that somehow? [15:43:58] brion-office: presroi is dealing with the wikiscanner dude, DaB. is responsible for makign accounts. Problem seems to be that wikiscanner is using some unfree data (whois, ip2location, etc) [15:44:17] 03(NEW) add new french translation in /languages/messages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11003 15enhancement; normal; MediaWiki: Internationalization; (bertrand.grondin) [15:44:20] *brion-office rolleyes [15:44:21] i recommended to use such data via a web interface from the ts. [15:44:22] should I just search? [15:44:30] well, you guys talk :) [15:44:30] oh... and it would be *so* nice to have ips in numeric form. [15:44:39] <_Danny_B_> faceface: that should work [15:44:43] that would make range queries very nice [15:44:49] _Danny_B_, ty [15:50:35] Hi, I am having a mediawiki issue. When I log in as administrator, I don't have the edit links for each entry. Is there a setting to enable it? [15:54:32] 03rotem * r24954 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [15:55:23] 03mkroetzsch * r24955 10/trunk/extensions/SemanticMediaWiki/ (14 files in 7 dirs): Changed special page registration to use $wgSpecialPages and $wgAutoloadClasses. Average setup time of SMW now is well below 5ms :-) [15:55:45] <[Jessy]> Hey Chat-de-plafond [15:56:00] Okay, I need to check if the user is logged in with an if statement. [15:56:09] Which variable can I check is active/something else? [15:56:34] <[Jessy]> Is there a way to make an own page for a namespace? like a portal page [16:03:59] seanw: $wgUser->isLoggedIn, i think. [16:04:05] [Jessy]: uh, just create the page?= [16:04:10] Duesentrieb, thanks :) [16:05:10] dmakalsky: seection edit links are a user preference, iirc. [16:05:38] yea, first checkbox on the edit tab on the preference page [16:06:05] Duesentrieb: thanks I will check [16:09:34] Duesentrieb: I enabled it, and I still don't see the edit links [16:10:46] in the edit tab I enabled section editing [16:10:52] and clicked save [16:10:54] <[Jessy]> [Duesentrieb] You mean i have a namespace mybook [16:10:59] is there a possibility to let sysops upload any file, while restricting upload to a few types for normal users?? [16:11:07] <[Jessy]> [Duesentrieb] I should just create a page called mybook? [16:13:32] Duesentrieb, okay, so I have isLoggedIn()) { ?> in a theme file, to only show stuff if they are logged in. However I am getting a fatal error: "all to a member function isLoggedIn() on a non-object" - any ideas? [16:13:55] ugh, god awful error [16:14:04] I always get that when I try to code stuff :-P [16:15:28] heh [16:15:38] s/all/call/ [16:15:54] I think it means that $wgUser doesn't exist. [16:18:23] Aha [16:18:29] Worked it out - needed global $wgUser; [16:19:52] Hello All, I would like to know hos it is possible to decrease the number of alphabets in a word to be included in Search results? I see that any word i serch which are three letters long or less do not seem to have got indexed. is there a way out of this? [16:26:28] that's in the FAQ [16:30:25] how frequently are double redirects reported on the special page? [16:34:58] aton`: this is not currently possible, though introducing a hook (or better, a permission) for this should be trivial. [16:35:03] what is the recommended way to backup a wiki? [16:35:07] 03mkroetzsch * r24956 10/trunk/extensions/SemanticMediaWiki/includes/ (SMW_QueryProcessor.php storage/SMW_SQLStore.php): More profiling. [16:35:09] maybe ask TimStarling about it, he has been tinkering with the image stuff lately. [16:35:29] dmakalsky: http://www.mediawiki.org/wiki/Backup [16:35:59] thanks, and sorry for the noobie questions [16:36:12] dmakalsky: a) copy all files b) make database dump (be careful about charset stuff) c) make xml dump for long term storage [16:42:20] how can i add an extension code at the end of all existing article and category pages automatically? [16:45:35] Duesentrieb, so how do you suggest i upload files that filetypes are not allowed for normal users? [16:47:13] aton`: don't, basically. however, there's a command line script meaintenance/importImages.php - It may or may not check the file type, I don't know. [16:47:40] Duesentrieb, i have to :/ [16:47:55] i could allow the filetype, upload and then disallow again but thats very inconvenient [16:48:08] could i upload the files via ftp? [16:48:10] to some directory? [16:48:16] or will it fuck the wikis structure? [16:48:32] i'd like to upload .doc and .pdf files for users to download [16:49:10] I think the destination folder is generated by the system in the moment you upload it (at least for images in various different fodlers) [16:53:43] aton`: you can always simply upload to an urelated dir, and simply use an external link from the wiki. [16:54:14] thats a good idea [16:57:00] oh no, i have a broken skin and a user has it as default and can't change it [16:58:00] were are user preferences held [16:58:27] jevangelo, tell them to go to http://path/to/your/wiki/Special:Preferences?useskin=monobook [16:58:42] Or index.php?title=Special:Preferences&useskin=monobook [17:03:18] jevangelo: there'S a maintenance script fur setting user preferences. [17:03:26] maintenance/userOptions.php or some such [17:14:37] I#m sorry i'm repeating my question over & over again, but it is still unanswered and highly important to me since i want to go live with this extension asap: [17:14:38] how can i add an extension code at the end of all existing article and category pages automatically? [17:17:17] 03mkroetzsch * r24957 10/trunk/extensions/SemanticMediaWiki/includes/ (SMW_DataValueFactory.php SMW_Factbox.php SMW_Hooks.php): Yet more profiling. [17:22:59] 03(NEW) Set logos on Catalan Wikisource and Catalan Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11004 15enhancement; lowest; Wikimedia: General/Unknown; (aleator_wiki) [17:32:43] 03(NEW) Give CSS class to empty pages in Special:Newpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11005 15enhancement; normal; MediaWiki: Special pages; (le.korrigan) [17:33:15] 03(mod) Requesting watchlist for changes to category content. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7148 (10Simetrical+wikibugs) [18:41:15] I installed MediaWiki on my PC... I don't have class Wiki table or how do I can enabled it ??? [18:41:17] Copy the CSS rule from MediaWiki:Monobook.css or MediaWiki:Common.css on the wiki you want to take it from. [18:41:18] Simetrical, THX I will try it :) [18:41:19] Good evening [18:41:21] Is there any way to restrict access to pictures with lockdown? [18:41:21] like a page of pics only avaiable to a specified group of users? [18:50:17] *Simetrical looks at Duesentrieb [18:50:17] Duesentrieb!? [18:50:17] brion-office you around? [18:50:17] oy [18:50:17] cu [18:50:17] 03(NEW) Image inserted in section title produces wrong arrow links in history, recent changes, contributions, watch - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11006 15enhancement; normal; MediaWiki: Page editing; (folengo) [18:50:17] 14(DUP) Image inserted in section title produces wrong arrow links in history, recent changes, contributions, watch - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11006 +comment (10Simetrical+wikibugs) [18:58:41] 03(mod) Special characters break section links in page history - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2346 +comment (10Simetrical+wikibugs) [18:58:42] I have some complicated ideas and I don't know if they are even possible, does anyone want to help [18:58:42] daaaaang: we can't help you if you don't say what are you ideas [18:58:42] haha okay, basically I would like to be able to have pages made up of sub-pages, where only one user would be able to edit one part of the page, and a particular group of users able to edit another, and everybody able to edit another [18:58:42] Just use template inclusion. [18:58:42] hey gents [18:58:42] Quick question for you..... [18:58:42] 03(mod) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10367 +comment (10alefzet) [19:06:27] 03(NEW) bug in RenameUser extension for personal wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11007 15enhancement; normal; MediaWiki extensions: Renameuser; (bertrand.grondin) [19:06:27] I am pretty new to MediaWiki and I've inherited a package that builds a few extensions "hooks" for the existing package [19:06:27] Simetrical: thanks, I'll try that [19:06:27] Can you point me to any resources that I can print out and carry with me as far as developing extensions ? [19:06:27] Tutorials for example [19:06:27] halloway Start here: http://www.mediawiki.org/wiki/Extensions [19:06:28] Thanks Wegge [19:13:45] http://www.mediawiki.org/wiki/Extending_wiki_markup [19:13:45] and Jack [19:13:45] np [19:13:46] Also, is it possible to allow users to create a user page, but no other pages? [19:13:46] or better yet, automatically create a user page when they create an account? [19:13:46] daaaaang Edit $wgGroupPermissions to do that [19:13:46] For that you'll probably need an extension [19:13:46] anyone knows extension helping organising index of paper books ? i think about using wiki to store list of my books with some info about each, so best way is page per book but that pollute in some way main namespace [19:13:46] There is a hook that's run after successfyull user creation [19:13:46] thanks for the help guys. Gotta run. Stay classy !!! [19:20:51] Wegge: thanks! [19:20:51] which file would i edit if i wanted to add javascript from http://statisfy.net/ to be loaded in every page, it shows visitors on a google map [19:20:51] I copy common.css, I have MediaWiki 1.9.3 and my class "wikitable" still don't work... [19:20:51] hi brion [19:20:51] hi every body [19:20:51] brion-office mind reviewing http://bugzilla.wikimedia.org/show_bug.cgi?id=10918 ? [19:20:51] I've view a bog in Renameuser extension message [19:20:51] busy [19:20:52] I seem to have inadequately expressed myself before [19:28:10] comment vas-tu brion-office [19:28:10] ??? [19:28:10] this bug : http://bugzilla.wikimedia.org/show_bug.cgi?id=11007 [19:28:10] the patch makes that personnal wikis runs with messages of this extension : file:///var/www/wiki/extensions/Renameuser/SpecialRenameuser.i18n.php [19:28:10] file:///var/www/wiki/extensions/Renameuser/SpecialRenameuser.php [19:28:10] ooops [19:28:10] I'm unable to reproduce the bug in the first place; RenameUser works fine for me. [19:28:10] not for my personnal wiki. robchurch, i've modified it and now, the messages run in my personnal wiki. [19:28:10] Well, what's wrong with your personal wiki that stops it working? [19:28:10] non [19:28:10] non [19:35:14] NO [19:35:14] Messages don't run on my own pc and on tuxfamily.org [19:35:14] I can't reproduce the problem on a local wiki running trunk, head, etc. and it isn't affecting the live site, nor is it apparently affecting anybody else. [19:35:14] The modifications run now without changing main code [19:35:14] The onus is therefore on you to demonstrate that there is a bug in the extension that isn't just some local quirk. [19:35:14] 03mikeb * r24958 10/branches/mikeb/ (14 files in 4 dirs): [19:35:14] ** The video recode daemon. See README for usage. ** [19:35:14] * Also a continuation of my AV support via uploadverification hook, mime plugin, and beginnings of a media handler (AV.php) [19:35:14] * Added sending POST content to the Http class, cURL and PHP-based [19:35:14] * Added an uploadComplete hook in SpecialUpload.php that adds video files to the recode queue/initializes the recode process [19:35:14] What actually *happens* instead of the "expected behaviour" ? [19:42:00] I've the same problem with Deleteuser extension [19:42:00] no message just &sltrename (and type of message) [19:42:00] Hmm. [19:42:00] The patch contains some odd lines. [19:42:00] I've converted variable to function [19:42:00] robchurch you mind looking into a few things for me? :) [19:42:00] I've give the last revision and I've convert i18n file into a function that I report on main php file [19:42:00] The messages function has an inconsistent name, the global declaration around lines 33-39 is useless (out of scope); the $messages variable is also not defined, and isn't global. [19:42:00] http://bugzilla.wikimedia.org/show_bug.cgi?id=10918 [19:42:00] 03robchurch * r24959 10/trunk/extensions/Renameuser/SpecialRenameuser.php: Fix inefficient message loading code (thought I'd found all of these) [19:42:00] 14(DUP) Enable template inclusion from Commons (transclusion => interwiki templates, etc.) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4547 +comment (10wikipedia.kawaii.neko) [19:42:00] 03(mod) Interwiki templates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1126 +comment (10wikipedia.kawaii.neko) [19:48:17] Same for $lang. [19:48:17] Simetrical, Yeeees, now wikitable is working :), THX [19:48:17] As for diagnosing the issue, does anything get saved into any of your error logs? [19:48:17] robchurch, can you add new translation now [19:48:17] deleteuser is crap [19:48:17] wtf would anyone use it? [19:48:17] Because some people got the silly idea it would delete users completely. [19:48:17] <^demon|away> VoiceOfAll: Agreed. [19:48:17] 03(mod) bug in RenameUser extension for personal wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11007 (10robchur) [19:48:17] 14(WFM) bug in RenameUser extension for personal wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11007 (10JSchulz_4587) [19:54:03] 03robchurch * r24960 10/trunk/extensions/Renameuser/SpecialRenameuser.i18n.php: French localisation update, c/o Bertrand GRONDIN [19:54:03] what's the proper way to instantiate a new Parser object? [19:54:03] Don't. Clone $wgParser. [19:54:03] k thanks [19:54:03] robchurch: ah, the million dollar question [19:54:03] A new Parser won't have any awareness of function hooks, etc. so extensions and so on won't render. [19:54:03] *VoiceOfAll learned that teh hard way [19:54:03] I'll answer it again if you give me a million dollars. [19:54:04] hehe [19:54:04] ;) [19:54:04] Pretty good value, I think. [19:54:04] $skin = $wgParser->getOptions()->getSkin(); [19:59:47] robchurch, I'm seeing the renameuser extersion [19:59:47] is what I'm doing... and it's saying i'm calling getSkin() on a non object now? [19:59:47] brion-office: http://www.bestsexycelebs.com/alexis_bledel/pictures/5.jpg [19:59:48] Is $wgParser->getOptions() returning a ParserOptions or some null or other odd value? [19:59:48] looks like null [19:59:48] 03(NEW) namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11008 normal; normal; Wikimedia: Bugzilla; (ice201) [19:59:48] 03(mod) namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11008 -easy (10robchur) [19:59:48] why would it be null.. [19:59:48] 03(mod) Default namespace aliases for ce projects (edit toolbar)(?) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11008 summary (10robchur) [19:59:48] im doing this from the execute function of a special page btw [19:59:48] robchurch, the patch doesn't run on my wiki , i've the following message on Special:Specialpages [19:59:48] <renameuser> [19:59:48] on this special page i've seen : [20:05:10] <renameuserold> [20:05:10] <renameusernew> [20:05:10] <renameuserreason> [20:05:10] What version of MediaWiki are you using? [20:05:10] <renameusermove> [20:05:10] 1.11 [20:05:10] robchurch, 1.11 [20:05:10] There is no 1.11, so I assume you mean the bleeding edge. Have you done an SVN up? [20:05:10] I download with svn [20:05:10] * MediaWiki: 1.11alpha (r24952) [20:05:11] * PHP: 5.2.3-1+b1 (cgi-fcgi) [20:05:11] * MySQL: 5.0.45-Debian_1-log [20:05:11] with my patch, all runs perfectly [20:05:11] Is there anything in any of your error logs? PHP, Apache error log? Maybe just a warning about something uninitialised? [20:10:47] Yes, I'm sure it does, but the point remains that at the moment, the bug isn't affecting anyone else. [20:10:47] not anyone [20:10:47] I've no apache error log [20:10:47] no warning [20:10:47] Gondin: what is this site for? [20:10:47] 03(NEW) open_basedir breaks use of external tidy - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11009 normal; normal; MediaWiki: General/Unknown; (ted) [20:10:47] *VoiceOfAll wonders why anyone would update from /trunk for anything other than a test wiki [20:10:47] VoiceOfAll: it makes fun :) [20:10:47] http://grondin.tuxfamily.org/index.php?title=Special:Specialpages [20:10:47] VoiceOfAll, http://grondin.tuxfamily.org/index.php?title=Special:Specialpages [20:10:47] brion-office: the image is sweet [20:10:47] <^demon|away> VoiceOfAll: I run out intranet's dev wiki on /trunk [20:10:47] register yourself and I'll give you bureaucrat permissions [20:10:47] <^demon|away> Now, the intranet production isn't /trunk, but dev is. [20:16:01] on Special:Specialpages I'm seeing [20:16:01] Pages spéciales réservées [20:16:01] * <renameuser> [20:16:01] Okay, so I am trying to make a site where users create one page for themselves (ie a user page) and cannot create other pages. The weird thing is that I want them to be the administrator of their page, and only their page. Plus, I would like that to include the ability to lock one area of their page, and leave the rest of their page editable. Is this possible? [20:16:01] (also I want there to be one part that even they cannot edit, and only sysop can) [20:16:02] Not by default. [20:16:02] MediaWiki is wiki software. Wikis are, by definition, openly editable. [20:16:02] 03aaron * r24961 10/trunk/extensions/ (Asksql/Asksql_body.php FlaggedRevs/FlaggedRevs.php): [20:16:02] *Wtf does askSQL not show as restricted? [20:16:02] *Declare permission global as such [20:16:02] RobChurch: do I clone wgParser just by calling global $wgParser? [20:16:02] So I would have to get pretty elbows deep into the programming, then? [20:16:02] No. [20:16:02] Do something like global $wgParser; $parser = clone $wgParser; [20:16:02] Hi [20:16:02] 04(REOPENED) Enable template inclusion from Commons (transclusion => interwiki templates, etc.) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4547 +comment (10rotemliss_public) [20:16:02] When editing an article I seem to have either no line breaks or double line breaks. How do I make single line breaks? :) [20:21:14] and another PHP feature rears it's head [20:21:15] *robchurch growls [20:21:15] frame|size doesn't work in images? :( [20:21:15] Simetrical: by "not by default" do you mean that it would involve a major rewrite of the software and I would be better off starting from the ground up? Or that it is just not easy, but doable? [20:21:15] http://mediawiki.pastey.net/72502 *hangs head in shame* [20:21:15] robchurch: |frame| is always the full size image in a thumbnail frame [20:21:15] Yeah, I just discovered that little gem. [20:21:15] RandomImage's size argument hasn't worked for a few generations. >:( [20:21:15] daaaaang, if you're willing to do a bunch of coding, you could do it, or look for an extension written by someone else. [20:21:15] 03(mod) Default namespace aliases for ce projects (edit toolbar)(?) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11008 +shell (10EN.WP.ST47) [20:21:15] I'm not sure it would even be terribly difficult at all. [20:21:15] A few lines in the right places, I should imagine. [20:21:15] *robchurch frowns [20:21:15] Don't think that requires shell. [20:21:15] Simetrical, okay, awesome then, do you know any particularly good places to look for extensions? [20:21:15] 03(mod) Default namespace aliases for ce projects (edit toolbar)(?) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11008 -shell (10robchur) [20:21:15] Not really. [20:25:58] okay! [20:25:58] thanks [20:25:58] mediawiki.org, Google. [20:25:58] thanks again for your help [20:25:59] Robchurg can you see RenameUser on my own wiki : [20:25:59] http://grondin.tuxfamily.org/index.php?title=Special:Specialpages [20:25:59] I'll give you bureaucrat rights [20:25:59] The extensions messages don't run [20:25:59] 03robchurch * r24962 10/trunk/extensions/RandomImage/ (README RandomImage.class.php): [20:25:59] * Fix complete breakage of the size option [20:25:59] * Simple wrapper for file existence check to avoid breaking things under 1.9 and below for no good reason [20:25:59] 04(REOPENED) bug in RenameUser extension for personal wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11007 +comment (10bertrand.grondin) [20:25:59] I regret, the new Renameuser patch doesn't run on two personnal wikis [20:25:59] I don't understand why, robchurch [20:25:59] 03(mod) Default namespace aliases for ce projects (edit toolbar)(?) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11008 (10EN.WP.ST47) [20:25:59] How do I make one page redirect to another? [20:25:59] tomin: #REDIRECT [[targetpage]] [20:25:59] thanks [20:25:59] how can i automatically add an extension code at the end of all existing article and category pages? [20:25:59] Monk33: "add an extension code"? [20:30:22] Duesentrieb: finally a reply :) i installed http://www.mediawiki.org/wiki/Extension:ArticleComments and i have to add at the end of all article pages to make it work [20:30:22] as i have 4500 articles already and my users are not into wiki to let them edit the page and add the code theirself in roder to add a comment [20:30:22] Monk33: use TalkHere instead. [20:30:22] checking. [20:30:22] 03magnusmanske * r24963 10/trunk/wiki2xml/php/xml2docbook_xml.php: Patch by Daniel Burckhardt [20:30:22] the problem is in the parserObject function.. i can call getOptions no problem [20:30:22] but not getSkin [20:30:23] what would cause a faulty getOptions call.. [20:30:23] robchurch [20:30:23] WHAT [20:30:23] would it be possible to run a username creation script of some sort? [20:30:23] I want to create bot usernames on multiple wikis [20:30:23] and I rather not do it one by one to the 200 wikis [20:30:23] wait for SUL [20:30:23] Duesentrieb: do you also know of a good forum extension btw? [20:30:23] it's more nearly 900 wikis [20:30:23] Duesentrieb I have a finite lifespan [20:30:23] Single user login is coming, it's very close. [20:30:23] robchurch aw [20:30:23] *Ryokou-no-Neko hugs you [20:34:42] Monk33: you mean real threads? LiquidThreads is under development. i don't know of another. [20:34:42] We don't have time to piss about with bots and scripts right now. [20:34:42] robchurch can you piss about with the few bugzilla posts I made [20:34:42] ohoh. baby alert. [20:34:42] robchurch: http://bugzilla.wikimedia.org/show_bug.cgi?id=10918 [20:34:42] omgSUL [20:34:42] *Misza13 won't buy it until he sees it [20:34:42] also http://bugzilla.wikimedia.org/show_bug.cgi?id=10863 too [20:34:42] also, define "very close" [20:34:42] Duesentrieb: trying http://www.mediawiki.org/wiki/Extension:MediaWiki_Bulletin_Board but there is no workaround anymore [20:34:42] About templates, can I make a template with optional parameters? I have a template that involves a list, but I would like it to be possible to skip some parameters, and for that part of the list to dissapear. [20:34:42] Use parameter defaults and/or ParserFunctions. [20:34:42] can anybody tell me why $wgParser->getOptions() is returning NULL? [20:34:42] because i'm ready to put my fist through a wall here [20:34:42] 03(mod) Linguistic error on the Polish "Wikipedia has a problem page" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10982 (10kaszanka1) [20:34:42] robchurch [20:34:42] http://mediawiki.pastey.net/72509 is my current special page body code [20:34:42] how ofthen are double redirect special pages updated? [20:34:42] could it be made so it is every 12 hours or something? [20:34:42] I just tried $wgParser->mOptions too and that returns null [20:34:42] When was the last update, according to the report page? [20:34:42] Simetrical, this might be easier than what I was saying earlier: Can I set it so that only the owner of a user page can edit it? [20:34:42] Yes, that should be a fairly trivial hook extension. [20:38:37] daaaaang, what robchurch said. [20:38:37] thanks! [20:38:37] Ryokou-no-Neko: Based on pure guesswork, combined with a little bit of an old conversation, and bearing in mind I haven't the ability to check this in any way, I'd guess that reports are updated on small wikis daily, and larger wikis either weekly or biweekly. [20:38:37] My memory stirs to say "Wednesdays and Saturdays", but I've no idea. Ask Tim Starling, I think he set up the cron jobs. [20:38:38] How about this question - is there another way to instantiate a Skin object without using a parser object [20:38:38] $wgUser->getSkin() [20:38:38] But if you're inside a parser hook, then *technically* that's not supposed to be done. [20:38:38] In practice, skin handling inside the parser is totally fubared anyway; we instantiate skins and bits and pieces, and it's pretty unreliable. [20:38:38] But since you normally use Skins for making links, and since that's inherited from Linker, it probably doesn't matter. [20:38:38] i just need to call makeLinkObj [20:38:38] exactly [20:38:38] all of our users are locked into MonoBook anyway, if that matters [20:38:38] Well, you might as well do $wgUser->getSkin() then [20:38:38] But don't tell anybody I said that, I'm supposed to go on about "best practices" [20:38:38] haha i appreciate that though, to a wonderful extent [20:38:38] 03(mod) Default namespace aliases for ce projects (edit toolbar)(?) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11008 (10ice201) [20:38:38] i just want to move on from this bit of code i need to write [20:38:38] I would surmise that the problem you're having is some very fucked-up deferred initialisation. [20:38:38] Right, I've just read your code, Aphelion; you don't need to get the skin from the parser at all. [20:38:38] You're in a special page. Just call $wgUser->getSkin(). [20:38:38] (You also wouldn't need to clone the parser to actually use it, you'd just use it; it resets itself between parse runs) [20:38:38] Note that rows in `recentchanges` are subject to being pruned when they get too old, so you might find data disappears over time, with the query you're using. [20:38:38] <^demon> Curiosity...I notice when you watchlist an article, that header text doesn't disappear. Is there a way we could set that notice to disappear after a predefined period? [20:45:08] 03(NEW) internationalization - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11010 15enhancement; normal; MediaWiki extensions: Renameuser; (bertrand.grondin) [20:45:08] 03(mod) internationalization - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11010 (10bertrand.grondin) [20:45:08] bonsoir [20:45:08] bonsoir greudin [20:49:12] I expect so. [20:49:53] All the sodding bug numbers look like binary code now. :( [20:51:20] lol [20:53:04] 03robchurch * r24964 10/trunk/extensions/Renameuser/SpecialRenameuser.i18n.php: (bug 11010) French localisation update, c/o Bertrand GRONDIN [20:53:26] 03(FIXED) internationalization - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11010 +comment (10robchur) [20:53:43] *robchurch frowns [20:56:48] fyi: I box CAN be at "load average: 3634.32, 4258.14, 5109.54" [20:56:53] I = A [20:57:39] crashed IO subsys then runned maaaany tasks waiting for io? [20:58:17] agaran: no idea. It's ''uptime'' of the Wikimedia toolserver. We're waiting for it to die or come back... [20:59:01] It had 0kB swap free. Currently at a whopping 8kB swap free. [20:59:12] siebrand: i see, cpu could produce load at most equall to cpu number [20:59:26] siebrand: swapping == wait for io [20:59:38] Does the recentchanges table only hold edits from a limited time frame? [20:59:54] $wgRCMaxAge [20:59:55] sometimes helps to add dedicated block device for swap only [21:00:49] is there a way then to get all of the articles from that database that were originated by a certain author? [21:00:52] the page table? [21:02:01] Probably the best you can do without introducing a custom tracking table (which would be the smart way) is to do some horrible nasty query against `revision`. [21:02:06] agaran: no idea how the admins configured the box. There's usually a lot of io to mysql boxes near it and local processing. CPU usage appears low. [21:02:49] horrible nasty queries i can do [21:03:35] siebrand: i see, that was only mine humble sugestions as i experienced problems with machines when swapping become difficult.. [21:04:19] agaran: funny thing is that running processes keep on doing their thing. Starting new processes is kind of hard, though... [21:06:39] robchurch: the problem is that the articles are all already there [21:06:39] so i can't go back now and make a tracking table [21:06:39] siebrand: so another point for io problems, or memory, in case swapping become io too, cannot read binary from drive [21:06:40] Well, you could, couldn't you - write a quick script that populates the thing? [21:06:40] siebrand: try run something that was already recently running and see if it responds faster (probably its in cache still) [21:06:40] true, true [21:07:20] SELECT page_namespace, page_title, rev_user_text [21:07:20] FROM revision [21:07:20] LEFT JOIN page ON rev_page = page_id [21:07:20] GROUP BY rev_page [21:07:20] HAVING MIN( page_id ) [21:09:07] oh slick [21:10:45] thank you so much [21:10:46] Run that once, whack the results into a table, and then just maintain the table with a couple of hooks. [21:10:46] Then it's a very simple query that takes almost no time. :) [21:10:48] definitely [21:11:26] The current schema doesn't keep track of which revision represents the first for a page in any way. [21:19:17] 03aaron * r24965 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage_body.php): *Fix key bug [21:21:27] robchurch: what was rev_parent_id ? [21:21:43] well, it's not used anyway [21:22:04] VoiceOfAll: i think the id of the revision the next rev was created from. i.e. the "fork point". [21:22:22] robchurch: haha, I adding "HAVING" recognition to the db a few months ago [21:22:26] that *could* be very useful. [21:23:04] yeah, with delete/merges and shit, it is needed [21:23:51] you could even make real branch/merge support with this. that would rock. though i can't think of a good interface for that. [21:23:58] people would still just copy&paste [21:24:47] 03(mod) bug in RenameUser extension for personal wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11007 (10bertrand.grondin) [21:33:54] Duesentrieb: I left some suggestions on the TalkHere discussion [21:38:01] 03raymond * r24966 10/trunk/phase3/includes/Linker.php: [21:38:01] Fix a regression from r24808: [21:38:01] PHP-Notice: 'Undefined variable:' [21:50:51] 03(NEW) InsertTags deletes trailing newline in Explorer - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11011 minor; normal; MediaWiki: Page editing; (gtisza) [21:51:09] Duesentrieb: grr, rollback acts odd [21:51:41] Undefined variable: revision in C:\Server\xampp\htdocs\MW\includes\Article.php on line 1475 [21:51:42] can I remove the flash from photobooth somehow? [21:51:42] oops wrong chan :D [22:11:02] rev_parent_id would have been used for blame maps, too. [22:11:20] Roman Nosov kicked off when brion kept it out of trunk until we got round to it, though, and we haven't heard from him since. [22:14:28] robchurch: is rollback spitting errors for you? [22:15:11] no [22:16:27] hi, someone found an interesting glitch here: http://www.hrwiki.org/index.php?title=concert&diff=490857&oldid=490854&rcid=446677 [22:17:39] robchurch: rollback a top edit by yourself [22:18:03] ah [22:19:16] robchurch, what do you make of this glitch? [22:19:27] 03aaron * r24967 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: *Use $dbkey instead of undefined var [22:19:35] VoiceOfAll: odd, no obvious apparent cause [22:20:10] at first I though it may have been flaggedrevs, but it stays when I turn it off, that hook call is making problems [22:21:13] I don't see how $revision could be undefined if the operation succeeded. [22:21:19] look at 1398 [22:21:28] though my article.php is modified, may be a bit off [22:21:43] if ( 0 != strcmp( $text, $oldtext ) ) { [22:21:52] Oh, I see. [22:21:59] the "else" subroutine does not define $revision [22:22:38] *robchurch yawns [22:22:54] *DeFender1031 feels neglected [22:25:05] what glitch? [22:26:20] VoiceOfAll, that revision fixed it, look at the last item here: http://www.hrwiki.org/index.php?title=concert&diff=prev&oldid=490854#Trivia [22:33:24] Hello i've got a problem with the ConfirmAccount extension. I did exactly what it said under setup. But the only thing i'm getting is an error message [22:34:08] I've searched allready but couldn't find an anwser/solution [22:34:47] The thing it strands on is this line: require( dirname(__FILE__) . '/../ExtensionFunctions.php' ); [22:38:24] Apparently, there is an extension that will make it so that only the user can edit their page, but I don't even know where to start looking for that. [22:38:42] I've been looking on MediaWiki for a good half-hour [22:38:59] any help please? [22:42:22] daaaaang: start here http://www.mediawiki.org/wiki/Category:Page_Access_Control_Extensions [22:42:34] or here http://www.mediawiki.org/wiki/Extension_Matrix [22:43:14] thank you so much! [22:43:58] daaaaang: well... where did you look first? perhaps a link would be helpfull there. [22:44:39] DeFender1031: looking... [22:45:00] Rint1988: do you have extensionfunctions? [22:45:32] grmbl. extensionfunctions etc should be in core [22:45:37] the file wasn't in the ConfimAccount package [22:45:42] along with i18n management for extensions, etc [22:45:48] you mean in the root of the wiki folder? [22:46:09] Rint1988: yes, some extensions rely on other extensions, or extra files. like, most notably, on ExtensionFunctions.php [22:46:37] it goes into the extension folder (directly, not in a subdirectory) [22:46:43] well it isn't in the root. What could be the reason for that... outdated Wiki install? [22:46:56] its not there because you didn't install it. [22:47:14] it's basically an extension itself. it just doesn't do anything by itslef. [22:47:44] ah ok. So the only thing i've got to do is to get me a wiki package and get that file from there? [22:47:47] the way those
tags are placed doesn't make any sense [22:48:47] or just search the extensions on the wiki page for extensionfunctions [22:48:50] Rint1988: it'S not in the wiki package. it's an extension. [22:49:03] you can get it from svn [22:49:18] some of those br tags too [22:50:03] ah ok that makes a hell of a lot sense ^^. Thx for this. Might searched for hours if i didn't knew that. A bit strange it doesn't come standard in the wiki package then [22:50:17] *then = though [23:05:01] VoiceOfAll, you see it? [23:08:23] yes, but the wikitext is crap too it seems [23:09:02] hmm, that's possible, but in what way? [23:11:48] I've tried to port over some simple templates from Wikipedia for use with my Mediawiki installation however even after resolving what I thought to be all the transclusion dependencies I'm still just getting a bunch of ugly jibberish. Am I overlooking something obvious? [23:11:52] you should have the space [23:12:21] if you have the consecutive bullets, it means "put each item in LI tags and wrap that in a UL tag set" [23:12:31] you can't have an
in the middle [23:12:47] the
started before the li [23:12:49] grahampage, you need ParserFunctions, and probably need to set $wgUseTidy = true; [23:13:14] I installed Cite.php, are there any other obvious ones? [23:15:01] im trying to use cite journal, web, book [23:15:08] THey all appear horribly mashed up [23:15:26] I've copied the templates from Wikipedia exactly [23:15:52] It is more than a styling issue its actually just outputting a bunch of wiki logic and crud [23:18:21] Jello... I'm back [23:18:22] I really doubt I'm missing any templates, so I'm looking to see what is required to get those working in Mediawiki. [23:18:23] I'm looking for post-spam mitigation suggestions, site is http://www.linuxtroubleshooting.com [23:18:30] Over the past couple of weeks, tons of article spam, mostly doing manual cleanup. [23:18:46] Quick question... maybe... lol [23:18:50] VoiceOfAll, ah, so it's our idiocy not your glitch? [23:19:30] I'm running MySQL 5.0.4.x. Would that some how cause me problems with the MATH Tex stuff on mediawiki? [23:19:33] DeFender1031: try using the Opera (tm) browser and editing the section, click preview, then use the XHTML validate feature [23:20:00] but even without doing that, the wikitext makes mismatched tags, and the software will not always catch that [23:20:07] fair enough. i leave in peace [23:20:44] mediawiki website recommends version 4 of mysql [23:21:14] although I've had no problems aside from this Tex stuff [23:34:18] 03(NEW) "redo" buttons, like the "undo" buttons, to re-revert good edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11012 15enhancement; normal; MediaWiki: Page editing; (an588) [23:36:13] Simetrical: where can I find ParserFunctions? [23:36:44] grahampage, Google works. [23:37:22] Sorry, I was looking I just couldn't find it [23:42:52] First hit at: http://www.google.com/search?q=ParserFunctions [23:43:38] Can you include a non-template page onto a page as if it were a template page? It doesn't have to be dynamic like templates are. [23:45:58] Hi. where is the Date format defined like on Newpages 09:29, 18 August 2007 ? [23:46:14] Simetrical: I'm sorry I'm in a state of confusion today! Thanks. [23:47:43] i can see timeAndDate and timestamp in includes/SpecialNewpages.php but not where it is defined [23:47:57] daaaaang, {{:Main Page}} works for the main namespace. For any other, just use the prefix, e.g., {{Help:MediaWiki}}. [23:49:50] great! thanks [23:51:03] re:API - does mediawiki 1.10.1 have built-in API? [23:51:23] I believe so, yes. [23:51:29] http://www.mediawiki.org/wiki/API [23:51:34] Actually, I'm almost positive. [23:51:43] this is it, correct? [23:51:46] But it's been months since it was released, so my memory may be failing. [23:51:50] Should be, I guess, yes. [23:51:56] *evil laughter* YES! [23:53:32] eh! found it. :) [23:55:45] Is there any way to display the number of articles in a particular category? [23:56:16] 03(mod) "redo" buttons, like the "undo" buttons, to re-revert good edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11012 +comment (10JSchulz_4587)