This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
A low-priority request: Change any (unambiguous!) date value in Date= to ISO form. I could probably write regexes for this if you want. I probably need to write them anyway if I ever get around to using meta:User:Pathoschild/Scripts/Regex_menu_framework again. Only for dates that cannot be interpreted more than one way, of course. -- Closeapple ( talk) 08:39, 8 January 2012 (UTC)
This is an even lower-prority request, since it doesn't happen very often and is probably not necessary. I've noticed that a few users put their real names in place of their usernames. It may be useful to carry this into {{ PD-user-w}} (since {{ PD-user}} doesn't understand alternate name parameters) or whatever other template is appropriate for the given licensing. For example, if a PD-self image has Information lines like these:
|Author=[[User:SomeUsernameX|Some Other Name Y]] |Author=[[User:Some User Name W|Real Name Z]] ([[User talk:Some User Name W|talk]]) 23:36, 30 July 2008 (UTC)
I would like to see license tags like this:
{{PD-user-w|project=w|language=en|user=SomeUsernameX|realname=Some Other Name Y}} {{PD-user-w|project=w|language=en|user=Some User Name W|realname=Real Name Z}}
If the alternate name contains wikimarkup or anything "cute" other than straightforward text, it should probably be treated like it didn't exist, and fall back to the usual way. ({{ PD-user-w}} has a shorter form without parameter names, but documentation says the explicit way is "recommended".) -- Closeapple ( talk) 08:39, 8 January 2012 (UTC)
/\|\s*Author\s*=\s*\[\[User:([^]|{}\\/<>:]*[^]|{}\\/<>: ])\s*|\s*([^]|{}\\/<>:]+)\s*\]\]/i
(at least that would be the
Perl version) matches; if it does, it's probably an alternate name, not a decoration, so see if captures 1 and 2 from that regex (which should be the username and display name) match each other; if they do, the username is just repeated; if they don't match, there's a different name that displays, so use it. (If one wants to really make sure only the most blatantly boring versions get the "real name" treatment, with no funny business at all, then the regex can be changed to allow only normal Latin alphabet characters and a few punctuation characters we know are allowed.)I have moved a file on kowiki (Korean Wikipedia), and here's what I think about the handeling on other wikis.
So now, here's some definitions for Korean.
~~ Ebe123~~ → report on my contribs. 13:33, 8 January 2012 (UTC)
cd enwiki
..\ftcg.exe
cd kowiki
..\ftcg.exe
Available at http://atlight.github.com as usual. Some of the new, exciting, etc. features:
{{delete|Image has been transferred to Commons at {{{1|the same name}}}}}
should sufficeThanks for all the feedback (this was the first time I've ever set up an archive bot!); I feel this project is beginning to wind down. However, if you have any more suggestions, please do tell me - I'm not going away! Bulwersator, if you still want source, please say so — This, that, and the other (talk) 10:30, 7 January 2012 (UTC)
Some comments about the support for other wikis:
While at itwiki (Italian Wikipedia), I've found some more things. The categories do not work. Also, as it isn't nessesarily the "your local wiki", how about replacing it by the "LocalDomain" preference.
Now about the empty category box;
"That category contains no files. Perhaps you misspelt it... or perhaps the backlog is finally clear :)" could be re-worded to "The selected category contains no files. There are two reasons why this appears, it does not exist, or that no files are in the category." This sounds more professional.
~~ Ebe123~~ → report on my contribs. 16:36, 8 January 2012 (UTC)
Warnings:
"Image is already on Commons; can't do anything" should be "File is on the Wikimedia Commons." It's simple and good.
Translations:
Wiki templates and such should be seperate than the translations of the tool. This is so that if a italian user goes to kowiki, it would not become korean. (My two other wikis for this is the italian Wikipedia and the Korean Wikipedia). ~~
Ebe123~~ →
report on my
contribs.
21:43, 8 January 2012 (UTC)
See User:This, that and the other/For the Common Good/Local wiki data. The idea is to have a local wiki data file for any wiki you want to use with FtCG. Even though 1.0.4 is not done, this format is ready for eager folk (like Ebe123) to start taking a look.
Having said that, the format is not set in stone (yet); if you have any suggestions or queries, don't hesitate to ask. — This, that, and the other (talk) 06:49, 9 January 2012 (UTC)
If you do finish a local wiki data file, please e-mail it to me so I can put it up on the github website. (Or alternative you could post it on-wiki for people to copy and paste, but don't forget that it can be hard for non-tech-savvy Windows users to change file extensions, so it's generally easier to provide the file for download with the correct extension.) — This, that, and the other (talk) 09:31, 9 January 2012 (UTC)
Minor request: The wording of {{ Orphan image}} on en.wiki asks that it be replaced with {{ Now Commons}} once the move is completed. It looks like one of the tags that should be yanked at the same time as the {{ Move to Commons}} tags. -- Closeapple ( talk) 06:07, 10 January 2012 (UTC)
Version 1.0.4 is available, with (hopefully) full support for localization (user interface in other languages) and use on other wikis (through "local wiki data" files). There isn't really much new stuff for users who want to stay rooted on enwiki, so I won't release it through auto-update. But of course it can be obtained at http://atlight.github.com as usual.
I have other things to do now (for a few weeks), so I will have limited time to work on this tool. Please e-mail me (using the "E-mail this user" link on the left) if you find any important bugs. However, even though I won't be doing much general tinkering, I'll check this talk page from time to time. Thanks for all your wonderful feedback over the past two-and-a-half weeks. — This, that, and the other (talk) 10:57, 10 January 2012 (UTC)
Hi TT&TO, check the file (if not already deleted) File:Stovepipe Wells store.jpg. It had already a headline called == Description ==, but the FtCG added == {{int:filedesc}} == without removing the old one. Can you check if it is there and then replace it with the latter one? Thanks. mabdul 14:29, 11 January 2012 (UTC)
Code.
|
---|
== Description == {{Information |Description= Stovepipe Wells Store at dusk |Source=self-made |Date=Sept 10,2007 |Location=Stovepipe Wells / Death Valley |Author=[[User:Philpierre|Philippe Pierre]] ([[User talk:Philpierre|talk]]) |Permission= |other_versions= }} == Licensing == {{self|cc-by-3.0}} {{Now Commons|File:Stovepipe Wells store.jpg|date=2012-01-11}} |
Language files allow the user interface of FtCG to be translated to other languages.
I have posted a language file template at http://atlight.github.com/ftcg/en/ForTheCommonGood.lang. FtCG 1.0.4 will read files only with this name, so don't change the file name.
I also know some French, so I have been using an incomplete French translation as a test. It is at http://atlight.github.com/ftcg/fr/ForTheCommonGood.lang; it may be a good starting point, though certainly not finished! If you speak French, you'll probably laugh at some of the translations. — This, that, and the other (talk) 00:34, 10 January 2012 (UTC)
Where to upload the German file? Should I send it per mail? If so, send me a mail then you get the file. Or should I include it here? mabdul 17:04, 12 January 2012 (UTC)
I'm having a bit of trouble with the {{ self}} template in the localisation file: if someone uses {{Information|Permission={{tlx|self|GDFL}}}}, I get {{self|GFDL|Author=[[:ja:User:Username|]]}} but the template requires {{self|GFDL|author=<nowiki>[[:ja:User:Username|]]}}</nowiki> and a capital A makes the template credit the image to me instead. This is what it is trying to replace
[SelfLicenseReplacement] LookFor={{self([^\}]*)}} ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:User:%%OriginalUploader%%|]]}}
i.e. with lowercase "a". Any ideas?
It works fine if {{ self}} is placed outside the {{ Information}} template. -- Stefan2 ( talk) 11:32, 11 January 2012 (UTC)
{{
information}}
. I'll try to fix this. —
This, that, and
the other (talk)
00:14, 12 January 2012 (UTC)
Irrelevant to 99% of users: I'm trying FTCG in Mono as hinted to in the documentation. I've written preliminary instructions at User:Closeapple/new/Wikipedia:FTCG on Mono. But I've hit an error I can't get past yet, which I've given at User:Closeapple/new/Wikipedia:FTCG on Mono#The error. This may be interesting to anyone on Linux, BSD, MacOS, etc. -- Closeapple ( talk) 06:15, 14 January 2012 (UTC)
Even though {{en= already exists in the description, FtCG still adds this to the description field. ~ Feedintm Parley 00:24, 16 January 2012 (UTC)
{{en=
is wrong, and won't display correctly on enwiki or commons. The correct syntax is {{en|1=
or {{en|
, both of which should be detected correctly by FtCG. —
This, that, and
the other (talk)
00:44, 16 January 2012 (UTC)
FTCG converted a template incorrectly. English Wikipedia had {{
GFDL-self-with-disclaimers}}
and this became {{GFDL-user|Elkman|en-with-disclaimers|migration=relicense}} although it should have been {{GFDL-user-en-with-disclaimers|Elkman|migration=relicense}}. See example
here. --
Stefan2 (
talk)
19:12, 15 January 2012 (UTC)
[SelfLicenseReplacement]
LookFor={{GFDL-self-with-disclaimers([^\}]*)}}
ReplaceWith={{GFDL-user-en-with-disclaimers|%%OriginalUploader%%$1}}
[SelfLicenseReplacement]
LookFor={{GFDL-self([^\}]*)}}
ReplaceWith={{GFDL-user|%%OriginalUploader%%|en$1}}
Example of problem page: File:Dehradun_India_2006-11.JPG
File information page
|
---|
Attribution (to conform with licence requirements): User:Lennonrodgers, User:Cydebot, User:DrilBot and User:Fbot <nowiki>== Summary == Photographer: Lennon Rodgers Location: Dehradun, India Date: Spring 2006 Copyright: Lennon Rodgers, 2006 == New version coming soon == I apologise for the lack of action here; I will try to prepare and upload a new version tomorrow. It will be available on http://atlight.github.com, which will obviously not be affected by the blackout. If the blackout becomes too much to handle, you could always start up FtCG and do a bit of transferring. Of course, tagging with {{tlf|now Commons}} will fail, but you can ask FtCG to keep a log for you, and tag them later. Just a thought :) — <span style="border:dashed #666;border-width:1px 0 0 1px">[[User:This, that and the other|This, that]]</span>, and <span style="border:dashed #666;border-width:0 1px 1px 0">[[User talk:This, that and the other|the other<small> (talk)</small>]]</span> 11:27, 17 January 2012 (UTC) :What will be the new features? Or is it just for the bugs? ~~[[User:Ebe123|<span style="text-shadow:#9e6d3f 2px 2px 1px; color:#21421E; font-weight:bold;">Ebe</span><span style="color:#000000">123</span>]]~~ → <small>[[User talk:Ebe123|report]] on my [[Special:Contributions/Ebe123|contribs]].</small> 11:29, 17 January 2012 (UTC) ::Alternatively, move images from other projects, since they will remain available. I was thinking of switching over to Japanese Wikipedia. --[[User:Stefan2|Stefan2]] ([[User talk:Stefan2|talk]]) 22:01, 17 January 2012 (UTC) ::Just minor stuff, Ebe123. — <span style="border:dashed #666;border-width:1px 0 0 1px">[[User:This, that and the other|This, that]]</span>, and <span style="border:dashed #666;border-width:0 1px 1px 0">[[User talk:This, that and the other|the other<small> (talk)</small>]]</span> 00:06, 18 January 2012 (UTC) == Error message == I got this error message when I tried to view the EXIF metadata for [[:File:Interval-Inversions-Triads-Inversions.tif]]. Do you have any idea of what's wrong? {{Collapse top}} <pre>Information om att aktivera JIT-felsökning i stället för den här dialogrutan finns i slutet av det här meddelandet. ************** Undantagstext ************** System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt. vid ForTheCommonGood.frmMain.ViewExifData(Object sender, EventArgs e) vid System.Windows.Forms.Control.OnClick(EventArgs e) vid System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) vid System.Windows.Forms.Control.WndProc(Message& m) vid System.Windows.Forms.ButtonBase.WndProc(Message& m) vid System.Windows.Forms.Button.WndProc(Message& m) vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Inlästa sammansättningar ************** mscorlib Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4963 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- ForTheCommonGood Sammansättningsversion: 1.0.4.0 Win32-version: 1.0.4 CodeBase: file:///C:/Users/stefan/ftcg/ForTheCommonGood_1.0.4.exe ---------------------------------------- System.Windows.Forms Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4961 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4962 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Accessibility Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Xml Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- mscorlib.resources Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4963 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- System.Configuration Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Windows.Forms.resources Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- ************** JIT-felsökning ************** För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för det här tillämpningsprogrammet eller datorn (machine.config) ha jitDebugging-värdet angivet i avsnittet system.windows.forms. Tillämpningsprogrammet måste också vara kompilerat med felsökning aktiverat. Till exempel: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> När JIT-felsökning är aktiverad kommer alla undantag som inte hanteras att skickas till JIT-felsökaren som är registrerad på datorn snarare än att hanteras av den här dialogrutan. |
Stefan2 ( talk) 22:00, 17 January 2012 (UTC)
File text:
|
---|
{{now Commons|File:Interval-Inversions-Triads-Inversions.tif|date=2012-01-17}}== Summary == {{Information | Description = Interval-Inversions-Triads-Inversions | Source = Created by [[User:Prophet of the Most High|Prophet of the Most High]] ([[User talk:Prophet of the Most High|talk]]) | Date = | Author = [[User:Prophet of the Most High|Prophet of the Most High]] ([[User talk:Prophet of the Most High|talk]]) | Permission = | other_versions = }} {{FAL}} [[Category:Music images]] |
EXIF data
|
---|
Width 822 px Height 392 px Bits per component 1 Compression scheme LZW Pixel composition 1 Orientation Normal Number of components 1 Number of rows per strip 119 Horizontal resolution 96 dpi Vertical resolution 96 dpi warning invalid TIFF directory; tags are not sorted in ascending order. unknown field with tag 32840 (0x8048) encountered. unknown field with tag 32841 (0x8049) encountered. unknown field with tag 32842 (0x804a) encountered. unknown field with tag 32843 (0x804b) encountered. unknown field with tag 32844 (0x804c) encountered. unknown field with tag 32845 (0x804d) encountered. unknown field with tag 32846 (0x804e) encountered. unknown field with tag 32847 (0x804f) encountered. |
I will be away from about 00:00 UTC tomorrow (Sat 21 Jan) until about 23:00 Wed 24 Jan.
Also, we're one step closer to upload-by-URL, which should radically improve transfer speeds. — This, that, and the other (talk) 01:59, 20 January 2012 (UTC)
I, the creator of this work, hereby grant the permission to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. Subject to disclaimers. |
| This work is licensed under the
Creative Commons
Attribution-ShareAlike 3.0 License. This licensing tag was added to this file as part of the GFDL licensing update. This template should only be used on image pages. |
This file is a candidate to be copied to
Wikimedia Commons.
Any user may perform this transfer; refer to Wikipedia:Moving files to Commons for details. If this file has problems with attribution, copyright, or is otherwise ineligible for Commons, then remove this tag and DO NOT transfer it; repeat violators may be blocked from editing. Other Instructions
| |||
|
This media file is either in the public domain or published under a free license, and contains no inbound file links. If this media file is useful, then it should be transferred to the Wikimedia Commons. If this media is not useful, then please propose it for deletion or list it at files for discussion. |
</nowiki> |}
FORTHE~1.CFG with some privacy removed
|
---|
LocalPassword=secret CommonsPassword=secret LocalDomain=en.wikipedia LocalUserName=Stefan2 LocalSysop=false CommonsUserName=Stefan4 UseHttps=true LogTransfers=true OpenBrowserAutomatically=true AutoUpdate=true LocalWikiData= CurrentSourceOption=TextFile SourceCategory= SourceTextFile=a file name specified here |
Stefan2 ( talk) 18:44, 22 January 2012 (UTC)
When adding a {{ NowCommons}} tag, could you also make sure to add a line break after it? It currently breaks page syntax in some cases, e.g. here. I've seen people correcting the syntax on the file information pages before deletion, so it would be better if the tool could add a line break so that people won't waste time doing that. -- Stefan2 ( talk) 22:15, 24 January 2012 (UTC)
But plain text diffs are hard to read. You may collapse. ~~
Ebe123~~ →
report on my
contribs.
22:39, 24 January 2012 (UTC)
| ||
---|---|---|
|
Your tool uses English words for the list of old revisions:
Date/Time | Dimensions | User | Comment |
---|
Would it be possible to use international words instead? That is:
Date/Time | Dimensions | User | Comment |
---|
{| class="wikitable" ! {{int:Filehist-datetime}} !! {{int:Filehist-dimensions}} !! {{int:Filehist-user}} !! {{int:Filehist-comment}} |}
This would automatically localise the table so that it uses the language used for Commons menus instead of always using English. Try adding ?uselang=sv
or ?uselang=fr
to the URL and you'll see that the headers change if you use the "int" variant. --
Stefan2 (
talk)
14:27, 29 January 2012 (UTC)
?uselang=hy
, ?uselang=war
or ?uselang=os
to see why this may be useful. --
Stefan2 (
talk)
14:01, 31 January 2012 (UTC)I've had a try of the tool and I'm not switching (yet). Currently using the same tool as commons:User:SreeBot (I asked the owner for a copy). It's not quite as easy as FtCG to use (you have to paste the url or drag an image into the name box), but it does call up WikiSense to fill in the categories for you - and unlike Commons Helper, it will time out after 60 seconds if WikiSense is too slow. Maybe you can use some of the code from this app to call WikiSense? I've no idea how it's coded, I know it needs dotNet4 to run. Ronhjones (Talk) 22:11, 31 January 2012 (UTC)
Hello, I am trying to use the newest version but it says that it cannot access the settings file. I loaded 1.0.1.1 and it works fine. Also, I created Category:Images by Clark Anderson to make sure they went into that category on Commons, but for some reason the program is commenting the category out. Why is this desirable? Wouldn't a bad category always be preferable to none at all? ▫ JohnnyMrNinja 21:47, 5 February 2012 (UTC)
I have found info for many wikis (wikipedia) (templates and category) for many wikipedias, so here they are are.
Language (code) | Template | Category | ||
---|---|---|---|---|
Copy to Wikimedia Commons | NowCommons | Namespace | Name | |
ar | نقل إلى كومنز | الآن كومنز | تصنيف | نقل إلى كومنز |
fi | Commonsiin | NowCommons | Luokka | Commonsiin siirrettävät kuvat |
hsb | Kopěruj do Wikimedia Commons | NowCommons | Kategorija | Kopija do Wikimedia Commons |
hu | Commonsba | Azonnali-commons | Kategória | Commonsba másolandó képek |
is | Færa á Commons | NowCommons | Flokkur | Myndir sem skal færa á Commons |
ms | Hantar ke Wikimedia Commons | NowCommons | Kategori | Pindah ke Wikimedia Commons |
pl | Do Commons / NaCommons / Na Commons | NowCommons | Kategoria | Pliki oczekujące na przeniesienie do Commons |
ru | На Викисклад | Перенесено на Викисклад | Категория | Файлы:К переносу на Викисклад |
sl | Skopiraj v Zbirko | OdslejZbirka | Kategorija | Skopiraj v Zbirko / Copy to Wikimedia Commons (bot-assessed) |
sr | За оставу | NowCommons | Категорија | Слике за премештање на Оставу |
zh | Copy to Wikimedia Commons | NowCommons | Category | 轉移到維基共享資源 |
af | — | NowCommons | — | |
als | NowCommons | |||
am | NowCommons | |||
ang | NowCommons | |||
ast | EnCommons | |||
az | NowCommons | |||
bar | NowCommons | |||
bg | NowCommons | |||
bn | NowCommons | |||
bs | NowCommons | |||
ca | AraCommons | |||
cs | NowCommons | |||
cy | NowCommons | |||
da | NowCommons | |||
de | NowCommons | |||
dsb | NowCommons | |||
el | NowCommons | |||
eo | Nun en komunejo | |||
es | EnCommons | |||
et | NüüdCommonsis | |||
fa | NowCommons | |||
fo | NowCommons | |||
fy | NowCommons | |||
ga | Ag Cómhaoin | |||
gl | EnCommons | |||
gv | NowCommons | |||
he | גם בוויקישיתוף | |||
hr | NowCommons | |||
hu | Azonnali-commons | |||
ia | NowCommons | |||
id | NowCommons | |||
ilo | NowCommons | |||
io | NowCommons | |||
it | NowCommons | |||
ja | NowCommons | |||
jv | NowCommons | |||
ka | NowCommons | |||
kn | NowCommons | |||
ku | NowCommons | |||
lb | Elo op Commons | |||
li | NowCommons | |||
lt | NowCommons | |||
lv | NowCommons | |||
mk | NowCommons | |||
mn | NowCommons | |||
nds-nl | NoenCommons | |||
nn | No på Commons | |||
no | NowCommons | |||
oc | NowCommons | |||
pt | NowCommons | |||
ro | AcumCommons | |||
sa | NowCommons | |||
scn | NowCommons | |||
sh | NowCommons | |||
sk | NowCommons | |||
sq | NowCommons | |||
sr | NowCommons | |||
st | NowCommons | |||
su | IlaharKiwari | |||
sv | NowCommons | |||
sw | NowCommons | |||
ta | NowCommons | |||
th | มีที่คอมมอนส์ | |||
tl | NasaCommons | |||
tr | NowCommons | |||
uk | NowCommons | |||
ur | NowCommons | |||
vec | NowCommons | |||
vi | NowCommons | |||
vo | InKobädikos | |||
wa | NowCommons | |||
zh-min-nan | Commons ū | |||
zh-yue | subst:Ncd |
Ebe123's langauges userpage ( talk now! 12:01, 6 February 2012 (UTC)
Japanese is wrong. If you add ja:Template:NowCommons, it ends up in a category that no one ever checks. Instead, put {{即時削除|ファイル1-5|name on Commons with or without namespace}} on the file information page and {{subst:コモンズへの移動通知|file name at Japanese Wikipedia without namespace|file name at Commons without namespace}}--~~~~ at the talk pages for all uploaders. I have made a local file for Japanese Wikipedia that I'm using myself, but since the tool doesn't support adding a notice on the talk pages of the uploaders, I haven't made the file available for anyone else since other people might forget to manually put the notice on the uploaders' talk pages. -- Stefan2 ( talk) 18:39, 7 February 2012 (UTC)
With Arabic on the list, there must be support for Right-to-Left languages, such as getting the text box text right (pun). Ebe123's langauges userpage ( talk now! 12:01, 6 February 2012 (UTC)
Please see this edit. It appears that adding Nowcommons breaks the top level two header. Sven Manguard Wha? 21:23, 9 February 2012 (UTC)
I moved this file but FTCG decided to use different picture (see https://commons.wikimedia.org/wiki/File:ChadwickEuclidAve.jpg). Note: FTCG preview showed transferred file. -- Bulwersator ( talk) 14:12, 23 February 2012 (UTC)
For March, could NowCommons be replaced by {{ March 2012 MtC drive}} but with all the parameters remaining? This is for the next drive. ~~ Ebe 123~~ → report 13:45, 26 February 2012 (UTC)
File
|
---|
# For the Common Good # Local wiki data for English Wikipedia (built into FtCG) LocalDomain=en.wikipedia (Default) Category1=Copy to Wikimedia Commons Category2=Copy to Wikimedia Commons (bot-assessed) Category3=Move to Commons Priority Candidates DefaultCategory=3 NowCommonsTag=NowCommons (MtC drive) # These are ignored on enwiki at the moment, since they are unnecessary Information=Information Description=Description Date=Date Source=Source Author=Author Permission=Permission Other_versions=Other_versions Summary=Summary|Description Licensing=Licensing:? CategoryNamespace=Category CopyToCommonsRegex={{(mtc|(copy |move )?to ?commons|move to wikimedia commons|copy to wikimedia commons)[^}]*}}\n? [PotentialProblem] IfContains={{db- Message=The file appears to be tagged for speedy deletion. [PotentialProblem] IfContains={{di- Message=The file is tagged with a dated (DI) deletion tag. [PotentialProblem] IfContains={{puf Message=The file appears to be listed at PUF (Possibly unfree files). Check the discussion before transferring. [PotentialProblem] IfContains={{ffd Message=The file appears to be nominated for deletion. Check the deletion discussion at FFD before transferring. [PotentialProblem] IfContains={{non-free Message=The file appears to be non-free. Commons cannot accept non-free files. [PotentialProblem] IfRegex={{do not (copy|move) to commons Message=The file is tagged with {{do not move to Commons}}. [PotentialProblem] IfRegex={{(keep ?local|nocommons) Message=The file is tagged with {{keep local}} - do not delete the local file afterwards. [PotentialProblem] IfContains={{split media Message=The file is tagged with {{split media}}. Click "Select version..." above to view earlier versions; you may need to transfer each one separately. [Replacement] LookFor={{orphan image.*}}\n? ReplaceWith= [Replacement] LookFor={{needs commons category}} ReplaceWith= [Replacement] LookFor== *I .*created this (image|work) entirely by myself.? ReplaceWith== {{own}} [SelfLicenseReplacement] LookFor={{PD-self([^\}]*)}} ReplaceWith={{PD-user|%%OriginalUploader%%|en}} [SelfLicenseReplacement] LookFor={{GFDL-self-with-disclaimers([^\}]*)}} ReplaceWith={{GFDL-user-en-with-disclaimers|%%OriginalUploader%%$1}} [SelfLicenseReplacement] LookFor={{GFDL-self([^\}]*)}} ReplaceWith={{GFDL-user|%%OriginalUploader%%|en$1}} [SelfLicenseReplacement] LookFor={{self([^\}]*)}} ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:%%OriginalUploader%%|]]}} |
~~ Ebe 123~~ → report 15:01, 28 February 2012 (UTC)
In the English Wikipedia file at this page, I propose that you replace
[SelfLicenseReplacement] LookFor={{self([^\}]*)}} ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:%%OriginalUploader%%|]]}}
with
[SelfLicenseReplacement] LookFor={{self([^\}]*)}} ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:User:%%OriginalUploader%%|]]}}
This should also be corrected in the built-in file. I always have to add the "User:" part to make the link to the user page work & there is a risk that I might sometimes forget to do so. -- Stefan2 ( talk) 21:07, 7 March 2012 (UTC)
Sorry for the wait. 1.0.4.2 is now available. If you find any more bugs, please do report them. Thanks. — This, that, and the other (talk) 06:34, 9 March 2012 (UTC)
Could you change "{{
ISOdate|YYYY-MM-DD}}
(from metadata)" into "{{
according to EXIF data|YYYY-MM-DD}}
"? --
Stefan2 (
talk)
23:12, 20 March 2012 (UTC)
See Commons:Special:PermanentLink/69323264. The link to the file on English Wikipedia doesn't work. The first revision has the exact syntax provided by your tool. Fixed manually in later revisions of the file information page. -- Stefan2 ( talk) 21:55, 4 April 2012 (UTC)
If there is a file but no file information page, this tool doesn't fill in anything as a proposed Commons file information page (i.e. no file upload log etc.) and the "view file page on English Wikipedia" link doesn't work. Happened to me with File:50 caliber bullet headstamp 1943.jpg. It's only really the "view file page on English Wikipedia" link which matters since files without a file information page normally are unlicensed. -- Stefan2 ( talk) 18:10, 21 April 2012 (UTC)
Minor feature request of no urgency: If an EXIF date exists but is just zero/blank/worthless, treat it as if it didn't exist, instead of using Commons:Template:According to EXIF with 0000-00-00 or whatever. Example: File:Rockmart Art Center Theatre.JPG, in which EXIF tags for dates appear to exist but are zeroes. (I don't know enough about EXIF yet to know what is a useless date, as opposed to a rare date someone may have added on purpose.) -- Closeapple ( talk) 00:09, 9 May 2012 (UTC)
I've noticed that the app crashes (reproducibly) if you decline a transfer immediately after starting up. This happens on both Windows 7 64-bit and Windows XP 32-bit. The error (on Win7, at least) appears to be "System.InvalidOperationException occurred in ForTheCommonGood_1.0.4.3.exe [3344]." The app does not crash if you transfer an image first, and decline a later image. — Darkwind ( talk) 21:27, 14 May 2012 (UTC)
Uuugh, I accidentally added in the settings as local wiki "en.wikibooks." which causes some problems with a really bad message: Would you add an additional check if the user is simply too stupid to inserting an valid domain? (with a better message than the existing). Regards, mabdul 11:01, 21 May 2012 (UTC)
Oh and another reqquest: Can you provide any other "preview" for ogg files? The standard red x in the white square is not useful. I was highly confused that somebody uploaded such an image until I recognized that it is a sound file... Maybe a link to open the sound directly in the browser or standard program (for ogg files) should be given so that I don't have to open the page first... mabdul 22:19, 28 May 2012 (UTC)
Is it possible to get a feature similar to 'other source' cat/file something like Special:ListFiles/Example or Special:Contributions/Example? mabdul 16:29, 5 June 2012 (UTC)
wget ' http://en.wikipedia.org/?title=Special:ListFiles/Example&limit=500'
grep 'title="File:' name_of_downloaded_file | sed 's/^.*title="File:\([^\"]*\).*$/\1/g' > somefile
I know that sometimes category does not exist under the same name but it is trivial to create redirect. Bulwersator ( talk) 10:18, 21 August 2012 (UTC)
http://en.wikipedia.org/?title=File:Drewbeer.jpg&curid=2273225&diff=508117962&oldid=508117883 - Replaced {{move to Commons}} tag with {{now Commons}} tag (FtCG) edit description, despite the fact that now commons template was absent Bulwersator ( talk) 11:28, 19 August 2012 (UTC)
{{
original description page}}
See here. If the name of the file namespace is 5 letters instead of 4, then the tool doesn't remove the ":" after the namespace name. -- Stefan2 ( talk) 19:42, 25 August 2012 (UTC)
Currently it is possible only to find next random image. It would be helpful to have ability to see pictures also in the same order as displayed on category pages (sometimes there are series of very similar images with the same names) Example: https://en.wikipedia.org/?title=Category:NASA_images&filefrom=ISSafterSTS106.jpg#mw-category-media - Location of lunar crater (...) - all files from this group require the same changes and fixing all in one go would be more efficient Bulwersator ( talk) 06:04, 26 August 2012 (UTC)
{{#categorytree:NASA images|namespaces=6}}
For coders, the source code is available at http://github.com/atlight/ForTheCommonGood. You can download it as a ZIP file, for general hacking, or you can fork the repository and make pull requests if you are inclined that way. — This, that, and the other (talk) 10:45, 26 August 2012 (UTC)
If file exists on commons but there is a file description page (without file) on enwiki link "view file page on English Wikipedia" is inactive - example: File:Challenger explosion.jpg Bulwersator ( talk) 08:48, 28 August 2012 (UTC)
template:bots and template:ffd - I think that this one may be also safely removed from file description Bulwersator ( talk) 09:24, 28 August 2012 (UTC)
Seems to work
Bulwersator (
talk)
19:07, 29 August 2012 (UTC)
I would like to change source to NASA if {{PD-USGov-NASA}} template is present. Is it currently possible to do this? Bulwersator ( talk) 14:17, 28 August 2012 (UTC)
template:C-uploaded - this one also should result in warning Bulwersator ( talk) 19:02, 29 August 2012 (UTC)
ready code to default language file:
and
Bulwersator ( talk) 19:05, 29 August 2012 (UTC)
If test image is needed: link to list of images that were deleted on Commons - http://en.wikipedia.org/wiki/Special:WhatLinksHere/Template:Deleted_on_Commons
Bulwersator ( talk) 19:52, 31 August 2012 (UTC)
I know that sometimes category does not exist under the same name but it is trivial to create redirect on Commons Bulwersator ( talk) 08:48, 28 August 2012 (UTC)
Even with "Ignore warning" disabled, warnings are ignored (example: File:Bertha (2008) Estimated Winds.gif) Bulwersator ( talk) 11:35, 1 September 2012 (UTC)
Declining transfer edit happens, FTCG attempts to load next picture, than FTCG crashes Bulwersator ( talk) 13:32, 8 September 2012 (UTC)
Opis:
Stopped working
Podpis problemu:
Nazwa zdarzenia problemu: CLR20r3 Podpis problemu: 01: forthecommongood_1.0.4.6.exe Podpis problemu: 02: 1.0.4.6 Podpis problemu: 03: 504160d3 Podpis problemu: 04: mscorlib Podpis problemu: 05: 2.0.0.0 Podpis problemu: 06: 4ef6c7cc Podpis problemu: 07: 11cd Podpis problemu: 08: 47 Podpis problemu: 09: System.InvalidOperationException Wersja systemu operacyjnego: 6.1.7601.2.1.0.768.3 Identyfikator ustawień regionalnych: 1045
Bulwersator ( talk) 12:53, 15 September 2012 (UTC)
How about simply removing the "decline transfer" button? It seems that it only removes the {{ Move to Commons}} template which is then reinstated by User:Svenbot on the next bot run. -- Stefan2 ( talk) 16:04, 15 September 2012 (UTC)
(edit section to see real code)
after
if (!textLowercase.Contains("{{information") && !Regex.IsMatch(text, "{{" + LocalWikiData.Information, RegexOptions.IgnoreCase)) {
newcode
string description = Regex.Replace(text, "{{[^}]*}}", "", RegexOptions.IgnoreCase); description = Regex.Replace(description, "==[^=]*==", "", RegexOptions.IgnoreCase); description = Regex.Replace(description, "\n*$", "", RegexOptions.IgnoreCase); description = Regex.Replace(description, "^\n*", "", RegexOptions.IgnoreCase); text = Regex.Replace(text, Regex.Escape(description), "", RegexOptions.IgnoreCase);
before
XmlNode exifDateNode = iis[iis.Count - 1].SelectSingleNode("metadata/metadata[@name=\"DateTime\"]");
and in the same function
"|Description = {{" + GetCurrentLanguageCode() + "|1=" + description +"}}\n" +
instead of old
"|Description = {{" + GetCurrentLanguageCode() + "|1=}}\n" +
Bulwersator ( talk) 13:40, 8 September 2012 (UTC)
This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
A low-priority request: Change any (unambiguous!) date value in Date= to ISO form. I could probably write regexes for this if you want. I probably need to write them anyway if I ever get around to using meta:User:Pathoschild/Scripts/Regex_menu_framework again. Only for dates that cannot be interpreted more than one way, of course. -- Closeapple ( talk) 08:39, 8 January 2012 (UTC)
This is an even lower-prority request, since it doesn't happen very often and is probably not necessary. I've noticed that a few users put their real names in place of their usernames. It may be useful to carry this into {{ PD-user-w}} (since {{ PD-user}} doesn't understand alternate name parameters) or whatever other template is appropriate for the given licensing. For example, if a PD-self image has Information lines like these:
|Author=[[User:SomeUsernameX|Some Other Name Y]] |Author=[[User:Some User Name W|Real Name Z]] ([[User talk:Some User Name W|talk]]) 23:36, 30 July 2008 (UTC)
I would like to see license tags like this:
{{PD-user-w|project=w|language=en|user=SomeUsernameX|realname=Some Other Name Y}} {{PD-user-w|project=w|language=en|user=Some User Name W|realname=Real Name Z}}
If the alternate name contains wikimarkup or anything "cute" other than straightforward text, it should probably be treated like it didn't exist, and fall back to the usual way. ({{ PD-user-w}} has a shorter form without parameter names, but documentation says the explicit way is "recommended".) -- Closeapple ( talk) 08:39, 8 January 2012 (UTC)
/\|\s*Author\s*=\s*\[\[User:([^]|{}\\/<>:]*[^]|{}\\/<>: ])\s*|\s*([^]|{}\\/<>:]+)\s*\]\]/i
(at least that would be the
Perl version) matches; if it does, it's probably an alternate name, not a decoration, so see if captures 1 and 2 from that regex (which should be the username and display name) match each other; if they do, the username is just repeated; if they don't match, there's a different name that displays, so use it. (If one wants to really make sure only the most blatantly boring versions get the "real name" treatment, with no funny business at all, then the regex can be changed to allow only normal Latin alphabet characters and a few punctuation characters we know are allowed.)I have moved a file on kowiki (Korean Wikipedia), and here's what I think about the handeling on other wikis.
So now, here's some definitions for Korean.
~~ Ebe123~~ → report on my contribs. 13:33, 8 January 2012 (UTC)
cd enwiki
..\ftcg.exe
cd kowiki
..\ftcg.exe
Available at http://atlight.github.com as usual. Some of the new, exciting, etc. features:
{{delete|Image has been transferred to Commons at {{{1|the same name}}}}}
should sufficeThanks for all the feedback (this was the first time I've ever set up an archive bot!); I feel this project is beginning to wind down. However, if you have any more suggestions, please do tell me - I'm not going away! Bulwersator, if you still want source, please say so — This, that, and the other (talk) 10:30, 7 January 2012 (UTC)
Some comments about the support for other wikis:
While at itwiki (Italian Wikipedia), I've found some more things. The categories do not work. Also, as it isn't nessesarily the "your local wiki", how about replacing it by the "LocalDomain" preference.
Now about the empty category box;
"That category contains no files. Perhaps you misspelt it... or perhaps the backlog is finally clear :)" could be re-worded to "The selected category contains no files. There are two reasons why this appears, it does not exist, or that no files are in the category." This sounds more professional.
~~ Ebe123~~ → report on my contribs. 16:36, 8 January 2012 (UTC)
Warnings:
"Image is already on Commons; can't do anything" should be "File is on the Wikimedia Commons." It's simple and good.
Translations:
Wiki templates and such should be seperate than the translations of the tool. This is so that if a italian user goes to kowiki, it would not become korean. (My two other wikis for this is the italian Wikipedia and the Korean Wikipedia). ~~
Ebe123~~ →
report on my
contribs.
21:43, 8 January 2012 (UTC)
See User:This, that and the other/For the Common Good/Local wiki data. The idea is to have a local wiki data file for any wiki you want to use with FtCG. Even though 1.0.4 is not done, this format is ready for eager folk (like Ebe123) to start taking a look.
Having said that, the format is not set in stone (yet); if you have any suggestions or queries, don't hesitate to ask. — This, that, and the other (talk) 06:49, 9 January 2012 (UTC)
If you do finish a local wiki data file, please e-mail it to me so I can put it up on the github website. (Or alternative you could post it on-wiki for people to copy and paste, but don't forget that it can be hard for non-tech-savvy Windows users to change file extensions, so it's generally easier to provide the file for download with the correct extension.) — This, that, and the other (talk) 09:31, 9 January 2012 (UTC)
Minor request: The wording of {{ Orphan image}} on en.wiki asks that it be replaced with {{ Now Commons}} once the move is completed. It looks like one of the tags that should be yanked at the same time as the {{ Move to Commons}} tags. -- Closeapple ( talk) 06:07, 10 January 2012 (UTC)
Version 1.0.4 is available, with (hopefully) full support for localization (user interface in other languages) and use on other wikis (through "local wiki data" files). There isn't really much new stuff for users who want to stay rooted on enwiki, so I won't release it through auto-update. But of course it can be obtained at http://atlight.github.com as usual.
I have other things to do now (for a few weeks), so I will have limited time to work on this tool. Please e-mail me (using the "E-mail this user" link on the left) if you find any important bugs. However, even though I won't be doing much general tinkering, I'll check this talk page from time to time. Thanks for all your wonderful feedback over the past two-and-a-half weeks. — This, that, and the other (talk) 10:57, 10 January 2012 (UTC)
Hi TT&TO, check the file (if not already deleted) File:Stovepipe Wells store.jpg. It had already a headline called == Description ==, but the FtCG added == {{int:filedesc}} == without removing the old one. Can you check if it is there and then replace it with the latter one? Thanks. mabdul 14:29, 11 January 2012 (UTC)
Code.
|
---|
== Description == {{Information |Description= Stovepipe Wells Store at dusk |Source=self-made |Date=Sept 10,2007 |Location=Stovepipe Wells / Death Valley |Author=[[User:Philpierre|Philippe Pierre]] ([[User talk:Philpierre|talk]]) |Permission= |other_versions= }} == Licensing == {{self|cc-by-3.0}} {{Now Commons|File:Stovepipe Wells store.jpg|date=2012-01-11}} |
Language files allow the user interface of FtCG to be translated to other languages.
I have posted a language file template at http://atlight.github.com/ftcg/en/ForTheCommonGood.lang. FtCG 1.0.4 will read files only with this name, so don't change the file name.
I also know some French, so I have been using an incomplete French translation as a test. It is at http://atlight.github.com/ftcg/fr/ForTheCommonGood.lang; it may be a good starting point, though certainly not finished! If you speak French, you'll probably laugh at some of the translations. — This, that, and the other (talk) 00:34, 10 January 2012 (UTC)
Where to upload the German file? Should I send it per mail? If so, send me a mail then you get the file. Or should I include it here? mabdul 17:04, 12 January 2012 (UTC)
I'm having a bit of trouble with the {{ self}} template in the localisation file: if someone uses {{Information|Permission={{tlx|self|GDFL}}}}, I get {{self|GFDL|Author=[[:ja:User:Username|]]}} but the template requires {{self|GFDL|author=<nowiki>[[:ja:User:Username|]]}}</nowiki> and a capital A makes the template credit the image to me instead. This is what it is trying to replace
[SelfLicenseReplacement] LookFor={{self([^\}]*)}} ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:User:%%OriginalUploader%%|]]}}
i.e. with lowercase "a". Any ideas?
It works fine if {{ self}} is placed outside the {{ Information}} template. -- Stefan2 ( talk) 11:32, 11 January 2012 (UTC)
{{
information}}
. I'll try to fix this. —
This, that, and
the other (talk)
00:14, 12 January 2012 (UTC)
Irrelevant to 99% of users: I'm trying FTCG in Mono as hinted to in the documentation. I've written preliminary instructions at User:Closeapple/new/Wikipedia:FTCG on Mono. But I've hit an error I can't get past yet, which I've given at User:Closeapple/new/Wikipedia:FTCG on Mono#The error. This may be interesting to anyone on Linux, BSD, MacOS, etc. -- Closeapple ( talk) 06:15, 14 January 2012 (UTC)
Even though {{en= already exists in the description, FtCG still adds this to the description field. ~ Feedintm Parley 00:24, 16 January 2012 (UTC)
{{en=
is wrong, and won't display correctly on enwiki or commons. The correct syntax is {{en|1=
or {{en|
, both of which should be detected correctly by FtCG. —
This, that, and
the other (talk)
00:44, 16 January 2012 (UTC)
FTCG converted a template incorrectly. English Wikipedia had {{
GFDL-self-with-disclaimers}}
and this became {{GFDL-user|Elkman|en-with-disclaimers|migration=relicense}} although it should have been {{GFDL-user-en-with-disclaimers|Elkman|migration=relicense}}. See example
here. --
Stefan2 (
talk)
19:12, 15 January 2012 (UTC)
[SelfLicenseReplacement]
LookFor={{GFDL-self-with-disclaimers([^\}]*)}}
ReplaceWith={{GFDL-user-en-with-disclaimers|%%OriginalUploader%%$1}}
[SelfLicenseReplacement]
LookFor={{GFDL-self([^\}]*)}}
ReplaceWith={{GFDL-user|%%OriginalUploader%%|en$1}}
Example of problem page: File:Dehradun_India_2006-11.JPG
File information page
|
---|
Attribution (to conform with licence requirements): User:Lennonrodgers, User:Cydebot, User:DrilBot and User:Fbot <nowiki>== Summary == Photographer: Lennon Rodgers Location: Dehradun, India Date: Spring 2006 Copyright: Lennon Rodgers, 2006 == New version coming soon == I apologise for the lack of action here; I will try to prepare and upload a new version tomorrow. It will be available on http://atlight.github.com, which will obviously not be affected by the blackout. If the blackout becomes too much to handle, you could always start up FtCG and do a bit of transferring. Of course, tagging with {{tlf|now Commons}} will fail, but you can ask FtCG to keep a log for you, and tag them later. Just a thought :) — <span style="border:dashed #666;border-width:1px 0 0 1px">[[User:This, that and the other|This, that]]</span>, and <span style="border:dashed #666;border-width:0 1px 1px 0">[[User talk:This, that and the other|the other<small> (talk)</small>]]</span> 11:27, 17 January 2012 (UTC) :What will be the new features? Or is it just for the bugs? ~~[[User:Ebe123|<span style="text-shadow:#9e6d3f 2px 2px 1px; color:#21421E; font-weight:bold;">Ebe</span><span style="color:#000000">123</span>]]~~ → <small>[[User talk:Ebe123|report]] on my [[Special:Contributions/Ebe123|contribs]].</small> 11:29, 17 January 2012 (UTC) ::Alternatively, move images from other projects, since they will remain available. I was thinking of switching over to Japanese Wikipedia. --[[User:Stefan2|Stefan2]] ([[User talk:Stefan2|talk]]) 22:01, 17 January 2012 (UTC) ::Just minor stuff, Ebe123. — <span style="border:dashed #666;border-width:1px 0 0 1px">[[User:This, that and the other|This, that]]</span>, and <span style="border:dashed #666;border-width:0 1px 1px 0">[[User talk:This, that and the other|the other<small> (talk)</small>]]</span> 00:06, 18 January 2012 (UTC) == Error message == I got this error message when I tried to view the EXIF metadata for [[:File:Interval-Inversions-Triads-Inversions.tif]]. Do you have any idea of what's wrong? {{Collapse top}} <pre>Information om att aktivera JIT-felsökning i stället för den här dialogrutan finns i slutet av det här meddelandet. ************** Undantagstext ************** System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt. vid ForTheCommonGood.frmMain.ViewExifData(Object sender, EventArgs e) vid System.Windows.Forms.Control.OnClick(EventArgs e) vid System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) vid System.Windows.Forms.Control.WndProc(Message& m) vid System.Windows.Forms.ButtonBase.WndProc(Message& m) vid System.Windows.Forms.Button.WndProc(Message& m) vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Inlästa sammansättningar ************** mscorlib Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4963 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- ForTheCommonGood Sammansättningsversion: 1.0.4.0 Win32-version: 1.0.4 CodeBase: file:///C:/Users/stefan/ftcg/ForTheCommonGood_1.0.4.exe ---------------------------------------- System.Windows.Forms Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4961 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4962 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Accessibility Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Xml Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- mscorlib.resources Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4963 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- System.Configuration Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Windows.Forms.resources Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- ************** JIT-felsökning ************** För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för det här tillämpningsprogrammet eller datorn (machine.config) ha jitDebugging-värdet angivet i avsnittet system.windows.forms. Tillämpningsprogrammet måste också vara kompilerat med felsökning aktiverat. Till exempel: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> När JIT-felsökning är aktiverad kommer alla undantag som inte hanteras att skickas till JIT-felsökaren som är registrerad på datorn snarare än att hanteras av den här dialogrutan. |
Stefan2 ( talk) 22:00, 17 January 2012 (UTC)
File text:
|
---|
{{now Commons|File:Interval-Inversions-Triads-Inversions.tif|date=2012-01-17}}== Summary == {{Information | Description = Interval-Inversions-Triads-Inversions | Source = Created by [[User:Prophet of the Most High|Prophet of the Most High]] ([[User talk:Prophet of the Most High|talk]]) | Date = | Author = [[User:Prophet of the Most High|Prophet of the Most High]] ([[User talk:Prophet of the Most High|talk]]) | Permission = | other_versions = }} {{FAL}} [[Category:Music images]] |
EXIF data
|
---|
Width 822 px Height 392 px Bits per component 1 Compression scheme LZW Pixel composition 1 Orientation Normal Number of components 1 Number of rows per strip 119 Horizontal resolution 96 dpi Vertical resolution 96 dpi warning invalid TIFF directory; tags are not sorted in ascending order. unknown field with tag 32840 (0x8048) encountered. unknown field with tag 32841 (0x8049) encountered. unknown field with tag 32842 (0x804a) encountered. unknown field with tag 32843 (0x804b) encountered. unknown field with tag 32844 (0x804c) encountered. unknown field with tag 32845 (0x804d) encountered. unknown field with tag 32846 (0x804e) encountered. unknown field with tag 32847 (0x804f) encountered. |
I will be away from about 00:00 UTC tomorrow (Sat 21 Jan) until about 23:00 Wed 24 Jan.
Also, we're one step closer to upload-by-URL, which should radically improve transfer speeds. — This, that, and the other (talk) 01:59, 20 January 2012 (UTC)
I, the creator of this work, hereby grant the permission to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. Subject to disclaimers. |
| This work is licensed under the
Creative Commons
Attribution-ShareAlike 3.0 License. This licensing tag was added to this file as part of the GFDL licensing update. This template should only be used on image pages. |
This file is a candidate to be copied to
Wikimedia Commons.
Any user may perform this transfer; refer to Wikipedia:Moving files to Commons for details. If this file has problems with attribution, copyright, or is otherwise ineligible for Commons, then remove this tag and DO NOT transfer it; repeat violators may be blocked from editing. Other Instructions
| |||
|
This media file is either in the public domain or published under a free license, and contains no inbound file links. If this media file is useful, then it should be transferred to the Wikimedia Commons. If this media is not useful, then please propose it for deletion or list it at files for discussion. |
</nowiki> |}
FORTHE~1.CFG with some privacy removed
|
---|
LocalPassword=secret CommonsPassword=secret LocalDomain=en.wikipedia LocalUserName=Stefan2 LocalSysop=false CommonsUserName=Stefan4 UseHttps=true LogTransfers=true OpenBrowserAutomatically=true AutoUpdate=true LocalWikiData= CurrentSourceOption=TextFile SourceCategory= SourceTextFile=a file name specified here |
Stefan2 ( talk) 18:44, 22 January 2012 (UTC)
When adding a {{ NowCommons}} tag, could you also make sure to add a line break after it? It currently breaks page syntax in some cases, e.g. here. I've seen people correcting the syntax on the file information pages before deletion, so it would be better if the tool could add a line break so that people won't waste time doing that. -- Stefan2 ( talk) 22:15, 24 January 2012 (UTC)
But plain text diffs are hard to read. You may collapse. ~~
Ebe123~~ →
report on my
contribs.
22:39, 24 January 2012 (UTC)
| ||
---|---|---|
|
Your tool uses English words for the list of old revisions:
Date/Time | Dimensions | User | Comment |
---|
Would it be possible to use international words instead? That is:
Date/Time | Dimensions | User | Comment |
---|
{| class="wikitable" ! {{int:Filehist-datetime}} !! {{int:Filehist-dimensions}} !! {{int:Filehist-user}} !! {{int:Filehist-comment}} |}
This would automatically localise the table so that it uses the language used for Commons menus instead of always using English. Try adding ?uselang=sv
or ?uselang=fr
to the URL and you'll see that the headers change if you use the "int" variant. --
Stefan2 (
talk)
14:27, 29 January 2012 (UTC)
?uselang=hy
, ?uselang=war
or ?uselang=os
to see why this may be useful. --
Stefan2 (
talk)
14:01, 31 January 2012 (UTC)I've had a try of the tool and I'm not switching (yet). Currently using the same tool as commons:User:SreeBot (I asked the owner for a copy). It's not quite as easy as FtCG to use (you have to paste the url or drag an image into the name box), but it does call up WikiSense to fill in the categories for you - and unlike Commons Helper, it will time out after 60 seconds if WikiSense is too slow. Maybe you can use some of the code from this app to call WikiSense? I've no idea how it's coded, I know it needs dotNet4 to run. Ronhjones (Talk) 22:11, 31 January 2012 (UTC)
Hello, I am trying to use the newest version but it says that it cannot access the settings file. I loaded 1.0.1.1 and it works fine. Also, I created Category:Images by Clark Anderson to make sure they went into that category on Commons, but for some reason the program is commenting the category out. Why is this desirable? Wouldn't a bad category always be preferable to none at all? ▫ JohnnyMrNinja 21:47, 5 February 2012 (UTC)
I have found info for many wikis (wikipedia) (templates and category) for many wikipedias, so here they are are.
Language (code) | Template | Category | ||
---|---|---|---|---|
Copy to Wikimedia Commons | NowCommons | Namespace | Name | |
ar | نقل إلى كومنز | الآن كومنز | تصنيف | نقل إلى كومنز |
fi | Commonsiin | NowCommons | Luokka | Commonsiin siirrettävät kuvat |
hsb | Kopěruj do Wikimedia Commons | NowCommons | Kategorija | Kopija do Wikimedia Commons |
hu | Commonsba | Azonnali-commons | Kategória | Commonsba másolandó képek |
is | Færa á Commons | NowCommons | Flokkur | Myndir sem skal færa á Commons |
ms | Hantar ke Wikimedia Commons | NowCommons | Kategori | Pindah ke Wikimedia Commons |
pl | Do Commons / NaCommons / Na Commons | NowCommons | Kategoria | Pliki oczekujące na przeniesienie do Commons |
ru | На Викисклад | Перенесено на Викисклад | Категория | Файлы:К переносу на Викисклад |
sl | Skopiraj v Zbirko | OdslejZbirka | Kategorija | Skopiraj v Zbirko / Copy to Wikimedia Commons (bot-assessed) |
sr | За оставу | NowCommons | Категорија | Слике за премештање на Оставу |
zh | Copy to Wikimedia Commons | NowCommons | Category | 轉移到維基共享資源 |
af | — | NowCommons | — | |
als | NowCommons | |||
am | NowCommons | |||
ang | NowCommons | |||
ast | EnCommons | |||
az | NowCommons | |||
bar | NowCommons | |||
bg | NowCommons | |||
bn | NowCommons | |||
bs | NowCommons | |||
ca | AraCommons | |||
cs | NowCommons | |||
cy | NowCommons | |||
da | NowCommons | |||
de | NowCommons | |||
dsb | NowCommons | |||
el | NowCommons | |||
eo | Nun en komunejo | |||
es | EnCommons | |||
et | NüüdCommonsis | |||
fa | NowCommons | |||
fo | NowCommons | |||
fy | NowCommons | |||
ga | Ag Cómhaoin | |||
gl | EnCommons | |||
gv | NowCommons | |||
he | גם בוויקישיתוף | |||
hr | NowCommons | |||
hu | Azonnali-commons | |||
ia | NowCommons | |||
id | NowCommons | |||
ilo | NowCommons | |||
io | NowCommons | |||
it | NowCommons | |||
ja | NowCommons | |||
jv | NowCommons | |||
ka | NowCommons | |||
kn | NowCommons | |||
ku | NowCommons | |||
lb | Elo op Commons | |||
li | NowCommons | |||
lt | NowCommons | |||
lv | NowCommons | |||
mk | NowCommons | |||
mn | NowCommons | |||
nds-nl | NoenCommons | |||
nn | No på Commons | |||
no | NowCommons | |||
oc | NowCommons | |||
pt | NowCommons | |||
ro | AcumCommons | |||
sa | NowCommons | |||
scn | NowCommons | |||
sh | NowCommons | |||
sk | NowCommons | |||
sq | NowCommons | |||
sr | NowCommons | |||
st | NowCommons | |||
su | IlaharKiwari | |||
sv | NowCommons | |||
sw | NowCommons | |||
ta | NowCommons | |||
th | มีที่คอมมอนส์ | |||
tl | NasaCommons | |||
tr | NowCommons | |||
uk | NowCommons | |||
ur | NowCommons | |||
vec | NowCommons | |||
vi | NowCommons | |||
vo | InKobädikos | |||
wa | NowCommons | |||
zh-min-nan | Commons ū | |||
zh-yue | subst:Ncd |
Ebe123's langauges userpage ( talk now! 12:01, 6 February 2012 (UTC)
Japanese is wrong. If you add ja:Template:NowCommons, it ends up in a category that no one ever checks. Instead, put {{即時削除|ファイル1-5|name on Commons with or without namespace}} on the file information page and {{subst:コモンズへの移動通知|file name at Japanese Wikipedia without namespace|file name at Commons without namespace}}--~~~~ at the talk pages for all uploaders. I have made a local file for Japanese Wikipedia that I'm using myself, but since the tool doesn't support adding a notice on the talk pages of the uploaders, I haven't made the file available for anyone else since other people might forget to manually put the notice on the uploaders' talk pages. -- Stefan2 ( talk) 18:39, 7 February 2012 (UTC)
With Arabic on the list, there must be support for Right-to-Left languages, such as getting the text box text right (pun). Ebe123's langauges userpage ( talk now! 12:01, 6 February 2012 (UTC)
Please see this edit. It appears that adding Nowcommons breaks the top level two header. Sven Manguard Wha? 21:23, 9 February 2012 (UTC)
I moved this file but FTCG decided to use different picture (see https://commons.wikimedia.org/wiki/File:ChadwickEuclidAve.jpg). Note: FTCG preview showed transferred file. -- Bulwersator ( talk) 14:12, 23 February 2012 (UTC)
For March, could NowCommons be replaced by {{ March 2012 MtC drive}} but with all the parameters remaining? This is for the next drive. ~~ Ebe 123~~ → report 13:45, 26 February 2012 (UTC)
File
|
---|
# For the Common Good # Local wiki data for English Wikipedia (built into FtCG) LocalDomain=en.wikipedia (Default) Category1=Copy to Wikimedia Commons Category2=Copy to Wikimedia Commons (bot-assessed) Category3=Move to Commons Priority Candidates DefaultCategory=3 NowCommonsTag=NowCommons (MtC drive) # These are ignored on enwiki at the moment, since they are unnecessary Information=Information Description=Description Date=Date Source=Source Author=Author Permission=Permission Other_versions=Other_versions Summary=Summary|Description Licensing=Licensing:? CategoryNamespace=Category CopyToCommonsRegex={{(mtc|(copy |move )?to ?commons|move to wikimedia commons|copy to wikimedia commons)[^}]*}}\n? [PotentialProblem] IfContains={{db- Message=The file appears to be tagged for speedy deletion. [PotentialProblem] IfContains={{di- Message=The file is tagged with a dated (DI) deletion tag. [PotentialProblem] IfContains={{puf Message=The file appears to be listed at PUF (Possibly unfree files). Check the discussion before transferring. [PotentialProblem] IfContains={{ffd Message=The file appears to be nominated for deletion. Check the deletion discussion at FFD before transferring. [PotentialProblem] IfContains={{non-free Message=The file appears to be non-free. Commons cannot accept non-free files. [PotentialProblem] IfRegex={{do not (copy|move) to commons Message=The file is tagged with {{do not move to Commons}}. [PotentialProblem] IfRegex={{(keep ?local|nocommons) Message=The file is tagged with {{keep local}} - do not delete the local file afterwards. [PotentialProblem] IfContains={{split media Message=The file is tagged with {{split media}}. Click "Select version..." above to view earlier versions; you may need to transfer each one separately. [Replacement] LookFor={{orphan image.*}}\n? ReplaceWith= [Replacement] LookFor={{needs commons category}} ReplaceWith= [Replacement] LookFor== *I .*created this (image|work) entirely by myself.? ReplaceWith== {{own}} [SelfLicenseReplacement] LookFor={{PD-self([^\}]*)}} ReplaceWith={{PD-user|%%OriginalUploader%%|en}} [SelfLicenseReplacement] LookFor={{GFDL-self-with-disclaimers([^\}]*)}} ReplaceWith={{GFDL-user-en-with-disclaimers|%%OriginalUploader%%$1}} [SelfLicenseReplacement] LookFor={{GFDL-self([^\}]*)}} ReplaceWith={{GFDL-user|%%OriginalUploader%%|en$1}} [SelfLicenseReplacement] LookFor={{self([^\}]*)}} ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:%%OriginalUploader%%|]]}} |
~~ Ebe 123~~ → report 15:01, 28 February 2012 (UTC)
In the English Wikipedia file at this page, I propose that you replace
[SelfLicenseReplacement] LookFor={{self([^\}]*)}} ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:%%OriginalUploader%%|]]}}
with
[SelfLicenseReplacement] LookFor={{self([^\}]*)}} ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:User:%%OriginalUploader%%|]]}}
This should also be corrected in the built-in file. I always have to add the "User:" part to make the link to the user page work & there is a risk that I might sometimes forget to do so. -- Stefan2 ( talk) 21:07, 7 March 2012 (UTC)
Sorry for the wait. 1.0.4.2 is now available. If you find any more bugs, please do report them. Thanks. — This, that, and the other (talk) 06:34, 9 March 2012 (UTC)
Could you change "{{
ISOdate|YYYY-MM-DD}}
(from metadata)" into "{{
according to EXIF data|YYYY-MM-DD}}
"? --
Stefan2 (
talk)
23:12, 20 March 2012 (UTC)
See Commons:Special:PermanentLink/69323264. The link to the file on English Wikipedia doesn't work. The first revision has the exact syntax provided by your tool. Fixed manually in later revisions of the file information page. -- Stefan2 ( talk) 21:55, 4 April 2012 (UTC)
If there is a file but no file information page, this tool doesn't fill in anything as a proposed Commons file information page (i.e. no file upload log etc.) and the "view file page on English Wikipedia" link doesn't work. Happened to me with File:50 caliber bullet headstamp 1943.jpg. It's only really the "view file page on English Wikipedia" link which matters since files without a file information page normally are unlicensed. -- Stefan2 ( talk) 18:10, 21 April 2012 (UTC)
Minor feature request of no urgency: If an EXIF date exists but is just zero/blank/worthless, treat it as if it didn't exist, instead of using Commons:Template:According to EXIF with 0000-00-00 or whatever. Example: File:Rockmart Art Center Theatre.JPG, in which EXIF tags for dates appear to exist but are zeroes. (I don't know enough about EXIF yet to know what is a useless date, as opposed to a rare date someone may have added on purpose.) -- Closeapple ( talk) 00:09, 9 May 2012 (UTC)
I've noticed that the app crashes (reproducibly) if you decline a transfer immediately after starting up. This happens on both Windows 7 64-bit and Windows XP 32-bit. The error (on Win7, at least) appears to be "System.InvalidOperationException occurred in ForTheCommonGood_1.0.4.3.exe [3344]." The app does not crash if you transfer an image first, and decline a later image. — Darkwind ( talk) 21:27, 14 May 2012 (UTC)
Uuugh, I accidentally added in the settings as local wiki "en.wikibooks." which causes some problems with a really bad message: Would you add an additional check if the user is simply too stupid to inserting an valid domain? (with a better message than the existing). Regards, mabdul 11:01, 21 May 2012 (UTC)
Oh and another reqquest: Can you provide any other "preview" for ogg files? The standard red x in the white square is not useful. I was highly confused that somebody uploaded such an image until I recognized that it is a sound file... Maybe a link to open the sound directly in the browser or standard program (for ogg files) should be given so that I don't have to open the page first... mabdul 22:19, 28 May 2012 (UTC)
Is it possible to get a feature similar to 'other source' cat/file something like Special:ListFiles/Example or Special:Contributions/Example? mabdul 16:29, 5 June 2012 (UTC)
wget ' http://en.wikipedia.org/?title=Special:ListFiles/Example&limit=500'
grep 'title="File:' name_of_downloaded_file | sed 's/^.*title="File:\([^\"]*\).*$/\1/g' > somefile
I know that sometimes category does not exist under the same name but it is trivial to create redirect. Bulwersator ( talk) 10:18, 21 August 2012 (UTC)
http://en.wikipedia.org/?title=File:Drewbeer.jpg&curid=2273225&diff=508117962&oldid=508117883 - Replaced {{move to Commons}} tag with {{now Commons}} tag (FtCG) edit description, despite the fact that now commons template was absent Bulwersator ( talk) 11:28, 19 August 2012 (UTC)
{{
original description page}}
See here. If the name of the file namespace is 5 letters instead of 4, then the tool doesn't remove the ":" after the namespace name. -- Stefan2 ( talk) 19:42, 25 August 2012 (UTC)
Currently it is possible only to find next random image. It would be helpful to have ability to see pictures also in the same order as displayed on category pages (sometimes there are series of very similar images with the same names) Example: https://en.wikipedia.org/?title=Category:NASA_images&filefrom=ISSafterSTS106.jpg#mw-category-media - Location of lunar crater (...) - all files from this group require the same changes and fixing all in one go would be more efficient Bulwersator ( talk) 06:04, 26 August 2012 (UTC)
{{#categorytree:NASA images|namespaces=6}}
For coders, the source code is available at http://github.com/atlight/ForTheCommonGood. You can download it as a ZIP file, for general hacking, or you can fork the repository and make pull requests if you are inclined that way. — This, that, and the other (talk) 10:45, 26 August 2012 (UTC)
If file exists on commons but there is a file description page (without file) on enwiki link "view file page on English Wikipedia" is inactive - example: File:Challenger explosion.jpg Bulwersator ( talk) 08:48, 28 August 2012 (UTC)
template:bots and template:ffd - I think that this one may be also safely removed from file description Bulwersator ( talk) 09:24, 28 August 2012 (UTC)
Seems to work
Bulwersator (
talk)
19:07, 29 August 2012 (UTC)
I would like to change source to NASA if {{PD-USGov-NASA}} template is present. Is it currently possible to do this? Bulwersator ( talk) 14:17, 28 August 2012 (UTC)
template:C-uploaded - this one also should result in warning Bulwersator ( talk) 19:02, 29 August 2012 (UTC)
ready code to default language file:
and
Bulwersator ( talk) 19:05, 29 August 2012 (UTC)
If test image is needed: link to list of images that were deleted on Commons - http://en.wikipedia.org/wiki/Special:WhatLinksHere/Template:Deleted_on_Commons
Bulwersator ( talk) 19:52, 31 August 2012 (UTC)
I know that sometimes category does not exist under the same name but it is trivial to create redirect on Commons Bulwersator ( talk) 08:48, 28 August 2012 (UTC)
Even with "Ignore warning" disabled, warnings are ignored (example: File:Bertha (2008) Estimated Winds.gif) Bulwersator ( talk) 11:35, 1 September 2012 (UTC)
Declining transfer edit happens, FTCG attempts to load next picture, than FTCG crashes Bulwersator ( talk) 13:32, 8 September 2012 (UTC)
Opis:
Stopped working
Podpis problemu:
Nazwa zdarzenia problemu: CLR20r3 Podpis problemu: 01: forthecommongood_1.0.4.6.exe Podpis problemu: 02: 1.0.4.6 Podpis problemu: 03: 504160d3 Podpis problemu: 04: mscorlib Podpis problemu: 05: 2.0.0.0 Podpis problemu: 06: 4ef6c7cc Podpis problemu: 07: 11cd Podpis problemu: 08: 47 Podpis problemu: 09: System.InvalidOperationException Wersja systemu operacyjnego: 6.1.7601.2.1.0.768.3 Identyfikator ustawień regionalnych: 1045
Bulwersator ( talk) 12:53, 15 September 2012 (UTC)
How about simply removing the "decline transfer" button? It seems that it only removes the {{ Move to Commons}} template which is then reinstated by User:Svenbot on the next bot run. -- Stefan2 ( talk) 16:04, 15 September 2012 (UTC)
(edit section to see real code)
after
if (!textLowercase.Contains("{{information") && !Regex.IsMatch(text, "{{" + LocalWikiData.Information, RegexOptions.IgnoreCase)) {
newcode
string description = Regex.Replace(text, "{{[^}]*}}", "", RegexOptions.IgnoreCase); description = Regex.Replace(description, "==[^=]*==", "", RegexOptions.IgnoreCase); description = Regex.Replace(description, "\n*$", "", RegexOptions.IgnoreCase); description = Regex.Replace(description, "^\n*", "", RegexOptions.IgnoreCase); text = Regex.Replace(text, Regex.Escape(description), "", RegexOptions.IgnoreCase);
before
XmlNode exifDateNode = iis[iis.Count - 1].SelectSingleNode("metadata/metadata[@name=\"DateTime\"]");
and in the same function
"|Description = {{" + GetCurrentLanguageCode() + "|1=" + description +"}}\n" +
instead of old
"|Description = {{" + GetCurrentLanguageCode() + "|1=}}\n" +
Bulwersator ( talk) 13:40, 8 September 2012 (UTC)