[00:52:33] Writing something in JavaScript. Anything wrong in particular with this: new mw.Api().postWithEditToken( { [00:52:48] The error I am getting is: Uncaught TypeError: (intermediate value).postWithEditToken is not a function [01:33:14] https://en.wikipedia.org/w/index.php?search=%22postWithEditToken%22&title=Special:Search&profile=all&fulltext=1&searchToken=1p9pr6myfakk7xp7lajtrs83g [01:33:21] may help. [01:33:23] harej: ^ [01:54:15] hola ¿hay alguien que escriba español por aqui? [01:59:46] Hola. [02:03:23] Hola Ester [02:03:42] tengo un problema con una publicacion y queria ver si alguien me ayuda [02:04:11] ¿podrias tu ayudarme? [02:07:32] tochyto: Que es la problema? [02:07:42] el problema? [02:12:33] bueno hice una pagina referente a un album musical de una banda local de la que casi no hay informacion en internet [02:12:33] ahora aparece una notificacion de que va a ser eliminada por "non-notable no chart info" [02:13:47] la informacion es real pues yo conosco sus albumes que fueron publicados hace años pero la informacion esta alli y esa es mi unica fuente por el momento [02:17:13] no se como agregar enlaces de otras paginas ni subir fotografias locales desde mi maquina ¿podrias tu orientarme a crear los enlaces a las paginas externas a wikipedia o a subir las fotos desde mi maquina por favor? [02:42:17] #exit [02:42:54] Tochyto: use /quit [02:43:35] gracias bawolff [04:51:25] hi, I'm using this Short URL configuration on my website: https://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_Windows_%26_Apache_without_403_on_Special_Pages#Step_3 [04:51:50] How can I define a special rule for "robots.txt"? [04:52:13] It says you need to define special rules in here but unclear: https://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory [06:14:53] I found it: RedirectMatch 301 /robots.txt ^/robots.txt [06:15:00] Thanks anyway... [07:46:47] hello, I have a question regarding LDAP authentication on 1.28.2, is this extension working ? [07:50:07] I am afraid that no code is certified bug-free? [07:50:34] maybe the extension works for some. or not for others. [07:53:10] Well i'm asking because of the warning on the wiki page that it's not fully working but I cannot seem to found out what's is not working [12:45:02] hi, do I have access to dynamic values in a template? Like, I want to show the most recent author and when the article has been updated the last time. [12:52:55] ah, https://www.mediawiki.org/wiki/Help:Magic_words#Technical_metadata [13:03:50] how is the changing color implemented here? https://www.mediawiki.org/wiki/Template:MW_version [13:08:46] dAnjou, via https://www.mediawiki.org/wiki/Template:MW_version/color [13:09:06] yeah, just discovered this [13:09:07] See "Templates used on this page" in Edit mode [13:09:16] on that page :D [13:10:08] so you can style things based on contents of another template/page [13:51:05] Hello people!!! I am here again. I need a little help. I installed a week ago, my new wiki, I create my /w/index.php and my .htaccess to redirect to /wiki/page. But now, I am seeing that all my links be similar to: "/w/index.php?title=Special:CreateAccount&returnto=Main+page" [13:51:11] When I need to be "/wiki/Special:CreateAccount&returnto=Main+page" [13:51:19] How I can solve this link's problems? [13:52:47] dp07Daniel: Do the links work? [13:53:00] Yes. [13:53:02] "/wiki/Special:CreateAccount&returnto=Main+page" isn't valid. [13:53:33] Wait. I will put the complete link [13:53:38] dp07Daniel: So you just think the links are ugly? [13:53:41] https://natasha-bot.com/w/index.php?title=Especial:Crear_una_cuenta&returnto=P%C3%A1gina+Principal [13:53:47] Wikipedia uses /wiki/Foo for display links. [13:54:02] But still uses /w/index.php?Foo&action=edit for non-display links. [13:54:11] Me too, but the links change... [13:54:23] Change how? [13:54:25] Try this: https://natasha-bot.com/wiki/ [13:54:36] And clic on create account [13:55:01] Did you set $wgArticlePath in LocalSettings.php ? [13:55:07] !shorturl [13:55:07] 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 [13:55:18] https://en.wikipedia.org/wiki/Main_Page <-- Click the create account link here to see similar behvaior. [18:07:53] Is there a magic word to get all the parameters passed into template? I have a template, and I want to relay the parameters to a second template without having to do |param1={{{param1|}}} | param2={{{param2|}}} ... all the way down the line [18:13:55] KataiKou: no, there isn't. if you have Scribunto installed on your wiki, you can access all of the parameters in its modules, though. [18:16:12] i thought that would be the case. Looks like I get to learn a new language today [20:01:09] hello there mediawiki [20:01:31] is anyone here on the ops team? [20:01:41] Which ops team? [20:01:50] for wikipedia [20:01:53] good point [20:01:58] I have no idea how you organize [20:02:05] Probably the wrong channel [20:02:08] Depends what you're going to ask [20:02:30] the past couple of nights, my organization has been scaling up load tests [20:02:34] without warning my team [20:02:42] and my service calls wikipedia directly [20:02:52] tomorrow night there's going to be a bunch more traffic [20:03:09] and I just want to make sure that we reached out to someone to let them know [20:03:28] Calls Wikipedia directly... how? [20:03:40] through the API [20:03:47] Requesting what? [20:03:54] wiki page summaries [20:04:49] I wonder if what you're requesting is reasonably well cached [20:05:11] It may be better for you to create a phabricator task or similar, so people have a way to reach you incase we notice problems [20:05:17] "reasonable" ... possibly [20:05:22] there is a caching system in placed [20:05:27] place* [20:05:38] sure [20:05:42] where do I go to do that? [20:06:09] in general, "how would you guys like me to do this" [20:06:11] I mean cached by our parser cache, app servers, web caches etc [20:06:24] Do you have an account on wikitech and/or mediawiki.org? [20:06:44] I do not believe so [20:07:03] it's an inherited service, so there may have been an account in the passt [20:07:06] I can create one [20:07:15] Probably easiest, then it has your email :) [20:07:26] https://phabricator.wikimedia.org/ is where you want to create a ticket, possibly tagged as operations [20:07:37] !newbug [20:07:38] https://phabricator.wikimedia.org/maniphest/task/create/ [20:10:02] I'll do that [20:10:04] thanks [20:14:56] can I get some guidance on what project this applies to? [20:15:27] how I should tag it? [20:16:33] Just Operations is fine [20:20:07] chris_: Aha [20:20:12] I see why you were worried now :D [20:21:38] chris_: Do you know what api queries you're actually doing? [20:41:35] "wiki page summaries" they said. [20:41:52] Probably pageextracts. [20:42:49] They could be getting the full articles and then just grabbing the first section [20:42:53] Or something equally silly [20:42:59] Hopefully we find out :P [20:43:30] :P [20:50:45] pageextracts is right [20:50:49] I've updated the ticket [21:17:49] hi guys and gals. anyone know why mediawiki might think iconv is not installed when my php 5.6 has iconv built in? [21:20:28] cplusga: make sure it's enabled in php.ini? [21:21:01] https://www.mediawiki.org/wiki/Manual:Php.ini [21:42:00] yeah, ever since php 5.5 iconv is on by default, doesn't need enabling in php.ini [21:42:18] i just said F it and installed mediawiki 1.23 which doesnt need iconv [21:43:46] MediaWiki 1.23 is also not supported and potentially insecure [21:46:23] these jokers at my firms webhost wont give me root to the vps [21:46:55] cant troubleshoot... going to run with the old stuff for now :( [21:47:47] do you know if migrating the database from 1.23 to latest is "easy" or do you have to do processing? [21:48:16] i was reading something about some legacy versions being easier after a certain point [21:48:31] cplusga, depending on your configuration, your 1.23 might be hacked with just a browser [21:49:27] database upgrades should be pretty straightforward [21:49:39] provided you have backups, of course [21:49:55] this has been the case since 1.5 [21:50:05] ayyyyy i need root. have you seen problems with iconv being recognized before? my PHP config says --with-iconv [21:50:06] old schemas are more fun [21:50:11] but mediawiki says i need to install it [21:50:29] what does phpinfo() say? [21:50:37] phpinfo says i have it [21:50:43] php is built in with it since 5.5 [21:52:34] "which iconv" gives me /usr/bin/iconv so i assume php can find it just fine [21:53:06] cplusga, what do you mean by "mediawiki might think iconv is not installed"? "Error: Missing one or more required components of PHP"? [21:53:20] yup [21:53:40] well [21:54:39] any chance of http://php.net/manual/en/ini.core.php#ini.disable-functions ? [21:54:53] because we literally check if iconv() is present [21:55:27] let me see [21:57:40] nope [21:58:05] is iconv something i can hack out of the new version or is it entangled? [21:58:17] i assume its everywhere [21:59:43] simple check: let me try [22:00:45] undefined func :< [22:01:13] apt or rpm based Linux? [22:02:07] rpm [22:02:12] hahah [22:02:29] im not sure what it is actually [22:02:30] let me see [22:03:14] these crackheads broke PHP up into modules so it's totally possible to install PHP without a bunch of stuff that manual says is built in [22:03:26] ayyy [22:04:55] maybe its just a bad install. it's a "wordpress optimized VPS" from bluehost so i can imagine it was setup improperly [22:05:25] or maybe the optimization = cutting out what WP doesnt need? seems insane [22:06:51] iconv is in /usr/bin tho [22:07:16] php still needs bindings [22:07:52] it was built with --with-iconv and --with-iconv=shared [22:08:01] says phpinfo :< [22:08:14] eh thanks guys [22:08:23] ill just try to beg for root and reinstall php [22:10:07] im just going to comment out all lines that call iconv in your scripts ;) [22:10:35] wish me luck [22:10:36] adios [22:11:30] cplusga, try `composer install symfony/polyfill-iconv` [22:11:40] i will [22:12:24] with iconv commented out, I'm afraid there will not be much left of MW [22:12:37] i was just kiddin [22:13:08] The requested PHP extension ext-iconv * is missing from your system. Install or enable PHP's iconv extension. [22:15:21] iconv isnt in php -m actually