{"action":"opened","number":161,"pull_request":{"url":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls/161","id":43127841,"html_url":"https://github.com/enterprisemediawiki/Meza1/pull/161","diff_url":"https://github.com/enterprisemediawiki/Meza1/pull/161.diff","patch_url":"https://github.com/enterprisemediawiki/Meza1/pull/161.patch","issue_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues/161","number":161,"state":"open","locked":false,"title":"Upload wizard","user":{"login":"darenwelsh","id":6728676,"avatar_url":"https://avatars.githubusercontent.com/u/6728676?v=3","gravatar_id":"","url":"https://api.github.com/users/darenwelsh","html_url":"https://github.com/darenwelsh","followers_url":"https://api.github.com/users/darenwelsh/followers","following_url":"https://api.github.com/users/darenwelsh/following{/other_user}","gists_url":"https://api.github.com/users/darenwelsh/gists{/gist_id}","starred_url":"https://api.github.com/users/darenwelsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenwelsh/subscriptions","organizations_url":"https://api.github.com/users/darenwelsh/orgs","repos_url":"https://api.github.com/users/darenwelsh/repos","events_url":"https://api.github.com/users/darenwelsh/events{/privacy}","received_events_url":"https://api.github.com/users/darenwelsh/received_events","type":"User","site_admin":false},"body":"This pull request adds [Extension:UploadWizard](https://www.mediawiki.org/wiki/Extension:UploadWizard) to the list of extensions installed.\r\n\r\nCurrently this works but has a few things that could be cleaned up now or later.\r\n\r\n## Upload Link\r\nOnce #156 is addressed, we will need to modify `$wgUploadNavigationUrl = \"$wgScriptPath/index.php/Special:UploadWizard\";` in LocalSettingsAdditions.php.\r\n\r\n## Tutorial Page\r\nCurrently there is no page for the \"Learn\" section: \r\n![image](https://cloud.githubusercontent.com/assets/6728676/9430007/f701064a-49a9-11e5-8af1-9cd5fdfa748e.png)\r\n\r\nI think [this file](https://commons.wikimedia.org/wiki/File:Licensing_tutorial_en.svg) is meant to be used there, or something else we put in its place. I think it makes sense to create a simple template page that each group/wiki can customize as they see fit based on their documentation privacy policy (Export Control, etc).\r\n\r\nI also thought that adding `'tutorial' => array('skip' => true)` would skip the tutorial by default. So far that is not working.\r\n\r\n## Allowed File Types\r\n#15 is related in that we might want to modify the list of allowed file types. We should probably also verify this list against what we have on the EVA wiki.\r\n\r\nIn a test where I tried to bulk upload a .docx and a .doc, only the .docx seemed to work.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6728676/9429991/36e60c16-49a9-11e5-9024-c70cc4369fb4.png)\r\n\r\nNote that upon completing upload, there was no button \"Next\" to the \"Use\" section.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6728676/9429995/6481cc5a-49a9-11e5-91c9-85533eeff25e.png)\r\n\r\nI checked Recent Changes and it looks like the .doc files were not uploaded:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6728676/9429999/a10ef274-49a9-11e5-8a88-098c9c88d463.png)\r\n\r\nI verified LocalSettings.php included \".doc\" in allowed file types:\r\n```$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'doc',\r\n    'xls', 'mpp', 'pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx',\r\n    'pptx', 'ps', 'odt', 'ods', 'odp', 'odg', 'txt'\r\n);```","created_at":"2015-08-23T20:26:01Z","updated_at":"2015-08-23T20:26:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls/161/commits","review_comments_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls/161/comments","review_comment_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues/161/comments","statuses_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/statuses/4827f927df28e2455d335414a5a6ba73489f66f0","head":{"label":"enterprisemediawiki:upload-wizard","ref":"upload-wizard","sha":"4827f927df28e2455d335414a5a6ba73489f66f0","user":{"login":"enterprisemediawiki","id":7816219,"avatar_url":"https://avatars.githubusercontent.com/u/7816219?v=3","gravatar_id":"","url":"https://api.github.com/users/enterprisemediawiki","html_url":"https://github.com/enterprisemediawiki","followers_url":"https://api.github.com/users/enterprisemediawiki/followers","following_url":"https://api.github.com/users/enterprisemediawiki/following{/other_user}","gists_url":"https://api.github.com/users/enterprisemediawiki/gists{/gist_id}","starred_url":"https://api.github.com/users/enterprisemediawiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enterprisemediawiki/subscriptions","organizations_url":"https://api.github.com/users/enterprisemediawiki/orgs","repos_url":"https://api.github.com/users/enterprisemediawiki/repos","events_url":"https://api.github.com/users/enterprisemediawiki/events{/privacy}","received_events_url":"https://api.github.com/users/enterprisemediawiki/received_events","type":"Organization","site_admin":false},"repo":{"id":37330092,"name":"Meza1","full_name":"enterprisemediawiki/Meza1","owner":{"login":"enterprisemediawiki","id":7816219,"avatar_url":"https://avatars.githubusercontent.com/u/7816219?v=3","gravatar_id":"","url":"https://api.github.com/users/enterprisemediawiki","html_url":"https://github.com/enterprisemediawiki","followers_url":"https://api.github.com/users/enterprisemediawiki/followers","following_url":"https://api.github.com/users/enterprisemediawiki/following{/other_user}","gists_url":"https://api.github.com/users/enterprisemediawiki/gists{/gist_id}","starred_url":"https://api.github.com/users/enterprisemediawiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enterprisemediawiki/subscriptions","organizations_url":"https://api.github.com/users/enterprisemediawiki/orgs","repos_url":"https://api.github.com/users/enterprisemediawiki/repos","events_url":"https://api.github.com/users/enterprisemediawiki/events{/privacy}","received_events_url":"https://api.github.com/users/enterprisemediawiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enterprisemediawiki/Meza1","description":"A repo to collect all our CentOS/RedHat setup info","fork":false,"url":"https://api.github.com/repos/enterprisemediawiki/Meza1","forks_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/forks","keys_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/teams","hooks_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/hooks","issue_events_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues/events{/number}","events_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/events","assignees_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/assignees{/user}","branches_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/branches{/branch}","tags_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/tags","blobs_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/refs{/sha}","trees_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/statuses/{sha}","languages_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/languages","stargazers_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/stargazers","contributors_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/contributors","subscribers_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/subscribers","subscription_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/subscription","commits_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/commits{/sha}","git_commits_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/commits{/sha}","comments_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/comments{/number}","issue_comment_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues/comments{/number}","contents_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/contents/{+path}","compare_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/merges","archive_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/downloads","issues_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues{/number}","pulls_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls{/number}","milestones_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/milestones{/number}","notifications_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/labels{/name}","releases_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/releases{/id}","created_at":"2015-06-12T15:37:22Z","updated_at":"2015-07-30T18:38:44Z","pushed_at":"2015-08-23T20:25:01Z","git_url":"git://github.com/enterprisemediawiki/Meza1.git","ssh_url":"git@github.com:enterprisemediawiki/Meza1.git","clone_url":"https://github.com/enterprisemediawiki/Meza1.git","svn_url":"https://github.com/enterprisemediawiki/Meza1","homepage":null,"size":9557,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":87,"forks":3,"open_issues":87,"watchers":5,"default_branch":"master"}},"base":{"label":"enterprisemediawiki:master","ref":"master","sha":"4584b59466c53e8e36451bf7bdf456e8ae966dc0","user":{"login":"enterprisemediawiki","id":7816219,"avatar_url":"https://avatars.githubusercontent.com/u/7816219?v=3","gravatar_id":"","url":"https://api.github.com/users/enterprisemediawiki","html_url":"https://github.com/enterprisemediawiki","followers_url":"https://api.github.com/users/enterprisemediawiki/followers","following_url":"https://api.github.com/users/enterprisemediawiki/following{/other_user}","gists_url":"https://api.github.com/users/enterprisemediawiki/gists{/gist_id}","starred_url":"https://api.github.com/users/enterprisemediawiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enterprisemediawiki/subscriptions","organizations_url":"https://api.github.com/users/enterprisemediawiki/orgs","repos_url":"https://api.github.com/users/enterprisemediawiki/repos","events_url":"https://api.github.com/users/enterprisemediawiki/events{/privacy}","received_events_url":"https://api.github.com/users/enterprisemediawiki/received_events","type":"Organization","site_admin":false},"repo":{"id":37330092,"name":"Meza1","full_name":"enterprisemediawiki/Meza1","owner":{"login":"enterprisemediawiki","id":7816219,"avatar_url":"https://avatars.githubusercontent.com/u/7816219?v=3","gravatar_id":"","url":"https://api.github.com/users/enterprisemediawiki","html_url":"https://github.com/enterprisemediawiki","followers_url":"https://api.github.com/users/enterprisemediawiki/followers","following_url":"https://api.github.com/users/enterprisemediawiki/following{/other_user}","gists_url":"https://api.github.com/users/enterprisemediawiki/gists{/gist_id}","starred_url":"https://api.github.com/users/enterprisemediawiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enterprisemediawiki/subscriptions","organizations_url":"https://api.github.com/users/enterprisemediawiki/orgs","repos_url":"https://api.github.com/users/enterprisemediawiki/repos","events_url":"https://api.github.com/users/enterprisemediawiki/events{/privacy}","received_events_url":"https://api.github.com/users/enterprisemediawiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enterprisemediawiki/Meza1","description":"A repo to collect all our CentOS/RedHat setup info","fork":false,"url":"https://api.github.com/repos/enterprisemediawiki/Meza1","forks_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/forks","keys_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/teams","hooks_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/hooks","issue_events_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues/events{/number}","events_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/events","assignees_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/assignees{/user}","branches_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/branches{/branch}","tags_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/tags","blobs_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/refs{/sha}","trees_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/statuses/{sha}","languages_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/languages","stargazers_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/stargazers","contributors_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/contributors","subscribers_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/subscribers","subscription_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/subscription","commits_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/commits{/sha}","git_commits_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/git/commits{/sha}","comments_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/comments{/number}","issue_comment_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues/comments{/number}","contents_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/contents/{+path}","compare_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/merges","archive_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/downloads","issues_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues{/number}","pulls_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls{/number}","milestones_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/milestones{/number}","notifications_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/labels{/name}","releases_url":"https://api.github.com/repos/enterprisemediawiki/Meza1/releases{/id}","created_at":"2015-06-12T15:37:22Z","updated_at":"2015-07-30T18:38:44Z","pushed_at":"2015-08-23T20:25:01Z","git_url":"git://github.com/enterprisemediawiki/Meza1.git","ssh_url":"git@github.com:enterprisemediawiki/Meza1.git","clone_url":"https://github.com/enterprisemediawiki/Meza1.git","svn_url":"https://github.com/enterprisemediawiki/Meza1","homepage":null,"size":9557,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":87,"forks":3,"open_issues":87,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls/161"},"html":{"href":"https://github.com/enterprisemediawiki/Meza1/pull/161"},"issue":{"href":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues/161"},"comments":{"href":"https://api.github.com/repos/enterprisemediawiki/Meza1/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enterprisemediawiki/Meza1/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/enterprisemediawiki/Meza1/statuses/4827f927df28e2455d335414a5a6ba73489f66f0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":35,"deletions":0,"changed_files":2}}