I am using a wiki to document technical architecture, with the result that we often enter SQL statements in articles (to do this or that, use "select x from y", and so forth). We often find that SQL strings like this cause "you are not authorized to view this page" errors when saving or previewing. On occasion, quite a lot of work can be lost.
This is a problem that someone must have come across, and I fear that the solution is embarrassingly easy. I have tried <nowiki>around "select x from y"</nowiki> without success.
Any suggestions, other than only writing something like "s_elect x from y" in our wiki?
Hi Mark,
I've never been able to reproduce this - though I've seen people complain about it before.
Community, is this caused by some extension? Or is it "enabled" by some setting which is off by default? Does it only affect certain (older) versions of MW? Are these FAQs?
-- Jim
On 3/13/07, Mark Proudman mfproudman@gmail.com wrote:
I am using a wiki to document technical architecture, with the result that we often enter SQL statements in articles (to do this or that, use "select x from y", and so forth). We often find that SQL strings like this cause "you are not authorized to view this page" errors when saving or previewing. On occasion, quite a lot of work can be lost.
This is a problem that someone must have come across, and I fear that the solution is embarrassingly easy. I have tried <nowiki>around "select x from y"</nowiki> without success.
Any suggestions, other than only writing something like "s_elect x from y" in our wiki?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 13/03/07, Mark Proudman mfproudman@gmail.com wrote:
I am using a wiki to document technical architecture, with the result that we often enter SQL statements in articles (to do this or that, use "select x from y", and so forth). We often find that SQL strings like this cause "you are not authorized to view this page" errors when saving or previewing. On occasion, quite a lot of work can be lost.
This is coming from a misconfigured "security" add-in to your web server, e.g. mod_security under Apache.
Rob Church
Thanks very much for the information -- commenting mod_security out of httpd.conf solved the problem!
Thanks again.
This should probably feature in a FAQ somewhere -- I will update the list.
Mark Proudman
On 3/13/07, Rob Church robchur@gmail.com wrote:
On 13/03/07, Mark Proudman mfproudman@gmail.com wrote:
I am using a wiki to document technical architecture, with the result that we often enter SQL statements in articles (to do this or that, use "select
x
from y", and so forth). We often find that SQL strings like this cause
"you
are not authorized to view this page" errors when saving or previewing.
On
occasion, quite a lot of work can be lost.
This is coming from a misconfigured "security" add-in to your web server, e.g. mod_security under Apache.
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org