!mduWVRtKzYinVAelXP:matrix.org

MWStake General

127 Members
MediaWIki Stakeholders' Group general discussion25 Servers

Load older messages


SenderMessageTime
24 Oct 2019
@freephile:matrix.orgrundg amieh: you mean pages like this: !https://www.familysearch.org/wiki/en/GuidedResearch:England which normally show up collapsed should be expanded if the accessed URL is !https://www.familysearch.org/wiki/en/GuidedResearch:England#mw-customcollapsible-I_know_the_county 18:24:20
@amieh:matrix.orgamiehExactly. In your example, I want the first section 'I know the country' to be opened when the page is displayed.18:27:59
@rheingoldriver:matrix.orgrheingoldriveroh18:39:14
@rheingoldriver:matrix.orgrheingoldriverthatd be a js thing18:39:18
@rheingoldriver:matrix.orgrheingoldriverget window.location and check if theres an anchor, if so then remove the class mw-collapsed from the element in question18:39:51
@freephile:matrix.orgrundgyep19:01:09
@freephile:matrix.orgrundg amieh: I can take care of that for you. 19:02:05
@freephile:matrix.orgrundg Thanks rheingoldriver 19:02:12
@rheingoldriver:matrix.orgrheingoldriver(technically youd wanna do prob $(element).closest(whatever) )19:02:59
@rheingoldriver:matrix.orgrheingoldriverhm you prob also wanna unbind all the toc links and add your own event handling to that19:10:34
@freephile:matrix.orgrundg
In reply to @rheingoldriver:matrix.org
hm you prob also wanna unbind all the toc links and add your own event handling to that
Can you elaborate? I don't understand.
20:05:32
@rheingoldriver:matrix.orgrheingoldriveratm you can also get to an anchor via toc right20:05:48
@rheingoldriver:matrix.orgrheingoldriverbut these will be inside of mw-collapsed sections20:05:57
@rheingoldriver:matrix.orgrheingoldriverand i think just clicking the link in toc wont unhide the content20:06:08
@rheingoldriver:matrix.orgrheingoldriverso you'd want to prevent default on all of those and add your own handling that first attempts to expand if needed, then jumps to anchor20:06:24
@freephile:matrix.orgrundg OK, now I understand.
in the example though, NOTOC is used in the source. Also I think there are only two headings so a TOC would be suppressed normally
20:08:01
@rheingoldriver:matrix.orgrheingoldriverahh ok20:08:22
28 Oct 2019
@hexmode:matrix.orghexmodetoday's wiki discovery (for me, anyway): (Statistics Explained)[https://ec.europa.eu/eurostat/statistics-explained/] ... your guide to European statistics from Eurostat, the statisitical office of the EU.14:23:57
@hexmode:matrix.orghexmode * today's wiki discovery (for me, anyway): Statistics Explained ... your guide to European statistics from Eurostat, the statisitical office of the EU. 14:24:24
@richardheigl:matrix.orgrichardheiglcool19:46:12
29 Oct 2019
@darenwelsh:matrix.orgdarenwelsh https://gitroyalty.com 11:17:52
30 Oct 2019
@richardheigl:matrix.orgrichardheiglMaybe interesting for one or the other here: We published a demo with completely reworked content. https://en.demo.bluespice.com/wiki/Main_Page Among other things, we have improved the semantic area and focus more on our use cases. We are very happy to have this thing right now. The old demo was beneath any dignity. But we're still working on it. Questions anytime!13:11:11
@wsviktors:matrix.orgwsviktorsLooks great 👍🏼20:05:57
@bryandamon:matrix.orgbryandamon Looking good on mobile, I'll check it out more later when I might at a computer. 20:12:43
@darenwelsh:matrix.orgdarenwelshDo I really have to accept cookies?22:59:44
@bryandamon:matrix.orgbryandamon * Looking good on mobile, I'll check it out more later when I'm at a computer.23:08:14
@richardheigl:matrix.orgrichardheiglhmm. this is the standard cookie extension. you can select that only the really necessary cookies to be accepted. I will check, if we can configure this otherwise. 23:38:27
@richardheigl:matrix.orgrichardheiglcookie warning extension. 23:43:19
@darenwelsh:matrix.orgdarenwelsh This is probably something that I always "accepted" before without knowing but now that I'm forced to click acknowledgement I feel dirty doing so 23:43:27
@richardheigl:matrix.orgrichardheiglgood point. I think that this extension has to be modified in the near future, because the European Court of Justice made a decision a few weeks ago, thst you really have to "opt-in". but maybe this is interesting for you: we have a privacy extension on board, which answers to the demands of the same court in the european data protection regulation one or two years ago: https://en.demo.bluespice.com/wiki/Special:Privacy_Center 23:47:26

Show newer messages


Back to Room ListRoom Version: