Ok I finally commented out the following lines in * includes\parser\Parser.php* :
if( $showEditLink && !$this->mTitle->quickUserCan( 'edit' ) ) { $showEditLink = 0; } If there is a better solution I would be glad to hear it
Laurent
2010/12/6 Wikimini webmaster@wikimini.org
Because I think these links would help make more visible the possibility to edit the page to newcomers and readers, especially those who did not visit the main page first. In the same way I replaced for example the "View source" tab by "Edit", even for unregistered users. Thus I would like these edit links to be shown at every section and to everyone. If a non registered user click on such a link then he should be taken to the page that shows the view source (either the whole page or a section, this is not really important). If someone could help me achieve that with a clean code I would be really grateful!
2010/12/6 Platonides Platonides@gmail.com
Wikimini wrote:
Sorry my request was not clear enough. I want to show these links even
for
users that can't edit the wiki (in my case anonymous users). Is that possible?
You would need to modify the code. Why do you want to do such thing?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l