[00:11:59] *kanguin new to commons and need my upload Image:King Tewodros II.png checked for proper licensing [00:47:51] *Schroeder2 blasts the 1980 BRIDGEMEN DRUM & BUGLE CORPS of BAYONNE, NEW JERSEY [00:52:36] what is the difference between wgTitle->getText() and wgTitle->getPrefixedText()? [00:52:49] if you can point me to the source file, that will help too [01:01:56] anyone here who knows the difference between the getText() and getPrefixedText() functions for wgTitle? [01:02:32] are the different revisions of some specific page saved in the database as complete pages or as diffs? i'm just wondering how much it would help to regularly clean the revision history in order to get the database size down. [01:07:14] thisislobo, getText() returns the text of the title. getPrefixedText() returns the text of the title with the namespace prefix, if applicable, e.g., "Wikipedia:Reliable sources" instead of just "Reliable sources". Isn't this in the comments? [01:07:48] khatahn, as complete pages. Optionally compression can be used, in which case they don't take up any more space than diffs, because the compression chops out the repeated parts. [01:08:46] Simetrical: interesting, is that simply a mediawiki configuration option? [01:09:01] khatahn, it may be a little complicated to set up, I'm not sure. Never tried it. [01:10:44] 03rainman * r26861 10/branches/lucene-search-2.1/ (23 files in 10 dirs): Index subdivision: allow indexes split by namespace to be further split. [01:11:52] Simetrical, thanks! [01:12:03] i was searching for the documentation and couldn't find it [01:12:19] which file in includes/ has this function defined? [01:12:21] thisislobo, documentation is in the code comments, in this case in Title.php. [01:12:29] ok...thanks much! [01:12:43] Generally classes are defined in a file with the same name as a class, although there are exceptions. [01:12:51] s/as a/as the/ [01:13:03] If you're unsure, you can just grep for "function getPrefixedText" or such. [01:14:56] yes...but i use windows :( [01:15:02] but this helps.. thanks! [01:15:30] grep is an invaluable programming tool. When I used Windows, I got a port of it. [01:15:36] Highly recommended. [01:16:07] Actually I think Windows search can be persuaded to act like grep, regexes and all, but I don't know how to do that, and also it doesn't conveniently print out all the lines or anything. [01:17:23] windows search sucks [01:17:33] it doesnt even search content within php files [01:17:49] and i use eclipse...i don't think that has grep like functionality either [01:18:14] Install a grep port and use cmd.exe. Or use Cygwin with bash. [01:18:26] 03(NEW) Better title for results pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11721 trivial; lowest; MediaWiki: API; (jidanni) [01:18:32] I think Windows search can actually be persuaded to be fairly useful, as I say, but I've never tried it. [01:18:38] I use Linux for my desktop now anyway. [01:18:45] more power to you! [01:21:30] on Wikipedia, there are (or used to be) several pages with forms where you would enter a page title in the form, click the button, and you would be brought to that page [01:21:36] however, I can't think of any offhand [01:21:43] and I'd like to see an example so I know how to do it [01:21:46] can anyone think of one? [01:23:19] Isn't that the Inputbox extension? [01:23:28] *Simetrical vaguely recalls it can be made to be an extra search box [01:34:08] ahh, yes, thanks [01:43:11] yo [02:20:48] what exactly does the maintenance script "deleteOrphanedRevisions.php" do? it says "Maintenance script to delete revisions which refer to a nonexisting page", but i'm not quite sure what that means. [02:45:52] http://www.tristatewiki.com [02:52:16] Schroeder2: any reason for the most recent post? [02:53:59] it's a Mediawiki installation [02:54:25] true [02:54:42] you should come up with a more creative name for your main page or remove the h1 [02:54:45] it's ugly [02:55:13] I've tried to figure out how to do that [02:59:42] sorry, it's controlled in [[MediaWiki:Common.css]] [03:00:23] or really Monobook.css; see http://en.wikipedia.org/wiki/MediaWiki:Monobook.css [03:26:50] 03(mod) Rename namespaces in Malay wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9907 (10N/A) [04:00:16] I've installed mediawiki locally and have edited interwiki.sql - do I need to do anything to make my changes take effect? [04:22:08] oh, cool, my wiki's in the process of getting spidered by Google as we speak [04:53:38] I've installed mediawiki locally and have edited interwiki.sql - do I need to do anything to make my changes take effect? [04:57:20] Aloha folks, two new extensions, specifically to support microformats and posh output... [04:57:26] http://www.mediawiki.org/wiki/Extension:ExtendAnchorTags [04:57:41] http://www.mediawiki.org/wiki/Extension:EnableAbbrTags [05:27:06] Why isn't w: included in interwiki.sql? [05:38:41] 03(mod) b: doesn't work from Wikibooks; neither n: from Wikinews nor q: from Wikiquote (etc. s:, wikt: future c:) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=955 (10oldakquill) [05:42:27] 03(mod) b: doesn't work from Wikibooks; neither n: from Wikinews nor q: from Wikiquote (etc. s:, wikt: future c:) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=955 (10oldakquill) [06:44:58] <_wooz> ol [06:45:00] <_wooz> lo [07:04:20] anyon awake? [07:06:50] plenty of people are [07:14:04] i have a little problem which makes me crazy. noone can help [07:14:19] http://de.wikipedia.org/wiki/Benutzer:Forrester/Antiverwirr <<<< you see this? [07:14:22] Forrester: tell us your problem [07:14:42] {{{1}}} <<<< why is only this f*** there? [07:15:01] it should me more (see http://de.wikipedia.org/wiki/Vorlage:Datei%C3%BCberpr%C3%BCfung/%C3%9Cberpr%C3%BCft) [07:15:02] Forrester: I see only an empty page [07:15:17] VasilievVV: look right and above [07:19:12] Forrester: fixed [07:20:22] OMG! [07:20:25] thank you! [07:20:33] nvm [07:20:56] really great [07:22:02] How are wikitext links of the form [[X:Y]] handled? By the parser? (what separates out X and Y into separate strings?) [07:33:49] *MinuteElectron gives the evils to catrope. [07:34:12] MinuteElectron: why? [07:35:03] He submitted the ChangeAuthor extension, I had that on my to-do list and a tiny shell made up. [07:35:11] lol [07:37:14] VasilievVV: next question? [07:38:09] Forrester: don't ask to ask, just ask [07:38:39] VasilievVV: 13:28, 28. Sep. 2007 <<< why i it not linking to the topic "Dateiversionen" (see at the very end of http://de.wikipedia.org/wiki/Bild:Ronaldhofstaetter.jpg ) [07:40:23] Forrester: use #filehistory [07:40:58] MinuteElectron: we talked yesterday about extensions. He said that he forgot to commit it [07:41:04] VasilievVV: lol. thanks again! [07:41:14] heh [07:42:54] 03(NEW) "Unprotect" tab not capitalized - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11722 trivial; lowest; MediaWiki: User interface; (rtslord) [08:02:10] OldakQuill: Title::secureAndSplit [09:43:37] 03(NEW) Maillinglist for Wikimedia Sweden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11723 15enhancement; normal; Wikimedia: Mailing lists; (to.joakim) [10:30:51] VasilievVV: ping [10:31:07] Forrester: I'm here [10:53:05] what is mlmw? [10:53:28] oh, multilingual mediawiki [10:53:46] fancy [10:53:49] extension? [10:56:01] Werdna: branch [11:09:06] Hello, I have a problem with uploading images. I'm running Mediawiki 1.11.0, HP 5.1.4 and I did everything mentioned in manual to enable image-uploading with no effect (setting the images directory to be writeable, uncommenting $wgEnableUploads = true;). Can somebody help me? [11:09:57] p360t: what happens when you try? there's no upload link at all? [11:10:57] Actually, nothing happens. The page just blinks once with no information about uploading - no error message, no file stored in images directory... [11:11:26] p369t, which page? [11:11:37] Have you gone to Special:Upload ? [11:12:03] yes [11:13:09] And Special:Imagelist is still empty [11:13:24] it is sth like Special:Upload in wikipedia. isn't it? [11:15:12] I tried Special:Upload [11:15:51] p360, What do you mean it blinks [11:16:13] p360, Doesn't it have upload form? [11:17:17] blinks = reloads [11:17:24] or refreshes [11:20:14] hmm, I have never seen such this thing. I think it might be some problems with your server cofiguration [11:20:58] I'm not skillful in system administration. I feel it posts nothing to Special:Upload so it apears again [11:21:08] Post variables must be empty [11:25:48] Ok, thanks for your time... I'll try another webserver. [11:26:23] i want to use the mediawiki user authentification for a website which has a wiki included - could someone give me a hint how to realize this? [11:27:55] Dr_Jekyll: uh, what? [11:28:50] Dr_Jekyll: your website includes what kind of wiki? and you want to use which user accounts where to identify users? [11:32:18] i have a mediawiki - this wiki is inside of a "portal" and in this portal i want to use the wiki-user-rights e.g. for adding news to the startpage if i'm admin - if not this should be read only...hope you understand what i try to do [11:32:51] @ Duesentrieb [11:37:05] 03(NEW) Update for Swedish localisation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11724 15enhancement; normal; MediaWiki: Internationalization; (lejonel) [11:47:30] Dr_Jekyll: so you want to use the user authentification of the mw outside of the context of it. [11:47:41] Dr_Jekyll: am i right? [11:48:58] PunkRock: yes, i try to authenticate the portal user with the users registered at the mw [11:50:19] Dr_Jekyll: it's possible, but you have to use the MW Api. and it could be a hard thing to find out which stuff you have to include. but after that.... [11:51:49] PunkRock: i can imagine that it will be hard to figure out what to include - i have already looked... [11:52:06] 03(NEW) Author and Index namespace for Swedish Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11725 15enhancement; normal; Wikimedia: General/Unknown; (lejonel) [11:52:36] Dr_Jekyll: i once wrote a install script for the mw where i had to fight with that. [11:53:01] Dr_Jekyll: if you want, i can give you the includes and defines that you need. [11:53:49] ... but i didn't used the user auth api. you have to find out how thats working for yourself [11:53:55] PunkRock this would be more i hoped to find here...but i must be silly to say "no" ;) [11:56:30] PunkRock: wrong: to say "no" --> right: if i say "no" [11:58:12] Dr_Jekyll: i'll paste it at pastey [12:02:20] Dr_Jekyll: actually, checking a login against the user db of mediawiki is simply, and getting the groups assigned to a user is trivial. [12:02:31] getting the permissions assigned to groups by mediawiki is not so easy. [12:02:45] sharing sessions with mediawiki is really tricky. [12:03:11] maybe consider using the OpenID plugin for mediawiki [12:03:42] openid id designed for this type of thing - though i have never used it and don't know the details. [12:04:24] Duesentrieb thank you, i will have a look at this [12:04:32] I want to make it so that a script (an IntelliTXT script) only runs when users are NOT logged in. [12:04:39] How would I go about doing that? [12:05:17] GoldChaos: that's javascript, yes? [12:06:57] GoldChaos: in the head of every wiki page, there's a bung of js variables set for use by custom script. one of them is wgUserName. It will be null for anonymous users. [12:07:04] *bunch [12:07:04] PunkRock now i know what i do today...thx [12:07:31] have fun Dr_Jekyll [12:07:42] Alrighty. And just use an if statement for it? [12:08:07] yep [12:08:22] This can also be used in the body, I'm assuming - which is where the script is. [12:08:38] yes. uh... learn javascript, perhaps :) [12:08:48] Nah, not enough time ;) [12:09:07] *GoldChaos is content with HTML and a little php. [12:09:55] In any case, one more question... [12:10:18] *Werdna knows javascript [12:10:20] It seems that templates that should not be expanded unless an area is filled in are, in fact, being expanded without areas being filled in. [12:10:23] the sexiest language of hem alllllll [12:10:31] uargh [12:10:33] http://zeldawiki.org/The_Legend_of_Zelda:_Phantom_Hourglass <--- Example. [12:10:33] actually it sucks [12:10:37] perl is better [12:10:38] but still [12:10:52] it's even getting worse .... [12:11:21] hehe [12:11:21] So, how could I fix it so that the templates DON'T expand stupidly like that? [12:11:28] the sexiest language [12:11:54] i must take a pic of that and put it next to my screen [12:14:00] darn: Fatal error: Call to a member function isTalkPage() on a non-object in xxxxxx on line 192 [12:14:24] what is wgTitle set to? [12:14:26] ...that's not on my wiki, is it? [12:14:51] nope [12:14:57] thats in my bot. [12:14:57] oh, good [12:15:15] Bah. I guess the stupid template thing won't get fixed. [12:19:11] 02hi [12:19:41] 02I'm trying to find on mediawiki docs something about how show differences is implemented [12:20:01] 02can someone help me? [12:20:28] what do you mean by implemented? [12:21:24] 02I mean... how it works, actually, the ideas and algorithms, not the actual code [12:21:43] it should be the 'normal' unix style diff tool that is used. [12:22:51] 02thanks, do you know where I can read about normal diff tool? I try to google it, but got a lot of unrelated links [12:22:52] Osias: drop the colors [12:23:12] ok, but why? [12:23:23] why not use coors? [12:23:29] colors*? [12:23:50] ...? [12:24:29] 1: there is no need for colored text like that, 2: it makes some unable to see what you write [12:25:46] I just would like to see my own text highlighted [12:26:57] I'm trying to create an interlanguage diff [12:27:02] for wikipedia [12:27:23] does anybody know about any project about that? [12:32:01] *Osias tests [12:42:23] PunkRock, do you know any interlanguage comparator? [12:49:31] 03(NEW) Special:Imagelist returns blank page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11726 normal; normal; MediaWiki: Uploading; (echo53) [12:58:33] 03(mod) Create mailing list for Wikimedia Sweden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11723 +shell; summary (10robchur) [13:29:25] PunkRock: are you still here? it seems to work so far...it's all included...but now it tells me this --> Class 'Skin' not found in includes\SkinTemplate.php on line 73 [13:32:02] and i don'know how to resolve this - i'm a php nerd :/ [13:33:47] Dr_Jekyll: you have to include Skin.php [13:34:51] hm..let me try... [13:40:02] 03(mod) Update Namespace translations on Galician Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11716 summary; +comment (10ubuntu) [13:43:21] How can I safely get an '&' into a titlename? [13:43:50] Using importTextFile has resulted in some nastyness... [13:45:43] i.e "D&R (military)", but when a user clicks on this, they get page "D" [13:45:44] [14:04:05] 03(NEW) PLURAL in "historysize" message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11727 15enhancement; normal; MediaWiki: Internationalization; (alexander.sigachov) [14:07:43] 03(NEW) Enhanced watchlist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11728 15enhancement; normal; MediaWiki: Special pages; (FT2.wiki) [14:12:36] 03(mod) Enhanced watchlist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11728 (10jayvdb) [14:14:27] 03(NEW) space in external links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11729 15enhancement; normal; MediaWiki: Special pages; (lambdav) [14:19:48] Hi! I domnloaded the latest stable MediaWiki yesterday, and I can't find a bunch of the SVG options I need to allow SVG according to the wiki. For example there is no $wgFileExtensions in my LocalSettings.php :/ [14:20:09] they're in includes/DefaultSettings.php, you need to copy them to localsettings and edit [14:20:48] I see... I need to copy them option by option? Where in the LocalSettings.php do I put them? [14:20:57] at the end is usually a good place [14:21:17] Okay, thanks. :) [14:28:15] 03(NEW) Use $separatorTransformTable in convertPlural - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11730 15enhancement; normal; MediaWiki: Internationalization; (alexander.sigachov) [14:32:33] 03(mod) space in external links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11729 +comment (10alexander.sigachov) [14:36:38] 03(NEW) LanguageHy cleanup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11731 15enhancement; normal; MediaWiki: Internationalization; (alexander.sigachov) [14:44:32] 03(WONTFIX) Update Namespace translations on Galician Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11716 +comment (10siebrand) [14:46:20] 03(mod) PLURAL in "historysize" message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11727 +comment (10niklas.laxstrom) [14:46:36] 03(mod) space in external links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11729 (10lambdav) [14:47:34] 03(mod) LanguageHy cleanup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11731 +patch (10alexander.sigachov) [14:47:43] 03(mod) Use $separatorTransformTable in convertPlural - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11730 +patch (10alexander.sigachov) [14:48:03] 03(mod) PLURAL in "historysize" message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11727 +patch (10alexander.sigachov) [15:02:53] 14(WFM) Extended toolbar bug in Opera - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7211 (10alexander.sigachov) [15:13:36] hm. URI::getExtraNamespace (34) Namespace 0 has no corresponding Namespace definition. Assuming it is Null. [15:25:24] 03(NEW) Allow localization of edit button images in LanguageXYZ. php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11732 15enhancement; normal; MediaWiki: Internationalization; (Eugene.Zelenko) [15:25:29] Is there some simple blog extension for mediawiki? I'm not looking for integrations of big blog systems into the wiki. I just need a simple blog function that would make it easier for people to post comment for each page.. Possibly something that would use mediawikis build in talk functionality.. [15:28:40] <_wired> to transclude the list of all files uploaded.. i just need to do {{Special:Imagelist}} right? why does it show a link to Special:Imagelist instead? [15:32:47] 03rotem * r26862 10/trunk/phase3/includes/WatchlistEditor.php: Standard links, using subpage rather than the action parameter. [15:33:13] 03(mod) space in external links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11729 (10robchur) [15:43:58] has someone in here an idea how to get really verbose error messages, if something fails on inserting data with Article doEdit? [15:56:50] hey RoanKattouw [15:56:57] Hey PunkRock [15:58:29] i am still stuck with this Internal Error. [15:58:40] drives me nuts. [16:02:58] ok. the error that occurs must be caused on at least one of my hooks. how can i find out where? [16:08:11] PunkRock what is the error message? [16:12:05] 03(mod) space in external links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11729 (10lambdav) [16:12:10] Internal error agan. [16:12:13] +i [16:12:29] but ... the script runs fine if i leave my extension out. [16:13:51] i was somehow convinced that it is normally displayed if a hook does not return save. [16:19:38] PunkRock what does your hook return? [16:19:41] True, I hope? [16:21:44] if anythings fine yes. else i return a error string. [16:21:48] 03catrope * r26863 10/trunk/extensions/ChangeAuthor/ (4 files): ChangeAuthor: Adding GPL v3 header, updating README [16:22:05] like it should be done, right? [16:22:18] Yup, that's the way [16:22:23] it's on articlesave [16:22:50] PunkRock can you do that $wgOut->output() trick again I recommended yesterday? [16:23:17] 03river * r26864 10/trunk/tools/addlog/ (. Makefile addlog.py): tool to update the toolserver maintenance log from the command line [16:23:25] yes. i do that. [16:23:36] And still you get only an internal error? [16:23:42] yep. [16:24:02] it prints Internal Error on the html ouput page. [16:24:21] Set the following in LocalSettings.php: [16:24:22] $wgShowSQLErrors = true; [16:24:24] $wgDebugDumpSql = true; [16:24:44] on my way [16:25:42] both were already set. [16:25:53] Hmm [16:26:16] i thought that it's maybe a good idea to add some wfDebug messages on my functions [16:26:17] You're sure that it happens somewhere in your hooks then? [16:26:22] yep [16:26:43] if i comment them out, the articles are added without trouble. [16:26:46] Try to have each hook $wgOut->addHTML() a message at the beginning and the end [16:26:59] And see which hook does report its beginning but not its end [16:27:08] Then you've singled out which hook it is [16:27:17] i already got it. [16:27:32] i commented all out and tried with the first and got a hit. [16:27:51] if it's in it crashes. [16:28:10] so it's no up to find out at which point it crashes. [16:28:45] Yep [16:29:33] erm. [16:29:38] /no/now/ [16:59:27] what extension would you suggest for restricting registering to wiki by email address and force users to validate the email address before activating the user account? [16:59:51] i guess if i just found some good email validation extension i could modify it to check for *@blah.com email address and only validate if it applies [17:01:24] piksi, no extension is required, this is possible to do using core functionality. Set $wgEmailConfirmToEdit = true; in LocalSettings.php at the bottom [17:01:24] . [17:02:29] Simetrical: oh, thanks, that's great. but i would still need some way to check for a certain email host before even sending confirmation mail - and if i modify core files i would have to modify them after every update of mediawiki... [17:02:55] piksi, ah, then you probably need an extension, yes. [17:04:41] Hmm. [17:08:06] piksi, well, you could do a one-line hack in User::isValidEmailAddr, but to do it with an extension might require more cleverness. [17:08:40] Or I could add a hook to that function, maybe. That would be sensible generally, I think. Then when you upgrade to the next version it will still hopefully be there. [17:10:30] Simetrical: i found a ConfirmAccount -extension but i'm not yet sure if i can modify it to suit my needs [17:10:58] it completely disables account before they have been validated via email [17:11:30] That can be done in the core software, I should imagine. [17:13:43] hi [17:15:37] i'm trying to configure mediawiki using a curl on config/index.php [17:15:39] http://hg.ouzo.flouzo.net/file/tip/home/www/ouzo/ouzo/usr/sbin/ouzo-mediawiki [17:15:50] 03simetrical * r26865 10/trunk/phase3/ (RELEASE-NOTES docs/hooks.txt includes/User.php): isValidEmailAddr hook added to User method of that name, to allow, e.g., restricting e-mail addresses to a specific domain [17:16:08] i've not seen this elsewhere, therefore I guess it's kind of a bad idea. But i'm not sure why. [17:16:19] piksi, okay, if that doesn't get reverted, then as of MediaWiki 1.12 there will be a simple hook for you to use for this. [17:17:51] Simetrical: ok great, thanks for help :-) i'll search further on this matter [17:21:12] piksi, the extension you want would look something like this, in LocalSettings.php: function filterEmailAddress( $addr, &$result, $user ) { $result = (bool)preg_match( '/@mydomain.com$/', $addr ); return false; } $wgHooks['isValidEmailAddr'] = 'filterEmailAddress'; [17:21:57] piksi, you can copy the patch I just committed to trunk, and use that extension code for your extension if you want. Assuming nobody gets rid of my new hook, it will be in 1.12 and you don't need to worry about things breaking when you upgrade. [17:22:15] s/copy the patch/apply the patch/ [17:22:17] Simetrical: oh, thanks a lot! [17:22:32] i'll go get the patch [17:23:16] piksi, although I can't guarantee it will still be in 1.12, I don't see why it wouldn't be. The patch will be available from http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/. [17:23:41] Here: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=26865 [17:49:47] brion: is you are not very busy, may you process requests for commit access, please? [17:49:53] i'm veru busy [17:50:53] Ok, I won't annoy you now [17:57:18] if i have a directory, "foo", and i want to import it to http://svn-server/trunk/foo, do i do "cd foo; svn import . http://svn-server/trunk/foo" ? [17:58:04] flyingparchment: probable [17:58:09] I think so [17:58:10] *probably [17:58:14] Never used import (not common) [18:07:46] There is a javascript function used with a template I saw on wikimedia, named Toggleimage, Is there a way to activate such function, or is it an add-on? [18:08:50] Anyone that knows why svg renders as a black blurb? [18:09:07] probably pretty obvious when you have the solution.. ;) [18:09:12] arvernes, you can add it to the wiki page MediaWiki:Common.js (or MediaWiki:Monobook.js for pre-1.10ish). [18:09:31] arvernes, weren't the Arverni a Gallic confederation of Caesar's time or so? [18:10:14] Yeap, some people who fighted again Caesar :-) [18:10:16] Is there a way of searching pages belonging to a category instead of a name space? [18:11:08] x99 just go to the category page [18:11:22] RoanKattouw: Hello [18:11:29] If you want all pages in Category:Example, just go to Category:Example as if it were an article [18:11:31] Hi arvernes [18:11:36] I looked at your problem [18:12:03] And strangely, it does render correctly in Special:ExpandTemplates [18:12:05] Yeap, I saw that this afternoon. Could it be a bug or something wrong with my settings ? [18:12:29] Try copying {{Début cadre}}Hello world{{Fin cadre}} to Special:ExpandTemplates and it works correctly [18:12:57] ? Really. I'm gonna test it right now [18:13:18] Roan: Is there a way of *searching* pages belonging to a category instead of a namespace? [18:13:54] x99 not that I know of [18:14:03] RoanKattouw: amazing. It works fine there. [18:14:07] Yep [18:14:31] As a temporary fix, you could just create one template (Modèle:Cadre) and use that instead [18:14:38] I'll create it on your wiki right now [18:14:46] Would this be hard to implement? [18:15:08] RoanKattouw: and do you have an idea of what's wrong ? [18:15:18] Unfortunately, nop [18:15:19] *no [18:15:32] What's the issue? [18:16:04] http://www.arvernes.com/wiki/index.php/Fm/sandbox [18:22:37] arvernes, this is a known bug. Add $wgUseTidy = true; to the end of LocalSettings.php. [18:23:05] Simetrical: great. Thanks. [18:25:11] 03river * r26867 10/trunk/tools/supybot-plugins/: new directory [18:25:35] RoanKattouw: with your help and Simetrical's it works great. Thanks to both of you [18:26:42] 03river * r26868 10/trunk/tools/supybot-plugins/ (12 files in 2 dirs): two supybot plugins from #wikimedia-toolserver's bot: one to fetch bugs from JIRA, and one to search pages in Confluence [18:28:01] Why doesn't the category pager use the same interface as the AllArticles pager, which is clearly superior? [18:28:47] x99, probably because the latter didn't exist when the category pager was done, but I say that without having looked at either. [18:29:17] In what ways do you think it's superior, specifically? [18:29:46] x99 maybe also because Special:Allpages doesn't have to worry about keeping subcategories and member articles separate [18:29:52] arvernes good [18:33:31] he [18:35:17] 03(mod) LanguageHy cleanup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11731 +comment (10niklas.laxstrom) [18:36:09] I want to have the following: a wiki link, which directs to an article in the current namespace if it exists, or to an article in the other namespace if that exists, or to the edit page for the article in the current namespace, if neither exists... through an extension / parser function [18:36:19] any tips on how I could implement this? [18:39:38] lch write an extension ;) [18:39:45] I am [18:39:49] Ah [18:39:58] See www.mediawiki.org/wiki/Manual:Extensions [18:40:07] I know how to write an extension :P [18:40:17] Oh :P [18:40:18] I want to get tips how to actually implement this thing [18:40:25] Err well [18:40:41] First check that whether the article in namespace A exists [18:41:02] yes, that's the idea... question is, is this all possible through parser functions alone? [18:41:07] Sure [18:41:19] $title = new Title(NS_A, $text); [18:41:33] if($title->exists()) output_a_link_to_$title(); [18:41:39] mhm yes [18:41:51] $titleb = new Title(NS_B, $text); [18:42:04] if($titleb->exists()) output_a_link_to_$titleb(); [18:42:14] else output_a_link_to_$title(); [18:42:19] Roughly [18:42:39] You can create links with Linker::makeKnownLinkObj() [18:43:02] http://svn.wikimedia.org/doc/classLinker.html#cae40ac5815c227135306cb5dc12266d and http://svn.wikimedia.org/doc/classLinker.html#f08f16d58facb7014b32f43d4d6748eb [18:43:14] what you mean is that I have to create a new parser tag, though, right? [18:43:20] I was thinking of this: http://en.wikipedia.org/wiki/Help:Parser_function [18:43:45] http://meta.wikimedia.org/wiki/Help:ParserFunctions#.23ifexist: [18:43:52] hah [18:43:54] thanks [18:46:31] re [18:46:49] Simetrical: !!!!!!!!!!! [18:47:35] Nikerabbit, ??????????? [18:47:41] Notice: Undefined variable: this in /home/nike/public_html/dev/includes/User.php on line 530
[18:47:51] you don't have $this in static functions [18:48:02] *Simetrical sighs dramatically [18:48:08] I know I should have tested that. [18:48:54] Simetrical: that's why we run wikis from svn :D [18:49:08] 03simetrical * r26869 10/trunk/phase3/ (docs/hooks.txt includes/User.php): There's no such thing as $this in static functions. Thanks, Nikerabbit. [18:49:54] piksi, still here? Slight change made to the hook, it should have the $this/$user parameter. [18:50:00] Shouldn't. [18:51:43] Simetrical: yes, i'm here. your patch has been very helpful :-) [18:52:22] piksi, make the change I just committed in r26869 to remain compatible, otherwise it will break on upgrade. There's no $this in static functions, as Nikerabbit points out. [18:52:41] So the parameters passed to the hook need to change. It won't affect your particular extension, of course. [18:57:35] Nikerabbit: BetaWiki localizations are exported to MediaWiki daily, right? [18:58:57] Are they? That would be neat. [18:59:06] Good for motivation. [18:59:15] Even if it clogs up my inbox a bit. [18:59:25] Pathoschild: yes except our hard-working human is unable to :) [18:59:30] +when [19:00:42] Is it done automatically, or do you run a maintenance script, or export languages individually? [19:01:05] Pathoschild: needs much human works [19:01:10] *Shanel exports Pathoschild. [19:01:16] 03catrope * r26870 10/trunk/extensions/ChangeAuthor/ChangeAuthor.body.php: ChangeAuthor: Performance fix, preventing unnecessary calls to Revision::getTitle() which caused repetitive DB queries [19:02:03] Siebrand does that, right? [19:04:03] RoanKattouw, in both cases, implementing what I want as parser function or as parser tag: how do I found out what the "current" namespace is, or what the originating article is which text is getting parsed? [19:04:30] lch assuming you do this as an extension, you'd be able to do $wgTitle->getNamespace() [19:04:33] s/found/find/ [19:04:38] cool [19:04:42] $wgTitle->getPrefixedText(), etc. [19:04:43] extension it is then [19:04:53] http://svn.wikimedia.org/doc/classTitle.html [19:05:05] yeah [19:05:09] Everything you can do with the $wgTitle object (and other Title objects FTM) [19:05:19] Pathoschild: how so? [19:05:46] and $wgTitle is the current article whose text is being parsed when my parser hooks get active, okay [19:06:06] Nikerabbit: How so what? [19:06:13] Pathoschild: why are you asking? [19:06:50] GerardM suggested we import the Novoi Wikipedia's interface directly into BetaWiki, including the local customizations. [19:07:24] I suggested we do so with collaboration with the Novial editors, to correct the local customizations. [19:09:40] Nikerabbit: any suggestion? [19:10:22] *Shanel notes he is taking to GerardM- about the same subject elsewhere. :P [19:10:50] *Shanel pokes Pathoschild into #mediawiki-i18n :O [19:10:51] :o [19:15:06] lch note that you will have to do global $wgTitle; first [19:15:09] Or it won't work [19:15:16] yeah sure [19:15:37] Didn't know whether you knew... [19:16:03] I'm currently contemplating if hooking to GetLocalURL / GetInternalURL will be easier to do than creating a new tag [19:16:22] but I guess a new tag is the most sensible [19:16:40] I don't know [19:16:50] Hooking would be tricky indeed [19:17:03] A tag is probably best, yeah [19:17:13] would fire a lot less, at least [19:24:16] 03(mod) LanguageHy cleanup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11731 (10alexander.sigachov) [19:26:49] *Nikerabbit explodes [19:26:53] 03(mod) LanguageHy cleanup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11731 (10niklas.laxstrom) [19:32:34] 03(mod) LanguageHy cleanup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11731 (10alexander.sigachov) [19:35:28] 03(mod) Loading a special page fails when the option read is set to false for anonymous users . - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11668 (10roan.kattouw) [19:37:22] Is there a way to casefold category displays? I have a very large category and case folding on the first, but not SECOND letter is quite confusing to users (i.e AB, AC, AD, ... are displayed, then Aa, ab, ac, ...) [19:40:06] x99, the only way (without hacks) is to use a categorization statement like this: [[Category:Mycategory|{{uc:{{PAGENAME}}}}]] [19:40:16] x99, eventually we hope to move to case-insensitivity. [19:49:39] 03(FIXED) Semantic Forms should use SMWStore instead of direct DB access - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11506 +comment (10yaron57) [19:51:55] 03river * r26871 10/trunk/tools/addlog/addlog.py: [19:51:55] * add -s option, to choose which server to log an entry for [19:51:55] * fix bug where entry would sometimes not be added [19:53:58] 03nikerabbit * r26872 10/trunk/extensions/ChangeAuthor/ChangeAuthor.i18n.php: * Bom bom bom KABOOM [19:54:45] 03(mod) Log parameter during search does not show up - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11714 15enhancement->minor (10wm-thunderhead) [19:57:52] 03(mod) Log parameter during search does not show up - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11714 +comment (10roan.kattouw) [19:59:43] brion, in maintenance/importTextFile.php, I see twice the following: $title = Title::newFromUrl( $title ); echo( "..." . $title->getPrefixedText() . "..." ); if( is_object( $title ) ) { [19:59:48] and $user = User::newFromName( $user ); echo( "..." . $user->getName() . "..." ); if( is_object( $user ) ) { [19:59:58] if you're checking if the returned result is not an object, you shouldn't use the class functions on it before that, then, right? [20:00:01] heh [20:00:03] no shit :) [20:00:06] file a bug, i'll poke it later [20:00:09] ok [20:00:12] thanks for the catch :D [20:07:02] 03(NEW) Parameter validation in maintenance scripts needs work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11733 minor; normal; MediaWiki: General/Unknown; (mediawiki-bugzilla) [20:07:32] uhh... is it really true that it's not possible to remove user accounts in mediawiki? [20:09:56] piksi, not unless you do it by hand [20:10:07] fiddling with the sql database, that is [20:10:34] and no, generally what you do is block the account [20:10:39] lch: the mediawiki FAQ tells me that messing with the db will screw up the wiki because of the type of the db [20:11:02] well, yes, that's in there [20:11:19] i understand that it's not good to mess with relational data but it still feels kind of silly [20:11:33] might be [20:12:14] i generated a couple of test user accounts for test purposes and was thinking of getting rid of them simply because it feels stupid to clog the db with unused user info [20:12:44] good thing then that i have now restricted user registration to prevent unused account flood [20:14:24] let's say I'm don't really agree with that FAQ entry either and deleted users and all of their traces from my DB in the past, too... and it didn't cause my wiki to go up in flames [20:16:53] if you want to delete users despite the warning, you might want to have a look at http://www.mediawiki.org/wiki/Extension_talk:Deleteuser [20:18:20] lch: thanks, appreciated [20:31:08] "clog the db" is not a rational analysis. [20:36:20] Hi [20:39:06] I am using Mediawiki on old domain name and I want tu use it in my news somain name but all my piture used inside the wiki is like : www.olddomain.com/image so wouldn't be good with the new domain name, how can I change all URL easy ? [20:39:31] piksi, it works fine, if you make sure to remove all references. They might be referred to in other tables. [20:39:59] Scube_fr, you could try running a manual database query, but that might be risky. [20:41:55] How ? [20:45:08] Scube_fr, get phpmyadmin, poke around [20:45:47] Scube_fr, it would take some time to run, and confuse the history information. You might be best replacing them all manually. [20:46:19] ubuntu gutsy doesn't like parallels' video :( [20:46:53] ok, I 'll make a backup and try with php my afmin if i ge aproblem i'll do it manually [20:47:06] brion, parallels video? [20:47:39] parallels ... that thing that's like vmware for macs :) [20:47:50] I read somewhere that Ubuntu is an african tribal word for “can’t install Gentoo” [20:47:59] there's can't [20:47:59] lch, no, it's "can't install Debian". [20:48:02] and there's can't be arsed [20:48:09] lch, get your distros straight. [20:48:13] hehe [20:48:18] Also, as to what brion says, damn straight. [20:48:22] i mean, i could whip myself with thorns too [20:48:30] but that's not my thang [20:48:58] i whip myself with thorns every night, so i can be closer to the lord [20:49:42] why did i read "wipe"? [20:50:33] 03(NEW) AddNewAccount hook isn' t run when auto-creating external accounts - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11734 normal; normal; MediaWiki: User login/settings; (rlane32) [20:50:51] the uncyclopedia has such great entries on Debian, BTW ;) [20:50:56] *Simetrical looks [20:51:01] *Simetrical hasn't read Uncyclopedia in a while [20:51:36] “In Soviet Russia, apt gets YOU!!” [20:51:58] Ryan_Lane: can the ldap extension create new users in my directory using the mediawiki login form? [20:52:23] flyingparchment: if you are willing to give it permissions to do so, yes [20:52:35] and can i customise the attributes the new users get? [20:52:53] flyingparchment: I'd recommend using a user who has permissions limited to just adding what you need [20:53:26] flyingparchment: well, yes and no. You'll have to modify one or two functions to add/remove/change attributes [20:53:39] flyingparchment: One day I'll add more customization for that kind of stuff [20:53:49] hmm, well that's not too bad. thanks [20:54:09] n/p [20:54:15] i don't suppose it can use GSSAPI to bind? :) [20:54:36] not currently [20:54:46] I have that planned as well [20:55:22] it takes me a lot of work to do the kerberos stuff, as I have to set up a kerberos server, and have clients. [20:57:35] *Simetrical forgot how stupid most of Uncyclopedia is [21:03:08] :) [21:11:02] Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in. [21:11:14] This happens on my own wiki. Even though I logged out and deleted the cookie. [21:12:50] When I try to edit or delete articles. [21:12:54] Anyone? [21:14:34] Actually, when I try to delete, it just sits there like a goon. When I try to edit, I get the error I begun with. [21:14:46] KOJV: seems like php is unable to save session data [21:15:09] Duesentrieb, that means it hasn't got write permissions to the temp folder. Thanks a lot! [21:15:22] make sure the session-safe-path is configured correctly, existists, and is writable. verify that session data is actually written there. [21:15:41] @search session [21:15:41] Results: [] [21:15:45] hm... [21:15:52] http://leuksman.com/log/2007/10/21/ubuntu-gutsy-vs-parallels/ :) [21:16:03] 03(NEW) Wikipedia doesn' t handle percent-encoding of forward slashes in certain URLs properly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11735 minor; normal; Wikimedia: General/Unknown; (carnildo) [21:18:11] No worries. I didn't re-create the temp-folder after reinstalling the server, nor set write permissions for IUSR. It's working now. Thank you Duesentrieb! [21:19:00] np [21:19:07] worth a factoid, though [21:19:14] !session is make sure session.save_path is set correctly in your php.ini. Verify that it existists, is readable and writable to php, and check that session data is actually being written there. On a server farm, make sure it's a shared directory, accessible from all servers. [21:19:14] Successfully added keyword: session [21:19:26] wow, that took long. or am i lagged? [21:20:28] Same second for me. [21:20:52] !session is make sure session.save_path is set correctly in your php.ini. Verify that it exists, is readable and writable to PHP, and check that session data is actually being written there. On a server farm, make sure it's a shared directory, accessible from all servers. [21:20:52] Keyword "session" already exists. Use "!session del" to remove it. [21:20:57] !session del [21:20:57] Successfully removed keyword: session [21:20:59] !session is make sure session.save_path is set correctly in your php.ini. Verify that it exists, is readable and writable to PHP, and check that session data is actually being written there. On a server farm, make sure it's a shared directory, accessible from all servers. [21:20:59] Successfully added keyword: session [21:23:00] You should add something about the PHP user (IUSR_COMPUTERNAME) needs permission to write to the session/temp folder. Well, I'm off to reboot, bye. [21:54:38] hi.. Im not sure who I need to speak to. Security issue in mediawiki and how its used, apparently allowing arbitrary script insertion into a large number of user's wiki*.org pages. Some senior developer to discuss in PM please. [21:55:05] FT2: try brion [21:55:15] FT2: pm me please [21:55:17] where's the easiest way to find him [21:55:49] He's right here. [21:55:52] PM him. [21:57:35] 03(NEW) Show form under "edit" tab - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11736 15enhancement; normal; MediaWiki extensions: Semantic Forms; (yaron57) [22:16:49] What php variable would I use to return the current skin? [22:17:30] global $wgSkin; [22:18:54] you sure? [22:19:15] nope [22:19:20] $wgUser->getSkin() [22:19:22] use wgUser->getSkin() [22:19:24] yea [22:19:54] and if no user is logged in? [22:20:03] the same [22:20:09] kk [22:25:38] There's no $wgSkin? [22:25:44] I thought there was, despite its being redundant. [22:25:48] why is it printing "Object id #125" instead of something like "MySkin" [22:25:57] ???? [22:26:02] no, there's no $wgSkin [22:26:16] *Simetrical greps just to make sure [22:26:16] qsheets: try var_dump() :) [22:26:26] ?? [22:26:46] I wonder where I got that idea from. [22:26:52] *Simetrical shrugs [22:27:00] qsheets, learn about classes and objects in PHP [22:27:15] qsheets, don't use echo for objects, use var_dump(). [22:27:38] *qsheets didn't [22:28:06] qsheets, so what's making it print anything out at all? [22:28:11] print == echo [22:28:16] $wgOut [22:28:30] Oh. Well, you can't do that either. [22:28:37] It's the same principle. [22:28:52] PHP won't turn objects into human-comprehensible strings, normally. [22:29:23] you can use print_r before passing it to $wgOut [22:29:24] *qsheets is trying to do "If (someskin) {variables} [22:30:39] $wgUser->getSkin()->getSkinName() [22:31:11] http://svn.wikimedia.org/doc/classSkin.html [22:37:25] hey [22:37:54] I have t3h scaling issues... does anyone have any recommendations for a good OpCode cacher? [22:38:14] APC [22:39:07] brion... vibber? [22:39:18] yyyyes? [22:39:36] nice :) I was just reading an article by you about WikiMedia's servers [22:39:52] I'm in the process of massively upgrading my stuff [22:40:11] :D [22:40:12] good luck [22:40:21] thanks :) [22:40:21] we're using apc, so... :) [22:40:27] but we also patched it i think ;) [22:40:43] I just got another server to set a squid up on (and an extra web-server)... do you happen to know of any good sites online that could tell me how to configure Squid? [22:40:52] http://svn.wikimedia.org/viewvc/mediawiki/trunk/debs/php5-apc/ here's our deb package description thingy if you want it [22:40:53] I went onto squid-cache.org, but I'm pretty lost [22:41:01] nice! thanks :) [22:41:07] oh god, configuring squid is.... well i leave it to other poeple ;) [22:41:23] oh crap... not what I wanted to hear [22:41:23] lol [22:44:14] brion, could you take a quick peek at http://bugzilla.wikimedia.org/show_bug.cgi?id=11706 and tell me if I'm doing something really dumb? [22:46:26] well, the first won't end until you rscript runs out of memory since it does a new query for all revisions on every loop [22:46:34] so it should return the same row forever until it dies [22:46:47] eh [22:46:51] that would make sense [22:47:06] it looked like it were different revisions, though [22:47:08] lemme check [22:47:15] the second looks like it _should_ work with 1.11 *if* it's the right db connection, but normally you'd do $r->fetchObject() [22:47:25] the third looks really borked [22:48:01] ah, no [22:48:05] you're right [22:48:16] :) [22:48:34] it was the same revision all along... I'll close the bug :P [22:49:00] Can someone tell me how I can embed something like this in my wiki: [22:49:02] Del.icio.us [22:49:36] !extensions | Yashy [22:49:36] Yashy : MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for details on writing an extension and for an overview of known extensions. [22:49:43] hm? [22:49:48] an extension for a simple link? why? [22:49:59] !rawhtml | Yashy [22:50:04] @search raw [22:50:04] Results: [html] [22:50:06] Yashy: [http://del.icio.us/post?url={{PAGENAME}} Del.icio.us] [22:50:12] ok [22:50:13] right [22:50:16] my bad sorry [22:50:19] :P [22:50:27] 14(INVALID) ResultWrapper inconsistency regarding rows - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11706 +comment (10mediawiki-bugzilla) [22:50:32] thought it was some flashy js [22:50:43] in that case, [22:50:48] <^Migs^> what's the tag for displaying a scrollable box, e.g., for source code? I can't find it. [22:50:53] yea, raw html or a specialized extension [22:51:25] ^Migs^: not per default. you can make
 or identend stuff behave that way if you want, using css
[22:51:36] <^Migs^>	okay
[22:51:39] 	or you can make a special class, and define a template that uses that class on a div
[22:52:11] 	sorry, you guys lost me, is there a simple way to do what I want? I should be able to simly add my line to like Monobook.php with some hack to {{PAGENAME}} so it works?
[22:52:22] 	Yashy: what i said will not work if you have spaces in your page name. you'd need to do {{#urlencode:{{PAGENAME}}}} - and i think that requires the ParserFunctions extension
[22:52:23] <^Migs^>	thanks
[22:52:48] 	Duesentrieb: I have no spaces in my page name
[22:53:03] 	Yashy: err, i was talking about a wiki page. 
[22:53:19] 	Yashy: if you want to do it in the skin, you have to use something else to get the page title
[22:53:27] 	The issue is, in my actual wiki it's linking to {{PAGENAME}} literally and not the page name at the top
[22:53:34] 	it's something like $this->html("title") or some such
[22:53:45] 	just look how monobook generates the 

[22:53:53] Where can I find out what "some such" is? [22:54:05] by looking how monobook generates the

[22:54:14] or alternatively how do I embed it in all my wiki ages outside the skin? [22:54:22] you don't [22:54:25] ages/pages [22:54:26] you do it in the skin [22:55:01] Yashy: you are basically on the right track - just note that skins don't use wiki syntax, but php directly. [22:56:08] Yashy: the (slightly odd and broken) correct way to get the full title of the current page is: data['displaytitle']!=""?$this->html('title'):$this->text('title') ?> [22:56:18] you'Äd want to wrap that in urlencode though. [22:56:57] Yashy: also note that that will give you the page name, while delicious expects a full url [22:57:30] 03(mod) Special:Imagelist returns blank page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11726 (10mediawiki-bugzilla) [22:57:38] Yashy: you could use the global wgTitle to get the absolute URL... [22:57:41] global $wgTitle; [22:57:46] $wgTitle->getFullURL(); [22:58:04] that'S probably the easiest and safest way. the only reason not to do it is that globals are Evil (tm) [22:58:15] Can anyone help me with a quick question please, I am moveing my MediaWiki site to another host, I have everything transfered but I need to know where in the config files / database to change the old web address to a new web address, because when i try to access the page on the new server, it points me to the old server [22:58:35] ok thanks, should be enough to go on [22:58:36] Bouch: LocalSettings.php [22:58:54] Duesentrieb i checked the entire LocalSettings and see no reference to the address [22:58:58] Bouch: all settings are there. though usually, the server name is not hardcoded there. it's detected automatically. [22:59:02] the only reference i ssee is the site logo [22:59:28] Bouch: this owuld indicate that your server config is also confused about the old and new site. [22:59:48] Ill explain what I did [23:00:08] Bouch: you can set $wgServerName (domain) and $wgServer (http://domain) manually, though [23:00:20] ok [23:00:25] ill try that and see what happens [23:00:47] Bouch: doublecheck $wgScriptPath and $wgArticlePath [23:00:56] mind any interaction with rewrite rules/redirects [23:01:08] i checked thouse.. they are just relitave paths [23:01:52] yes, sure. they should be. [23:02:04] i'm just saying that you should make sure they are the *right* relative pathes [23:02:49] yup, they are [23:03:01] del.icio.us [23:03:15] this only gets me the suffix as you mentioned, how do I get the full URL? [23:03:16] Ill go look at my LocalSettings again and ill come back if i can't figure it out [23:03:19] thank you Duesentrieb [23:03:55] Yashy: that doesn't get you anything, it's actually illegal. [23:04:26] del.icio.us [23:04:33] Yashy: you want echo $wgTitle->getFullURL(); or, rather, echo urlencode($wgTitle->getFullURL()); [23:04:39] this works, it only provides me the page after ?title= though [23:04:45] Yashy: don't echo objects in php. [23:05:09] *brion gurgles [23:05:10] if the object doesn't explicitely support it, it's a fatal error since php 5.1 [23:05:27] (which is insane - and their reasoning for it is crazy too) [23:05:52] del.icio.us [23:05:57] this gives me nothing [23:06:46] del.icio.us [23:06:49] works perfect, thanks! [23:07:13] when you said using globals is bad, is that from a security perspective? Is there a better/safer alternative? [23:07:49] only vaguely security related [23:07:52] it's more a design issue [23:08:03] whats the j/script code for a newline? As in, if you wnat to put a newline in alert(...) [23:08:15] \n i guess [23:08:17] \n [23:08:21] thx [23:08:50] anyone who's used the chat extension? http://www.mediawiki.org/wiki/Extension:Chat [23:12:53] rob wrote in http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=23393 that DISPLAYTITLE now ignores some custom titles... could somebody tell me what that means, exactly? Because I want to remove the namespace prefix from certain titles and try to use DISPLAYTITLE for that, which doesn't work (but worked before) [23:14:14] lch, it will only work for titles that normalize to the actual page title, e.g., they have the first letter lowercase or include underscores. [23:14:25] mhm [23:14:32] lch, the idea is that the title as displayed should always be possible to use, copy-pasted, in links. [23:15:11] I just want to take away the namespace prefix because it is unnecessary [23:15:33] lch: it's not unnecessary if you want to link to the page [23:15:51] you can use the page URL [23:15:59] For wikilinks? [23:16:03] (but yes, wgAllowAnyDisplayTitle is on by todo list. at postition 43226) [23:16:24] Simetrical, last part of it, obviously [23:16:36] that's what I always use, anyway, I only trust the URL bar [23:17:17] lch, that gives you the ugly underscores and stuff, not to mention URL-encoding. [23:17:38] yea... anything non-ascii would lok extremely ugly [23:17:42] The page name in the

should be copy-pastable in all cases, just because it is in 95% of cases anyway and so people will expect it. [23:17:46] my pages don't have special characters :) but okay, it's a moot issue [23:17:49] I'll live with it [23:18:16] lch: well, it *should* be an option imho. but implementing this option is not a priority. [23:18:23] yeah, same here [23:18:27] (it should *not* be the default though) [23:18:34] I could implement it myself, but I don't care that much [23:18:43] anyway, gotta sleep [23:18:45] have fun [23:19:25] I just used DISPLAYTITLE for that, which now has been reduced from "do anything" to "you can have some minor things displayed differently (which MediaWiki normally translates)" [23:19:26] n8 [23:21:01] Duesentrieb: http://hackepedia.org/?title=Syndicate I have created this page for others, so you don't get harassed again :) [23:21:40] 03(NEW) Dropdown Lists - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11737 normal; normal; MediaWiki extensions: Semantic Forms; (anthchan) [23:26:18] *Simetrical goes off to install Gutsy