MediaWiki talk:VisualFileChange.js/Archive/2011

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Archive This 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.

Missed files

I had to add some missed files here: Commons:Deletion requests/Files uploaded by Galea - for some reason VFC missed to list those. It claims that the user has no uploads when I opened it up at 14:27 (when those files were still present). These files had no renames but were uploaded several times under the same name. Maybe that is the reason? Hmm. no - that is not the only(?) reason - this file is also missed but wasn't uploaded twice or trice. Cheers --Saibo (Δ) 14:40, 13 December 2011 (UTC)

Here again Commons:Deletion requests/Files uploaded by 00juanpy00 one file: File:Blooming pentacampeon.jpg (no rename, nothing really special - except that it was tagged as copyvio already). --Saibo (Δ) 23:00, 30 December 2011 (UTC)

Should be Pictogram voting keep.svg Fixed now. It occurred when a user re-uploaded a file after its deletion. One of these actions could have affected more than one file. And the missing files were not the "problem-maker". Silly bug & sorry. -- RE rillke questions? 23:39, 30 December 2011 (UTC)
Great, works now for the last case. Thank you! :-) Guten Start ins neue Jahr! --Saibo (Δ) 01:05, 31 December 2011 (UTC)
This section was archived on a request by: Saibo (Δ) 01:05, 31 December 2011 (UTC)

Select: counter refresh

aktualisiert bei Häkchensetzen nicht den counter links in the infoleiste. der count wird übrigens korrekt aktualisiert, sobald man manuell eines anklickt. Viele Grüße --Saibo (Δ) 19:31, 2 December 2011 (UTC)

✓ Done -- RE rillke questions? 16:16, 4 December 2011 (UTC)
This section was archived on a request by: Saibo (Δ) 15:54, 21 January 2012 (UTC)

Select: date format

es wäre schön das datum in dem format eingeben zu können, wie man es auf der gallery-seite sieht ;) bei mir yyyy-mm-dd Viele Grüße --Saibo (Δ) 19:31, 2 December 2011 (UTC)

✓ Done -- RE rillke questions? 16:16, 4 December 2011 (UTC)
This section was archived on a request by: Saibo (Δ) 15:54, 21 January 2012 (UTC)

Select: button position

der button "select" sollte nicht unten sein, sondern oben. und anders beschriftet sein. so ist mir die bedeutung nicht klar genug. Bzw. der unterschied zu "proceed" nicht klar genug. Vllt. können auch die schönen icons drauf? ;) Viele Grüße --Saibo (Δ) 19:31, 2 December 2011 (UTC)

✓ Done -- RE rillke questions? 16:16, 4 December 2011 (UTC)
This section was archived on a request by: Saibo (Δ) 15:54, 21 January 2012 (UTC)

Cleanup: do not prettify everywhere

er sollte nicht im origuploadlog ändern. Ich habe mir eben eine lokale kopie für mich gemacht und es einfach rausgenommen. Viele Grüße --Saibo (Δ) 19:31, 2 December 2011 (UTC)

✓ Done -- RE rillke questions? 18:15, 5 December 2011 (UTC)
This section was archived on a request by: Saibo (Δ) 15:54, 21 January 2012 (UTC)

Start on log suggests your own username

Special:Log/Galea → perform batch task → "Saibo" is suggested instead of Galea (like it is done on the contribs page). Cheers --Saibo (Δ) 23:22, 6 December 2011 (UTC)

✓ Done. -- RE rillke questions? 11:53, 7 December 2011 (UTC)
Works! Thanks! --Saibo (Δ) 14:40, 13 December 2011 (UTC)
This section was archived on a request by: Saibo (Δ) 16:04, 21 January 2012 (UTC)

replace function leads to watchlisted pages

↑ Probably due to "if (window.AjaxDeleteWatchFile) page.watchlist = 'watch';" and "var AjaxDeleteWatchFile = true;" in my monobook.js. I would like to watch file pages to which I add a problem tag - but not for all text replacements I do. Maybe a checkbox: "do not watch pages"? Or simply such a checkbox and ignore the AjaxDeleteWatchFile = true; in the user's monobook.js? Cheers --Saibo (Δ) 17:58, 6 November 2011 (UTC)

Pictogram voting keep.svg Fixed- watchlist: nochanges . Feature request of a select: nochanges, watch, unwatch, defaut still pending. -- RE rillke questions? 21:56, 13 November 2011 (UTC)
That was implemented by Rillke in v.0.8.0.0 - thank you! :-) --Saibo (Δ) 14:33, 11 February 2012 (UTC)
This section was archived on a request by: Saibo (Δ) 14:33, 11 February 2012 (UTC)

missing ] leads to messed up link

fixed by me here - probably I forgot the ] - for some reason the whole URL got URLencoded. Cheers --Saibo (Δ) 03:56, 13 November 2011 (UTC)

Pictogram voting keep.svg Fixed- Pictogram voting keep.svg Fixed- Now, only the pipe-symbol is escaped. This is important in templates. Pending: Don't escape it in links. It will be more difficult to forget the ] in future because Script now sends the "reason" to the parser. BTW: It was not URLencode but HTML-escape. Nur'n bissl Klugscheißerei. Sei mir auch maaal gestattet. -- RE rillke questions? 21:56, 13 November 2011 (UTC)
Wo du Recht hast... Ansonsten funktionierts super! Echt hilfreich - auch die konsolidierten User-talk-Nachrichten. :-) --Saibo (Δ) 03:33, 14 November 2011 (UTC)
Won't do any more magic here. -- RE rillke questions? 13:26, 13 February 2012 (UTC)
This section was archived on a request by: RE rillke questions? 13:26, 13 February 2012 (UTC)

onetime(?) Bug: not listed the DR on the daily page

Commons:Deletion requests/Files uploaded by Health Sanctuary

Got this error in the side panel:

Error:-- NO TASK DESCR. FOR mdNotifyUploaders PLEASE ADD IT -- ##### Server returned code 0 errorError code is [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getAllResponseHeaders]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: https://bits.wikimedia.org/commons.wikimedia.org/load.php?debug=false&lang=de&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=20111130T212948Z :: anonymous :: line 118" data: no]

Maybe I triggered this problem by closing other currently open tabs while the tool was just processing / tagging. Or maybe it is because I have made me a copy User:Saibo/AjaxMassDelete.js (to work around another issue - spammed to rillke in IRC). So take this report here not too serious. --Saibo (Δ) 19:25, 1 December 2011 (UTC)

Looks like an internal browser error if the response-headers are not available. -- RE rillke questions? 13:26, 13 February 2012 (UTC)
This section was archived on a request by: RE rillke questions? 13:26, 13 February 2012 (UTC)

Run: batch mode (feature idea)

Kind of related to the section Improved replacement for Cat-a-lot / testing feature above: it would be nice if VFC would have a kind of batch mode (which should be automatically switched on by default if the number of files is over ~10) which only processes a specific amount of files and then asks the user to continue or abort.

GUI idea: a "batch size" text box beneath the "proceed" button which is prefilled with "15" for anything except search and replace where it should be "1". So at Deletion request mode a simple proceed click and less than 15 files would have the same function as the script currently has. But if more than 15 files (example: 33) are selected 15 files should be processed and then a dialog box should ask

18 files are remaining. Continue? Maybe check your last edits first. 
batch size: |15| files     [proceed]  [cancel]

with the |15| again being a textbox with the (adjustable) batch number. So a simple click on proceed would again process 15 files. If instead the number is changed to e.g. "30" all remaining 18 files would be processed. Cheers --Saibo (Δ) 20:28, 2 December 2011 (UTC)

This section was archived on a request by: RE rillke questions? 13:26, 13 February 2012 (UTC)

renaming adjustments

{{editprotected}} Please replace

if ( "MediaWiki:AjaxMassDelete.js" == mw.util.getParamValue('withJS') ) {

with

if ( "MediaWiki:VisualFileChange.js" == mw.util.getParamValue('withJS') ) {

. I forgot this when renaming this script. Sorry and thanks. -- RE rillke questions? 17:22, 13 September 2011 (UTC)

✓ Done. – Adrignola talk 20:19, 13 September 2011 (UTC)
This section was archived on a request by: Saibo (Δ) 14:31, 11 February 2012 (UTC)

edit requestJuly 2011

{{editprotected}}

Someone with JavaScript knowledge: Please update the front-side by copying the content of User:Rillke/AjaxMassDelete.js.

This version contains a bug. (Console.log() - debug line and a security vulnerability .

Please do not delete User:Rillke/AjaxMassDelete.js. I still need it for further development.

Thank you. -- RE rillke questions? 09:21, 22 July 2011 (UTC)

This section was archived on a request by: Saibo (Δ) 14:31, 11 February 2012 (UTC)

Improved replacement for Cat-a-lot / testing feature (feature idea)

I had used VFC as improved replacement for Cat-a-lot (which often hangs for me) to move 300 files out of Category:File icons to Category:Lunar eclipse charts with the search and replace function. A minor downside was that I needed to use different find-strings to catch all different category link orders (example: "Category:File icons Category:Lunar eclipse" → Category:Lunar eclipse charts). I could have done it with less batches if I had used RegExps. ;) However, it would be helpful if the VFC window didn't close automatically and loose all settings therefore. It would have been nice in this case if it stayed open, removed the checkmarks from the processed files and I could just change the find-string and run again. This would also speed-up (and improve the test accuracy since the parameters do not need to be entered again) test edits (which are really needed with large scale edits) at a small subset of files. Cheers --Saibo (Δ) 19:46, 2 December 2011 (UTC)

When you press "execute" some destructive processes are carried out. Therefore it is impossible to let the window open at this stage. -- RE rillke questions? 13:26, 13 February 2012 (UTC)
This section was archived on a request by: RE rillke questions? 12:38, 4 March 2012 (UTC)