[00:40:46] why do we have alanwood.net in help pages at mediawiki? [00:43:35] it could be spam, it could be a lot of things [00:44:22] p858snake: yah i'd say so there's currently also a debate about it at [[WP:RSN]] but i see no reason why this should be here: [00:44:32] https://www.mediawiki.org/wiki/How_to_report_a_bug [00:45:43] What is included in a wikipedia page, has nothing to do with MediaWiki as a wiki engine [00:46:15] you may be wanting #wikipedia-en, because its on no pages at mediawiki wiki https://www.mediawiki.org/w/index.php?search=alanwood&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%22namespaces%22%3A%5B0%2C1%2C2%2C3%2C4%2C5%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C90%2C91%2C92%2C93%2C100%2C101%2C102%2C103%2C104%2C105%2C106%2C107%2C486%2C487%2C828%2C829%2C1198%2C1199%2C2300%2C2301%2C2302%2C2303%2C5500%2C5501%5D%7D& [00:46:16] ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns90=1&ns91=1&ns92=1&ns93=1&ns100=1&ns101=1&ns102=1&ns103=1&ns104=1&ns105=1&ns106=1&ns107=1&ns486=1&ns487=1&ns828=1&ns829=1&ns1198=1&ns1199=1&ns2300=1&ns2301=1&ns2302=1&ns2303=1&ns5500=1&ns5501=1 [00:46:26] https://www.mediawiki.org/w/index.php?search=insource%3Aalanwood.net&title=Special:Search&go=Go&searchToken=5igz9h0g2g1ng2hoc9u51h3tp [00:46:39] p858snake: it's on all of those pages [00:46:55] and i'm aware of the differences in mw to en but not spamming garbage sites is a global policy ;) [00:47:10] can you point to a example where its actively on a mediawiki.org page? [00:47:31] literally on the one i linked at how to report a bug [00:47:45] If you are unsure whether a feature you are using is based on JavaScript, try [http://www.alanwood.net/demos/enabling-javascript.html disabling JavaScript]. [00:48:12] i'm not new to mediawiki....i'm asking why on earth it was included to begin with [00:48:49] i would imagine that it was just someone's website that used to explain well how to enable/disable javascript, so someone linked it instead of writing their own guide [00:48:55] now it's an error 404 :( [00:49:07] MatmaRex: yah that someone was a spammer apparently :/ [00:49:15] now it's in every translation of how to report a bug [00:49:33] why do you think it was a spammer? [00:49:56] it was added here: https://www.mediawiki.org/w/index.php?title=How_to_report_a_bug&diff=prev&oldid=1957263&diffmode=source by Nemo_bis [00:49:56] because they spammed it on several different projects and it's just someone's shitty hobby site [00:50:00] hm [00:50:01] weird [00:50:04] i don't think he's a spammer [00:50:12] no he's not [00:50:21] but i'm wondering if that came from the article on other projects where it was originally linked [00:50:43] also, without seeing what was on the page, What is valid content on one project may not be on another, for example That might have been prefectly fine on mw, where as en.wiki may consider it a spam domain, and that is fine [00:51:01] p858snake: i'm not saying because it's on enwiki it's spam because it's determined it's spam there [00:51:28] but for the same reason if i went and put my blog on "how to write html" on every single project would be refspamming, this is too [00:51:55] the context of why the link was placed also matters as well [00:52:18] well i'm not removing it, just was asking why [00:53:57] and if it was designed to spam, I would expect to see more than just the single url, its currently one single url to that domain used on one page (admittedly translatefd versions of the page) https://www.mediawiki.org/w/index.php?title=Special:LinkSearch&limit=500&offset=0&target=http%3A%2F%2Fwww.alanwood.net [00:54:16] it's not standard "oh look buy cialis!" spam [03:51:27] I'm writing a template to generate wikilinks according to a certain format, and one of the things I want is an optional second argument to create a piped link [03:52:05] so it'd be a parser function, like {{#if:{{{2|}}}|{{{2|}}}|}} [03:52:45] {{!}} [03:52:58] Escapes pipe characters [03:53:36] Although I've never tried it inside a link [03:55:21] excellent, thanks [03:55:22] it works [09:07:18] join #wikimedia-operations [09:43:32] Hi, I have a task to migrate content from a MediaWiki ver. 1.15.1 (PHP 5.4.16/ MySQL 5.7.24) over to SharePoint. The only tool I found that seems to be fit for purpose is Quest's Metalogix Content Matrix. When I try to connect to MediaWiki I get an XML exception: Error: There are multiple root elements. Line 2, position 2. I personally can't access the server side files for our MediaWiki, but IT Support are at a loss to know w [09:52:37] Hi all [09:55:50] Mediawiki allows \begin{align*}…\end{align*} within math, even though align* requires to be put outside a (LaTeX) math environment. I wonder how this is implemented? Is there a white listing of certain environments which are handled separately or is there maybe a nice LaTeX trick to "allow" align* within a math environment? The reason why I'm asking is that I'm trying to automatically [09:55:56] convert mediawiki files into foreign formats [10:23:14] Hi, Its seems like i cant store two identical rows with cargo, anyone familiar with that? [10:50:52] hi, is there some procedure to propose changes to MediaWiki? [10:56:20] AlexisJazz: the easiest way is submit a task in phabricator [10:58:04] p858snake: to give some more detail, I need whoever is responsible for security to drop IE6 and IE7 support. i.e. kill the dinosaurs so we can upload photos that don't contain viruses [10:58:17] see https://phabricator.wikimedia.org/T27707 [14:52:38] Is any one around ? [14:54:04] raghavendra: ask an actual question? [15:17:05] I want to do GSoC'19 through wikimedia any insights please [15:27:07] raghavendra: i think https://www.mediawiki.org/wiki/Google_Summer_of_Code/2019 is what you're after [15:28:41] Thanks a lot [16:01:42] hi [16:01:53] i have an empty db but have a localsettings.php [16:02:01] cant i have it update the db from localsettings.php [16:02:02] ? [16:02:40] or actually do the correct tables and all from the localsettings file? [16:30:11] what? [16:32:35] biberao: localsettings.php doesn't populate the DB... the installation steps do. [16:32:42] how do you even have an empty DB here? [17:27:56] teward: i thought i could install the db from command line i mean [17:29:00] biberao: you can't run the installer while there is a localsettings.php in place [17:29:15] the installer *creates* LocalSettings [17:29:37] (also the cli installer is less-featured than the web one, and I wouldn't recommend using the cli installer unless it's absolutely necessary) [17:30:43] Ok thankjs [17:31:15] I asked because i already have a localsettings in place for it [17:43:26] biberao: if you have an existing wiki DB you can clone it without data, and then run update.php [17:45:56] Is there a way (or an extension) that would allow me to put the "Save Changes" button (or a link) at the top of the editing page as well as the bottom (where it is by default)? I had an editor make this request. [17:51:24] It would definitely be possible to make one [17:51:33] Or do it as is gadget [17:52:19] Only existing option I'm aware of is to make preview come below edit box (I think that's an option. Not sure) [18:35:55] thanks :) [19:01:37] samwilson: i did that [19:01:43] it complained not having fields et [19:01:43] c [19:02:34] biberao: what errors? was it an older DB? do you have any extensions enabled? [19:02:59] the db was empty [19:03:14] i only had [19:03:19] the localsettings.php file [19:04:01] biberao: I was suggesting populating the DB from another mediawiki database, but importing no data [19:04:11] do you have any tables in the DB? [19:44:27] ah ok [19:44:31] no i fixed it [19:44:32] thanks [19:46:20] is it possible having mediawiki in one domain [19:46:34] have the old domain do a 302 to that domain and define [19:46:50] that old domain pages redirect to new? [20:51:22] hi. is there more info about the wikipedia webcrawler trap? [20:51:53] in robots.txt "Disallow: /trap/" [20:53:54] hm possibly historical webcrawler mitigation [22:48:01] yoyo, upgrading php to 7.2.6 is causing infinite redirects when trying to access mediawiki (on centos7), need some help [22:48:26] all the necessary extensions are installed and mediawiki is the latest version [22:48:49] try disabling all of your extensions and see if it still happens [22:48:56] kk [22:49:07] if it's still happening, check your .htaccess or rewrite rules [22:50:15] if it's a redirect loop between 2 distinct urls (perhaps one with http and one with https, or two different domains), you may have a misconfigured $wgServer as well [22:56:26] ok so removing extensions stops the redirects [22:56:43] gives me the required components mediawiki splash screen [22:56:50] what do [22:57:37] figure out which extension is causing it [22:57:44] aww ok [22:57:47] enable them one-by-one until it starts happening again [22:57:47] lemee see [23:03:05] ok so it doesnt matter what is loaded as long as all of them are loaded, then the redirect issue happens [23:03:14] not any particular extension in other words [23:03:23] I doubt that [23:03:53] Might be a combination of a couple... But randomly just enabling all shouldn't break it [23:04:19] by all i mean all required [23:05:00] lemee try disabling them one by one instead of enabling one by one [23:06:32] oh wait my mediwiki is 1.31 not 1.32 [23:06:43] still should be compatible tho [23:07:24] There's a few PHP 7.2 issues hanging around, that are being fixed [23:08:12] maybe upgrading mediawiki will stop whatever php error im having [23:08:42] 1.32 likely brings better compat with php 7.2 than 1.31 [23:08:45] but I can't say that for certain [23:09:03] There's definitely some issues in 1.32 too [23:09:05] and if it's caused by an extension, upgrading core won't necessarily do much unless the ext has updates too [23:09:59] seems like just removing any necessary extension makes the redirect error go away [23:25:03] ok so maybe this isnt php, downgrading didnt help [23:25:10] downgrading php [23:25:28] $wgServer = "https://mywebsite"; [23:25:38] no rewrite rules