Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
User talk:Kmdenmark/Old messages
(section)
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
User page
Discussion
More
More
Page actions
Read
Edit source
New topic
History
User contributions
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!
==Language code import / export request== Can try doing an export then import from WikiMedia's Commons, it should be very simple although I know you may not have done this before. <br > '''Purpose:''' to get language codes like "en", "fr", "es" into the system messages without doing them one by one, that should then let <nowiki >{{int:lang}}</nowiki> (test here should show "en" -{{int:lang}}). This will come up with "en" or whatever language to use is using, so that we can get template messages translations displayed properly. Task: * Go to [https://commons.wikimedia.org/wiki/Special:Export https://commons.wikimedia.org/wiki/Special:Export] * in the '''Add pages manually box''' paste in this long list, without the "pre" bit: {{collapse top}} <pre > MediaWiki:Lang {{collapse top}} MediaWiki:Lang/aa MediaWiki:Lang/ab MediaWiki:Lang/ace MediaWiki:Lang/ady MediaWiki:Lang/ady-cyrl MediaWiki:Lang/ae MediaWiki:Lang/aeb MediaWiki:Lang/aeb-arab MediaWiki:Lang/aeb-latn MediaWiki:Lang/af MediaWiki:Lang/ak MediaWiki:Lang/aln MediaWiki:Lang/als MediaWiki:Lang/am MediaWiki:Lang/an MediaWiki:Lang/ang MediaWiki:Lang/anp MediaWiki:Lang/ar MediaWiki:Lang/arc MediaWiki:Lang/arn MediaWiki:Lang/arq MediaWiki:Lang/arv MediaWiki:Lang/ary MediaWiki:Lang/arz MediaWiki:Lang/as MediaWiki:Lang/ase MediaWiki:Lang/ast MediaWiki:Lang/atj MediaWiki:Lang/av MediaWiki:Lang/avk MediaWiki:Lang/awa MediaWiki:Lang/ay MediaWiki:Lang/az MediaWiki:Lang/azb MediaWiki:Lang/es </pre > {{collapse bottom}} *Save the file it creates on your computer *Go to [[Special:Import]] and pick the file you just saved, then import it. It will tell you if it has worked or not, and if any of those files already existed it will say so (they don't need overwriting) *test here should show "en" rather than "lang" after - {{int:lang}}) I hope this instructions are clear and you feel OK with this. Assuming this works OK to show mean being able to create nearly 300 files in the next one, and should mean that the fr/es/de messages you are doing one by one could possibly be done this way m [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 11:54, August 14, 2019 (EDT) : It didn't work. The message on the import page says: "Import failed: No pages to import." I tried several times. It was a great idea which will be very helpful if we can get it to work. [[User:Kmdenmark|Kmdenmark]] ([[User talk:Kmdenmark|talk]]) 13:56, August 14, 2019 (EDT) :: It didn't work because the "MediaWiki:" prefix was missing from the page names. I have added the prefix to the list of pages above. It should now work. Hope this helps. ::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 16:39, August 14, 2019 (EDT) :::[[User:Pyrrhus|Pyrrhus]], It seems to have worked! The page [[MediaWiki:Lang]] says "en," but the other pages either say the same letter combo in the page title or it is blank. I hope this helped with the project you are tackling. [[User:Kmdenmark|Kmdenmark]] ([[User talk:Kmdenmark|talk]]) 17:02, August 14, 2019 (EDT) ::::Awesome! That helps a lot. I'm surprised that some of the pages are blank. I will have to look into that... ::::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 17:09, August 14, 2019 (EDT) :::::Brilliant!!!!! It works!! Thank you [[User:Kmdenmark]], and for your help [[User:Pyrrhus]]. Did any show up with errors, or did some just look blank? I noticed some are right to left languages, so the code wasn't where I expected. Wikipedia has over 400 language codes so it won't matter if some fail - as long as they aren't the popular ones (es, fr, de, nl, etc). :::::Can you do the same process for more languages, possibly splitting them up from B-M, then N-Z. May take a few minutes to run through. If there's an option to only show errors I would pick that one. The file of names is huge so will try and do as a subpage in my profile [[User_talk:Notjusttired/code]]. It will be easier to use the Edit menu, Select All or the Ctrl + A keys to highlight than rather than the mouse. [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 17:26, August 14, 2019 (EDT) EDT) ::::The last file is a Javascript .js for - I can't remember why we need it but it's language related. It's from Wikipedia. Getting this far has seriously made my day!! {{Thank}} - Njt :::You're right, [[User:Notjusttired|notjusttired]]. The ones that look blank are just on the right side of the screen rather than the left. :::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 17:39, August 14, 2019 (EDT) ::::Just in case it's not clear, [[User:Kmdenmark]], Notjusttired is asking you to repeat the import, but using the list of pages on [[User_talk:Notjusttired/code]]. Just make sure that each page name is on a separate line and ignore the <nowiki><pre></nowiki> tags. ::::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 17:52, August 14, 2019 (EDT) :::::[[User:Pyrrhus|Pyrrhus]], [[User:Notjusttired|notjusttired]] Files upload done! I had to upload the files in small batches, but I think all the languages are uploaded. It looks as if user Slomox uploaded the files on January 24, 2009β. I'm ready to help with the next project. [[User:Kmdenmark|Kmdenmark]] ([[User talk:Kmdenmark|talk]]) 11:28, August 19, 2019 (EDT) ::::::Superb! It seems to have gone through perfectly [[User:Pyrrhus]] The next thing would be 2 changes to MediaWiki:Licenses described #[[MediaWiki_talk:Licenses#Try_system_message on the talk page]] - the "Try system message" and the "Removing 3.5 licenses" ones (scroll down slightly for that. #Then creating a few new shortcut ones [[MediaWiki_talk:Shortcut]] #If you would rather do a long import like the Lang one then scroll down here for the '''See also''' one - I think it's around 200 entries but we are only likely to use /de /en /es /fr /nl /no - if you just wanted to do those 6 that would be fine. Thanks for your super work today. When I checked Recent Changes in MediaWiki there was just one entry - 200 imports from you! [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 16:18, August 19, 2019 (EDT) :My pleasure! I'm happy to help. [[User:Kmdenmark|Kmdenmark]] ([[User talk:Kmdenmark|talk]]) 15:43, August 20, 2019 (EDT)
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)
This page is a member of a hidden category:
Category:Pages with citation errors
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
Logs
View user groups
More
What links here
Related changes
Page information
Page logs