[00:18:57] is there any feature/addon/script that allow mediawiki to accept logins only from pre specified IP's ? [00:22:54] HeXiLeD: sure [00:24:04] whats the best way to update my mediawiki to the latest version? [00:31:58] HeXiLeD: I'd use https://www.mediawiki.org/wiki/Manual:Hooks/AbortLogin [00:33:35] mnathani: https://www.mediawiki.org/wiki/Manual:Upgrading gives an overview / don't forget to install or update Composer packages (`composer update`), then to run the update script [00:36:14] Dereckson: does that one work with IP address ? [00:43:19] HeXiLeD: it's not an ready code but allows you to write custom code: a small function to allow/deny the login according the conditions you want (here the IP range) [03:08:19] so i still did not get an answer to my question from a few days back.. [03:08:40] how does one find individual contributions for a swiki wiki? [03:19:07] I can't seem to get GoogleDocs4MW working [03:19:28] extensions/GoogleDocs4MW/extension.json does not exist! [03:24:36] got it working after cloning the git repo [03:25:09] mnathani: what version of mediawiki are you running? [04:21:46] latest [04:21:56] and he's gone [06:34:59] Hey there, I was looking for some of code to be able to preload some text to the header of an article. [06:35:08] (that is, before the edit box) [07:11:59] !preload [07:11:59] https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text [07:12:07] MakeShift: do you mean ^ ? [07:13:12] No, I had found that. I mean like the "header" section of a page while editing, I'm not sure how best to describe it. [07:14:52] perhaps text ? [07:15:27] I'll try to find a good example. [07:24:06] mnathani I'm looking for MediaWiki:Newarticletext, but on specific pages [07:36:43] Ah no worries, I've found an alternative, thanks anyway! :) [12:48:24] Hi there [12:49:14] Trizek: Hello [12:49:23] I'm looking for an admin for an harassment issue on MW. [12:49:34] Trizek: yes? [12:51:45] user:Sänger is harassing me about things related to Flow because he don't like that product. [12:52:22] Ha has a non-constructive attitude on all comments I can make about it: https://www.mediawiki.org/w/index.php?title=Topic:T2cnkf7zk2nuun1g&topic_showPostId=t2et3dmpmsrkxvff#flow-post-t2et3dmpmsrkxvff [12:52:45] If someone can have a look on it and just warn him, that would be great! :) [12:53:08] Based on my experience as a (very patient) sysop on fr.wp, I would have warn him since a long time. [12:53:48] having a look [12:54:27] thanks p858snake|L_ [13:03:59] morning [13:28:04] Hello, I would like to figure out a way to include a clickable button at the top of pages in the article/video namespace which somehow would send the page title or url in an email to someone [13:28:46] 1. Is there a built in site message that i can edit like Mediawiki:namespace header or something like that where i could code such a button [13:29:10] 2. Is anyone aware of how i could include the page url into a contact form or mailto message [13:29:23] like mailto:address@address.com&subject=pagetitle [13:42:12] Trizek: just fyi, I've asked another sysop/crat to also look at it, just because I know how sensitive staff vs volunteer discussions can get sometimes [13:42:26] thanks p858snake|L_ [14:34:07] yu [14:34:16] Where on earth could yurik be [14:34:54] And yuvipanda! [14:35:18] Leah: in India for the next month [14:36:00] Nice. [14:36:27] Okay, i've figured out to use the header footer extension. What i would now like to do is figure out a way when the mailto: link is clicked the subject of the message is the page title from the wiki [14:36:29] any ideas? [14:36:57] So if the page on the wiki is called TEST PAGE, when the mailto link is clicked in the page header id like it show TEST PAGE in the new emails subject [14:38:45] or a way to pass current page url to mailto [14:39:20] kevindank: mailto:address@domain.com?subject=Page+title should work fine. [14:39:29] If you want to do that automatically, you're probably best off using JavaScript. [14:39:39] Or you can use a wrapper template. [14:39:42] Yes looking to do it automatically as it will be for over 300 pages [14:39:48] Like {{mailto|address}}. [14:39:48] how would i do the wrapper template? [14:40:18] The template would do like... [mailto:{{{1}}}?subject={{urlencode:{{FULLPAGENAME}}}} {{{1}}}] [14:40:47] So that you could do {{mailto|address@domain.com}} and the subject would automatically be added for the current page title. [14:40:58] {{mailto}} is template transclusion (inclusion) syntax. [14:41:10] The template would live at [[Template:Mailto]] on your wiki. [14:41:15] that seems to work pretty well [14:41:30] Opens the Outlook mail client and includes page title [14:41:45] Sure. How mailto: links behave is determined by the Web browser and operating system. [14:41:58] In your case, Outlook is your default mail client, presumably. [14:42:02] Yep [14:42:17] A template is also nice as you can tweak it in the future and it will update all the pages using the template. [14:42:35] Yeah i like it. [14:42:45] so where it lists {{{1}}} [14:42:52] can i change that to an email address? [14:42:54] for to [14:43:36] The template uses {{{1}}} as a variable. [14:43:52] So in the wiki page [[Template:Mailto]], you use {{{1}}} as a variable. [14:44:13] And then when you use the template, using syntax such as {{mailto|email@address.com}}, the {{{1}}} gets replaced with the first parameter. [14:44:23] So in this case, {{{1}}} would expand to "email@address.com". [14:44:46] {{mailto|email@address.com}} and {{mailto|1=email@address.com}} are largely equivalent. [14:47:30] kevindank: https://test.wikipedia.org/wiki/An_article_title && https://test.wikipedia.org/wiki/Template:Mailto [14:47:46] Instead of showing the email address for them to click i'd like it show the word Escalate [14:47:51] which i will then wrap in a button [14:48:02] so how would that change the {{{1}}} [14:48:20] A button in a link is a bit trickier. [14:48:37] Probably need some site-wide CSS for that. [14:48:39] i figure id use rawhtml start/stop around it [14:48:50] [mailto:{{{1}}}?subject={{urlencode:{{FULLPAGENAME}}}} {{{1}}}] <-- Do you see the second {{{1}}}? [14:48:55] You can just change that to "Escalate". [14:48:56] yes [14:49:04] And that will be the text that's always displayed. [14:50:21] perfect [14:50:22] thank you [14:52:08] No problem. [14:58:38] One more question [14:59:08] The Email subject line. contains a + symbol where there are spaces in the page title [14:59:22] so for main page it shows in the mail client subject line as Main+Page [14:59:35] Any idea how i could modify that so that it shows as a space [15:01:05] Oh, right. [15:01:18] mailto: uses %20, not +. [15:03:27] kevindank: https://test.wikipedia.org/w/index.php?title=Template:Mailto&action=edit [15:03:51] You want {{urlencode:{{FULLPAGENAME}}|path}}. The default is useful for... something else, I guess. [19:13:28] is it a bug or just a quirk that Extension:Cite suppresses [[interwiki:link|]] expansion [19:13:51] outside a tag that will expand to say "link" as the link text but inside, it generates broken markup [19:15:05] QuasAtWork``: it's a documented bug [19:15:15] ah [19:15:25] first time I ever ran into it somehow :> [19:16:11] this is very annoying [19:17:25] QuasAtWork``: this is https://phabricator.wikimedia.org/T30730 [19:17:45] about update.php... doesnt seem to accept --conf, --dbuser/dbpass ... why is that? (and, the code only accepts commandline invocation... why is that please?) I need to update.php a wiki in a farm... [19:19:18] hypergrove: maintenance scripts only accepts command line invocation, You don't want any random hacker to fiddle with your maintenance scripts directly from the web :) [19:20:41] also, --conf works for me [19:21:03] vulpix oh really great, i looked at the code and didnt see it [19:22:34] ok you are right, shoulda done -h .... thanks vulpix [19:23:09] or just try it before asking :) [21:51:15] Hello! Does anyone know if there's a way to view a list of newest pages that have been added to a specific category? [21:54:07] birch: try Special:RecentChangesLinked [21:54:36] aha! Thanks! [22:31:03] mind taking a look at http://hoyt.belltower.wiki/api.php and http://cnvc.belltower.wiki/api.php ?? I don't understand why the former link formats correctly but the latter does not? [22:34:07] Perhaps there's an xsl file not being processed @the second link? [22:44:58] hypergrove: they both format correctly. but one of the wikis is running an older MediaWiki version. [22:46:21] hypergrove: one is 1.24 and ther other 1.25. the pretty formatting was introduced only recently [22:47:57] oh thank you [23:36:33] I used to have a sign icon [23:36:40] before I updated media wiki [23:36:43] how do I get it back? [23:46:16] I seem to be missing "Sign talk comments (with time stamp)" https://meta.wikimedia.org/wiki/Help:Edit_toolbar [23:46:29] Erm; I think I may have accidently deleted my database. I'm getting this error: (Cannot access the database) [23:46:42] kivi: restore from backup? [23:46:52] you DO have a backup, right? [23:47:16] mnathani, all local, so not likely. Its not the end of the world; I was only using it for templates [23:47:28] which I imported from wikipedia. [23:49:12] I just want to get rid of the error so I can import the templates again.