libreplanet-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libreplanet-discuss] Libre-JS and MediaWiki


From: Connor P Doherty
Subject: Re: [libreplanet-discuss] Libre-JS and MediaWiki
Date: Sat, 5 Sep 2015 13:44:52 -0400
User-agent: K-9 Mail for Android

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I also run MediaWiki instances and I've run into that before. I read the FSF 
has introduced some new <meta> tags that allow one to specify the license in a 
LibreJS compatible way. Perhaps we can try those?


- -------- Original Message --------
From: libreplanet-discuss-request@libreplanet.org
Sent: September 5, 2015 12:00:15 PM EDT
To: libreplanet-discuss@libreplanet.org
Subject: libreplanet-discuss Digest, Vol 67, Issue 1

Send libreplanet-discuss mailing list submissions to
        libreplanet-discuss@libreplanet.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.libreplanet.org/mailman/listinfo/libreplanet-discuss
or, via email, send a message with subject or body 'help' to
        libreplanet-discuss-request@libreplanet.org

You can reach the person managing the list at
        libreplanet-discuss-owner@libreplanet.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of libreplanet-discuss digest..."


Today's Topics:

   1. Libre-JS and media wiki (Andres)


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

Message: 1
Date: Sat, 05 Sep 2015 11:55:33 +0001
From: Andres <a75576@alumni.tecnun.es>
To: libreplanet-discuss@libreplanet.org
Subject: [libreplanet-discuss] Libre-JS and media wiki
Message-ID: <1441454073.2596.0@smtp.gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hello all,
Maybe one of you can help me. Our local makerspace uses a wiki:
richmondmakerlabs.uk

I used the icecat addon libreJS that blocks some scripts saying that
they are non-free. how can I make them free?

An example of a report I get when editing a page is as follows:

****************

List of blocked JavaScript in
http://wiki.richmondmakerlabs.uk/index.php?title=Blog_2015

    Whitelist

    This script is detected as inline, nonfree, defining functions or
methods, and the rest of the page as loading external scripts
    if(window.mw){

mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Blog_2015","wgTitle":"Blog
2015","wgCurRevisionId":753,"wgRevisionId":753,"wgArticleId":61,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":"Amunizp","wgUserGroups":["bureaucrat","sysop","*","user","autoconfirmed"],"wgCategories":[],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"Blog_2015","wgUserId":5,"wgUserEditCount":207,"wgUserRegistration":1397596784000,"wgUserNewMsgRevisionId":null,"wgIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[]});
    }

    Whitelist

    This script is detected as inline, nonfree, defining functions or
methods, and the rest of the page as loading external scripts
    if(window.mw){

mw.loader.implement("user.options",function($,jQuery){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"editfont":"default","editondblclick":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":1,"extendwatchlist":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nickname":"","norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"rcdays":7,"rclimit":50,"rows":25,"showhiddencats":0,"shownumberswatching":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":1,"watchdefault":1,"watchdeletion":0,"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit?

    Whitelist

    This script is detected as inline, nonfree, defining functions or
methods, and the rest of the page as loading external scripts
    if(window.mw){

mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax","skins.vector.js"]);
    }

    Whitelist

    This script is detected as inline, nonfree, defining functions or
methods, and the rest of the page as loading external scripts
    /*<![CDATA[*/window.jQuery && jQuery.ready();/*]]>*/

    Whitelist

    This script is detected as inline, nonfree, defining functions or
methods, and the rest of the page as loading external scripts
    if(window.mw){

mw.loader.state({"site":"ready","user":"ready","user.groups":"ready"});
    }

    Whitelist

    This script is detected as inline, nonfree, defining functions or
methods, and the rest of the page as loading external scripts
    if(window.mw){

mw.loader.load(["mediawiki.action.view.postEdit","mediawiki.user","mediawiki.hidpi","mediawiki.page.ready","mediawiki.searchSuggest","mediawiki.page.watch.ajax","skins.vector.collapsibleNav"],null,true);
    }

    Whitelist

    This script is detected as inline, nonfree, defining functions or
methods, and the rest of the page as loading external scripts
    if(window.mw){
    mw.config.set({"wgBackendResponseTime":422});
    }

    Whitelisterror parsing: ReferenceError: type is not defined

http://wiki.richmondmakerlabs.uk/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*

List of accepted JavaScript in
http://wiki.richmondmakerlabs.uk/index.php?title=Blog_2015

    LibreJS did not allow the execution of any scripts on this page: '
        There may be no scripts on this page (check source, C-u)
        The inline and on-page JavaScript code may not be free and/or
may not have proper license information and external scripts (if
present) may have been removed by default.
        External scripts may not be free and/or may not have proper
licensing and are not part of the whitelist of free JavaScript
libraries.





- -------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.libreplanet.org/archive/html/libreplanet-discuss/attachments/20150905/f1e43c48/attachment.html>

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

_______________________________________________
libreplanet-discuss mailing list
libreplanet-discuss@libreplanet.org
https://lists.libreplanet.org/mailman/listinfo/libreplanet-discuss


End of libreplanet-discuss Digest, Vol 67, Issue 1
**************************************************

Connor Doherty
- --
[Sent from K-9 Mail on Replicant Android]
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQJTBAEBCgA9BQJV6yoTNhxDb25ub3IgUCBEb2hlcnR5IChDb25ub3IncyBrZXkp
IDxjbm5yX2RocnR5QGxpdmUuY29tPgAKCRAs5QadYtz7wbnvD/sF71KMcvv6B5ok
Bv/fIHvUJBGH/xgyAa9ogbnHWXv2sA55ImjiSNa921CgFWBjEoOn8mRMJ6vTm1Oa
Rp098SB5Kf+0H4sf5Yllsu3CAhahmRRWSmQiZSjxyEFzEj0q0Y4aVG5t0hh46pRY
eBhBBRXwMq4L1ID34sxujnzjPR5fPxI1cMzIYRbViEFzb/9IWUWyev2BaWzyoQnI
HRq1xGAE0pX+uifoByE+lZLnl4zgB3eEaJG2uTD3YCknU+6N/MN9S4PF6oxdiVo8
ETahZEhYl3RU6tZ+kABb1SHn38rjoE5F8Z7n0uEcQbJ3URIksa+iSTO3mTE2YBvQ
0sRlUteL2skBD3dYQ22S1ejgBmBtAO1FzSlpn/WuuybttlRnNcgDHZps+nfw5AH+
vccsx5So6vbSklT9mSkikwCaRdVz4E0Jp/RX5dqluWmretOy2uNfffMV2MGXtCCO
R+1AnMZA0p23NgukKVSB2TtWMMmbps04ED9LRl2vY1Cbv4xlcdS9yoE7jJKzH1i+
WHUPZ3JOs5veEie1w8HO4QhBXr44a2zIbEvkHOORNYqOjIHljVhT/6IiH3JZvaT7
yV2R/9mZV8k8mDI2oV9HQVNTDDhmhgXcbep28NaMOA3APURZ74YD/DMecvIipRka
Q/txTBTM4ubsrpfuI4MpPDZlXDxdXA==
=SMza
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]