[00:00:29] hi all. pls how do i achieve kinda sister-site link on every page to ie. the wikipedia page with same name as cur page? [00:01:12] ? [00:01:14] detail [00:01:16] pls [00:03:56] and please separate your sentence + dont use shortcut words [00:04:29] who knows why my navigation-box moves different from the search-box and the toolbox-box [00:04:56] me? If current page name is "Steve Miller", i want in a toolbox a link to de.wikipedia.org/wiki/Steve_Miller [00:05:33] an "interwiki toolbox" - if you want [00:05:57] !interwiki [00:05:57] Interwiki links are links between wikis. For instance, on Wiktionary, [[w:Article name]] or [[Wikipedia:Article name]] will link to a Wikipedia article. To set up interwiki links, see as well as [00:06:24] anyone have experience with BizzWiki? [00:06:47] flo__: one thing is a bit confusing: interwiki links become "magic" (i.e. go into the toolbox) if their interwiki-prefix is a language code. [00:07:52] i see. Havent needed that yet. But probably will [00:07:52] robert_: no, but be very careful about any advertized security/privacy stuff. [00:08:17] indeed [00:08:18] flo__: well, it's precisely what you were asking about [00:08:23] I'm not storing passwords or anything [00:08:46] I just want to make sure people who aren't allowed can't edit certain pages. *nodnod* [00:08:54] kk [00:08:57] you don't need bizwiki for that [00:08:59] !access [00:08:59] For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [00:09:02] !lockdown [00:09:02] Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [00:09:03] Is it posible to write in Sidebar box sth Wikipedia:{PAGENAME} or similar [00:09:18] no. [00:09:43] kinda template vars for various page metadata. [00:09:43] e.g. I have a project where multiple groups of people need access to certain pages, and only those pages [00:10:44] kk [00:10:46] yeah [00:10:48] flo__: wikipedia is an interwiki prefix (defined per default). but it's not a language code. so it turns into a regular link. if you set up a prefix called "en" and point it to the english wikipedia, and then make a link [[en:foo]], then you will get a link in the toolbox on hte left. [00:11:01] the first link is a bit too cumbersome [00:11:12] kk [00:11:52] robert_: lockdown gives you per-namespaces permissions. you are free to grate groups as you like anyway, but mediawiki usually only has global permissions. other existsions give permissions based on other criteria - with varying levels of security [00:12:07] indeed [00:12:11] robert_: generally, protecting against editing should work well enough. protection against reading migh have loopholes. [00:12:38] Duesentrieb, I need per-namespace protection from editing. [00:13:05] if per-namespace is enough for you, use lockdown [00:13:27] actually, no - if you *only* need to restrict edit protection, you don'Ät need any extension [00:13:34] use wgNamespaceProtection [00:17:24] 03vyznev * r28287 10/trunk/phase3/includes/OutputPage.php: [00:17:24] Clean up and document OutputPage::readOnlyPage(), remove obsolete error-guessing code. [00:17:24] Still needs to be refactored into multiple functions, possibly merging some parts with [00:17:24] similar code from other functions in the OutputPage and EditPage classes (most notably [00:17:24] blockedPage() in both classes). This is all groundwork for "action=viewsource". [00:18:24] Duesentrieb: i could abuse the language prefixes hmm. But where to write http://en.wikipedia.org/wiki/Special:Search?go=Go&search=en:foo?? [00:18:35] ups [00:18:53] read the help on interwiki setuo [00:19:01] it's a database table [00:19:26] i know that [00:20:12] vyznev lives!!!! [00:21:57] ugh [00:22:14] the wikimedia cli scripts suck [00:22:25] I tried to create a user via createAndPromote.php [00:22:33] and I can't log-in as the user [00:23:04] I regard my need as i really useful feature, so i wonder why it's not implemented [00:23:15] because you didn't. [00:28:04] good answer :) [00:28:04] who knows why my navigation-box moves different from the search-box and the toolbox-box [00:29:09] minosa: if your boxes move, you should drink less :) [00:30:05] they don't move :D:D:D:D:D [00:30:35] I ment with move when I change padding or line.height [00:32:19] 03(NEW) Object of class PEAR_Error could not be converted to string - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12252 normal; normal; MediaWiki: User preferences; (dimitar.tsonev) [00:41:53] anyone here with pywikipediabot experience? i'm trying to add four extra namespaces my wiki has and python dies with invalid syntax on the line self.namespaces[100] = { [00:42:20] even weirder is on a local test site it worked fine without needing to specify namespaces [00:51:07] is trunk currently broken? [00:52:05] 03(mod) subpage parsing crashes somewhere - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12249 (10magnusrk+wiki) [00:53:29] I'm getting an error about 'DOMDocument' not being found in Parser.php on line 2987 [00:55:57] Ryan_Lane: Old PHP version? [00:56:20] 5.2.4 [00:58:14] that line has "dom = new DOMDocument;" [00:58:41] and, I don't see that class anywhere else [01:07:33] Ryan_Lane: It's part of PHP5 [01:08:01] ah, that would be a good reason I'm not seeing it anywhere. heh [01:08:08] maybe i'm mossing a php package [01:08:12] err missing too [01:08:22] Should be part of the core, sure you aren't using PHP4? [01:08:59] php 4 isn't installed [01:10:29] doh [01:10:34] looks like it was selinux [01:11:32] didn't have the directories labeled properly; thanks for the help [01:15:30] Question: is it possible to use isAllowed('someright') with a passed parameter (like in a parser function)? [01:16:12] That doesn't get well along with caching [01:16:31] I'm disabling the cache on the function anyway, so that's not the issue [01:16:36] ah [01:17:08] it's just that when I tried it, I got a fatal php error... so I was wondering if there was a special way to do it [01:19:00] You just globaled wgUser and ran it, or? [01:19:36] well, I'm making a parser function that tests whether a given username can do something [01:20:35] so, I'm not using $wgUser [01:21:53] of course... I have no idea what $wgUser actually is (I'm guessing it's just the username, but I'm not sure), so that might be the problem [01:22:16] Ah, no, not for arbitrary users [01:22:27] darn :( [01:22:35] is there any way to hack that? ;) [01:22:40] How did you create the user object then? [01:22:53] well, I'm just passing it in as a param to the function atm [01:24:54] So you have a user name and you want to check if the matching user has a given permission? [01:25:20] yes [01:27:50] Dashiva: here's how I'm declaring it now: http://rafb.net/p/R1J4lO19.html [01:27:51] I'd probably try u = User::newFromName(name) | u->load() | u->getRights() [01:28:05] uh, ok [01:28:49] Well, isAllowed as you're doing works instead of getRights [01:29:17] ok, but I have to create a user object first before it can use isAllowed, right? [01:29:21] yes [01:29:27] ty [01:30:04] newFromName and load might not be the best way, but at least it should work [01:30:23] yeah [01:31:06] Dashiva: well, it works... and that's the main thing :) thanks :) [01:52:29] 03(mod) The Sanitizer doesn't validate the contents of id attributes - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4515 (10david.sledge) [02:01:56] 03shinjiman * r28289 10/trunk/tools/planet/ (fr/ fr/config.ini ru/ ru/config.ini sr/ sr/config.ini): [02:01:56] adding stub planets for fr, ru and sr [02:01:56] see also: http://meta.wikimedia.org/wiki/Planet_Wikimedia/New_language [02:02:52] 03(mod) The Sanitizer doesn't validate the contents of id attributes - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4515 (10Simetrical+wikibugs) [02:07:56] 03(mod) subpage parsing crashes somewhere - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12249 (10alistrius) [02:39:21] 03(mod) subpage parsing crashes somewhere - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12249 (10magnusrk+wiki) [02:39:27] Stalker! [02:39:36] Stalker! [02:39:43] !stalker [02:39:49] @stalker [02:39:49] o.o [02:39:56] :| [02:43:04] 03(mod) Automatically post welcome message to new users' talk pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4914 (10brianriab) [02:46:31] ! is like | [02:46:31] You don't have permission to do that. [02:46:36] Stupid bot :( [02:47:47] Garbage in, garbage out. [02:48:13] Is " is" even a command? :) [02:48:16] 03shinjiman * r28290 10/trunk/phase3/languages/messages/ (MessagesAst.php MessagesFr.php): [02:48:16] Localisation updates from Betawiki. [02:48:16] * ast, fr [02:48:25] Dashiva: Yes, it is ;) [02:58:21] =)) [02:58:29] you dont have permision to do that [02:58:30] =)) [02:58:33] ! Duc [02:58:33] You don't have permission to do that. [03:00:58] ! [03:01:03] *Dashiva wins [03:01:29] ! [03:01:53] *taduyducvn slap Dashiva for doing reckless [03:02:30] 03shinjiman * r28291 10/trunk/extensions/ (BadImage/BadImage.i18n.php Blahtex/Blahtex.i18n.php): [03:02:30] Localisation updates from Betawiki. [03:02:30] * Additions to 2 extensions for ro [03:07:09] #ifexist creates a whatlinkshere entry, but not a "templates used on this page" entry. Will it also cause the page to appear in WantedPages? [03:18:37] 03laner * r28292 10/trunk/extensions/SmoothGallery/ (3 files): Added basic support for SmoothGallery 2.0; this is not working how I intend, and will be drastically changed in the future. Don't consider this a terribly stable version. [03:41:20] 03(mod) The Sanitizer doesn't validate the contents of id attributes - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4515 (10david.sledge) [03:51:51] Hey, I'm looking to set up an RC bot for a wiki I run, anyone know if there are any eggdrop scripts? Ive found the irssi one, but itd be nice to consolidate. [03:52:40] *IRC RC bot [03:54:21] after more reading, I assume the answer is no [04:00:12] 03aaron * r28293 10/trunk/extensions/FlaggedRevs/ (FlaggedRevsPage.php Language/FlaggedRevsPage.i18n.en.php): *Tweak page [04:05:24] !rcbot | RandomLaptop [04:05:24] RandomLaptop : http://www.mediawiki.org/wiki/Manual:IRC_RC_Bot [04:05:46] yep. thats the one I found [04:06:21] Ah :) [04:06:38] Don't know of any scripts other than those\ [04:06:54] yeah s'aight. I think I just got it working [04:07:02] it just would have been nicer to be able to use the existing eggdrop [04:07:03] heh [04:07:05] ah well [04:07:59] Fatal error: Call to undefined function socket_create() in /home/.asser/randomdestructn/420wiki.pithed.org/includes/RecentChange.php on line 211 [04:08:01] \o/ [04:11:17] hey on my mediawiki installation is it possible to change my username, I'm the admin. If not through the interface, is it possible to edit it through the database? [04:11:50] if not, is there possibly an extension to do this? [04:16:08] Sure [04:16:22] Dashiva: you mind telling me how please? [04:17:18] I'm not the best person to ask, it's been a few versions since I last did it. [04:17:56] !renameuser | BlaenkDenum [04:18:00] Grrrr [04:18:03] *amidaniel|away smacks mwbot [04:18:13] Dashiva: Look up the renameuser extension on mediawiki.org [04:18:13] haha [04:18:21] oh it's an extension, alright thanks! [04:18:36] http://www.mediawiki.org/wiki/Extension:Renameuser right? [04:18:51] looks great, thanks again [04:19:01] !renameuser [04:19:03] :( [04:19:25] BlaenkDenum: Indeed [04:19:27] !renameuser [04:19:27] Renameuser provides a special page which allows authorised users to rename user accounts. See < http://www.mediawiki.org/wiki/Extension:Renameuser > for more details. [04:19:30] :) [04:19:46] :D [04:28:23] Question for the devs: How can I distinguish between versions whose strip markers end in QINU and those whose markers end in QINU\x07? [04:30:29] Algo: Talking about the parser? [04:30:57] Yeah. At some point between 1.9 and 1.11 they changed the format in a non-backwards-compatible way [04:32:01] I can't just inclde the \x07 if it exists, because if there's two markers in a row then the second one gets mangled [04:32:05] It seems Parser_OldPP is using \x07 ... the current Parser uses \x7f [04:32:38] Why not simply grab the value of Parser::mMarkerSuffix ? [04:32:43] Yes, and that's fine, because the new parser also has mMarkerSuffix, which I can test for with isset() [04:32:53] Versions before 1.12 don't have it [04:32:56] Ah :) [04:33:52] Well, so then why can't you just say if (!is_set ( $wgParser->mMarkerSuffix )) use <1.12 version, otherwise use $wgParser->mMarkerSuffix ? [04:34:09] Because there are two, non-compatible <1.12 versions [04:34:17] hence my question [04:34:39] Ah [04:35:17] Do you know it what release the breaking change was introduced? [04:35:18] 1.11? [04:35:22] No idea [04:35:31] I've only got two points of reference right now [04:35:51] 1.9.3 has the old version, and 1.11.0 has the new one [04:37:01] Okay, looks like 1.10 was still using the old version [04:37:16] Algo: Is Parser::VERSION unchanged as well? [04:37:47] Haven't checked. I would assume it changed. [04:38:01] Then that's likely going to be your best bet [04:38:12] Simply check the parser version to determine which to use [04:38:27] hm [04:39:04] hi all, does anyone have experience with running mediawiki on a threaded apache httpd? [04:39:04] The 1.10 parser was 1.6.1 [04:39:14] 1.6.2 is where the incompatibility was introduced [04:39:21] I know that some parts of PHP aren't thread safe, but I'm unsure if they are parts that mediawiki uses [04:42:43] Where can I get a decent package of utility templates, etc, for a fresh installation? [04:42:55] Stuff like {{if}} et al. [04:43:44] !parserfunctions | EugeneKay [04:43:44] EugeneKay : "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [04:43:57] Ah. [04:44:13] *EugeneKay puts on dunce cap [04:44:41] checkers_: MediaWiki isn't really developed to be thread safe, but I do know that it is run in a lot of asyncronous environments. [04:50:19] Algo: Looks like the change happened in 24022. The parser version was raised to 1.6.2 in 23396, just two revisions earlier. So unless someone checked out a SVN copy during those two versions, checking if v is 1.6.1 or less should work [04:50:39] Awesome, thank you =) [05:17:34] 03shinjiman * r28294 10/trunk/tools/planet/pt/config.ini: set the locale to pt_PT [05:25:45] 03laner * r28295 10/trunk/extensions/SmoothGallery/SmoothGallery.php: Adding support for different types of javascript fallback [06:08:32] Just a quick question to be certain... will upgrading remove my skins? [06:08:41] (to the latest version^) [06:09:10] No, it won't. But if you are using highly customized skins, they may break under the new version. [06:09:22] Alright. [06:51:55] who wants to help landlord ^_^ [06:53:12] new preprocessor bug demo: http://en.wikipedia.org/w/index.php?title=User:Tim_Starling/Test&oldid=176725087&timtest=brokepp [06:53:56] Hehe .. that's a fun one :) [06:54:20] that was the one that broke [[United States]] last time I tried to deploy it [06:54:54] Does the parser simply remove all or does it serve them as html comments? [06:55:09] it removes them, but it does it in removeHTMLtags() [06:56:00] which was previously before parser function expansion, but is now after [06:56:16] Well, it seems like it would be pretty safe to move it above it [06:56:31] what, removeHTMLtags()? [06:56:37] Yes [06:56:40] Or am I missing something? [06:56:40] move it above parser function expansion? [06:56:45] yes, 'fraid so [06:56:53] Ah, okay, then do explain :) [06:57:07] It seems like the parser functions would expect to reveive pre-evaluated arguments [06:57:11] did you read my post about the new preprocessor? [06:57:18] No, I haven't yet. [06:57:39] So, I presume it would best to refrain from commenting before I read that :) [06:57:47] yeah, that might be best [06:57:50] kk :) [06:58:38] btw, Algo: If you have more questions / problems with the Parser, Tim is the guy to ask :) [06:59:17] nah, I'm pretty alright now =) [06:59:34] k :( [06:59:38] guys [06:59:42] Woops, :) * [06:59:44] want to help with my main page? [06:59:46] if so [06:59:48] you get a cookie [06:59:48] and a <3 [07:00:02] Landlord: It might help to simply ask your question :) [07:00:09] o touche sir [07:00:10] ok well [07:00:25] www.husker.wikia.com [07:00:30] i want that main page to look like this [07:00:34] http://img187.imageshack.us/my.php?image=mainpagewishespv8.png [07:01:01] [07:02:12] Looks fairly similar, what are you having problems with specifically? [07:02:25] adding the boxes that aren't currently there =/ [07:02:37] Such as .. ? [07:02:48] all the ones that are on the photoshop but not on the actual main page? [07:02:48] :S [07:03:20] you could try #wikia [07:03:28] haha [07:03:29] i'm in there [07:03:34] they are OPPOSITE OF ACTIVE [07:03:49] passive? [07:03:56] Inactive :) [07:04:06] sillie man [07:04:58] *amidaniel|away has to wander off briefly .. will be back in a while [07:05:14] o darn ;( [07:11:03] > $dom = $wgParser->preprocessToDom( "\x80" ); [07:11:10] > print $dom->saveXML() [07:11:15] [07:11:22] that's one bug fixed at least [07:16:37] I could have the preprocessor strip comments [07:16:45] the line-ending handling is a bit complicated though [07:18:14] mmm, doing it that way would almost certainly cause some whitespace changes [07:19:50] I've even seen template code that explicitly takes advantage of the odd behaviour of whitespace around comments [07:20:04] {{sometemplate}} [07:20:38] so that when sometemplate expands to nothing, the comment is left on a line of its own and the line ending is stripped [07:21:57] is there a channel for template programmers? [07:26:38] 03siebrand * r28296 10/trunk/phase3/languages/messages/MessagesAst.php: Remove double entry in credits [07:42:41] hi there [07:42:43] i want to ask [07:42:53] is there anybody available? [07:43:45] anyway, is there anyway to automatically get article from wikipedia and then automatic put it inside my own wiki? [07:56:40] !groups [07:56:42] !Groups [07:56:44] bah [07:58:37] 03siebrand * r28298 10/trunk/extensions/ (13 files in 13 dirs): [07:58:37] Localisation updates from Betawiki. [07:58:37] * Fixes and additions to 13 extensions for bg, cs, hsb, hr, nl, ro [08:07:08] taduyducvn: afaik [[Special:Import]] [08:07:24] kk [08:08:18] how about [08:08:20] images [08:09:34] taduyducvn: download/upload [08:10:06] is there anyway to import directly? [08:10:08] taduyducvn: there is a bot you could kick into shape (imagecopy.py/imagetransfer.py) [08:10:26] wow [08:11:01] 03(NEW) query for Has_category::+ doesn't work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12253 minor; normal; MediaWiki extensions: Semantic MediaWiki; (info) [08:11:12] taduyducvn: import directly? [08:11:44] i mean the images [08:11:56] let me try the bot [08:12:01] 03tstarling * r28299 10/trunk/extensions/ParserFunctions/ (Expr.php ParserFunctions.php): [08:12:01] * Object versions of #ifexpr, #switch and #ifexist [08:12:01] * Fix for lack of StubObject in ~1.7 [08:12:01] * Ignore HTML comments in expressions, which may now appear due to the parse order change [08:12:18] where can i get that? [08:12:40] taduyducvn: not that I know. There is an extension InstantCommons in the works, that would enable direct imports from Wikimedia Commons, but that is not production ready yet [08:13:41] taduyducvn: http://pywikipediabot.sourceforge.net [08:13:55] 03tstarling * r28300 10/trunk/phase3/includes/Parser.php: [08:13:55] * Hacky fix for invalid character problem [08:13:55] * Fixed bug in Parser::splitBraceNode [08:23:53] siebrand, the bot using from Shell or web interface? [08:37:16] 03siebrand * r28301 10/trunk/phase3/languages/messages/MessagesEn.php: [08:37:16] * minor fixes [08:37:16] * fix to correct ISO 15924 [08:41:47] taduyducvn: shell [08:41:54] ok [08:45:15] http://pastebin.com/m2d880181 [08:45:19] i have this problem [08:45:28] 03siebrand * r28302 10/trunk/phase3/languages/messages/MessagesEn.php: Refer to Betawiki for UI localisation [08:47:46] 03(mod) query doesn' t return pages where object is in category namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12253 summary; +comment (10info) [08:50:57] HEY [08:51:09] 14(DUP) Inputbox wont parse magicwords ({{CURRENTYEAR}}, etc) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12236 +comment (10raimond.spekking) [08:51:10] 03(mod) Template parameters unavailable to XML-style parser tags - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2257 (10raimond.spekking) [08:51:13] is it the bot for wikipedia.org only? [08:51:19] is it the bot for wikipedia.org *only*? [08:51:23] who wants to help landlord [08:52:10] 03(mod) Enable TitleBlacklist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12245 +shell (10raimond.spekking) [09:01:46] Landlord: Just ask your question [09:02:09] i need help with my main page [09:02:12] www.husker.wikia.com [09:02:17] i want it to look like this [09:02:19] http://img187.imageshack.us/my.php?image=mainpagewishespv8.png [09:04:47] 03(mod) Special:Search may return duplicate results - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12237 (10raimond.spekking) [09:19:49] OKAY THANK YO [09:19:51] + U [09:23:36] taduyducvn, look at scary transclusion [09:23:49] what do you mean [09:24:12] it's a feature which allows you to treat other mediawiki sites as simply another namespace [09:24:25] at least, that's what my memory tells me, but it's been a few months since I last used them [09:24:30] no [09:24:35] i need exact copy [09:24:37] :D [09:24:43] not the reference [09:24:45] :D [09:25:10] so you mean, your page 'Foo' will be the same as the wikipedia page 'Foo'? [09:25:48] do you want the edit history too? [09:29:49] yes [09:29:52] no need [09:29:58] juz the final revision [09:30:05] so the Foo page will be the same [09:30:10] this can be use export [09:30:10] then scary transclusion will be what you need [09:30:12] but the image [09:30:14] wont do [09:30:24] you should be able to scarily transclude images [09:30:38] really [09:30:41] let me try [09:30:45] do you have the link? [09:31:36] for..? [09:31:45] scarily transclude images [09:31:55] if it's scary transclusion, there's a page on the mediawiki site [09:32:07] I forget the details of setup sorry [09:32:12] has anyone thought about a .js and .css at the site level to complement the mediawiki level and the user level? [09:35:28] Hello [09:36:44] hippietrail: Come again? [09:37:51] 03siebrand * r28304 10/trunk/extensions/ (17 files in 16 dirs): [09:37:51] Localisation updates from Betawiki. [09:37:51] * Fixes and additions to 17 extensions for hsb, no, sk, vec [09:37:54] amidaniel|away: when you extend mediawiki you sometimes add stuff that needs js and css just as standard mediawiki does, it's more stuff that belongs in wikibits.js etc than in say Monobook.js [09:38:44] extend it how? Through extensions, you mean? [09:39:04] so instead of altering wikibits.js and the other files which cannot be edited via the MediaWiki namespace, adding per-site files [09:39:50] well maybe a hook at the place the current standard files are loaded so an extension can load other css & js files [09:40:18] I don't really follow ... plenty of extensions add their own js / css [09:40:37] add to existing js/css files or add their own files? [09:40:54] The latter [09:42:04] my site alters wikibits.js because it does something based on existing code in there - but the solution doesn't seem satisfactory - there are always conflicts during svn update [09:43:07] it seems to me that sometimes the changes belong in extensions but sometimes not [09:43:16] Well, you certainly shouldn't edit wikibits.js .. rather, you should add additional files [09:43:44] for instance all mediawiki sites would share most wikibits and all wikipedias would share more. but wiktionary might want stuff which is different to what wikipedias want [09:44:01] Sure [09:44:31] so it seems there could be a separation of wikibits.js then wikipedia.js and wiktionary.js etc [09:44:32] And most of that is done via MediaWiki:Common.js / css, etc., or by extensions. [09:44:47] Ahh .. okay, I see where you're going with this. [09:45:13] Possibly, I'm not sure of any js that really is common to all wiktionaries, etc., though [09:45:34] of course the wiktionaries diverge more from each other perhaps more than any other wikimedia project but that's kind of beside the point [09:46:10] wiktionary is probably an exception but all wikipedias are very close as are wikisources etc... at least i think [09:47:06] another way to look at is that experimental features evolve in common/monobook js/css but at some point they deserve to be standardized and moved into mediawiki for all related projects [09:49:55] Well if there's css/js that you want to be standardized for all wiktionaries, etc., file a bug for it. It can certainly be done. [09:50:46] thanks. i just wanted to see if anyone had brought up such a topic before [09:51:33] it's good to hear some opinions or perspectives before filing bug/rfe reports [10:02:02] 03(mod) Preference to toggle edit tools - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11130 +comment (10hippytrail) [10:04:03] is there anyway to list all images? [10:04:07] 03rotem * r28305 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialMovepage.php): Escape page names in the move successful page (e.g. for pages with two apostrophes). [10:04:25] is there anyway to list all images? [10:05:40] is there anyway to list all images? [10:06:26] Special:Allpages, and then select the namespace Image: [10:07:29] very nice... [10:15:44] Hello [10:25:27] what? [10:27:50] hi there [10:28:00] is there any possible way to make wikimedia [10:28:12] automatically get the images from a folder? [10:28:27] no. but for mediawiki, maybe :) [10:28:33] i mean it will automatic using that images, make thumbs, blah blah [10:28:44] automatically how? [10:28:48] i have tags [10:28:49] like this [10:28:56] [[Images.jpg [10:29:00] [[Images.jpg]] [10:29:04] yea, sore [10:29:12] but it doesnt show up, because there is no images.jpg [10:29:14] what i mean is: there's an import feature [10:29:18] for importing stuff once. [10:29:19] so i click it [10:29:22] yes [10:29:31] i click it, it go to upload page [10:29:37] so instead of doing that [10:29:49] it will automatic find that image in Upload/ folder [10:29:57] then use it, make thumbs of it [10:30:20] mediawiki needs to know about the image. it has to have a record in the database. [10:30:47] you can import all images from a folder into mediawiki. but that's a maintenance job, not an on-demand thing [10:30:55] ok [10:30:58] im admin [10:31:01] so how to do that [10:31:05] from maintainance? [10:31:16] maintenance/importImages.php [10:31:43] i guess doing this autopmatically could be implemented, using the filestore interface. but afaik, it doesn't exist [10:32:13] do i need to remove the htaccess? [10:32:36] This script must be run from the command line [10:32:38] what the... [10:32:40] its a PHP [10:33:03] yes. php is just a scripting language [10:33:15] and all maintenance scripts have to be run from the command line [10:33:17] !shell [10:33:17] Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [10:33:54] so it will be like this: [10:34:10] ./wiki/pub/maintenance/import.php ? [10:34:13] in the shell [10:35:13] more like this: cd ./wiki/pub/maintenance; php importImages.php /your/upload/directory [10:35:16] -bash: ./importImages.php: Permission denied [10:35:19] ah [10:35:21] php [10:35:32] php importImages.php [10:35:43] you may have to set up the AdminSettings.php first, not sure [10:36:17] let me try [10:37:10] <_wooz> lo [10:37:19] lol [10:37:23] lol lo [10:56:41] Good morning. I have a question about including external pictures in mediawiki. I managed to include external pictures in my test wiki, but how do i include external pictures which dont have an image extension? (php in this case) [10:57:06] i don't think its possible. [10:57:26] externalö images are a nasty hack anyway [10:57:41] what do you need it for, exactly? [10:57:51] just one specific image? [10:57:59] To include graphs which are created on the lfy [10:58:03] *fly [10:58:53] if it's a well known set of stuff, use the HTMLets extension or some other thing that lets you insert raw html [10:58:55] !html [10:58:55] For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include and . [11:05:32] 03(mod) #ifexist limit exceeding should be indicated on the page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12233 (10N/A) [11:16:22] i would like the portion of the html due to the article wikitext to be wrapped in a div with id or class bodyText [11:22:25] hippietrail: how about
? [11:23:21] Duesentrieb: yes i've experimented with it but i'm not sure the best place in the source to add it. i've put it in MonoBook.php but that's skin specific [11:23:52] everything but CologneBlue is monobook-based, i think. [11:24:01] to put it in SkinTemplate.php seems like it would be a bit of a hack so i'm looking for which part of Article.php would be best [11:24:08] the alternative would be to make OutputPage add it. [11:24:13] but that might break stuff [11:24:21] it really belongs into the skin somehow [11:24:54] i tried it in OutputPage/output() and it didn't work everywhere [11:25:22] is skintemplate.php an abstract base class of all skins? [11:26:06] i could add it to the line: $tpl->setRef( 'bodytext', $out->mBodytext ); [11:27:00] no, cologneblue doesn't use skintemplate [11:27:27] skin ist the only class that is used by all. but half of its methods are replaced by other mechanisms in skintemplate [11:27:31] its all a big mess [11:27:51] i hope all the skin code gets thrown out at some point. [11:27:58] yeah i tried it in skin.php first and it didn't work [11:28:07] but then, there are a lot of extensions that rely on the strange and wonderful code we have now [11:28:39] hippietrail: i my experience, you have to do everything twice. once for skin (old style), and once for skintemplate [11:29:34] i can't decide whether i should also emit it to wrap action=render [11:30:25] no. [11:30:39] action=render should show parser output as is [11:34:06] fair enough [11:34:37] so we do really need a way to delineate which part of the article is the action=render part [11:35:19] some of us on en.wikt have tried to parse the article dom and filtering out stuff not due to wikitext is too nondeterministic [11:39:37] hmm the only way i can see to do it in outputpage.php is a bit of a hack where i modify mBodyContent just before the call to sk->outputpage() [11:44:40] that does work nicely though [12:07:56] WoW [12:08:05] :P [12:08:13] lol [12:10:25] :| [12:10:27] :| [12:13:44] 03siebrand * r28306 10/trunk/extensions/ (9 files in 9 dirs): [12:13:44] * complete $wgExtensionCredits [12:13:44] * remove trailing whitespace [12:15:35] 03vasilievvv * r28307 10/trunk/extensions/TitleBlacklist/ (TitleBlacklist.list.php TitleBlacklist.php): [12:15:35] TitleBlacklist: [12:15:35] * Allow to use different sources of blacklist: local page, URL, file [12:16:35] The thumbnails on my mediawikiinstallation is quite strange (http://connect-utb.com/wiki/index.php/Spesial:Ukategoriserte_filer (Crystal_Clear_app_kscreensaver.png)) [12:32:51] 03siebrand * r28308 10/trunk/extensions/ (9 files in 9 dirs): [12:32:51] * complete $wgExtensionCredits [12:32:51] * remove trailing whitespace [12:42:30] 03(mod) Include path for templates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11361 +comment (10mike.lifeguard) [12:44:15] hello... I am trying to re-install mediawiki on ubuntu gutsy, am running the install script from the web browser, and am now unsure of what to do [12:44:33] it eds with the following lines: revision timestamp indexes already up to 2005-03-13 [12:44:33] ...rev_text_id already in place. [12:44:33] Set $wgShowExceptionDetails = true; in LocalSettings.php to show detailed debugging information. [12:44:44] anyone got advice? [12:55:47] hume, It looks installation will continue even with this warning [12:56:05] hume, Is it fatal? [12:56:21] soroush, well, if I try the main page it says it has to be set up first [12:56:29] 03siebrand * r28309 10/trunk/extensions/ (14 files in 14 dirs): [12:56:29] * complete $wgExtensionCredits [12:56:29] * remove trailing whitespace [12:56:59] what I did now, was that i copied the NoLocalSettings.php from the includes directory to the /ar/lib/mediawiki1.10, and now setup is complete [12:57:18] but is does not run: the main page says:Warning: require_once(/includes/AutoLoader.php) [function.require-once]: failed to open stream: No such file or directory in /usr/share/mediawiki1.10/includes/Setup.php on line 57 [12:57:20] and [12:57:28] Fatal error: require_once() [function.require]: Failed opening required '/includes/AutoLoader.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/mediawiki1.10/includes/Setup.php on line 57 [12:58:05] hume: use MediaWiki 1.11 (or 1.12alpha) [12:58:17] no, I want the ubuntu package [12:59:17] /me dislikes Debian/Ubuntu packages. It's much more simplier to deal with one director inside /var/www [12:59:26] We are not aware of the way ubuntu packages mediawiki, and therefore cannot provide any support for the issue you are encountering. Please contact the maintainers of the ubuntu package for any support. [12:59:55] 03(NEW) New namespace request - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12254 15enhancement; normal; Wikimedia: General/Unknown; (korkodush) [13:01:58] *soroush I hadn't understood hume's installation wasn't a usual one [13:02:55] hume, Is it sth like a dev package that you expect it to install mediawiki to you? [13:03:22] I believe it is so better to install the CMS specially mediawiki manually [13:03:36] ok, i get that, however, as ubuntu is not that unusual and as I understood the install script was original, my belief was that it could be better understood here.... [13:04:33] sth? [13:04:34] The thumbnails on my mediawikiinstallation is quite strange (http://connect-utb.com/wiki/index.php/Spesial:Ukategoriserte_filer (Crystal_Clear_app_kscreensaver.png)) [13:04:40] How do I fix them [13:05:25] 03siebrand * r28310 10/trunk/extensions/TitleBlacklist/TitleBlacklist.i18n.php: [13:05:25] * Fix invalid XHTML [13:05:25] * Rename a message and remove translations after it was changed in revision 28281 [13:05:25] Submitted by: SPQRobin [13:08:28] siebrand: and what about renaming message in the code that uses it? [13:08:31] hume: you're referring to odd files I've never heard of before, ("noLocalSettings.php"), and your files seem to be wanting to include '/file', rather than just 'file'.. so it's a package issue. [13:08:51] ok [13:08:52] Werdna: includes/templates/NoLocalSettings.php [13:09:00] oh [13:09:00] meh [13:09:04] aha [13:09:05] :) [13:12:38] siebrand: I think you missed something in r28310, there's no fix of invalid XHTML [13:13:13] VasilievVV|Busy: that's what SPQRobin also let me know. He may have sent me an incorrect patch. He's looking into it. [13:13:51] hmm.. $IP seems to be wrong. [13:14:30] VasilievVV|Busy: look at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/TitleBlacklist/TitleBlacklist.i18n.php?view=markup > this looks fine (I only changed en) [13:15:39] SPQRobin: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/TitleBlacklist/TitleBlacklist.i18n.php?r1=28310&r2=28309&pathrev=28310 [13:17:11] VasilievVV|Busy: yes, I saw that too. Strange, but the file itself looks ok [13:18:14] SPQRobin: also, you didn't fix message name inside the TitleBlacklist.hooks.php [13:18:34] 03vasilievvv * r28311 10/trunk/extensions/TitleBlacklist/TitleBlacklist.hooks.php: Also fix message name in the code [13:18:41] hello, where I can setup the possible URI ? [13:20:40] VasilievVV|Busy sorry, forgot :-S [13:21:56] 03siebrand * r28312 10/trunk/extensions/TitleBlacklist/TitleBlacklist.php: * complete $wgExtensionCredits [13:30:10] hi, can i upgrade my mediawiki 1.11 to 1.5 ? because i don't find the upgrade [13:31:22] hmm 1.11 is the newer version ;) [13:31:40] http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.11 [13:33:15] but this setting requires MediaWiki 1.5 : http://www.mediawiki.org/wiki/Manual:%24wgLivePreview [13:34:10] 1.5 OR GREATER - not 1.5 [13:34:20] it's still in use, so it works w/ 1.11 [13:34:26] plus 1.5 sucks. a lot. [13:34:49] 1.11 is newer than 1.5 ? [13:35:13] O.O [13:35:17] of course it is... [13:35:21] 11 > 5... [13:36:19] lol.. sorry i though that 1.11 < 1.5 [13:36:29] absss: see http://en.wikipedia.org/wiki/MediaWiki#Release_history [13:41:11] i just svn updated to revision 24450 from a version about 50 or so earlier and i get: from within function "Article::pageData". MySQL returned error "1054: Unknown column 'page_key' in 'field list' (localhost)". [13:41:33] i can't see anything remotely like 'page_key' in the diff [13:42:10] maybe it's broken? [13:42:19] that happens, you know :) [13:42:39] hippietrail: maybe run update.php [13:42:39] SPQRobin: thanks [13:42:55] well, duh [13:43:17] Duesentrieb: that's why i'm updating 50 revisions at a time because i don't remember the stuff in my working copy too well anymore [13:44:31] Adding page_key field to table page...PHP Warning: fopen(/var/www/wiktionarydev/maintenance/archives/patch-page_key.sql): failed to open stream: No such file or directory in /var/www/wiktionarydev/includes/Database.php on line 2171 [13:45:06] i'm a programmer not a sysadmin )-: [13:45:40] thank you.. but why can't enable the LivePreview feature on my mediawiki? i enabled $wgUseAjax and $wgLivePreview as MediaWiki manual says but there isn't any additional option in my user settings page [13:46:46] what i should do? [13:46:50] hippietrail: sounds like someone forgot to check that patch file in [13:47:10] absss: well, where did you put the config options? [13:47:17] Duesentrieb: should i just try updating to a few revisions later? [13:47:27] hippietrail: worth a try [13:47:33] thx [13:47:56] hippietrail: how are you deciding what revision to update to anyway? [13:49:29] Duesentrieb, i put it in my LocalSettings.php [13:49:30] Duesentrieb: i did svn status and info? to see what revision my working copy was at, looked on svn.wikimedia.org to see what the current site uses, and decided increments of 100 revisions might be easier than just updating to the latest in one hit [13:49:52] absss: where? it should be near the end. definitely after the include stuff. [13:50:21] hippietrail: easier how? [13:50:28] at the beginning of the file [13:50:36] absss: bad move. [13:50:41] put it at the end [13:51:26] Duesentrieb: i imagine the codebase has changed a lot over the year or so since i last worked on it [13:51:30] now it work.. thanks $wgUseAjax = true; [13:51:30] $wgLivePreview = true; [13:52:03] hippietrail: yes. so you think upgrading 100 times to random more or less broken revisions is easier then upgrading once? that sounds like a bad idea. [13:52:54] thanks Duesentrieb... [13:52:57] Duesentrieb: it's a code hacking wiki not a production wiki so it has various hooks and changes that conflict often enough anyway [13:53:35] you are only increasing the mess [13:53:37] since i'm not experienced at this kind of thing and out of touch with my code [13:53:47] make a diff, get a clean checkout, try to apply the patch. [13:53:57] merge by hand where it doesn't woek [13:54:26] merging can be hard when i can't remember my changes, so a few conflicts at a time seemed like a way to ease back into it [13:54:44] if you think so [13:54:52] i think you are making it much harder than it needs to be [13:55:41] i wouldn't even know the best way to get a clean checkout without asking a bunch of questions here \-: [13:59:28] hippietrail: move your old stuff out of the way, then do svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [14:00:50] Duesentrieb: i think i'd need to get the right set of extensions too and localsettings.php and anything else? [14:01:56] use your old localsettings [14:02:15] for the extensions, just do another checkout: http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions [14:02:26] then copy or symlink all the extensions you need into phase3/extensions [14:02:44] thanks for your patient advice [14:06:32] nice one [14:11:02] I'm trying to understand the exact problem with #ifexists to answer someone's question about it. In particular, why is an #ifexists call more heavy than a template transclusion ? [14:13:12] MORNING [14:13:15] MOIN [14:13:16] morning [14:13:19] anyone here? [14:13:25] that can help me configure [14:13:27] ? [14:13:49] i will [14:13:58] make an other logo [14:14:08] but i become error messages [14:14:12] you want to change from one logo to another? [14:14:14] can anyone help me? [14:14:17] i want [14:14:19] wait [14:14:22] this is my hp [14:14:30] radio-stalker.vbhosting.de [14:14:40] i want change left high the logo [14:15:13] carl-m: it's not [14:15:15] wait i musst confihure [14:15:37] just upload an image called Wiki.png [14:15:43] isnt that it?? [14:15:57] a template transclusion is typically quite a bit more expensive than #ifexist [14:16:02] Masteredu: what is the syntax of line 128 in LocalSettings.php? [14:16:17] TimStarling: I thought perhaps the caching was affected differrently [14:16:45] what? [14:16:51] i now have configured [14:17:00] but i want change the logo [14:17:07] it comes the message on the picture [14:17:33] set $wglogo to the url dath to your own logo image [14:17:38] swlogo [14:17:44] Masteredu: you need to set $wgLogo to the full URL of the image you want [14:17:46] $wglogo [14:17:58] and how is the standard code? [14:18:09] an example please [14:18:45] TimStarling: someone was asking why ifexists waslimited, since it seems to be about the same load as transclusion, which has much higher limits [14:19:26] /opt/csw/apache2/share/htdocs/wiki/skins/common/images [14:19:38] is the name of my images directory [14:20:53] $wgLogo = "$wgStylePath/common/images/xxx.jpg"; [14:21:16] is the line in LocalSettings.php [14:22:26] i have [14:22:27] make it [14:22:37] but now it dont gives an picture xD [14:22:39] look your self [14:22:49] radio-stalker.vbhosting.de [14:22:59] Masteredu: what is the URL of the picture? [14:23:01] lol [14:23:09] $wgLogo = "{$wgStylePath}/common/images/wiki.png"; [14:23:14] 03(NEW) Closure of mowiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3D12255 normal; normal; Wikimedia: Site requests; (semenik) [14:23:36] the path is [14:23:37] $wgLogo = "{$wgStylePath}/common/images/wiki.png"; [14:24:02] and the hp dont dont gives an picture on the left high side [14:24:13] look your self:radio-stalker.vbhosting.de [14:24:42] Masteredu: what's the real URL? [14:25:14] what you mean? [14:25:17] the real url? [14:25:27] a URL I can type into my browser to see that the image can be loaded [14:25:34] oh you mean that [14:25:38] wait [14:25:47] uppercase / lower case name for the png file? [14:27:20] i dont know [14:27:23] the picture url [14:27:28] whats the name of the directory it's on your server? [14:27:36] what you mean [14:27:42] that? [14:27:43] $wgLogo = "{$wgStylePath}/common/images/wiki.png"; [14:27:44] Masteredu: the configuration you used says it is in /common/images. [14:28:04] do you user windows or unix? [14:28:34] im windows user [14:28:50] What folder have you put the picture in? [14:28:51] arghhh [14:28:53] svnignore didn't work [14:29:00] 03midom * r28313 10/trunk/webstatscollector/ (53 files in 17 dirs): import web statistics collector/dumper [14:29:13] i have put [14:29:16] in the pictures [14:29:19] in [14:29:36] stupid import [14:30:17] carl-m: replied on WP:VPT [14:30:18] skins/common/images [14:30:38] TimStarling: thanks [14:30:54] I have it [14:30:56] this is the link [14:30:57] https://radio-stalker.vbhosting.de/skins/common/images/wiki.png [14:31:24] Masteredu: ok, as a first set, set wgLogo to that full URL [14:32:24] 03midom * r28314 10/trunk/webstatscollector/ (.bzr/ .bzrignore dumps/): remove some stuff that doesn't belong to source [14:32:32] argh, it removed bzr stuff now :) [14:34:51] how can i makes LivePreview show all the page, and not only some rows? [14:36:26] Masteredu: now I see an image [14:38:18] re [14:38:21] i have i net errors [14:38:28] why it dont go? [14:38:37] wikimedia [14:38:39] on my side [14:39:00] Masteredu1: I see the image now on your wiki [14:39:10] but i dont want this image [14:39:13] i want an other [14:39:16] not the standard [14:39:21] 03midom * r28315 10/trunk/webstatscollector/ (. .gdb_history .svnignore collector): removing stuff [14:39:27] ok. you have the file for the other one? [14:39:59] yay spam :) [14:40:28] 03midom * r28316 10/trunk/webstatscollector/.svnignore: remove svnignore too [14:40:33] what [14:40:39] format musst the picture have? [14:41:08] anything a web browser can display [14:41:32] 135x135 pixels [14:41:39] png is probably best [14:44:19] Masteredu1: good luck, I'm sure it will work in the end [14:44:37] i have it [14:48:49] 03(CLOSED) Please delete articles on Choctaw Wikipedia which have been imported to the incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10748 +comment (10triyork) [14:52:24] how can i make LivePreview enabled by default for all users ? [14:53:39] absss: $wgDefaultUserOptions['uselivepreview'] = 1; [14:53:49] $wgLivePreview = truel [14:53:52] *true; [14:53:55] thank you [14:56:00] 03(NEW) New mailing list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12256 15enhancement; normal; Wikimedia: Mailing lists; (robin_1273) [15:00:34] 03(mod) New mailing list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12256 (10triyork) [15:01:39] trying to setup Tex sup. after installing all req. on an etch box i can't locate my 'math' dir. anyone ? [15:02:46] LV-426: did you install MediaWiki from tarball/Subversion or from deb/rpm package? [15:04:16] from a debian repository, running v1.9 [15:05:55] !nopackages | LV-426 [15:05:55] LV-426: We are not aware of the way Ubuntu/Debian/etc packages mediawiki, and therefore cannot provide any support for the issue you are encountering. Please contact the maintainers of the package for any support. [15:06:47] i'm trying to compile texvc but i can't find the make file .... ho ok ...well thanks anyway. [15:08:46] 03(NEW) Update some documentation files - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12257 minor; low; MediaWiki: Documentation; (alex.emsenhuber) [15:12:08] 03(mod) Update some documentation files - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12257 +patch (10alex.emsenhuber) [15:37:35] 03shinjiman * r28317 10/trunk/phase3/languages/messages/ (4 files): [15:37:35] * Update Chinese translations [15:37:35] * Update Cantonese translations [15:37:35] * Update Old Chinese / Late Time Chinese translations [15:38:58] 03(mod) compress javascript output - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12250 (10alistrius) [15:49:28] 03(mod) compress javascript output - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12250 +comment (10tstarling) [15:51:09] !shell [15:51:09] Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [15:52:23] Is it possible to set up a browser shell, to run shell scripts in the browser? [16:00:04] you could use phpShell [16:00:28] it emulates a command-line interface via php functions [16:00:36] (don't know link offhand) [16:07:13] maintenance scripts are specifically designed to not allow execution from the web [16:07:29] because it is insecure [16:14:18] Notice: Undefined variable: skin in C:\web\xampp\htdocs\phase3\includes\OutputPage.php on line 1040 [16:16:55] 03vasilievvv * r28318 10/trunk/phase3/includes/OutputPage.php: Fix broken code [16:24:59] 03shinjiman * r28319 10/trunk/phase3/ (16 files in 5 dirs): [16:24:59] * (bug 12145) Update Kazakh translations, adding kk-variants [16:24:59] Patch by AlefZet [16:25:22] 03(FIXED) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 normal->15enhancement; +comment (10shinjiman) [16:36:24] 03shinjiman * r28320 10/trunk/tools/planet/ (de/config.ini fr/config.ini ru/config.ini): using native month names for de, fr and ru [16:37:06] 03(NEW) Request for new namespace for Bengali Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12258 15enhancement; normal; Wikimedia: Site requests; (bellayet) [16:50:09] 03(mod) New mailing list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12256 (10siebrand) [16:54:02] hi there [16:54:17] What kind of page is the normal editor page? [16:56:18] i mean... i want to make an extension which displays a page containing something like the preview from an edited page [16:56:43] additionally it should have some buttons and input fields [16:57:31] 03(mod) New mailing list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12256 (10cbrown1023) [16:57:41] so i like to know how the EditPage is built [17:02:49] nobody? [17:03:13] !docs | Agsa [17:03:13] Agsa: An overview of available documentation about MediaWiki can be found at [17:03:42] !help [17:03:42] Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at http://www.mediawiki.org/wiki/Mwbot, you can find all my source code at http://amidaniel.com/viewvc/trunk/MWBot/?root=svn [17:06:18] well i read about 30 pages and every minute i am more confused [17:06:47] but thanks anyway :) [17:08:40] ah found something [17:09:42] 03(NEW) Non-localized number in deleted pages seen by admin - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12259 normal; normal; MediaWiki: Internationalization; (roozbeh) [17:21:06] What's the name of the Image Link template? For when you want to make an image link to a page other than it's description page? [17:21:43] hi there [17:21:55] is there anyway to use MediaWiki [17:22:00] with Google Aps email? [17:22:59] TimLaqua_away, just put [Image: imagename.jpg] [17:23:08] it will automatic create a link to your image [17:23:16] umm.... [17:23:30] I don't want a link to my image, I want a link to elsewhere [17:23:36] is there anyway to use MediaWiki with google aps SMTP? [17:25:21] TimLaqua: Which of the dirty hacks do you want? :) [17:25:40] Dashiva: w/e - not external image syntax [17:25:50] If it's a static link, is nice. [17:25:52] !imagemap | TimLaqua [17:25:52] TimLaqua : ImageMap is an extension that allows you to override the default linking behavior of images. See for more information. [17:26:14] TimLaqua: There's also {{click}} on some wikis, which is a horrible CSS hack. [17:26:34] pls [17:26:35] You have (static), click (css hack), the other one (requires hardcoded URLs) [17:26:35] is there anyway to use MediaWiki with google aps SMTP? [17:26:44] blah [17:26:48] but ty. [17:26:54] there is a hack for external image linking [17:27:03] I have a template that uses imagemap with subst to allow variables [17:27:11] makes sense [17:27:11] like [17:27:12] But then it won't change if the template changes later [17:27:43] its not hack [17:27:45] its extension [17:27:55] imagemap looks pretty solid [17:28:12] taduyducvn: That's not necessary; MediaWiki has an option to allow external images. [17:28:21] *TimLaqua wanders off and uses the external link syntax because he's lazy. ;-) [17:28:21] yea, i think so [17:28:34] :-) [17:28:40] TimLaqua: You could always join in fixing 2257 ;) [17:28:42] what about SMTP [17:28:43] I have an interesting problem... I just upgraded to mediawiki 1.11 and now "index.php/example" style links don't work - they all redirect to "index.php?title=Main_Page" [17:28:52] Dashiva: lemme take a look [17:29:05] mod_php is probably not installed [17:29:07] That's the bug preventing imagemap from taking variables [17:29:16] or there is something wrong with .htaccess [17:29:30] dvyjones, for my site? [17:29:43] yikes, 2257 is a monster. [17:30:07] :( [17:30:10] what about SMTP [17:30:15] TimLaqua: No kidding :) [17:31:05] dvyjones, any idea on how to fix the issue? [17:31:31] in upgradeing from PHP4 to PHP5 my host switched to PHP-as an addon to PHP-via CGI [17:31:33] j_smith: did you forget to re-change localsettings.php? [17:31:46] I'm having some trouble with abusers on one of our wikis... but I can't seem to be able to protect pages. [17:31:47] 03midom * r28321 10/trunk/webstatscollector/ (collector.c export.c): minor fixes, add serial number to format [17:31:56] I was looking for a variable that would control that but I couldn't find anything. [17:31:57] Anyone know where I'd set the protect attribute on a page? [17:32:04] j_smith: $wgArticlePath [17:32:22] Ohh... I'll check that out. Thanks Skizzerz [17:32:23] of course, you need the rewrite rules in .htaccess too [17:32:44] no skin off my back. [17:32:46] but if it worked before, they still should be there [17:32:59] Well... my ISP is a pain in my neck. [17:33:20] I had to make them upgrade to php5 to upgrade mediawiki from 1.5 to 1.11 [17:33:41] wow... why wouldn't they want php5 anyway? [17:33:45] Anyone know? [17:33:58] setuid: you need the 'protect' permission [17:34:05] Not sure... and now they are forcing us to use PHP via CGI. Terrable waste of resources. [17:34:28] Skizzerz, And how do I get that? I'm the only user in the whole system. [17:34:39] you should have sysop rights, yes? [17:34:40] And I don't know/remember what user and pass I used as the sysop account [17:34:44] Skizzerz, I would think so, yes. [17:34:49] There's only 1 user in the user's table [17:34:55] if you aren't logged in, that's probably why [17:34:59] I'm logged in [17:35:02] oh [17:35:38] then check LocalSettings.php and make sure it doesn't have $wgGroupPermissions['sysop']['protect'] = false; somewhere in there (if it does, remove it) [17:35:39] mysql> select count(*) from user; [17:35:40] 1 row in set (0.00 sec) [17:36:00] what about SMTP [17:36:02] Nothing matching sysop in LocalSettings.php [17:36:17] and if it doesn't... add in $wgGroupPermissions['sysop']['protect'] = true; [17:36:31] (near the end, after you include all your extensions) [17:36:35] Right [17:37:06] Nada... I must not be a sysop. [17:37:11] Where is the sysop user stored? [17:37:34] check Special:Listadmins and see if you're on there [17:38:06] No such special page [17:38:15] ok... Special:Listusers/sysop then [17:38:25] wait... what version are you running? [17:38:43] 1.11 [17:38:46] And there is no sysop [17:38:50] Just one user, 'hacker' [17:38:53] (moi) [17:39:15] hacker is your username, right? [17:39:17] yes [17:39:24] ok, does it say hacker (sysop) [17:39:29] Nope [17:39:32] or hacker (bureaucrat, sysop) [17:39:40] (first | last) View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500) [17:39:40] * Hacker [17:39:53] That's the only user listed when I search for (all) [17:40:23] There's one user and he's not a sysop? heh [17:40:27] Correct [17:40:46] setuid: follow the directions in the box on http://meta.wikimedia.org/wiki/Setting_user_rights_in_MediaWiki#Granting_rights_to_users to give yourself access [17:41:09] testing that now [17:41:25] ERROR 1054 (42S22): Unknown column 'user_rights' in 'field list' [17:41:26] bleh [17:41:42] ... [17:41:49] how many articles do you have on the wiki? [17:42:03] hmm... http://mediawiki.googlecode.com/svn/tags/ImageLink/imagelink-1.1.1/ImageLink/ [17:42:07] Dunno, maybe 100+ [17:42:11] =/ [17:42:44] are you modifying the code there to use the correct database/username? [17:42:49] Yes [17:43:02] per those directions above [17:43:13] ohwait [17:43:25] which one are you using, the first or the second one? [17:43:40] (or the third one) [17:44:07] The table doesn't exist, so none of them will work [17:44:08] try using the third one [17:44:13] user_rights isn't in this version [17:44:37] where it says INSERT_INTO user_groups... [17:44:44] mysql> INSERT INTO user_groups (ug_user, ug_group) VALUES ('1', 'bureaucrat'); [17:44:44] ERROR 1062 (23000): Duplicate entry '1-bureaucrat' for key 1 [17:45:39] that is strange, it's saying you have rights that you don't have? [17:46:25] The schema is completely different than what is indicated on this wiki [17:46:37] so someone needs to update the wiki, because those tables and fields don't exist in 1.x [17:47:41] setuid: it's giving you schema's for around 7 different versions [17:47:54] Right, and so far, up to 4, none of them work [17:47:58] From the top down [17:48:14] There is no table user_rights in 1.k11 [17:48:15] er, 1.11 [17:49:24] And there is no column "user_rights" in table user [17:49:45] tables.sql indicates the same [17:49:58] meta generally is not the source for up-to-date info... unfortunately, it's the only place that explains how to do it via sql queries [17:50:09] *nod* [17:50:28] I don't understand where any permissions are stored then, if there is no user_rights table, nor a user_rights field in the user table. [17:50:38] user_groups IIRC [17:51:14] from that last query you ran, it appeared however that the value for bureaucrat already existed, meaning that you ARE a bureaucrat but it's not showing it... [17:51:15] There are two rows... bureaucrat and sysop [17:51:40] I'm unclear where in the user table, that reference to ug_user has to go [17:52:12] Ok, I got it [17:52:15] something is messed up when it tries to retrieve your rights, because you definately have them set... [17:52:19] | ug_user | ug_group | [17:52:19] +---------+------------+ [17:52:19] | 1 | bureaucrat | [17:52:19] | 1 | sysop | [17:52:28] My only user has the id of '2', not '1'. [17:52:37] Not sure where '1' went, but I've only ever had 1 user in this system [17:52:51] mysql> update user_groups set ug_user=2 where ug_user=1; [17:52:53] That fixed it for now [17:53:01] o.0 your user should automatically have the uid of 1, it's the default user from install [17:53:36] Right, I agree. [17:54:07] Someone kept updating the same Talk page on our documentation wiki to backlink to some viagra site [17:54:26] wow... [17:54:34] that's a spambot for you [17:55:36] Every day I change it, another random user comes in and changes it back [17:55:58] well, you can lock anon edits :) [17:56:12] That's on a per-page basis, right? [17:56:19] well, via the protect tab yes [17:56:28] via php, it affects the whole wiki [17:57:12] What's the global var to affect that? [17:57:17] set $wgGroupPermissions['*']['edit'] = false; and $wgGroupPermissions['user']['edit'] = true; [17:57:31] (which makes anons unable to edit, but registered users can) [17:57:58] ah [17:58:06] or if you want to restrict editing to only yourself and others you choose, switch 'user' with 'sysop' :) [17:58:11] Right [18:01:42] I've had to give up my dream of using a google-search in place of mediawiki's search for alas, my site no longer supports short-urls and google has indexed all of the old addresses. [18:02:05] j_smith: try one of the other short url tricks [18:02:37] mod_rewrite [18:02:42] from what I can figure out they are all contingent on PHP-CGI not being used [18:02:45] And proper 301 permanent redirects [18:02:56] I don't have root. [18:03:26] !shorturl | j_smith [18:03:26] j_smith: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. [18:04:30] hmmmm.... ok, that gives a ton of options. I"ll book mark that after I compleate my current project. Thanks mwbot [18:04:45] or Skizzerz :) [18:04:55] :) [18:08:07] I'm working on installing a blacklist to fight those crazy spammers. [18:08:35] http://www.mediawiki.org/wiki/Extension:SpamBlacklist looks like a good one. [18:08:37] How about switching the @name of the inputs on the registration page? :) [18:08:49] lol [18:16:21] Skizzerz, Thanks for the help, we'll see what happens in a few days [18:39:51] 03vasilievvv * r28322 10/trunk/extensions/SiteMatrix/SiteMatrix.php: Fix a typo [18:50:05] 03(mod) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [18:53:03] 03(mod) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [18:53:25] Ok, I got -better- looking URLs now... however, it's not perfect yet. I can tell I'm just a hair away from having this right! [21:43:09] Duesentrieb: so what ever happened to rev_parent_id and blamemapping? [21:45:55] btw, who's working on the rev_deleted bitfields? [21:46:14] some crazy guy [21:46:26] I don't think anybody knows. [21:46:53] Skizzerz: I am [21:46:58] ah, cool :) [21:47:05] Werdna: what happened to roman? [21:47:09] just wanted to say, nice work so far on it ;) [21:47:36] just one bug in regards to deletion of pages and then undeleting them doesn't retain the bitfields [21:47:43] add it to bugzilla [21:48:24] that, and the 'hiderevision' permission is conflicting with the Oversight extension, but that's minor and easily fixed [21:49:06] Isn't that intentional? [21:49:15] I thought there was some replacement to Oversight in the works. [21:49:18] why would you use both anyway> [21:49:26] hence why it's minor :) [21:49:48] considering it's meant to replace oversight anyway, so it shouldn't be a problem [21:52:22] AaronSchulz: rev_parent_id was a nice idea but abondoned. or introduced for future use, or something. [21:53:03] i think it's a bit half-assed. we'd need a separate table to track the "derivation" relation. that way, fork and join could be cleanely tracked and displayed in the history. [21:53:19] it was for making a user blame for each page [21:53:25] writing a nice UI for fork & join, in such a way that it will be used promply and intuitively, is a challange, though [21:53:37] hmm [21:53:52] AaronSchulz: well, it doesn't provide blame capability on its own. it's just a prerequisite [21:54:05] yeah, roman never did the rest [21:54:12] it would for example make it possible to see the "real" genesis of an article, with all revers removed. [21:55:03] i'm more interested in the fork/merge stuff, really [21:55:17] what's that? [21:55:21] blame would be nice, but for that, what we really need would be structured/pre-parsed storage [21:55:44] so it would become cheaper to compare versions - uncahnged parts of the syntax tree would not have to be considered. [21:56:24] AaronSchulz: what's what? fork/merge? well, at the moment, if you want to split a page, or marge two, you have a problem with the edit history. [21:56:43] the license requires you to keep the full history. but how are you gonna do that in each case? [21:57:21] use duplicator extension [21:57:22] tracking where content came from, and where it went, would be nice. which would require a "derivation" table, which would be a more general form of what rev_parent is [21:57:47] duplicating the history is an ugly hack - why not reference it? [21:58:22] especially, in the (common) situation that you want to take half of A and stuff it into B [21:58:41] *AaronSchulz looks at special:MergeHistory [21:59:10] O_O [21:59:15] all that can do is generate confusion... afaik it does what we can do already with delete, move, restore: mix the histories [21:59:26] AaronSchulz, fix SUL pliz :P [21:59:46] if they overlap, this really sucks. looking through the diffs seems to show a massive edit war. when it's really two articles being edited. [21:59:54] Duesentrieb: if you can denormalize enough in a way that is not innefficient, then do so [22:00:16] Duesentrieb: it doesn't let you do that [22:00:22] RIGHT [22:00:24] oops [22:00:33] right, but it's often needed. [22:00:37] well, technically, if you do it enough times [22:00:43] I never saw a case where it was [22:00:57] AaronSchulz: the idea is not to denormalize, but to introduce a new relation. [22:01:27] sorry, I mean "normalize" [22:01:29] rev_parent_id would be tropped, but it's not used anyway. it would be movede into a separate table - each revision could have multiple "parents", and multiple "children". [22:01:46] yeah, a real tree [22:01:54] an acyclic graph, really [22:02:06] because you have fork *and* merge [22:02:39] but this is all just an idea. i'm caught up in other stuff at the moment. [22:03:09] the only way that wouldn't be confusing is to have one big global revision X axis ;) [22:03:22] the way svn does? [22:03:32] you still have that [22:03:34] rev_id [22:04:03] yeah, I guess that would work, since this is a separate table [22:04:09] they would never get deleted [22:04:41] right [22:04:57] but it wouldn't be the same really [22:05:05] doing it retroactively [22:05:13] with some batch inserter [22:05:32] looking at the history, any "parents" that are not the normal "predecessor" would be linked separately in each history line. [22:05:34] that's all [22:06:11] retroactively would be hard - you could only do the trivial stuff. and maybe reverts, using patterns for the comment [22:06:30] or just go back by page_id [22:06:42] there is not really a great way for that [22:06:47] yes, this is what i call the "trivial" parent relation [22:06:53] "previous id on the same page" [22:06:57] yep [22:07:27] anyway, i should get some work done... [22:07:29] have fun :) [22:07:53] you want reverts to reference the orginal id? [22:08:19] any sysops on MediaWiki.org around? [22:08:43] *AaronSchulz pictures having a hash on the text table and hashing text after users revert, checking all old text in that hash for equivalence to the current and marking [22:08:55] ugh [22:09:03] Werdna: moo [22:09:06] do you have an account? [22:11:03] AaronSchulz: yep [22:11:13] is is just user:Werdna? [22:12:51] yep [22:14:24] User "Werdna" is now a sysop [22:14:54] I'm surprised you weren't already, whatever [22:15:17] eww, there's a steward group on mediawiki.org [22:15:46] cheers. [22:16:01] I presume it's okay to transwiki http://meta.wikimedia.org/wiki/MediaWiki_localisation ? [22:17:10] Werdna: probably - there's a lot of stuff pending transwiki, partly because no one seems to know what the "due process" is. i guess it's "be bold". [22:17:28] meh. [22:17:50] and avoid Help:, right? [22:17:51] "couldn't open import file" [22:18:09] yes. don't import into help [22:18:28] is there any sort of project to coordinate moving the pages over from meta? [22:18:34] doubt it [22:18:35] there probably should be if there isn't [22:18:41] 03siebrand * r28325 10/trunk/phase3/maintenance/language/messages.inc: Fix typo in previous commit [22:18:43] just poke a mw sysop if you need it? [22:18:52] MZMcBride: i think there used to be... and then it died. [22:18:55] ah, looks like putting underscores in worked. [22:19:11] coordinate which pages need a rewrite for the Help namespace, figure out which pages need to be moved, etc. [22:20:06] ahh, here we go: http://meta.wikimedia.org/wiki/Meta:MetaProject_to_transfer_content_to_MediaWiki.org [22:21:17] The current bouncing back and forth is kinda confusing :) [22:22:10] 03aaron * r28326 10/trunk/phase3/maintenance/rebuildrecentchanges.inc: Make this more efficient. Just get all bot users from user_groups and flag rows by them. Same for autopatrol users. [22:22:14] shit... 196 pages in Category:Pages_to_be_exported_to_MediaWiki.org [22:23:28] MZMcBride: well, there is not much that should really be on meta, is there? [22:23:50] no, not really [22:23:53] the blacklist, some folklore, some votes, but that's about it [22:24:03] between wikimediafoundation.org and mediawiki.org, most stuff can probably go [22:24:13] yep [22:26:11] http://www.mediawiki.org/wiki/Localisation [22:26:12] I win. [22:26:59] heh [22:27:11] No, Trebor wins in the end [22:27:19] did you happen to see the preference proposal for rollback? [22:31:42] 03siebrand * r28327 10/trunk/phase3/languages/messages/ (11 files): [22:31:42] Localisation updates from Betawiki. [22:31:42] * an, ast, be, br, cy, io, la, nl, ro, su, tet [22:34:52] http://en.wikipedia.org/wiki/Wikipedia:Rollback_for_non-administrators_proposal [22:35:00] this is really silly though [22:35:11] oh good grief [22:35:16] English Wikipedia doing what it does best [22:35:26] how could such a simple, and rate-limited right, much like undo and many scripts, cause such a ruckus? [22:35:42] in fact, scripts are only rate limited to which edits are [22:36:13] meh [22:36:33] I think it's more a philosophical objection (and they do have a point) to a developer marching in and changing a few years' policy. [22:36:50] and even the users who would not have otherwise gotten scripts, they vandalize a few times (4 or so max a minute) then get blocked [22:36:58] big whoop, we deal with that already [22:37:05] Everybody knows that the only way a developer is allowed to do that is with a new feature. [22:37:22] hehe [22:37:26] argument from antiquity eh? [22:37:40] http://www.mediawiki.org/wiki/User:Werdna/newintro <-- opinions kthx? [22:37:44] indeed. [22:38:12] The only thing I think needs doing is removing that thingfrom the tail end of "You can download..." and moving it elsewhere [22:38:32] is there a simple way to tab in content? [22:38:41] or INDENT [22:38:46] :: [22:38:51] k thanks [22:39:00] Each ":" indents it further. [22:39:03] as many : as you like, actually [22:39:23] i don't suppose there's a way to indent a heading [22:39:34] beyond css? no. [22:39:40] ok [22:39:42] 03siebrand * r28328 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: [22:39:42] * update hr, ro [22:39:42] * remove duplicate de [22:39:45] thanks [22:40:50] You could make font tags to simulate the look and then ::: to indent. [22:41:09] It would be fake, but it would simulate the appearance. [22:41:14] ok one more question [22:41:26] is there a way to get rid of the table of contents on specific pages and not globally? [22:41:38] __NOTOC__ [22:41:45] cool [22:41:46] or you could have a
\n === SOME HEADER === \n
[22:41:46] ^^ [22:41:58] hi [22:42:05] Werdna: "indent: 1em"? [22:42:13] You can specify the location by using __TOC__ where you want it. [22:42:22] I'm presuming that exists [22:42:24] what about a way to have it collapsed, but not deleted? [22:42:24] probably doesn't [22:42:26] Werdna: marhing, and padding i know, but indent? first line only? [22:42:32] can I ask a question [22:42:36] err, margin and padding [22:42:39] ummm... not sure landlord. [22:42:40] Marshall_: no. [22:42:44] lol [22:42:47] Marshall_: all except that one [22:42:50] fair enoug [22:42:52] +h [22:42:58] when trying to install the app [22:42:58] Landlord: there's some js on enwiki which does it [22:43:05] eh [22:43:11] i don't want to go to that much hassle [22:43:13] it's not a big deal [22:43:14] I search for the installer but I can't find it [22:43:20] I turned on web sharing [22:43:21] Landlord: collabsable tocs are used on some wikipedias. some JS hack. [22:43:39] what should I do [22:43:47] Marshall_: "web sharing"? huh? [22:43:55] http://en.wikipedia.org/wiki/WP:TOC#Table_of_contents_.28TOC.29 [22:44:03] Marshall_: do you have apache installed? and php, and mysql? [22:44:23] I should do PHP [22:44:26] I'll be back [22:44:26] Marshall_: do you know the web address of mediawiki, so you can access it with your browser? [22:44:32] guys [22:44:34] Marshall_, do you have basic PHP experiance? [22:44:37] anyone want to give me some feedback on this [22:44:37] http://husker.wikia.com/wiki/News [22:44:39] :) [22:44:43] it's a WIP, obviously [22:46:30] http://www.mediawiki.org/wiki/Template:Main_page/intro <-- changed. Opinions? [22:46:40] Landlord: get rid of the
cruft - mediawiki supports it, but you'll needed only very rarely. avoid it if you can. [22:46:58] Landlord: for your news bits, make yourself a template. [22:47:05] {{news|headline|text}} [22:47:13] ugh [22:47:16] !templates [22:47:16] For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy. [22:47:23] i know how to template [22:47:27] it's just moar work [22:47:35] more work now. [22:47:38] yea [22:47:41] much less work to maintain and update [22:47:41] i don't care about IN THE FUTURE [22:47:44] hehe [22:47:45] FUTURE IS LAEM [22:48:10] what should i use in place of br's [22:48:44] 03siebrand * r28329 10/trunk/extensions/ (19 files in 18 dirs): [22:48:44] Localisation updates from Betawiki. [22:48:44] * Fixes and additions to 18 extensions for ar, bg, br, fr, hsb, la, nl, ro [22:48:44] nothing [22:48:48] a blank line [22:48:50] or nothing [22:48:58] ... [22:49:01] but what if i want returns [22:49:01] -_- [22:49:12] Enter. [22:49:16] A blank line. [22:49:29] that works in mediawiki [22:49:31] ?_? [22:49:35] a blank line makes a new paragraph [22:49:44] Yes. A BLANK line between two paragraphs works fine. [22:49:46] huh. [22:49:50] that's one of the most basic features of wikitext :) [22:49:53] If there is no blank line it combines them. [22:50:04] this even works in most forum and comment systems by now :) [22:50:40] Most forums don't require a blank line - they just add
wherever you have a carage-return. [22:50:40]
is only for forced line brakes inside a paragraph. which should be used only very sparingly, if at all. [22:50:55] maybe [22:51:02] i don't use single breaks :) [22:51:19]
is the equivilant of a blank line [22:51:23] http://husker.wikia.com/wiki/Template:News [22:51:23] y/n [22:52:01] hi again [22:52:01] you probably don't eant the date bit in the template [22:52:07] and unnamed parameters are more convenient [22:52:11] umm... *shrug* it seems like it won't let you use more then one headline in a day? [22:52:20] I installed PHP and I still can't find installer [22:52:26] what installer? [22:52:31] for media wiki [22:52:38] 1 sec... [22:52:40] k [22:52:48] Marshall_: the installer is where you wiki will be. it's web based. use your browser to go to your wiki. [22:52:53] unnamed parameter just works as {{{!}}} right? [22:52:58] no [22:53:03] how do I make the wiki [22:53:16] Marshall_: if you don't know how to do that, i'm sorry to say you should learn the first thing or two about webservers and web applications before trying to run one. [22:53:32] Landlord: {{{1}}} {{{2}}} etc [22:53:43] ok [22:53:50] Should be under /config/index.php [22:53:52] bye [22:54:16] Anytime you enter the wiki it will give you a link to the installer. [22:54:17] Marshall_: you don't make the wiki... you install mediawiki, and visit the place where it is installed, via its web path, through your browser. then you follow the instructions. [22:54:20] bah. [22:55:17] Marshall_, if you don't know how to change a tire would it make sense to try to rebuild your engine? [22:56:09] he doesn't even know he should stay in the channel after asking a question [22:56:41] http://husker.wikia.com/wiki/News [22:56:42] w00t [22:58:13] 03(NEW) Render category links as an HTML list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12261 15enhancement; low; MediaWiki: Page rendering; (hippytrail) [23:22:37] 03(mod) Support for Tidy PECL extension is broken for PHP 5 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9972 (10michaeldaly) [23:28:12] is it possible to hide/remove "Main Page" from first page? [23:28:28] yep [23:28:31] !faq [23:28:31] Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [23:29:01] thx, and sry [23:40:40] 03shinjiman * r28330 10/trunk/phase3/ (7 files in 3 dirs): [23:40:40] * (bug 12145) Update Kazakh translations [23:40:40] Patch by AlefZet [23:40:52] 03(FIXED) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 highest->normal; +comment (10shinjiman) [23:43:48] 03(mod) Extension stylesheets should be loaded before any others - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10184 (10wknight8111) [23:49:15] how to disable some special pages? [23:49:17] how to disable some special pages? [23:49:26] 03shinjiman * r28331 10/trunk/phase3/ (RELEASE-NOTES includes/SkinTemplate.php): * (bug 12259) localize the numbers in deleted pages on the sysop view [23:49:40] What do you mean taduyducvn? [23:49:40] how to disable some special pages? [23:49:42] 03(FIXED) Non-localized number in deleted pages seen by admin - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12259 +comment (10shinjiman) [23:49:44] What do you mean taduyducvn? [23:49:46] What do you mean taduyducvn? [23:49:46] yea [23:49:53] disable Special:Import [23:49:55] like that [23:50:03] lockdown can do it [23:50:06] !lockdown [23:50:06] Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [23:50:24] Special: Export [23:50:27] taduyducvn: but then - some special pages (like import) require a specific permission anyway (namely, "import") [23:50:35] you can configure which group has this permission [23:50:38] !rights [23:50:38] For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [23:50:40] sorry, i mean export [23:51:02] i thin export also requires the "export" permission. not sure though [23:51:22] diableing special:export wont' prevent people from taking your content. [23:51:26] no [23:51:31] i juz do a bit export [23:51:33] in some wiki [23:51:38] no permission require [23:51:40] ha ha [23:52:00] disable it make them slow down what they can get [23:52:14] no, that does not mean that no permission is required. it might mean that everyone has it. [23:52:21] "read" and "edit" are also permissions [23:52:31] oh, you are right [23:52:33] :D [23:52:43] but in the case of export, there doesn't seem to be a permission required, yes (beyond "read", anyway) [23:52:44] so how about the extension to lock everypages [23:52:52] If you don't want people accessing your content or the source code for your content then I would suggest a CMS. [23:52:55] look into lockdown [23:53:05] and into this: [23:53:06] !access [23:53:06] For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [23:53:13] let my try lockdown [23:53:24] !CMS [23:53:24] You are advised to install an appropriate content management package if you want per-page access control and similar restrictions. See if you really want too. [23:53:31] that too [23:53:32] juz a bit over prepare [23:53:41] hehe... didn't know if that was there or not. lol... neet bot. [23:53:47] :D [23:53:53] juz want to lock that export anyway [23:53:55] :D [23:54:09] the cms hint is meant mainly for people who want to restrict read access [23:54:16] which is very un.wiki-like [23:54:20] :D [23:54:30] i know that so i think im not going to put that in [23:54:32] It get the impression that he wants to restrict the read-access of his source. [23:54:36] how about prevent spam [23:54:40] i mean human spammer [23:54:41] !blacklist [23:54:44] dang. [23:54:48] !spam [23:54:48] For more information about combating and handling spam in MediaWiki, see . [23:54:49] !SpamBlacklist [23:54:50] :)) [23:55:07] jsmith [23:55:11] there is an extention called SpamBlacklist that wikipedia uses. [23:55:14] i think you dont have permission [23:55:19] ! SpamBlacklist [23:55:19] You don't have permission to do that. [23:55:21] I just installed it. [23:55:24] :D [23:55:31] It worked for me a min ago. [23:55:33] !spam [23:55:33] For more information about combating and handling spam in MediaWiki, see . [23:56:09] !mwbot [23:56:09] Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at http://www.mediawiki.org/wiki/Mwbot, you can find all my source code at http://amidaniel.com/viewvc/trunk/MWBot/?root=svn [23:56:22] :)) [23:56:56] do they have lock by keywords? [23:57:09] Lock what? [23:57:14] i mean if they found a certain special words that i specify in the ACP [23:57:22] the code will automatic block [23:58:03] I think most just lock per namespace. [23:58:50] let my try spamblack list and lock down [23:58:54] get back to you in 5 [23:59:37] this might help: http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_editing_of_an_entire_namespace