MediaWiki Permissions [closed] - mediawiki

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to setup the permissions and was wondering if this is possible.
I want to have users be able to create talk and discussions pages, but not edit content pages.
Only Trusted can have the option of editing content pages.
Can this be done in MediaWiki?
I have read through the docs, and it seems for editing it is either all or nothing.
Am I missing something?
Thanks...

$wgNamespaceProtection lets you do this. Put something like this in your LocalSettings.php:
$wgNamespaceProtection[NS_MAIN] = array( 'edit-main' );
//This restricts editing in the main namespace to people in a group that has the 'edit-main' permission.
$wgGroupPermissions['trusted']['edit-main'] = true;
//This means only people in a new 'trusted' group have the 'edit-main' permission
Alternatively instead of 'trusted', put 'sysop', to mean sysops are the ones who also get to edit the main namespace (as well as deleting pages and other sysop permissions)
But if you do want a new group called 'trusted', then you would probably also want to create pages on your wiki with the following little content snippets, to make the interface describe this new 'trusted' group correctly:
on a page called MediaWiki:Group-trusted put the content 'Trusted'
on a page called MediaWiki:Group-trusted-member put the content 'trusted'
on a page called MediaWiki:Grouppage-trusted put the content 'Project:trusted'
I'm basing this on the 'ninja' example on Manual:User rights

Related

What kind of html link is this? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
What kind of HTML link is this? And how does it work?
I've researched in PHP, and it similar code, but href does not include file extension.
Link
the domain will be the prefix for this link, after that it will be like it:
www.example.com/directory/subdirectory/category?catID=2
and ?catID=2 is QueryString that transfer data in url.
The
?catID=2
at the end means ur passing information to the url.
?
means that ur going to pass on info.
catID=2
is saying that ur going to pass on catID with a value of 2.
so
Link
means ur passing on catID with a value of 2 to link:
directory/subdirectory/category
That URL sends you to the index (main) page of the /directory/subdirectory/category directory on the root of whatever website the link is on.
For example, on example.com, that link would send you to http://example.com/directory/subdirectory/category/index.html?catID=2. However, the /index.html will not show in the URL bar. The ?catID=2 is a query string. There is no extension because the server will automatically send the index.html file in the specified directory if there is no specific file requested. (Note: index.html is the default. Back-end scripts can change what file gets sent.)
Yes, links can be that way. It is a query to the directory on the site you're checking out.
www.example.com/directory/subdirectory/category?catID=2
Can become
Link
on example.com
This type of link shows that you are entering a particular directory in the root of the website. Let say you saw this link from a website called me.com then it means you have
me.com/directory/subdirectory/category?catID=2
However /directory/subdirectory/category?catID=2 is a query to the directory on that website.

How to find out who is using my code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I suspect that someone has copy-pasted my website HTML and is using it as their own. How can I find out who it is? Is there any way to track them down?
I know that I can reverse-image search.
Is there a way to search the internet by webpage html fragments?
If they didn't rehost my resources, is there a way to check who is hotlinking my CSS or JS, if anyone? (what this person mentioned but didn't explain Hotlinking my Cascading Style Sheets )
You can check the request body fields, assuming that they're stealing your server's bandwith. You can also write a crawler that tries to match your html with other but It won't be reliable. Maybe you can use Google to find specific html blocks: http://en.wikipedia.org/wiki/Google_hacking

Html does no update on ipage [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I host a small website for my company of the hosting service called Ipage. I use the on website editor to edit my code. When ever I make edits to my HTML or CSS it does not update on the site. I have tried editing the .htdocs file to stop cache but I didn't seem to work. I am open to anything!
Thanks!
You were right on the sense that I does have somthing to do with the cache, but you where wrong in editing the .htdocs file. Ipage uses a cache system that will make the website faster when you have multiple users on it at the same time. This was commonly a problem so Ipage made a little tool for you! http://www.ipage.com/controlpanel/cachecontrol/ That is a link to the page that will allow you to turn of all the cache on your serve.

Is it safe to embed webpages on my webpage? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is it safe to embed a webpage inside another webpage with external origin.
User can also choose what webpages to embed, and it could be anything, valid webpage.
Can those webpages access my document? manipulate javascript and does it have some XSS vulnerabilities?
Generally I'm interesting if it is safe, or if there is a way to secure it.
They cannot access your document. You cannot access their documents either.
The only 'dangers' are:
Annoying popups
Annoying alerts()
Viruses (JavaScript exploits (example), Drive-by downloads)
I don't recommend doing it! Especially not if users can share their own included sites.
Even if the external sites do not contain viruses, these sites are (from a user's perspective) on your site and can affect your reputation.

Change license for Google code project [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I've put my project to Google code by using the GPL 3 License.
Can I change it to Apache 2.0 ? Including all copyrights in sources.
Updated: I know how to do that. I'd like to know about issues that can happen.
Or I can just change it and don't worry about that?
You can certainly change the license on the Google Code front page for your project by using the Administer tab. This of course will not change any license information in the source itself, which is a good reason for not putting such information in the source.
If you are asking "is it OK to change the license", then if you are the copyright holder, yes it is. Doing so will not however revoke the previous license for existing users of your code.
Go to administer->project summary and change it there. Copyrights in sources you need to update yourself.