New topic Search archives Browse archives

Template:Menu can't use the Mediawiki JS[edit source]

Hi @Sophivorus! I am impreseed with the Appropedia MW & SMW design and structured. I would like to learn and use some of the Templates for my Wiki site. I have exported & imported the Template:menu with all the required files like MediaWiki:TemplateCreate.js, MediaWiki:TemplateMenu.js, etc. I have checked that the above JS files have been imported to my website but it seems that it is not loaded, show . See https://lab139tb.tbpedia.org/index.php?title=Template:Menu. If you view the source of Template:Menu, t will not showed that JS fiels beedn used even it is in the Mediawiki namespace. Anythings that I should configure to make the JS script loaded ? Lotuscc (talk) 15:15, 8 January 2023 (UTC)Reply[reply]

@Lotuscc Hi, thanks for reaching out! At first sight, it seems that what you need is to enable the Extension:UseResource. Let me know how it goes after that! Sophivorus (talk) 13:20, 9 January 2023 (UTC)Reply[reply]
Hi @Sophivorus, I insatlled the UseResource Extensuin, check that the both js files MediaWiki content model is Javascript , but it still fail to load/detect it from the page . Very strange behavior > ( By the way when I click the reply , it showed this message "Could not find the comment you're replying to on the page. It might have been deleted or moved to another page. Please reload the page and try again." I have no choice to manually edit the source file).
@Lotuscc Hi again! Weird, for some reason MediaWiki is not recognizing the "usescript" tag and is simply printing it on the page. I'm afraid I got my own debugging to do these days (among which is the Reply button not working), so you'll have to figure it out yourself. If all else fails, try using this other thing I developed which essentially does the same as the UseResoure extension. Good luck! Sophivorus (talk) 14:32, 9 January 2023 (UTC)Reply[reply]
Hi @Sophivorus, It seems that the cache issues blocked the detection of userecript tag ? It's working perfectly now after I retried in the next day. Thanks for your guidance. I notice the generation of the PDF pages are not working if the page contains the template instead of the text.
@Lotuscc Hi! Glad you figured it out. Regarding the PDF generation, I'm not too sure what you mean, but the script I wrote at TemplateMenu.js is Appropedia-specific so I'm not surprised if something doesn't work perfectly. If you know some JavaScript (or are willing to learn) I suggest you take a look at the makeBook method to try to figure it out. It's not long and if you manage to understand it, you can probably make it do whatever you want. Good luck! Sophivorus (talk) 15:14, 10 January 2023 (UTC)Reply[reply]

Template:Civics map & problems with news templates[edit source]

Hi @Sophivorus, thanks for the Template:Civics map.

Can you give me any hope (of a fix) regarding the problems with the news templates?

Appropedia:Village pump#Software update As I understand it at present we can't (at least not without considerable difficulty) remove any news item. Highly problematic should someone ask us to for whatever reason? Because of the ongoing problems with the multiple repetitions in displays I'm tempted to wonder whether I should consider abandoning the templates and go back to doing everything manually, but would much rather there was hope of some sort of a fix.

I don't mind waiting a bit if there are more pressing things, just need some feedback on this. Thanks Philralph (talk) 10:31, 13 January 2023 (UTC)Reply[reply]

@Philralph My apologies, I've delayed this way too much. I just started the regeneration of the semantic data which should solve this issue. It may take a few hours though! Kind regards, Sophivorus (talk) 11:23, 13 January 2023 (UTC)Reply[reply]
@Philralph I tried regenerating the semantic data but didn't quite work yet, please be patient a bit more, I'm working on this today, cheers! Sophivorus (talk) 11:44, 16 January 2023 (UTC)Reply[reply]

Problems editing some pages[edit source]

Hi @Sophivorus, having problems editing Sheffield community action, each time getting error message: [ZBCMuYFrC7yz0fpYgJA3FwAAAAg] 2023-03-14 15:03:21: Fatal exception of type "Error" (?) Thanks, Philralph (talk) 15:04, 14 March 2023 (UTC)Reply[reply]

@Philralph Fixed, thanks for the report and sorry for the trouble! Sophivorus (talk) 18:07, 14 March 2023 (UTC)Reply[reply]

User impact[edit source]

Hola @Sophivorus! Te queria preguntar sobre los User impact que estan highlighted en las paginas de usuarios, son un conteo anual? o se cuentan desde que inicie con appropedia? Es que los mios parece que se resetearon, pero tampoco se van sumando cuando estoy trabajando en las paginas. Es una pregunta bien random, pero me gusta ver como avanzan mis contribuciones mes con mes! --Irene92 (talk) 07:42, 16 May 2023 (UTC)Reply[reply]

@Irene92 Hola, ¡buena observación! Los conteos si funcionan, lo que ocurre es que Emilio me pidió hace tiempo que hagamos una excepción para los miembros del equipo Appropedia (Emilio, Pedro, tu, yo, etc) ya que aparecíamos como autores de montones de páginas donde nuestros aportes fueron más bien menores, o de forma y estilo y no de contenido. ¿Hace sentido? Si hay alguna página donde verdaderamente eres autora, puedes incluir tu nombre de usuario explícitamente en page data y aparecerás listada (como hice yo en las páginas donde verdaderamente soy autor, véase mi página de usuario). ¡Saludos! Sophivorus (talk) 11:44, 16 May 2023 (UTC)Reply[reply]

ZeroCovid -> Aerosol_pandemic + Spanish[edit source]

Hi, user:LucasG here. What started off as ZeroCovid and then Aerosol pandemic is now Aerosol_pandemic and Pandemia_aerosol. The two reasons are that 1) the elimination strategy ("zerocovid") clearly has no chance of being applied for the current covid situation any time soon and 2) the next pandemic may be flu - both would be aerosols and thus the name change. So just to say thank you, and if you let me know what would be needed then I'd be happy to do that work, slowly. One of the changes would be the logo, also clearly for another day... or month. Also, I plan to reshape the portal(s), not fully sure how. The goal is to more effectively invite contributions. Thanks!

@LucasG Hi, thanks for the heads up, understood! I'm currently doing mass replacements of Template:Header because its behavior is going to change drastically. Once I'm done with that, I'll be happy to go back to some specific pages such as ZeroCovid / Aerosol pandemic ones and do a better update considering your comment. Cheers! Sophivorus (talk) 15:19, 12 July 2023 (UTC)Reply[reply]

Citizens Action Network handbook and templates[edit source]

Hi @Sophivorus, Template:CANhandbook menu had been effectively replaced by Template:CANwiki menu. I've added the category to this. (Hope I've done it right!). I see the old menu is still in use on some pages which I need to get round to archiving! Plus whole CANwiki section needs a lot more work, when I can find time to catch up a bit with it! (Going to be out of action for a while, just a few days hopefully!) Best, Philralph (talk) 15:37, 13 July 2023 (UTC)Reply[reply]

Cosmolocalism article, Recent edits[edit source]

Hi @Sophivorus, can you tell me what the problem was with the video and Research section which removed from the article yesterday? Thanks Philralph (talk) 07:56, 11 August 2023 (UTC)Reply[reply]

@Philralph Oh wow! Sorry, not sure what happened there, I just reverted myself. Thanks for keeping a sharp eye! Sophivorus (talk) 11:14, 11 August 2023 (UTC)Reply[reply]

Possible development of event templates[edit source]

Hi @Sophivorus, wondering if you saw my post on the Community portal re event templates? Do you have any thoughts on those ideas? Thanks, Philralph (talk) 19:42, 21 August 2023 (UTC)Reply[reply]

@Philralph Hi! Apologies, yes I've seen it, but haven't found the moment to reply yet. I got it on my task list and will respond this week. In the meantime, have you seen User talk:Philralph#Branding for CASwiki? Cheers! Sophivorus (talk) 19:51, 22 August 2023 (UTC)Reply[reply]
Hi @Sophivorus, yes I saw User talk:Philralph#Branding for CASwiki. I can say more about this if you like, but in summary I don't feel the need for any change to the discreet and subtle layout we have at the moment, and not a fan of branding. On the other hand I really do appreciate the unclutteredness of the top of pages that we've moved to over the past few years. Philralph (talk) 07:47, 23 August 2023 (UTC)Reply[reply]
Hi @Sophivorus, I'm now preferring a much clearer design using existing templates, so nothing further needed, thanks. Examples at Malling, London and UK, Philralph (talk) 08:05, 13 September 2023 (UTC)Reply[reply]
@Philralph Hi! It looks super neat, good solution! I'm glad you managed it, and sorry I wasn't able to help on time. Let me know of any further issues or requests and I'll try to do better, cheers! Sophivorus (talk) 11:59, 13 September 2023 (UTC)Reply[reply]

Problem with PDF file[edit source]

Hi @Sophivorus, I received a comment from @ALL SAFE:

Hello, Someone on my team mentioned they were not able to see a linked PDF on this page https://www.appropedia.org/ALL-SAFE/Step_1:_Learn on their phone (but was able to see it on their computer). Could you help me troubleshoot this? This is the laparoscopy in low-resource settings PDF at the very bottom of the page. —The preceding unsigned comment was added by ALL SAFE

I am able to see the file on the phone. Can you please help us verify if this is a problem you can reproduce?—Emilio (talk) 17:06, 11 September 2023 (UTC)Reply[reply]
@ALL SAFE Hi! I'm also able to open and read the PDF from my phone with no trouble. It seems like a very straightforward link to a simple PDF. Are you able to reproduce the issue? Can you contact the team member who had trouble and have them reproduce the issue? Awesome page, btw, cheers! Sophivorus (talk) 11:16, 12 September 2023 (UTC)Reply[reply]

Updating Appropedia Activity by Month for most recent 12 months[edit source]

Filipe -- Thank you for your reply to my request. I'm _NOT_ a wiki-programmer, but I am an avid user. I'm happy to try any solution you recommend. By supporting this work, I meant I could provide financial support (in terms of dollars per month for a set number of months, most likely). If you can let me know how much funding might be needed to accomplish this particular goal, I can consider working out a means to provide that funding.

Tom Stanton, Founder/Principal, Community Energy Solutions, LLC Stantontom1@gmail.com Office/mobile/voice/sms = +1 (517) 775-7764, generally 9a to 5p, M-F, with other hours by appointment. https://www.appropedia.org/User:TomStanton

Distorted images for notices[edit source]

Hi -- for all of my group's notices now the images are distorted - stretched in the vertical axis on browser -see Template:Pearce publications notice -- how do I fix that? Thank you --Joshua Pearce (talk) 09:48, 4 October 2023 (UTC)Reply[reply]

@J.M.Pearce Hi! They should be back to normal now, but let me know if not! Sophivorus (talk) 11:44, 4 October 2023 (UTC)Reply[reply]

Issues with Extension:CategoryLockdown[edit source]

Hi! First, I want to introduce you to @Timm, an open source ally from Germany. He's currently working on some content for the Tolocar project at Open Source Machine Tools. He pointed out that the page Tolocar Playbook is visible despite being a private page, and it only restricts users when you click the edit button. Is this my error or a problem with the extension? Thanks! Emilio (talk) 21:48, 31 October 2023 (UTC)Reply[reply]

@Timm @Emilio Hi, nice to e-meet you Timm! I think the problem was that a cached version was being shown from when the page was not protected. I just purged the cache and it seems fixed now. Let me know of any more issues, cheers! Sophivorus (talk) 11:33, 1 November 2023 (UTC)Reply[reply]
Quick comment: "This page is part of the Tolocar project.This content is not open edit but is open to derivative works (that is, you can reuse its contents.)" was the comment I saw and I think I could not edit with the visual editor, I'm now part of the tolocar group and can edit freely. All fine. But it should be definitely an openly visible page, not a private one, as I would like to make all changes and additions visible from the start. Timm (talk) 15:04, 1 November 2023 (UTC)Reply[reply]
Tolocar Playbook being private was a request from Vicy until the document is published! But we will make sure the rest of pages are public and fully editable! Emilio (talk) 15:07, 1 November 2023 (UTC)Reply[reply]
ok, thx Timm (talk) 17:31, 1 November 2023 (UTC)Reply[reply]

Problem with Bangladesh coordinates[edit source]

Hi @Sophivorus, I just reverted your edit to Bangladesh news, as for me the coordinates show a location in Africa rather than South Asia. Thanks for your other changes. Replying also on User_talk:Philralph#Subpages Philralph (talk) 16:48, 11 January 2024 (UTC)Reply[reply]

@Philralph Hi! Thanks for that. I just re-add them and checked that, at least for me, the coordinates show the correct location of Bangladesh in South Asia. Can you confirm? By the way, while we're at it, I wanted to let you know that the reason I sometimes add coordinates to pages is because without them, Appropedia needs to retrieve the coordinates again and again from https://nominatim.openstreetmap.org which isn't a problem in itself, but if you multiply that for every page with a location, it adds up to many external requests which slow down the site and consume unnecessary electricity. Pages without coordinates are listed at Category:Pages with no coordinates along with instructions on how to "fix" them. Cheers! Sophivorus (talk) 14:04, 12 January 2024 (UTC)Reply[reply]
Hi @Sophivorus, thanks, yes confirming now looks ok for me too, and thanks for link to how to fix, cheers, Philralph (talk) 14:10, 12 January 2024 (UTC)Reply[reply]
Hi @Sophivorus, not getting location display on Armenia community action. Using "subst:#geocode:" failed several times, so tried coordinates got manually from https://latitude.to/map/am/armenia but still no dispaly (?) Philralph (talk) 13:13, 25 January 2024 (UTC)Reply[reply]
@Philralph Fixed, thanks for the report! Sophivorus (talk) 14:03, 25 January 2024 (UTC)Reply[reply]
Hi @Sophivorus, thanks. I just checked and both Bangladesh news, and Bangladesh community action had gone back to showing in Africa on the map, though no obvious edit in the history. Fixed both with "subst:#geocode:" but a bit of a mystery as to why this keeps happening (?) Philralph (talk) 10:40, 26 January 2024 (UTC)Reply[reply]
@Philralph ¡Hmm very strange! I'm puzzled too, honestly. Let me know if it happens often enough to become a problem, cheers! Sophivorus (talk) 13:16, 26 January 2024 (UTC)Reply[reply]

Newslist templates[edit source]

Hi @Sophivorus, I just put back most recent news to Cosmolocalism. I'm generally now avoiding using {{CURRENTYEAR}}, but there are probably some pages that I haven't caught up with yet, after the actual year change, which I'm intending to put back to the date of whatever is latest news. Hope I've explained this ok? Philralph (talk) 14:58, 12 January 2024 (UTC)Reply[reply]

@Philralph Hi! Yes, super clear. I hope Category:Pages with no news and Category:Pages with no events will make the job easier then. By the way, they are currently updating and may take a few hours to complete. Cheers! Sophivorus (talk) 15:52, 12 January 2024 (UTC)Reply[reply]

Estimate of cost and time for upgrading a MediaWiki based site running on AWS[edit source]

3-Mar-2024 Dear Felipe,

We would like to get an estimate of cost and time for upgrading a MediaWiki based site running on AWS.

The current production site runs on Amazon Linux 1 (AL AMI 2018.03), Apache/2.2.34, MediaWiki 1.11.2, PHP 5.2.17 and MySQL 5.7.44 on AWS RDS. We have a few own developed extensions using $wgParser and maybe other obsoleted MediaWiki features.

The plan is to upgrade to a site running on Amazon Linux 2023 (AL2023) and the latest versions of MediaWiki (1.41.x), PHP, Apache and MySQL.

If you are interested, we can send you a link to hold a Zoom meeting.

Please let us know.

With best regards Joel L. Sussman & Jaime Prilusky

---------------------------------------------------------------------------------------------

Prof. Joel L. Sussman                       Joel.Sussman@weizmann.ac.il

Dept. of Chemical and Structural Biology    tel: +972  (8) 934 6309  www.weizmann.ac.il/~joel

Weizmann Institute of Science               fax: +972  (8) 934 6312  proteopedia.org

Rehovot 76100 ISRAEL                        mob: +972 (50) 510 9600

--------------------------------------------------------------------------------------------- 132.76.61.53 13:19, 3 March 2024 (UTC)Reply[reply]

Hi! Thanks for the proposal, but I'm not currently looking for new projects. Good luck! Sophivorus (talk) 13:28, 3 March 2024 (UTC)Reply[reply]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.