Hi there,
I've installed Lockdown extension (http://www.mediawiki.org/wiki/Extension:Lockdown) and am unable to access page for myself (sysop, Assistant) groups. Locally I'm able to login and edit/read page in restricted namespaces just fine from the browser, but when I try accessing it from DotNetWikiBot, it gives me page output as if I'm not logged in.
The example of it's tokenized output is: http://img149.imageshack.us/img149/2774/ermrs5.png
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can rename index.php to index.php5 without problems and yet access normal pages without Lockdown extension. The problem might lie in cookies stored locally (just a thought).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, the problem is that "index.php" filename is used inside DotNetWikiBot Framework as a constant. So you need to change all "index.php" constants to "index.php5" in framework's source code (dotnetwikibot.cs file) and then recompile the framework. If you're going to do that, don't forget to change "index.php" to "index.php5" in regular expressions too, especially in GetPaths() function. And delete "Cache" subdirectory in bot's directory before recompiling.
There may be some other problems with that extensions, I never tested it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I've installed Lockdown extension (http://www.mediawiki.org/wiki/Extension:Lockdown) and am unable to access page for myself (sysop, Assistant) groups. Locally I'm able to login and edit/read page in restricted namespaces just fine from the browser, but when I try accessing it from DotNetWikiBot, it gives me page output as if I'm not logged in.
The example of it's tokenized output is: http://img149.imageshack.us/img149/2774/ermrs5.png
Thank you.
Does your bot work correctly when Lockdown extension is disabled?
If main MediaWiki file in your installation is called index.php5, try renaiming it to index.php.
Yes, it does work without Lockdown extension. And why would I need to rename index.php5 into index.php file, again?
Now DotNetWikiBot Framework supports only "index.php" title of main file. It won't work, if this file is renamed, sorry.
I can rename index.php to index.php5 without problems and yet access normal pages without Lockdown extension. The problem might lie in cookies stored locally (just a thought).
No, the problem is that "index.php" filename is used inside DotNetWikiBot Framework as a constant. So you need to change all "index.php" constants to "index.php5" in framework's source code (dotnetwikibot.cs file) and then recompile the framework. If you're going to do that, don't forget to change "index.php" to "index.php5" in regular expressions too, especially in GetPaths() function. And delete "Cache" subdirectory in bot's directory before recompiling.
There may be some other problems with that extensions, I never tested it.