Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
MediaWiki talk:Common.js
(section)
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Message
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Change to remove "None selected" as a license option on Upload page === '''''Old discussion ''''' Below is some code that can be added to end of this page in order to remove "None selected" as a license option on the File Upload page, while preselecting the "I don't know/Unknown License" option. [[User:Notjusttired]], could you review this code to see if you think it's worth trying? <br>[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 23:04, August 21, 2019 (EDT) :Which code is this linked to? I am not sure this would work, and removing option 0 might renumber our chosen option. I did find that the "None selected" message is set from [[MediaWiki:Nolicense]] - what about renaming this to be "I don't know exactly", and removing "I don't know exactly" from [[MediaWiki:Licenses]]? Javascript is usually a last resort for when no other way exists and also may be disabled on some people's devices or computers. I've also seen code that would give a pop-up error with "None selected" chosen, warning then their file is likely to be deleted. Also Javascript and possibly very annoying since it will also beep - and we'd need to make sure it didn't trigger when the user first viewed the form and hasn't had time to pick a license. Code [https://community.fandom.com/wiki/Thread:548100 here]. :I have also wondered about changing the default upload boxes so there is a source box, and possibly a category one? :On a separate note, is it worth installing the upload wizard? Would it run from the Visual editor when Insert media was selected? [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 10:50, August 22, 2019 (EDT) <pre> select#wpLicense.selectedIndex = "1"; select#wpLicense.remove(0); </pre> {{collapse bottom}}
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs