[04:32:24] Can I have some help with mediawiki? [04:34:45] Hi Daley. [04:34:50] Sure, just ask your question(s). [04:34:58] first off..... [04:36:05] If you look at wikipedia.en the section of: From today's featured article ... What is the formatting to have that? Instead of saying Featured article? (This is for my website). [04:36:55] Do you see the "View source" tab? [04:37:01] You can click that to view the page source. [04:37:03] yeah [04:37:13] The page source contains the necessary code/markup. [04:37:33] Its confusing :| [04:37:45] Yes. [04:38:24] hang on I may have got 75% of it [04:40:32] Would I need to upload any of the bordering? [04:41:47] User:Adamdaley/Draft of Article 7 ... here it is on a subpage. but it comes up with mostly invalid txt like }} etc [04:42:09] it appears good on wikipedia. but transfering it over it doesn't appear 100% [04:45:33] how can I *entirely* disable mediawiki's API? [04:45:59] the api.php [04:46:20] Change the file permissions of api.php. [04:46:22] To be 000. [04:47:03] xueime, set $wgEnableAPI = false; in LocalSettings.php, see https://www.mediawiki.org/wiki/API:Restricting_API_usage [04:48:08] thanks! [04:48:24] wish my comment was that easy to fix :( [04:49:52] !wg EnableAPI [04:49:52] https://www.mediawiki.org/wiki/Manual:%24wgEnableAPI [04:50:28] Huh, I thought $wgEnableAPI got killed. [04:50:57] Looks like $wgEnableWriteAPI exists as well... hmm. [04:52:30] So no one can help me with the error? [04:59:17] Alright. I'll wait to see if anyone is willing to help. [04:59:21] xueime: why would you want to do that? [04:59:49] Daley: you are most likely missing templates [05:00:03] How do I upload the templates? [05:00:20] I don't know if my tech guy installed any templates. [05:01:58] Daley, do you see {{#ifexpr:0>150|From today's featured article|Featured article }}? [05:02:26] yeah something like that yes [05:03:59] Daley, if you google "#ifexpr" you will see the first thing that comes up is Extension:ParserFunctions [05:04:29] meaning you'll need to install that extension. but I doubt you need the exact behaviour, just edit that bit out and change it to "Featured article". [05:05:18] unicodesnowman ...Unfortunately, my tech guy did a crap job at installing media wiki. I don't know what he did or didn't do. [05:06:15] well if you see that unparsed, it means ParserFunctions isn't installed. so (i) install it for exact behaviour or (ii) edit it out and just use a static heading [05:06:34] static heading as in ==? [05:07:40] no, edit out the ifexpr expression. [05:10:51] {{0>150|From today's featured article|Featured article (Check back later for today's.)}} [05:12:27] Daley, replace that with just "Featured article" [05:13:40] {{0>150|From today's featured article|Featured Article }} [05:14:31] Daley, replace the _whole thing_ (including {{ and }}) with just "Featured article" [05:16:08] Alright. blue rectangle with those words [07:38:05] Anyone in here? [07:41:54] Anyone in here? [07:46:05] Anyone in here???? [07:46:49] I need help with mediawiki. [07:46:56] It would be appreciated. [07:52:29] Daley, ask, don't ask to ask. [07:54:33] unicodesnowman ... I'm in need of some templates for my mediawiki. [07:55:08] for example: template:Infobox person [07:55:33] and templates. [07:55:50] Daley, click on 'View source' and copy it to your wiki, and give attribution [07:57:35] that wont work it comes up as errors [07:59:14] template:Infobox person comes up as template:Infobox person redlinked. [07:59:29] are you referencing the template correctly? [07:59:34] have you imported the base infobox? [07:59:46] have you installed all the extensions that the templates you're trying to import needs? [07:59:51] see https://www.mediawiki.org/wiki/Manual:Importing_Wikipedia_infoboxes_tutorial [08:00:33] I didn't install mediawiki on my site. My tech guy did a crap job and didn't install anything only mediawiki. none of the other stuff that came with it. [08:00:43] Daley, basically nothing else comes with mediawiki [08:00:45] you have to install it yourself [08:00:58] all extensions have a "Installation" heading telling you exactly how to install it [08:01:17] everything you need to import things from Wikipedia is already fully documented [08:04:45] I see. [08:06:29] Daley: managing a mediawiki can be complicated, especially if you haven't worked with MW extensively before, but there's plenty of documentation on common tasks. don't be afraid to get out of your comfort zone and try doing new things [08:07:15] also: give a man a fish vs teaching a man to fish, etc. docs and google are useful :) [08:14:58] Thanks unicodesnowman [09:26:56] hello [09:27:05] one question on the unified account [09:27:37] hi .. im able to log into gerritś web interface but unable to commit changes in git bash using same credentials.. any help?? [09:27:43] I've noticed that a new user of it:voy https://meta.wikimedia.org/wiki/Special:CentralAuth/Cavok doesn't have a unified account [09:28:16] is enough to suggest her to access: https://meta.wikimedia.org/wiki/Special:MergeAccount or I have to suggest her something else? [10:26:59] I try again... [10:27:02] Is enough to access: https://meta.wikimedia.org/wiki/Special:MergeAccount to merge an account or there's something else to do? [10:29:36] I want to make changes to mediawiki core as well as an extension to fix a bug which are tracked separately, should they be part of the same changeset or separate? [10:31:38] codezee, separate, a changeset can only cover 1 repo i think? [10:32:45] I have to change the confirmedit extension, which also requires a change in core, then in that case I think I'll have to submit two patchsets [10:36:45] 88 [10:36:58] sorry! that was an error [11:03:14] last try for today :-) [11:03:22] Is enough to access: https://meta.wikimedia.org/wiki/Special:MergeAccount to merge an account or there's something else to do? [11:13:10] Andyrom75: believe so, see https://meta.wikimedia.org/wiki/Help:Unified_login#How_to_unify_your_accounts [11:15:00] thanks MC8 :) [15:33:18] In JS, should I use mw.msg() or mw.message().text() ? [17:18:32] In JS, should I use mw.msg() or mw.message().text() ? [17:22:18] UltrasonicNXT: they both work the same [17:22:44] MatmaRex: so which do I use? :P (More importantly why are there two...?!) [17:23:51] UltrasonicNXT: whichever you like best [17:24:02] dunno why there are two, this predates me :) [17:29:50] hi all :) [17:30:26] i have some problems with install diaspora. [17:30:49] it shows me no pics at login page etc [17:32:13] anyone can help ? ;/ [17:35:51] anyone ? [17:51:56] hey all [17:53:11] anyone can help me ? [17:54:36] djevil: just ask your question; if anyone knows and is around, they will answer [17:56:11] ok thank u. i installes diaspora yesterday on my root server, but it dont shows pictures when i go over the DNS:3000, if i go only over the DNS it shows pics but it didnt find the login page. [17:56:31] sociallife,evil-systems.com:3000 / sociallife.evil-systems.com [17:56:44] sociallife.evil-systems.com:3000* [17:57:40] djevil: er, this is a channel on mediawiki, not on diaspora. [17:58:04] mhm k [17:58:10] djevil: you probably want #diaspora instead [17:58:23] ok thx [19:06:36] Is Linker:link() using some cache? I added some classes depedning on the link target's categorization. When the target is edited, the link classes don't update. in some cases. [19:31:09] hello all [19:31:35] recently i upgraded mediawiki and now i notice that in the edit screen there's no longer a set of "wysiwyg" buttons [19:31:48] i used to be able to click "B" for bold, etc. [19:32:07] any ideas how i could get this functionality back? [19:32:51] did you had any wysiwyg extension? or are you talking about the standard wikitext toolbar [19:33:39] the standard wikitext toolbar may disappear, and other functionality of the page provided by JavaScript, if there are JavaScript errors [19:34:55] no it was standard i believe [19:35:09] Vulpix: ah, i see, okay i will investigate that then [19:35:31] jfive: is your wiki public so you can share a link? [19:35:37] ahh yes i have a Breadcrumbs.js extension that is erroring out it seems [19:35:46] Vulpix: sure, http://www.websightdesigns.com/wiki/ [19:36:29] !e JSBreadCrumbs [19:36:29] https://www.mediawiki.org/wiki/Extension:JSBreadCrumbs [19:36:52] jfive: ^ this extension seems to be causing the errors [19:36:53] you're a genius, thanks Vulpix [19:36:59] disabling it fixed the issue [19:37:09] :) [19:37:13] that extension never did very well anyway haha [19:37:24] it always got messed up whenever you clicked around awhile [19:37:24] did you upgraded that extension as well? [19:37:29] no, i did not [19:37:43] but i'm just saying i don't think i'll bother because it never performed very well anyway [19:38:08] i like the idea of breadcrumb navigation, but that extension didn't do a very good job of implementing it [19:38:09] ok, but you should upgrade any extension anyway (except the bundled ones) [19:38:21] ok, good point yeah i'll check into that as well [20:33:55]  /msg NickServ VERIFY REGISTER bgerstle ytkcgcujmwpr [20:34:11] ... [20:36:24] bgerstle: :) I think as long as it worked for you, it's OK [20:36:42] It should be a one-time key [20:36:42] i got it eventually.. it's always whitespace that gets you, isn't it? :-P [20:36:56] at least it wasn't the password [20:37:00] Indeed [20:37:33] bgerstle: Probably better to have a PM window open with NickServ than typing in passwords in #mediawiki... [20:38:00] yep, or do it in the server/network view [20:38:22] yeah, wish i thought of that sooner [20:38:34] i should probably update the instructions to say that [20:38:39] Mmhmm. [20:39:39] * G_SabinoMullane shakes his fist at https://phabricator.wikimedia.org/rMWdfc3e3df90a3293ef3c12935235305f7af0803ff for being Access Denied [21:41:19] What is the link for the mediawiki manual? [21:47:12] Daley: for user or developer? [21:48:07] It's for my website, I need to find the section for templates to add. [21:50:10] Daley: https://www.mediawiki.org/wiki/Help:Contents ? [21:50:57] And https://meta.wikimedia.org/wiki/Help:Contents has all the scary things you would never have wanted knowing about templates [21:52:10] Nemo_bis ... I've got another question. You know how you can go to edit mode on wiki? and it comes up with the page editing and the edit banners? Bold, etc? [21:52:34] We have that feature by default [21:52:54] But perhaps you mean https://www.mediawiki.org/wiki/Extension:WikiEditor [21:53:04] I realise that. But on my website it's just a little banner, not the extensive one on wikipedia [21:54:06] I would need to install that as well? [21:57:34] Nemo_bis? [22:03:25] Anyone? [22:03:51] yes, if you want the nicer one that is on wikipedia, you have to install that extension [22:10:01] thanks [23:04:30] Hi, we are a group of professionals who are building a wiki on our interests. We'd like to acknowledge users who contribute frequently during each year to encourage participation, so we have thought of putting a stamp with a little acknowledgement on the personal pages of them. Does anybody knows if there is an extension to do that? [23:07:57] !wikilove [23:07:59] Maybe. [23:08:01] !e WikiLove [23:08:01] https://www.mediawiki.org/wiki/Extension:WikiLove [23:08:59] !wikilove is WikiLove is an extension that makes it easy to add positive feedback to user talk pages. See https://www.mediawiki.org/wiki/Extension:WikiLove for installation and usage information. [23:08:59] Key was added [23:09:00] PolK: on Wikipedia, there is a tradition of giving people barnstars: . It doesn't need an extension or anything. [23:09:24] PolK: though WikiLove (which marktraceur recommended) is good and makes it somewhat more automatic.