Post Reply

[PROPOSAL] New wiki extension WIDGETS

Post by
I would like to add the wiki extension Widgets parser function to our wiki, and am looking for feedback from others in the editing community.

What it is and what it offers us:
The Widgets extension allows the creation of raw HTML pages that can be embedded (similarly to templates) in normal wiki pages. You do this by creating pages in the Widget namespace. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Many pre-written Widgets are available.
One of the very beneficial uses of this extension is the ability to embed an <iframe> in a wiki page.

This comes in handy when trying to embed (part of) a Google Spreadsheet into a wiki page. For example the US State Managers maintain a sheet which lists all the SMs by their state with their username, rank, and other private info. This sheet is kept up to date by the SMs and the respective Champs. It has also been requested several times for there to be an easy access place in the wiki to locate the SM of a particular state similar to the Regional Coordinators page. Now since the SM position can be fluid with a lot of promotions etc. the list is constantly in flux. Having to maintain a second list in the wiki, is just double work, and error prone. Since the SMs use the Google list for other things, as well, it is always kept up to date. Now we can publish a portion of that sheet online for public view, which is always kept in sync with the sheet, without revealing any of the other private data on the sheet. Currently we can't embed this list into our wiki to display on the SM page, it is only able to be presented as a link which must be clicked on to open an external page. If we had this extension on our wiki, we could embed the table in the wiki page for seamless viewing.

This is just one example of the Widgets extension being useful to us. Given the proliferation of Google sheets, Slides, and Forms throughout Waze, this functionality could easily be expanded to be very useful in other parts of the wiki as well. The Formal Mentoring application form could be displayed directly in the Formal Mentoring wiki page to be filled out and submitted. The same goes for the Road Closures request form. Slide shows explaining difficult concepts could be embedded directly into the relevant pages where appropriate. This has the potential to truly enhance our wiki, and make it more user friendly.

Safety:
An obvious issue jumps to mind, this could present a security threat. There's a potential for abuse with malicious content. There can be malicious code created and installed that would not affect the Wiki, but could be a source for problems to users that go to the page if unwanted changes are made. That does create an exposure for Waze to some degree. They are not liable legally, but it could lead to very bad impressions.

To address this first lets look at what the extension author writes in the description; "They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Many pre-written Widgets are available."
Second we have control over which types of code are allowed to run using this extension, which again would be managed by the wiki administrators.
Third our wiki only allows changes from registered users, so anyone editing the wiki would be doing so from a logged IP, and thereby the threat may be reduced.
Fourth this likely is not any more dangerous than visiting any Wikipedia page, and they seem to be doing OK, if a problem ever was created, it would be very easy to undo those edits, and remove the malicious code.

Community
This boils down to the community. There are obvious pros and cons to this software, even if only to a small degree. I'm not a computer scientist, an can't vouch the complete and impenetrable safety of this extension, but in my opinion the benefits outweigh the risks. The question is now up to all of you, the editors community:
Do you feel this extension would help waze, and improve our wiki experience?
Do you think we should, or should not implement this extension in our wiki installation?


If there is a positive consensus, we can approach Waze Management and ask them for approval. Please respond if you think this is a good idea or not. Show your support if you'd like to see these features available. Express your concerns, if you feel that's appropriate. Let's come to communal decision in the true sense of Waze, to determine if this is a good idea.

POSTER_ID:16413809

1

Send a message

Post by davielde
As long as we are careful as to what external information we expose, I would be okay with the addition of widgets.

In particular, information that we tend to be more liberal about sharing on a semi-private Google sheet such as a Waze-related or personal email account, full name, etc. should not be placed in an iframe on a wiki that is indexed constantly by search engines.
davielde
Posts: 1219
Has thanked: 454 times
Been thanked: 735 times
Send a message
https://www.waze.com/wiki/images/6/69/W ... 00k_5c.png
CM: USA
SM: Michigan, Vermont
AM: Ann Arbor, MI & Thunder Bay, ON
WME Michigan

Post by driving79
I have the same concerns as davielde, but other than that am ok. So, as long as info is handled carefully, then ok.
driving79
Coordinators
Coordinators
Posts: 2443
Has thanked: 304 times
Been thanked: 1049 times
Send a message
Global Champ
Tier 1
Beta Leader
Southeast Wazeo - https://wazeopedia.waze.com/wiki/USA/USA/Southeast


Post by Fredo-p
Here, here. I second the idea.

This would work well for the AZ wiki page. Much of the construction updates are maintained and updated in a Google Doc. This would make it easier to share and maintain vs having to jump back and forth between the Doc and the Wiki page, making sure all the info matches.

Sent from my DROID4 using Tapatalk
Fredo-p
Posts: 2008
Has thanked: 240 times
Been thanked: 522 times
Send a message

Arizona Wiki | @Waze_Arizona Twitter
Verizon Samsung Galaxy S8+

Post by Fredo-p
Is there a way to restrict those who can use this script or lock the page to a specific editor to prevent any shenanigans?
Fredo-p
Posts: 2008
Has thanked: 240 times
Been thanked: 522 times
Send a message

Arizona Wiki | @Waze_Arizona Twitter
Verizon Samsung Galaxy S8+

Post by Fredo-p
Any word yet if Waze has looked into this and is considering it?
Fredo-p
Posts: 2008
Has thanked: 240 times
Been thanked: 522 times
Send a message

Arizona Wiki | @Waze_Arizona Twitter
Verizon Samsung Galaxy S8+

Post by Fredo-p
I tried using the google spreadsheet widget, but get the

Code: Select all

Error in widget Google Spreadsheet
This is what I am trying to get to display.

Code: Select all

{{#widget:Google Spreadsheet
|key=po-1L_oV4DjeEgiSOMLO38JvZZX1Sbj1soqGJgJ1zCYFvAs
|width=500
|height=300
}}
Fredo-p
Posts: 2008
Has thanked: 240 times
Been thanked: 522 times
Send a message

Arizona Wiki | @Waze_Arizona Twitter
Verizon Samsung Galaxy S8+

Post by Fredo-p
Same with iframe widget. I think I may be doing something wrong.

Code: Select all

{{#widget:Iframe
|url=http://docs.google.com/present/embed?id=1L_oV4DjeEgiSOMLO38JvZZX1Sbj1soqGJgJ1zCYFvAs
|width=410
|height=342
|border=0
}}
Fredo-p
Posts: 2008
Has thanked: 240 times
Been thanked: 522 times
Send a message

Arizona Wiki | @Waze_Arizona Twitter
Verizon Samsung Galaxy S8+

Post by Fredo-p
Damn. I missed the last section. I was so excited to try and test it. lol :oops: :oops: :oops:
Fredo-p
Posts: 2008
Has thanked: 240 times
Been thanked: 522 times
Send a message

Arizona Wiki | @Waze_Arizona Twitter
Verizon Samsung Galaxy S8+

Post by Fredo-p
I just post that I missed it and I see this. :roll:
Jackson wrote:Hi Guys,

We fixed the problem,
Keep in mind, that anything you embed inside the Wiki must be on a https server. That includes google docs and iframes.
Fredo-p
Posts: 2008
Has thanked: 240 times
Been thanked: 522 times
Send a message

Arizona Wiki | @Waze_Arizona Twitter
Verizon Samsung Galaxy S8+

Post by Fredo-p
Still getting a blank area where the sheet should be.

Code: Select all

{{#widget:Google Spreadsheet
|key=po-1L_oV4DjeEgiSOMLO38JvZZX1Sbj1soqGJgJ1zCYFvAs
|width=500
|height=300
}}
Fredo-p
Posts: 2008
Has thanked: 240 times
Been thanked: 522 times
Send a message

Arizona Wiki | @Waze_Arizona Twitter
Verizon Samsung Galaxy S8+