uta / inpagecomments Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
== About == InPageComments is an extension of the MediaWiki. The visitors can comment on your wiki casually despite the permissions. For more information: * https://github.com/uta/InPageComments == Requirement == MediaWiki 1.24+ == Download == You can get the code directly from Git. $ git clone https://github.com/uta/InPageComments.git == Installation == Once you have downloaded the code, place the ''InPageComments'' directory to extensions directory of your MediaWiki. Then add the following code to your LocalSettings.php: require_once( "$IP/extensions/InPageComments/InPageComments.php" ); == Configuration == You can configure behavior of the InPageComments at LocalSettings.php: * $wgInPageCommentsTag * $wgInPageCommentsAnonDisplay * $wgInPageCommentsFormMessage * $wgInPageCommentsMaxLetters * $wgInPageCommentsDenyBlockedUser * $wgInPageCommentsDenyProtectedPage * $wgInPageCommentsSpamCheckEncoding * $wgInPageCommentsSpamCheckReferer * $wgInPageCommentsSpamCheckUrlCount === $wgInPageCommentsTag === You can assign a tag string of the InPageComments. A default value is 'comments'. So editors can put the comment form by adding '<comments />' on a wiki page. In most cases, you do not need to change this value. === $wgInPageCommentsAnonDisplay === You can assign a text of a name of the anonymous user. === $wgInPageCommentsFormMessage === You can assign a message which is displayed before the comment input box. === $wgInPageCommentsUrlFontAwesome === You can assign an URL of the Font Awesome. A default value is the official static css file of it on CDN. If your wiki is within private network and can't access public CDN, then you should prepare it and assign the URL. === $wgInPageCommentsMaxLetters === You can assign a max letters of the comments. === $wgInPageCommentsDenyBlockedUser === You can assign whether the comments posted by blocked user will be denied. === $wgInPageCommentsDenyProtectedPage === You can assign whether the comments posted on protected page will be denied. === $wgInPageCommentsSpamCheckEncoding === You can assign whether a value of 'HTTP_ACCEPT_ENCODING' will be checked for spam assessment. === $wgInPageCommentsSpamCheckReferer === You can assign whether a value of 'HTTP_REFERER' will be checked for spam assessment. === $wgInPageCommentsSpamCheckUrlCount === You can assign the number of URLs that can be included in a comment. A default value is '2'. So the comment including 2 URLs are allowed. But including 3 URLs will be discarded.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.