Help talk:Uploading images

From Nottinghack Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Commonist

I have an error message when trying to upload using commonist:

INFO [2019-03-18T17:57:05.736Z] UploadFilesTask.scala:84 logging in
DEBUG [2019-03-18T17:57:05.740Z] Connection.scala:120 POST http://wiki.nottinghack.org.uk/api.php HTTP/1.1
DEBUG [2019-03-18T17:57:05.830Z] Connection.scala:123 HTTP/1.1 301 Moved Permanently
ERROR [2019-03-18T17:57:05.832Z] UploadFilesTask.scala:70 upload task error
java.lang.IllegalArgumentException: requirement failed: unexpected response: HTTP/1.1 301 Moved Permanently
at scala.Predef$.require(Predef.scala:281)
at commonist.mediawiki.Connection.handle(Connection.scala:126)
at commonist.mediawiki.Connection.POST(Connection.scala:99)
at commonist.mediawiki.API.login(API.scala:44)
at commonist.task.UploadFilesTask.login(UploadFilesTask.scala:88)
at commonist.task.UploadFilesTask.execute(UploadFilesTask.scala:47)
at commonist.Task.commonist$Task$$run(Task.scala:75)
at commonist.Task$$anon$1.run(Task.scala:30)
at java.lang.Thread.run(Thread.java:748)

Jon (talk) 18:14, 18 March 2019 (UTC)

Fixed - problem was needing to use https not http for api url. Jon (talk) 19:45, 18 March 2019 (UTC)

Communist from our server

Would it be possible to run Commonist installed from our server with necessary config for the Nottinghack wiki? Jon (talk) 15:40, 20 March 2019 (UTC)

License

I think the license is now automatically added to an image's file page. Jon (talk) 11:20, 3 June 2019 (UTC)