Who do you exactly work for? It must be some certain valid reason for you to be placed in jail because of your right to speak/write is protected by the constitution. Of course, not completely a total freedom but if you were to write anything explicit on wikipedia, they can easily omit your rights to edit anything on wikipedia let alone contribute anything to it. I could give you answers if you could restate what the police in describing your action that made this happen.
As one of your respondents described, one of the possibilites is that you posed a threat to one's life on wikipedia, that set an alarm for the police to investigate further in the case. Again, like I said, there's is a necessary more detailed information to go on.
Other than that, have you gotten a civil attorney or otherwise, your own lawyer to be able to help you out in this occurrence?