[00:35:33] Hi people. Just edited my wiki to use shorter urls and it worked a treat using the automated tool. However, I was wondering if it is possible to remove the word wiki from the url. You see, the wiki is on its own subdomain, so the URL becomes http://wiki.domainname.com/wiki/Main_Page [00:35:34] http://pastebin.com/9Mev4tF4 http://pastebin.com/en6vhhEr These are the edits i made already [00:36:03] It is possible, but we generally don't reccommend it [00:36:41] Oh, whys that? [00:36:53] !shorturl [00:36:53] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [00:37:02] * Reedy looks [00:37:25] https://www.mediawiki.org/wiki/Manual:Short_URL#URL_like_-_example.com.2FPage_title [00:43:21] if I want to include a dependency and autoload classes in my extension using composer, do the autoloads get defined in my base file, the composer.json, or both? [00:46:17] can I not just change the "wiki" part to a "_" or something? [00:46:39] You should [00:46:44] It'd look a bit weird [00:46:48] s/should/could/ [00:48:23] haha [00:50:22] OK so that worked fine [00:51:27] If i change it to an underscore it works, if i change it to a w it doesnt find any pages [00:51:45] w is a physical directory [00:51:54] is it? [00:52:16] if you followed the instructions ;) [00:52:38] I dont get it [00:52:52] It was set to wiki, and it works, if i remove the iki it doesnt? [00:53:02] I used the redwerks tool btw [00:54:53] if you want it to be http://wiki.domainname.com/w/Main_Page then you need to move the actual directory called w to something else [00:55:22] and make the appropriate changes in LocalSettings [00:58:44] personally (and if you can) i'd get rid of the wiki subdomain and use /wiki/ in the url, because then you have only one instance of wiki, you don't have the site at the root, and you don't have the /w/ which doesn't really add any meaning or look like it has a purpose to a typical user [01:01:34] here is a composer.json file example for an extension https://www.mediawiki.org/wiki/Composer/For_extensions, but what if my extension has a requirement on a library that can be installed by composer? [01:02:02] if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) { [01:02:03] require_once __DIR__ . '/vendor/autoload.php'; [01:02:03] } [01:02:09] You add something like that to your entry point [01:03:13] Thanks Reedy... I thought that would not be "correct" because I was looking at Lingo, and trying to figure out from there. [01:03:54] "autoload" : { [01:03:54] "files": [ [01:03:54] "Lingo.php" [01:03:54] ] [01:03:55] } [01:11:58] I guess it's a chicken and egg thing. Once my extension is managed by composer, then I can just list all the requires in my composer.json [01:21:35] radhakr, I can't see a directory called w [01:22:26] how actually have you set it up? [01:23:26] Set the wiki up? [01:23:31] yeah [01:23:53] I downloaded the archive, and uploaded it to my subdomain wiki directory [01:24:10] right [01:24:27] the default suggestion on how to do it, is to have the wiki files in a dir called w in the doroot [01:24:28] *docroot [01:25:10] Does that matter? [01:25:30] Surely the location isnt that important? [01:25:40] So long as i make changes accordingly [01:26:09] I didnt see any instructions suggesting to install it in a w directory [01:27:29] I mean it shouldnt matter that its on a subdomain should it? [01:33:44] Reedy, my bad. I found the page that says use w for the upload [01:33:58] I think i will do away with using the subdomain and move the wiki [01:35:42] Note that Wikipedia et al use subdomain and suffix [04:13:55] hey legoktm [05:13:53] lojjik: hi [06:29:46] With free software, one can make a copy called "fork", and the original maintainer can then wake up a year later and merge stuff from the fork. With a wiki, while there are facilities to licence freely, and to keep track of history, I see no facilities to merge changes into my wiki from another wiki. [06:31:41] import/export. [06:32:00] or export/import, rather. [06:32:57] How does this handle merge conflicts? [06:33:38] svetlana, it doesn't, it entirely overwrites. [06:34:15] merge conflicts are not going to be fun for a wiki, especially a year later [06:35:07] That's a problem. Software freedom is explicitly supported by how nicely git works. Information freedom needs to be supported by good merge conflict feature of a wiki; otherwise it's useless. [06:35:21] Right? [06:35:26] No. wiki pages are different from source code. [06:35:52] Yeah, that's two different freedoms, software freedom and information freedom. I am thinking information freedom needs such feature. [06:36:20] Thanks for confirming that it doesn't exist yet. [06:37:22] Software performs more objective functions, and they change less -- usually in line increments. The policies of a software project often is just commonly accepted coding conventions [06:38:52] Individual wikis have very different policies, and they are more subject to editorial whims, copyedits, etc. Two wiki pages may be very different lexicographically, but contain the same message and information. [06:48:57] okay. thank you. [06:49:07] svetlana: just because it doesn't work perfectly doesn't mean it's useless [06:49:24] >.> [06:51:32] unicodesnowman: If you examine wiki page editing, you'll notice it _is_ quite similar to source code editing. [06:51:40] MediaWiki was clearly designed by programmers. [06:52:17] But MediaWiki is missing a blame feature. [06:53:14] #glittergallery [06:53:57] Fiona, it is, but you can see how it's not going to work for rebasing thousands of revisions [06:54:07] Sure. [06:54:22] like the "merge changes into my wiki a year down the track" use case [06:54:36] Special:Import and Special:Export are awful. [06:54:42] For the record. [06:55:10] they're hardly designed to be used that way [06:55:18] Sure. [06:55:22] Just saying generally. [06:55:27] I think Special:Import still makes it trivial to merge page histories unintentionally. [07:08:51] #gsoc [10:26:49] Hi, I have problem with my MediaWiki instalation. In Preferences the Gadgets tab is not visible. I already read this page https://www.mediawiki.org/wiki/Thread:Project:Support_desk/User_Preferences_don%27t_offer_Gadgets and the only thing I can do is to create page MediaWiki:Gadgets-definition by copying from different wiki (e.g. Wikipedia) - than the menu Gadgets appears in Setting, but even though I am able to check some of the [11:43:01] xkomczax, your irc message was cut off after 'I am able to check some of the' [12:04:15] unicodesnowman: oh, sorry. It continues just shortly: ".. I am able to check some of the boxes, the gadgets doesn't work." [15:16:15] can I use values from i18n file for row names of HTMLcheckmatrix instead of static values? [16:48:45] ¿esta UAwiki en algun canal IRC? [16:53:35] hi [16:53:47] hi [16:53:50] is there a way to genarate pagename from username? [16:54:02] I dont see any magic word for username [16:54:03] do you speak spanish? [16:54:08] yes [16:54:09] ¿esta UAwiki en algun canal IRC? [16:54:17] pues hable en español por favor [16:54:29] There's Special:MyPage which points to your user page. [16:55:40] Naciondelfuego10: No channels matching "uawiki" or with "uawiki" in the topic. [16:56:45] no , yo me refiero a un canal , sino a un usuario [16:57:04] ua wiki es ucraina? [16:57:17] , no , es un usuario de wikipedia [16:57:33] Naciondelfuego10: y usa el mismo nick en irc? [16:57:43] si [16:57:53] a veces se pone el nick "Cremoso" [16:58:04] pues escribe /query UAwiki [16:58:10] y le puedes preguntar [16:58:15] directamente [16:58:20] gracias [16:58:35] si no sera online, se puede enviare un mesage [16:58:51] parece que no esta /: [16:59:57] Naciondelfuego10: pruebe el otro [17:00:24] tampoco [17:00:43] ok, un momento [17:03:18] Naciondelfuego10: esta aquí como UAwiki [17:03:40] ¿que? [17:03:58] te puedes enviarle un mensaje por esta manera /msg UAwiki tu mensaje [17:04:11] quando sara online pueda leerlo y reponderte [17:04:42] no la veo en la lista de usuarios [17:04:43] ¿a demás , porque me diria que no es un nick el query? [17:04:43] ¿eso fue lo que me dijo? [17:05:24] ¿que? [17:05:25] no la veo en la lista de usuarios [17:05:25] ¿a demás , porque me diria que no es un nick el query? [17:05:25] ¿eso fue lo que me dijo? [17:07:14] ¿ esta en serio UAwiki aquí? El query me dijo que no estaba y no la vi en la lista Juandev [17:07:35] Juandev:¿ esta en serio UAwiki aquí? El query me dijo que no estaba y no la vi en la lista de canales [17:08:32] Juandev :¿ esta en serio UAwiki aquí? El query me dijo que no estaba y no la vi en la lista [17:08:35] [18:05:20] no la veo en la lista de usuarios - donde no lo vees. Si escribo /msg nickserv info UAwiki, despues lo veo [17:09:00] este usuario esta registrado [17:09:30] si , de wikipedia es un usuario , pero del IRC , no lo es [17:09:34] si , de wikipedia es un usuario , pero del IRC , lo es [17:09:39] perdon si lo es de IRC [17:10:11] tambien lo es de IRC ,pero no la vi en la lista de usuarios: Tu dices como usuario wikipedista , pero tambien es de IRC [17:10:20] y a veces , la he visto aqui [17:10:22] muchas veces [17:10:44] y ahora no le veo en la lista de usuarios del IRC , la que tienes al lado [17:10:52] esta o no esta en este canal de IRC? [17:11:05] la que tu y yo tenemos al lado , esa lista [17:11:14] la de los canales del IRC [17:12:13] Naciondelfuego10, UAwiki no está conectado. Si quieres contactarlo puedes encontrarlo generalmente en #wikipedia-es [17:12:28] [18:05:20] ¿a demás , porque me diria que no es un nick el query? || te lo dice "UAwiki: No such nick/channel" que quiere decir que no está online. No lo quiere decier, que no esta registrado [17:12:44] exacto, eso quise decir [17:13:02] -.- [17:13:06] gracias por todo [17:13:22] a los 2 [17:17:58] * varnent sets up free popcorn stand for nice developers keeping our wikis functional :) [17:18:22] Whee my crosswiki editing is so much faster when I disable JavaScript and images. :) [18:07:55] is there a common way to replace the MW search box with a custom one, other than editing the VectorTemplate.php code? [18:56:54] http://imgur.com/C2Ql76R while accessing special:UserRights i get this error ! I want to be sysop in my localwiki. i m using mediawiki vagrant [19:06:29] Abhi_: mediawiki-vagrant pre-defines an admin account [19:06:36] Abhi_: username admin, password vagrant [19:14:38] i'm using varnish 4 in front of my wiki and i've put the config from the mw wiki, but it doesn't seem to be properly caching everything from load.php as i believe is the most appropriate action. does anyone have any suggestions, or a better config than the one on the mw wiki? [19:37:31] Nemo_bis, do you know whether it's possible to list message names containing white spaces in a group added through the 'TranslatePostInitGroups' hook, aka. https://commons.wikimedia.org/w/index.php?title=MediaWiki:Translatable-messages for Commons [19:49:38] rillke: spaces are supposed not to exist in messages, they should all be underscores [19:50:07] So, yes. :) [19:51:07] thanks, Steinsplitter came up with this idea right now :) [21:12:21] hello [21:13:34] i need help [21:13:34] Hi ElGatoSaez, just ask! There is no need to ask if you can ask [21:13:44] my mediawiki i installed [21:13:47] redirects links like [21:13:51] [[wikipedia:Café]] [21:13:56] it redirects that to en.wikipedia [21:14:04] how can i change it to redirect that to es.wikipedia? [21:14:08] because im spanish [21:16:17] !interwiki [21:16:18] Interwiki links are links between wikis. For instance, on Wikibooks, [[w:Article name]] or [[wikipedia:Article name]] will link to a Wikipedia article. To set up interwiki links, see and . For easy configuration, use [21:16:29] i already saw that but i did not understand it [21:17:40] ElGatoSaez: tienes que editar la tabla "interwiki" de la base de datos, cambiando la URL para el interwiki "wikipedia" de en.wikipedia.org a es.wikipedia.org [21:18:32] ElGatoSaez: o mejor aún, si tienes https://www.mediawiki.org/wiki/Extension:Interwiki habilitado (ya viene en el instalador) puedes modificarlo desde una página especial [21:18:51] perfecto, iré a la base de datos, thanks.