[00:02:46] how do you add a page to a category? [00:06:25] !categories | JediMaster: [00:06:25] --mwbot-- JediMaster:: http://www.mediawiki.org/wiki/Help:Categories [00:07:36] thanks, however the MainPage has a category at the bottom of the page, but when I go to edit it, there's no [[Category:whatever]] link in [00:08:09] JediMaster: any templates on the main page? [00:08:16] several [00:08:20] check them [00:11:12] bah, it really needs to have it there, but I don't want it showing on the front page, any ideas? [00:11:40] "it" being what? [00:11:50] template that is used on the main page [00:12:02] has a category, so the main page has inherited it too [00:12:05] could it be that i'm getting an error for a require_once on an extension because I am calling it at the end of localsettings? [00:12:10] then make the template not impose the category on pages it is included on [00:12:18] error is no such file.. so I doubt it.. [00:12:26] Duesentrieb: how do you do that? [00:12:36] Wiredtape: if it sais no such file, then there's no such file. [00:12:50] JediMaster: [00:12:59] ah, brilliant, thanks [00:13:02] Duesentrieb, ah.. but there is :) [00:13:09] yes... noinclude... *if* the category is for the template itself [00:13:22] JediMaster: the other handy one is ;) [00:14:09] Wiredtape: maybe it'S a simply typo, or relative vs absolute path, or relative to something else, etc. are you using $IP? not with single quotes, i hope? [00:14:16] astro76: thanks [00:16:12] Duesentrieb, am using $IP, have tried without.. am using double quotes.. umm.. yes, problem was simple typo :P (thanks for help..) -> and now another question.. I am getting a syntax error for unexpected end on the last line of my skin.. the only thing I added the made it start doing this was a small google ads script.. anyway this is connected to some skin error? [00:17:05] unexpected end of file is triggered by broken syntax, such as an unmatched { or ( or " [00:17:17] run the file through php -l [00:17:30] ok, thanks :) [00:20:47] Duesentrieb, php -l returns same error.. [00:25:09] Wiredtape: yes, of course, it's a syntax check :) [00:25:28] Wiredtape: it allows you to fix your syntax without reloading the page all the time [00:28:08] ok.. i've narrowed it down to the google ads code, and I can't see any problem there as far as php goes.. http://rafb.net/p/uxHMsl94.html is the code.. (and thanks Duesentrieb for the php -l hint) [00:28:35] dead link [00:29:09] sorry: big " l" -> http://rafb.net/p/uxHMsL94.html [00:31:12] Wiredtape: if i run just that code through php -l, it finds no errors. so you narrowsed it down to the wrong thing [00:31:34] Duesentrieb, if I take this code out of my skin, it runs.. [00:31:51] if it's in there I get the error [00:32:23] then maybe your is out of sync woith the rest of the code [00:33:16] well... I se a above it, and I see a ?> below it.. and so, i'm baffled.. [00:33:24] should I pastey the entire skin? [00:34:14] Wiredtape: http://pastebin.com/ [00:34:30] JediMaster, thx -> I prefer rafb.net :) [00:34:45] was just worried you were going to paste the whole script in here ;-) [00:34:46] 03dale * r30962 10/trunk/extensions/MetavidWiki/ (16 files in 6 dirs): updates for metadata inserts & interfaces for multi-file stream support [00:35:05] that would have been a mess ;-) [00:35:57] http://rafb.net/p/kwESDh54.html [00:36:29] what was the error again? [00:36:35] unexpected end of file? [00:36:41] yup.. [00:36:48] one sec [00:37:01] Wiredtape: no symtax errors detected. [00:37:01] and "supposedly" the culprit is the google ads code within cRight div.. [00:37:17] Duesentrieb, shall I give you the link to my site.. ? :-\ [00:37:31] no. php doesn't even look at anything that is not inside [00:37:33] i'm getting an unexpected end with php 5.2.5 [00:37:42] everything else is simply passed through litereally [00:37:52] Duesentrieb, what are you talking about? [00:38:30] there's nothing that should give that as far as I can see, the if/endif at the end is a bit horrid [00:38:39] i'm telling you that a syntax error can not be cause by a "text" part of a php page [00:38:44] /** [00:38:44] *Wiredtape Skin [00:38:44] */ [00:38:44] if( !defined( 'MEDIAWIKI' ) ) [00:38:56] hehe [00:39:33] *Duesentrieb kicks self [00:39:35] *Duesentrieb kicks clipboard [00:39:37] *Duesentrieb goes to sleep. [00:39:40] Duesentrieb, i am aware of that :) [00:40:06] JediMaster, which if/endif? [00:40:07] Wiredtape: anyway, the code you posed does not give an error with php 5.2.1 [00:40:26] line 357 to 362 - ick [00:40:28] I must say, I am baffled :-\ [00:40:42] it works, but ick [00:41:01] JediMaster, it's originally from monobook if you believe it.... [00:41:08] hehe [00:41:30] do you have a link to the wiki? [00:41:31] Duesentrieb, u think this might be caused by a difference between php 5.2.1 and 5.2.5? [00:41:39] not really [00:41:40] JediMaster, am making it live in a sec.. [00:41:49] not likely [00:41:57] maybe by some setting, like requireing something like that [00:42:31] line 314? [00:42:38] try [00:43:47] urghh! that was it :) [00:43:55] good guess Duesentrieb [00:44:03] *Duesentrieb waves [00:44:11] thanks Duesentrieb, and JediMaster :) [00:44:17] Hello, I need assistance in groking import-interwiki-text [00:44:56] MichaleR, not sure what u mean? [00:45:13] I'm reading the page Help:import_help [00:45:29] on mediawiki.org? [00:45:47] gar, no [00:46:17] ? [00:46:23] meta.wikimedia.org. [00:46:40] let me back up. I'd like to import the help pages [00:47:06] ok [00:47:16] as in the FAQ ...Why? section. [00:47:19] what's the problem..? [00:47:32] I'm not understanding a way to download them all as a batch. [00:47:57] Rather than open, copy source, open destination, paste source ... [00:48:11] !export [00:48:11] --mwbot-- To export pages from a wiki, navigate to Special:Export on the wiki, type in the names of the pages to export, and hit "export". See for an example of this form. See also: !import [00:48:18] go to special:export, and start typing the different pages you want to download and once you click export they will be sent to you as an xml file you will then be able to import [00:48:35] skizzers beat me to it :) with a rather simpler way of saying it :) [00:48:50] * Skizzerz [00:49:06] :P don't worry, I have them both on highlight :) [00:49:16] :) [00:49:28] Well geez, that's easy [00:54:28] Thank you for the clue stick [00:57:12] anyone mind giving me some design criticism between my current site skin, and some changes to it? http://en.wiredtape.com/wiki/ (any page other then mainpage) and.. http://69.251.192.171/mwtestver/Main_Page/bla [00:57:31] specifically i'm interested regarding the side portlets and the search.. [00:58:06] also the page actions (though they are pretty much the same in both.. [00:58:33] is there a nice easy quick special page to create new pages? [00:59:00] JediMaster, extension:CreateArticle [00:59:09] ta [00:59:10] doesn't need a special page [01:00:23] Is there a categorized listing of the extentions? or does one just wade through the full list? [01:00:47] MichaleR, there's categories and a list on mediawiki.org .. [01:00:52] hmm [01:02:10] MichaleR, there's categories and a list on mediawiki.org .. [01:03:40] I've found the list (if you mean Category:Extentions) but the categories are eluding me [01:03:58] wait stop, [01:04:31] not moving.. :) [01:05:01] I'd gone off to the matrix and missed everything below the first page. [01:05:22] It's right there hiding in plain site. [01:05:24] sight [01:07:06] What's the diff between wikimedia and mediawiki? [01:07:35] and regardless of the answer, thanks to all for having different icons [01:09:07] mediawiki is software, wikimedia is a foundation [01:53:54] rar Splarka [01:54:22] r [01:58:00] rar gang [01:58:19] I think the evil unicode encoder is done enough for testing [01:58:32] subst/gang/gangleri (wasn't talking to all yalls) [01:58:57] Hi Sparkla [01:59:20] Hi Splarka sorry for the misspelling [01:59:34] what abot the cloning? [02:01:08] ? [02:01:21] just booting [02:17:03] Is this the place to ask questions for MediaWIKI bugs, ect? [02:17:35] -for, +about [02:17:40] one of them [02:18:06] I'm getting a specific one for mine: Parse error: syntax error, unexpected T_STRING in C:\wamp\www\wiki\includes\Skin.php on line 173 [02:18:16] This pops up when going to the Main page. [02:19:09] Seven-7: what version of MediaWiki and what version of PHP do you have? [02:20:16] Should have said that first, one second. [02:21:38] PHP: 5.2.5, MW: 1.5.8 [02:21:49] uh... [02:22:09] since you have PHP 5, I recommend that you get mediawiki 1.11.1, the latest stable release [02:23:05] That version was pulled from RELEASE-NOTES.file. [02:23:08] you can download the files here: http://www.mediawiki.org/wiki/Download [02:23:10] Is that the correct place? [02:24:05] should be [02:24:50] anyway, get 1.11.1, it has many more features than 1.5.8 [02:27:52] Seven-7: you may also want to see http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.11 for some more info on upgrading (especially if the wiki already has articles, etc.) [02:30:42] Hmm. [02:30:43] any idea why a category that has several items in, when linked using [[Category:name]] always makes a link to edit the category page? [02:30:59] even though second category on the same page has a link that doesn't include action=edit [02:31:31] JediMaster: Does the category exist? [02:31:34] JediMaster: yes, but does the category page itself exist yet? [02:31:46] if it does not, then that's why you're getting action=edit [02:36:09] Nakon: yes, it had 3 pages linked and displaying when you click the edit link, but don#t worry after a little while it's just gone away [02:48:02] lol "If you want to remove the page from your watchlist later, click \"Unwatch\" in the sidebar." [02:48:29] that would be the classic skin sidebar I assume [02:49:21] {{sofixit}} [02:49:33] =) [02:50:26] http://en.wikipedia.org/w/index.php?title=MediaWiki:Addedwatchtext&diff=4032718&oldid=3825689 [02:51:46] that's the bad thing about the mediawiki namespace, MessagesEn.php doesn't get reviewed [02:52:35] well, what should it get revised to? ;) [02:53:03] huh, they actually removed the unwatched bit there [03:39:42] 03(mod) Identifier needed for MediaWiki generated pages in page source - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11988 (10oq9pscb02) [03:46:13] no need to shout [03:47:19] 03(mod) Identifier needed for MediaWiki generated pages in page source - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11988 (10overlordq) [03:48:50] *Splarka wonders what is wrong with [03:51:41] Everything [03:53:10] it is already in monobook, no reason it shouldn't be in all the skins (like page-Main_page is) [03:53:49] and then a if(document.getElementsById('body')[0].className.indexOf('mediawiki')==0) check will tell you.. [04:49:11] Hello all [04:49:26] Can somebody help me with an issue with template transclusion? [04:57:00] details? [04:59:19] I want to use a template for a piece of a table [04:59:50] but I do not obtain what I expect, but the template content outside the table [05:00:04] Is there any workaround? [05:00:58] there are two... [05:00:59] !tidy [05:00:59] --mwbot-- For more information about HTML Tidy, see . [05:01:14] which allows html tables to be split, eg in a template [05:01:17] the other is wikitables [05:01:29] http://en.wikipedia.org/wiki/Help:Table [05:03:31] I've searched a lot around, and saw that page, but maybe didn't understand it [05:03:47] I'm not english native speaker :) [05:03:52] Thanks, I'll try [05:04:06] hopefully I'm the admin [05:07:52] Splarka: setting $wgUseTidy=true; didn't help [05:08:15] hmm [05:09:11] maybe $wgRawHtml=true; interferred? [05:10:10] no, it does not interferred [05:10:26] I will need to resort to wikitables [05:13:04] Sparkla, $wgUseTidy=true; finally worked, thanks [05:13:08] many thanks [05:13:26] noprob [05:13:47] It was some other code in the page the one which interferred [05:14:13] should I advertise it in the transclusion help pages? [05:14:42] possibly [05:14:51] it is a common problem, people copying templates from wikipedia [05:15:08] Huh, I'm not doing that [05:15:29] right, but enwp has tidy and lots of templates rely on it [05:15:30] I'm documenting a project and use MediaWiki for that [05:15:53] and I have some repeated rows table after table [05:16:12] so I wanted a template for a row [05:16:17] thanks :) [05:38:00] http://meta.wikimedia.org/wiki/Help:Template#Templates_as_table_pieces [05:48:23] on my wiki, i want people to edit pages, only when they are logged in, can someone tell me how to do that? [05:51:23] !man Preventing_access | NickC [05:51:23] --mwbot-- NickC: http://www.mediawiki.org/wiki/Manual:Preventing_access [05:51:27] http://www.mediawiki.org/wiki/Help:User_rights [05:52:30] thank you everyone, checking now [06:04:41] Charitwo: pre-renick spam /part courtesy, please [06:32:06] before i change it, does mediawiki-1.6.10 work fine under php 5? [06:33:56] could there be a way to stop "block conflicts"? [06:34:20] http://en.wikinews.org/w/index.php?title=Special%3ALog&type=block&user=&page=User%3A76.247.222.101 [07:04:52] can someone help me find out what files i should edit [07:05:01] i want to create my own basic captcha system [07:05:22] on the registration page i want "2 + 3 = [textbox]" and the second page to validate it as part of the registration [07:06:14] !captcha | NickC [07:06:14] --mwbot-- NickC: For more information about CAPTCHAs and MediaWiki, see . [07:06:51] i already tried confirmedit and it has errors with the version of mediawiki and php i am suing [07:07:54] ah [07:08:21] :o suing PHP... may'be that's a little overboard... rofl... [07:08:26] haha [07:08:41] thats not overboard at all [07:09:04] wait... after scrolling back a bit, you're on PHP 5 ? [07:09:09] 4 [07:09:17] ah [07:09:31] i was thinking of changing to 5, but it messed up other things, so i didn't [07:13:31] Bah... [07:13:45] PHP4 is already past end of life [07:14:51] so what should i do for this custom captcha thing [07:14:54] You can use an old PHP4 version of MW, but you're not going to get much support from anone around here [07:15:04] well assuming the r21970 version of ConfirmEdit doesn't work for you, I'd say start tooling around with SpecialUserlogin.php [07:15:13] Especially for features which extensions have already been created for later versions [07:29:27] where is the php that creates the loginform [07:29:31] the actual textboxes [07:30:37] found it [07:33:17] What does wgPageName become after I invoke something like &action=edit? [07:34:42] Try it. :) [07:34:57] It shouldn't change. [07:35:04] Since you're still on the same page. [07:35:16] It seems to, my conditional block won't render [07:35:38] Spoonpilot: Look in the page source code; they're listed there. [07:36:52] Thanks, didn't see it there :) [07:37:23] Welcome. [07:57:18] What file could i find the navigation bar on the left's source code in? [07:57:39] edit the page called MediaWiki:Sidebar on the wiki itself [07:57:46] !sidebar [07:57:46] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [08:01:45] ok [08:01:47] thank you [08:15:00] 03raymond * r30964 10/trunk/phase3/ (RELEASE-NOTES languages/messages/MessagesLo.php): [08:15:00] Localisation updates Lao [08:15:00] (bug 12848) Add namespace translations [08:15:51] 03(FIXED) Namespace translations for Laos - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12848 +comment (10raimond.spekking) [08:19:15] 03(mod) Custom namespaces for Laos Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12847 (10raimond.spekking) [08:31:01] 03tbleher * r30963 10/trunk/phase3/includes/SpecialUpload.php: 'fileexists-thumb' doesn't take any parameter. [09:00:33] 03(NEW) Cannot upload from url source, in php 5.0.5 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13022 normal; normal; MediaWiki: Uploading; (anon.hui) [09:05:00] Hello. I have lot of troubles updating a 1.6.3 to 1.11.1. I already had this kind of problems : some tables are missing (archive, permissions stuff..). And the update script doesn't seem to handle those. Instead it crashes. and my db is fubared.. [09:05:13] this one wiki is not very big, but the data in it is very important. [09:05:26] i thought i could export all data, install a new wiki, and import the data. [09:05:43] but the export stuff seems to only know how to export a given list of pages, not 'all' [09:06:08] is there another way to export (serialize?) all data/history from such an old mediawiki ? [09:08:44] 03(mod) Cannot upload from url source, in php 5.0.5 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13022 +patch; +comment (10anon.hui) [09:10:37] Is there a reason why this if( ( wgPageName=='Main_Page') ) statement won't evaulate true?, pretty new to coding. [09:11:28] Spoonpilot: is wgPageName 'Main_Page'? [09:11:36] dont you need t use curly brackets? [09:12:02] I did, just for ease of reading :) [09:12:08] ah k [09:12:29] Trying to get a block of html to execute conditionally, execute if Main_Page, but it's not rendering at all [09:12:57] works for me, I go to http://en.wikipedia.org/wiki/Main_Page and paste into the address bar: javascript:if((wgPageName=='Main_Page')) alert('true') [09:13:19] ...execute html? [09:13:44] he means include [09:14:14] Include, yeah, I want to only include a few div's only on Main_Page in my template [09:14:45] are you waiting for document load? eg via addOnloadHook? [09:15:05] (the global variables like wgPageName are available when site and user scripts execute, but not the ) [09:15:16] TimStarling: Would you object to me fixing https://bugzilla.wikimedia.org/show_bug.cgi?id=10336? [09:15:41] That sounds logical [09:19:20] Spoonpilot: try something like this [09:19:22] if((wgPageName=='Main_Page')) addOnloadHook(augmentMainPage) [09:19:22] function augmentMainPage() { [09:19:22] document.getElementById('mydiv').innerHTML += '
' [09:19:22] } [09:19:41] and stick in a div with the matching ID, like
in the template [09:21:21] there is a lot you can do, like check if 'mydiv' exists first, use proper DOM instead of .innerHTML, and have it placed arbitrarily instead of relying on a wikicode element, but a quick example test is often informative [09:23:00] Thanks I'll have a look into it :) [09:25:41] is there a way to save/dump the content/history of a mediawiki independantly from sql ? [09:26:58] !dump [09:26:58] --mwbot-- For information on how to get dumps from Wikimedia Wikis, see http://meta.wikimedia.org/wiki/Data_dumps [09:27:01] erm [09:27:02] !backup [09:27:02] --mwbot-- http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [09:27:25] Werdna: thanks ! :) [09:28:28] xmldump with dumpBackup.php, seems to be what i want :) [09:28:44] indeed it is [09:28:48] but there's more to it than that [09:28:56] because dumpBackup only includes the content itself [09:29:05] users and such need to be backed up with database access [09:29:15] and uploaded files, very importantly. [09:29:32] i read this. i only care about content and history of content. i dont care about logs or users [09:29:47] uploaded files stay where they are, it's ok too i think. [09:30:14] i want to dump this really buggy installation, install from scratch and import. i dont even think there are actually uploaded files. [09:30:22] okay [09:30:24] well, have fun [09:30:28] let us know if you have any issues [09:30:38] even the 'update.php' script for this installation fails. [09:30:42] 03raymond * r30965 10/trunk/phase3/includes/SpecialUpload.php: Prettify upload form for RTL wikis [09:30:46] before i udpate i mean. [09:31:54] the dump seems to work [09:33:13] though there's a warning printed at the beginning (not to stderr) : Warning: Cannot modify header information - headers already sent by (output started at ....../wiki/extensions/SpecialPdf.php:123) in ..........wiki/maintenance/backup.inc on line 157 [09:33:21] ignore it. [09:33:30] i've removed it from the sql file [09:34:22] i'll finish tonight, need to leave now. But I think this solution is fine. [09:34:28] Werdna: thanks again. [09:58:38] <_wooz> lo [10:48:05] good day :-) [10:48:41] Q: is it possible to use images in the mediawiki:sidebar or are just text / links allowed? [10:49:49] now ive never tried with images but ive tried with adsense. [10:49:56] and the code was stripped out [10:50:09] so i had to manually add the code in the include file. [10:50:18] hmm I see, but that worked? [10:53:22] it worked a treat [10:53:46] although upgrades will be a problem [10:54:02] as that file will have to be done manually [10:55:09] hmm I'll try to find an alternative place for the screenshot thumbnail, sounds like the better option :-) thanks for you advice jimpy [10:56:02] any time [12:38:48] Hello [13:13:53] 03(NEW) Add new component LabeledSectionTransclusion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13023 15enhancement; normal; Wikimedia: Bugzilla; (raimond.spekking) [13:27:43] Hi, is it possible to influence which files are put into the Image and which to the Media namespaces after upload? [13:27:54] 03(NEW) LabeledSectionTransclusion: Localized tags do not work with new parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13024 major; high; MediaWiki extensions: General/Unknown; (raimond.spekking) [13:27:56] 03(mod) Enable new parser on Wikimedia (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12652 (10raimond.spekking) [13:27:59] Because starngely my wiki places .mp3s in Image [13:29:17] HACK]Gara[: Everything upload is available via both namespaces. [13:29:28] Image: links to the description page, Media: links directly to the file. [13:30:01] to put it differntly: all uploads are called "images". "Media:" is a pseudo namespace, it just changes the way the link works, not what it links to [13:30:06] it should really be [[file: ]] [13:30:13] (this solution sucks, btw, i wish it would go away) [13:30:33] ok, thanks [13:30:40] and the titles in that namespace should ignore the extensions [13:30:48] zocky: yes. and if you want to link to the file itself, it should be [[Special:Filepath/foo]]. No need for the [[Media:]] cruft. [13:31:24] i don't want foo.jpg, foo.png and foo.gif to be three different images [13:31:30] that's just silly on a wiki [13:31:59] it should really be [[Image:Foo]] or something, and it should work regardless of which format the image is in [13:32:59] 03(NEW) New parser function / magic word, for "pretty-printed" numbers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13025 15enhancement; normal; MediaWiki: Page rendering; (random832) [13:34:11] 03raymond * r30966 10/trunk/ (3 files in 2 dirs): Localisation updates German [13:34:25] zocky: yep. though the transition would be rather ricker for wikipedia & co. [13:34:40] there is {{#filepath:99 [13:34:49] s/99/}} [13:35:04] ialex: there is also Special:Filepath (more convenient for links) [13:35:25] Duesentrieb: right :) [13:37:19] 03(mod) New parser function / magic word, for "pretty-printed" numbers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13025 (10random832) [13:37:56] Mh, another question: [13:37:56] I'm running my wiki on a webspace I bound a united-domains TLD to. [13:37:56] Now, when I use URL-Hiding as a forwarding method (kinda like Wikipedia does it), the page shows correctly, but when I try to submit an edited page, I get a 'token_mismatch' error. This doesn't occur when I choose Frame-Forwarding as a redirect method. Any ideas? [13:48:14] is there any way I can write a template that contains an unordered list that could be used within an ordered list, or on its own? [13:50:52] 03grondin * r30967 10/trunk/extensions/ (6 files in 2 dirs): [13:50:52] Major release [13:50:52] *Add internationalization extension description message in [[Special:Version]] [13:50:52] *create new intenationalization file [13:50:52] *adding to Translate extension tool [13:58:34] cirwin: yes: use html syntax fro the list. [13:58:52] I'm having a barrel of issues trying to use wgPageName, even with addOnloadHook. Is there a better way I can determine what article/page is been fetched so I can create flexible skin code? [13:59:00] ok, maybe I made a mistake - I'll give it another go [13:59:07] cirwin: though i'm not sure if that will work "nested" in a list that uses wiki syntax. maybe it needs to be html all the way then. [13:59:32] that was the problem I think [13:59:49] Spoonpilot: if you mean JS code, then that is the correct way. [14:00:33] cirwin: another way would be to give the template an optional parameter containing a line-prefix [14:00:42] yes, I have considered that [14:00:48] cirwin: every line would then start with {{prefix}}*... [14:00:51] yes [14:00:55] I just want to render extra 'blocks' of html code if Main_Page, I'm doing that by using wgPageName in a conditional statement..obviously not working [14:00:56] should work too. not soo pretty [14:01:09] is there a bug I can add to to get it to remember the list context in templates? [14:01:26] Spoonpilot: are you talking about javascript code, or php code? [14:01:37] php [14:01:38] Spoonpilot: where do you put your code? [14:01:46] Skin files [14:01:55] but wgPageName is not a php variable, is it? [14:02:06] you'd wat $wgTitle, proably. [14:02:11] and make sure to global it first [14:02:21] thank Duesentrieb [14:02:28] and $wgTitle is an *object* [14:02:35] you need to fetch the individual parts of the name from it [14:02:56] you'd probably want getPrefixedDbKey or something like that [14:03:26] Interesting, I'll see what I can figure out, thank you. [14:12:06] 03(mod) Ability to retrieve forgotten usernames - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13015 (10t.laqua) [14:23:04] is there a quick way to get the top 10 categories in a wiki based simply on the number of articles [14:24:58] also, is there an easy way to eradicate an entire category? [14:25:40] eradicate how? [14:25:53] top 10 categories... hm, in the database, it's not hard... [14:26:42] ah, here we go: top categories are at Special:Mostlinkedcategories [14:27:59] ah thanks [14:29:44] eradicate as in get rid of it quickly as opposed to going into every single article with a category link and deleting them [14:30:24] delete the category, or all pages in the category? anyway, there's not good solution either way, i'm afraid [14:31:00] categories "exist" as long as they are lined from article text. and there is no mass-editing facility. [14:32:32] 03grondin * r30968 10/trunk/extensions/Translate/MessageGroups.php: Marks 14 News extensions messages into facultative [14:53:18] 03grondin * r30969 10/trunk/extensions/Patroller/ (Patroller.i18n.php Patroller.php): Add internationalization extension description message in [[Special:Version]] [14:56:07] I would like to know more about the way mediawiki breaks down categorized pages into alphabetical chunks [14:56:29] I am trying to categorize items by year, and then have them listed by month [14:56:41] like 01, 02, 03 etc. [14:56:53] can anyone point me at anything useful? [14:58:05] hat is useful?~w [14:59:18] hat be good [14:59:43] easy way to switch one character breakdown into two characters? [15:02:04] 03grondin * r30970 10/trunk/extensions/PasswordReset/ (PasswordReset.i18n.php PasswordReset.php): Add internationalization extension description message in [[Special:Version]] [15:13:14] 03grondin * r30971 10/trunk/extensions/PdfHandler/ (PdfHandler.i18n.php PdfHandler.php): Add internationalization extension description message in [[Special:Version]] [15:37:58] For example, order by date in a category would be nice... how do I set that? [15:38:17] my company is running version 1.5rc4 and would like to upgrade to the latest 1.11.1, can we upgrade directly to that version or do we have to upgrade to intermediate versions [15:38:35] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10cyp) [15:45:28] TimStarling: http://test.wikipedia.org/w/index.php?title=Special:Log&limit=1&offset=188&type=rights&user=&page=&pattern= - what does it mean? [15:49:28] 03(NEW) Wrong timestamp format in Postgres - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13026 15enhancement; normal; MediaWiki: Database; (dwilches) [15:51:22] Is it possible to make a template calulate something? [15:51:22] I need to take a parameter called {{{Number}}} defined on inclusion of the template and multiply it by 56 [15:54:11] HACK]Gara[: it's possible with parserfunctions [15:54:16] ! parserfunctions [15:54:20] 03(mod) Documentation is out of date, incomplete - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1 +comment (10digira) [15:54:21] oops [15:54:27] !parserfunctions [15:54:27] --mwbot-- "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [15:55:26] So, the core build doesn't have this functionality? [15:55:50] no [15:55:52] ah, ok, i thought it was an extension [15:56:25] Parser function is an extension [15:56:56] hm [15:56:58] k [15:57:33] see the message from mwbot [16:19:02] 03(NEW) Blocked IPs aren't blocked when the user logs out. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13027 04BLOCKER; normal; MediaWiki: Blocking; (muhfugga) [17:00:01] 03(NEW) error with the parser function with CategoryTree - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13028 04CRIT; high; MediaWiki extensions: CategoryTree; (professorminh) [17:08:57] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10voyagerfan5761) [17:15:40] 03yaron * r30972 10/trunk/extensions/SemanticForms/includes/SF_TemplateField.inc: [17:15:40] Replaced with #ask function in template generated, if version of SMW [17:15:40] supports it [17:16:59] 03yaron * r30973 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: [17:16:59] Fixes for settings of 'rows', 'cols' and list attribute for autocompletion [17:16:59] field with various configuration combinations [17:17:55] 03yaron * r30974 10/trunk/extensions/SemanticForms/skins/SF_yui_autocompletion.css: Added overriding of some CSS values coming from YUI [17:18:15] 03yaron * r30975 10/trunk/extensions/SemanticForms/ (INSTALL includes/SF_GlobalFunctions.php): New version: 0.9.5 [17:23:45] G'morning.. i'm looking for a way to make a commonPrint.css specific for skin... [17:24:22] nm, i've figured it out :) [17:40:12] is there any reason why the logo shouldn't appear on a printable version..? (printable=yes) [17:41:47] 03yaron * r30976 10/trunk/extensions/SemanticForms/includes/SF_TemplateField.inc: Fixed check of whether current SMW version supports #ask [17:41:50] Wiredtape: because colomn-one (left navigation colomn) is not supposed to be in printable version? [17:42:54] VasilievVV, (this is for my own skin), where does it get disabled for printable=yes? not in the skin as far as I can see.. [17:43:16] printable is a seperate skin [17:43:27] it's not a skin, but a kind of [17:44:12] hmm.. is there a way to make it skin specific.. (so for instance, all of the other skins remain the same in terms of no logo)? [17:44:20] logo appearance that is.. [17:50:02] where is printable "skin" defined? [17:56:15] What was that, I came in the middle of it [17:57:30] hey aBSDaemon, I had noticed that on printable versions of a skin the logo disappears, on my own skin I want the logo to remain.. and VasilievVV said that it is defined in a seperate "printable skin".. i am looking for it.. [17:58:06] just a second, I ran across that file yesterday [17:58:21] I am thinking it would be smart to add a localsettings $wgPrintLogo = {skin, true;} for custom skins.. [17:59:00] aBSDaemon, thx, how's your site going btw? [17:59:41] Well, running into rendering problems. Breadcrumbs only works in FF [18:00:00] Wiredtape: i've no idea how printable works. lemme check [18:00:35] It seems to be some rendering option [18:01:08] aBSDaemon, you should take a look at what I am considering doing (a rework of the way title's display.. ) http://en.wiredtape.com/wiki/Wiredtape:Community_Portal - as we probably have similar needs.. [18:01:27] VasilievVV, thx.. is there an option to set it differently? [18:01:33] yes [18:01:39] ?printable=1 [18:02:26] e.g. http://en.wiredtape.com/wiki/Special:Version?printable=1 [18:03:04] oh... it's not a skin [18:03:09] http://en.wiredtape.com/wiki/Special:Version?printable=1&useskin=monobook [18:03:21] VasilievVV, hmm... so how would I make it a permanent thing whenever someone clicks for printable ver.. [18:03:28] also, where are you looking at? [18:04:00] $tpl->set( 'printable', $wgRequest->getBool( 'printable' ) ); [18:04:04] Wiredtape: Yeah, very similar needs. [18:04:06] (from SkinTemplate.php) [18:05:39] VasilievVV, any thoughts regarding making any printable request point to =1? [18:05:44] I got a similar question, I need a tab to only display on certain categories. It's added via SkinTemplate, any idea how to grab it to say. IF Cat=xyz {do this}else{do nothing} [18:05:54] just need to grab the category [18:06:14] aBSDaemon, did you hack SkinTemplate or use an extension to do it? [18:06:30] if you use an extension, you can grab article title and check for cat=xyz [18:06:36] and then make tab or not.. [18:07:00] if you hacked SkinTemplate, it would be more of a problem to get $wgTitle [18:10:27] Hacked skin template. I can get the Title fine [18:13:11] or $wgTitle actually [18:13:46] so you know how to make the check? [18:20:27] btw, if anyone has noticed -