Help talk:VisualFileChange.js
"Fatal exception of type MWException" while instaling
editI tried to instal this gadget several times over last few months using firefox and chrome. I always get "[57663e89] 2013-01-09 15:13:31: Fatal exception of type MWException" when trying to save User:Jarekt/common.js with the string provided. --Jarekt (talk) 15:17, 9 January 2013 (UTC)
- Thanks for the note; I think I am going to make VisualFileChange a real gadget in the near future so it can be activated through the preferences.
- For now and until bugzilla:43784 is resolved, please follow the instructions at Help:VisualFileChange.js#Step 0: How to Install. Thanks in advance. I regret the inconvenience. -- Rillke(q?) 15:54, 9 January 2013 (UTC)
- Adding sections to JS/CSS pages doesn't make sense and will not be supported. - Daniel Kinzler -- Rillke(q?) 21:42, 13 March 2013 (UTC)
- So there seems to be some sort of stalemate. It's confusing and annoying that following the instructions at Help:VisualFileChange.js#Step 0: How to Install results in errors on the edit page. Also, it results in error warning being posted on the talk page of the user who followed 'em. example. It would be nice if the parties could cooperate to get this sorted out.
- On the plus side, following the instructions does result in a working install. [WFM]; the warnings and errors don't prevent it from working at all. Users seem to be using it somehow, e.g. User:Jameslwoodward...--Elvey (talk) 23:03, 29 October 2014 (UTC)
- Clicking this link resulted in the error we are talking about. This has since been fixed but section editing is still not possible. The idea was to have the install code pre-loaded in the editor window, which is impossible now because section editing has been disabled. The message you receive by a bot is not "an mw exception", it is just about code style and tells you that script links are bad thing (because you cannot bookmark them, for example). -- Rillke(q?) 23:44, 29 October 2014 (UTC)
- For the code style issues, I filed an edit request on MediaWiki talk:VisualFileChange.js/install.js. You may use this code instead and the warnings will vanish. -- Rillke(q?) 23:55, 29 October 2014 (UTC)
- Ok, don't mind you reverting my edit, just thought some warning was in order. One should cover those, if any, that remain after your edit request is filled. Thanks.--Elvey (talk) 00:10, 30 October 2014 (UTC)
- I am, indeed, using itoften, both for starting DRs and for such tasks as adding {{PermissionOTRS}} to groups of files. A quick look at any recent DR log will show that many others are also using it. It is a significant improvement -- just I as cannot imagine how we worked without DelReqHandler, now I would find it very hard to work without VFC. I have not, however, installed it. I have bookmarked the page that comes up when you click on the "Just try it without installing" box -- that works fast and fine, so I've seen no reason to install it. . Jim . . . . (Jameslwoodward) (talk to me) 10:18, 30 October 2014 (UTC)
- Ok, don't mind you reverting my edit, just thought some warning was in order. One should cover those, if any, that remain after your edit request is filled. Thanks.--Elvey (talk) 00:10, 30 October 2014 (UTC)
- On the plus side, following the instructions does result in a working install. [WFM]; the warnings and errors don't prevent it from working at all. Users seem to be using it somehow, e.g. User:Jameslwoodward...--Elvey (talk) 23:03, 29 October 2014 (UTC)
How to process files listed on a page?
editI created User:AFBorchert/Workspace with a list of files that should be submitted for mass deletion (collection of images of a Flickrwashing account). I tried to load this, but the script simply notes Script cannot find any file / initial upload in / by User:AFBorchert/Workspace. How can this be done? Thanks, AFBorchert (talk) 10:50, 13 March 2013 (UTC)
- OK, solution found: it needs to be a gallery. This should be perhaps mentioned in the documentation. --AFBorchert (talk) 20:31, 13 March 2013 (UTC)
- I thought files displayed at one page would be clear enough but I am not as fluent in English as you so please propose a similar short but more clear text. (nb. It doesn't have to be a gallery as long as one can see the file (e.g.
[[File:abc.jpg|thumb]]
)) Thanks a lot. -- Rillke(q?) 21:08, 13 March 2013 (UTC)- OK, thanks for the clarification. BTW, is it possible to avoid the reference to the page where the gallery is located? I set up the workspace space just to prepare a list generated by another tool for deletion. Now Commons:Deletion requests/Files on User:AFBorchert/Workspace is named after this temporary page. I just gave Files of Flickrwashing account 11923090@N03 in the corresponding field affected the heading, however not the title of the deletion request.
- And thanks for this tool. This was my first attempt to use it as I had no interest in nominating more than 160 files manually. --AFBorchert (talk) 21:23, 13 March 2013 (UTC)
- I just disallowed using arbitrary titles for the deletion request because that page is processed by other scripts and bots and users tend to type complicated/unforeseeable stuff. I think there will be a little button in future allowing also to change the title (this needs additional work to avoid title blacklist clashes etc.). -- Rillke(q?) 21:37, 13 March 2013 (UTC)
- I thought files displayed at one page would be clear enough but I am not as fluent in English as you so please propose a similar short but more clear text. (nb. It doesn't have to be a gallery as long as one can see the file (e.g.
Saving Profile tigers message from User:CommonsMaintenanceBot
editSaving "Custom replace" profile tigers message from User:CommonsMaintenanceBot about invalid javascript, see User_talk:Jarekt#Code_issues_in_User:Jarekt.2Fcommon.js. --Jarekt (talk) 14:18, 2 February 2015 (UTC)
Problem with regexp
editI’m trying to add a link to a centralized discussion at the end of the field "date" of the "information" template of all 848 files in a category. I tried the following regexp replacement:
(\| ?date ?=.*)[^\n]
to
\1 ([[Category talk:Photographs of Portugal by Charles Chusseau-Flaviens#Datação destas fotos|⚠🛈]])
I tried with the first four files and it is not working. Help me please? -- Tuválkin ✉ 05:54, 15 March 2015 (UTC)
- It's written in JS so the insertion token is
$
followed by a number - resulting in, for example$1
. Also do not insert\n
into the text that should be inserted instead, just enter a line break - it's a multi-line text box. Feel free to copyedit Help:VisualFileChange.js/samples, add your example or edit it so it's easier to gasp. In case I couldn't answer your question, please let me know. -- Rillke(q?) 21:07, 15 March 2015 (UTC)- Thanks to you help, Rillke, I managed to do it, yes and the
$
tip was golden. I now also get that the whole match string should be enclosed as/
foo/
or/
foo/g
. I still managed to make a mess for utter distraction, and never found out why the trailing "}
" of the match was bing discarded in replacement. I managed to add the link to all instances, though, and maybe these photos will be one day all correctly dated. Perhaps even before I learn regexp properly! -- Tuválkin ✉ 06:43, 16 March 2015 (UTC)
- Thanks to you help, Rillke, I managed to do it, yes and the
Duplicate DRs
editIt would be helpful if VFC checked to see if there is an existing DR before adding one to a file. See https://commons.wikimedia.org/w/index.php?title=File:Antoni_Gaudi.jpg&action=history for an example of the problem. . Jim . . . . (Jameslwoodward) (talk to me) 10:37, 26 March 2015 (UTC)
- There should be a tiny d below a thumbnail of files nominated for deletion. But generally a good idea just no clue how a sleek implementation of it would work like. -- Rillke(q?) 11:58, 26 March 2015 (UTC)
NO TASK DESCR. FOR mdFormattNumber
editWhat's this error I get?
Error: -- NO TASK DESCR. FOR mdFormattNumber PLEASE ADD IT -- ##### TypeError: Cannot read property 'metadata' of undefined--Federico Leva (BEIC) (talk) 13:54, 4 June 2015 (UTC)
- I'm not sure it's wise to perform requests like [1], where the "metadata" field may weight megabytes. --Federico Leva (BEIC) (talk) 14:14, 4 June 2015 (UTC)
- In most cases metadata is relatively small and can be utterly useful to have but your are right; their size is unpredictable. Perhaps I should write a custom backend running on Labs, but then VFC would suffer from Labs outages while it usually works fine on Commons (when Commons is up) using purely the MediaWiki API. This error message possibly means that an imageinfo item (one image revision) is missing (perhaps API response size limit has been exceeded). The mdFormattNumber is just another glitch; the script doesn't properly track the invocation stack, instead it prints the name of the method that was called last, even when this method didn't cause any errors. -- Rillke(q?) 15:05, 4 June 2015 (UTC)
Category
editHello,
I have a script in User:Pyb/common.js. But now this page appears in some categories, eg. Category:People by name. Is there any solution? Pyb (talk) 13:34, 9 June 2015 (UTC)
// <nowiki> SCRIPT // </nowiki>
--Leyo 13:39, 9 June 2015 (UTC)
- VFC will always write configuration to the same place it currently is, so if the categorization happens below the VFC config block, just insert a new opening
// <nowiki>
below. -- Rillke(q?) 14:11, 9 June 2015 (UTC)- thx ;) Pyb (talk) 21:49, 21 June 2015 (UTC)
Tipsy covers date selector
editThe date selector is made pointless by Tipsy: Can still be typed manually, so nothing tragic. --Nemo 07:17, 20 June 2015 (UTC)
- The dialogue should now open up on top/centre of the viewport and chances are higher that there's enough space for tipsy to go where I suggested them to go: below the input field. -- Rillke(q?) 21:43, 21 June 2015 (UTC)
Centralize discussion
editDoesn't look like the notice at the top of this page is heeded, so probably best to centralize discussion by redirecting this page to MediaWiki talk:VisualFileChange.js or vice versa. czar 17:02, 16 February 2017 (UTC)
"You cannot execute new requests without reloading this page"
editHi everyone, I am using VisualFileChange.js to make batch edits. In this moment I am working with a custom replace to add a template after another. It didn't works. When I execute the program appears a box with the title "What would you like to do next?" and inside:
Note: You cannot execute new requests without reloading this page. But you can save your inputs into a profile. [It is a button]] The inputs of the last executed requests are automatically saved. Check your contributions Reload this page
If I check my contributions, I don't see any new contribution. If I reload the page, with or without the link that the box gives me, it continues without working. I have tried many times. Could anyone help to fix this problem?
Thanks in advance.
Regards, Ivanhercaz (talk) 00:43, 16 April 2017 (UTC)
Feedback on attempting to use VFC to delete/insert text within the text of a Image File
editGreetings Rilke- Grüssen Sie Alle!
I have a large number of uploaded files that contain errors. On the left WCommons panel, in Category: s I saw VFC.js and had a look at it- it shows the signs of a program that could benefit from a few more developers to do the leg-work of testing the side effects of revisions. (Been there- got the teashirt!). So here are a few observations.
- The link to the gadget is on the panel- I never set it and checking my preferences shows the box unticked. It brings up 0,9,55,0. Obviously the existing documentation talks about needing to set it.
- I did regex many years ago and all I can remember is that it occurs in different versions depending on the host language- and I have forgotten the rest.
- Anything I do is within the context of explaining the task to highly educated new users at editathons.
- There needs to be a link to a simple help file. With in that help file there need to be simple examples of common user orientated tasks.
- I am trying to grep the contents of a batch of files within a subset of a directory, and replace content. There are no variables, magic word just simple text. So here are the test tasks.
- One batch of files was uploaded using Commons Upload File link- missing the fact that the geotags were missing. A sample file is File:SB Cambria 4978.jpg- when it should have looked like File:SB Edme 4871.jpg
- The second error was uploaded by Commonist 1.7.0, here simply an extra set of }} has been uploaded, blanking the rest of the template. File:SB Cambria 5051.JPG when it should be like File:SB Cambria 5078.JPG
Pier}}.}} --with-- Pier}}.
== {{int:license-header}} == --with -- {{Location|51.3984516667|0.555223333333|}} == {{int:license-header}} ==
- I see those two real life examples could be added to the VFC.js documentation, and any help gratefully received. --ClemRutter (talk) 14:32, 7 June 2017 (UTC)
Failure
editError: An error occurred setting up the selection dialog. ##### TypeError: vfc.$ctrs.editSummary.byteLimit is not a function
I was trying to use VFC (via gadget) on File:해미읍성 전통문화공연 1.jpg, and target user is the uploader. — regards, Revi 12:39, 25 August 2017 (UTC)
Error in installation instructions?
edit"Manual: In "Preferences" : "gadgets" tab, "Maintenance tools" section: click "VisualFileChange" and hit "Save" at bottom of page." - I can see no VisualFileChange item in this section. --Gapfall (talk) 11:56, 10 December 2017 (UTC)
- This mass editing tool needs at minimum autopatrol rights. -- User: Perhelion 16:20, 3 July 2018 (UTC)
- @Perhelion: Can we then keep "Just try it without installing" from appearing for those without rights to use it, including anonymous IP addresses? — Jeff G. ツ please ping or talk to me 16:25, 3 July 2018 (UTC)
- I'm not sure here. Pictures should be sufficient, may ask someone other. -- User: Perhelion 16:39, 3 July 2018 (UTC)
- @Perhelion: Can we then keep "Just try it without installing" from appearing for those without rights to use it, including anonymous IP addresses? — Jeff G. ツ please ping or talk to me 16:25, 3 July 2018 (UTC)
Does not appear
editThe script does not appear in my Gadgets.--Marek Preis (talk) 17:41, 11 June 2018 (UTC)
- See one above. -- User: Perhelion 16:20, 3 July 2018 (UTC)
VFC on other projects
editI've started a discussion at Wikipedia:Village pump (technical)#VisualFileChange regarding the possibility of transferring this program over for use on en.wiki. I am the opposite of tech savvy, so anyone who is feel free to lend your insights there. Thanks in advance. GMGtalk 14:53, 2 November 2018 (UTC)
- While it is possible to use Gadgets in other WMF wikis, this usually requires some work. Example is User:Rillke/bigChunkedUpload.js near
Register globally
-- and the loader needs regular updates as MediaWiki's coders markedmw.loader.addSource
as "internal". It just needs someone willing to maintain cross-wiki installation code for VisualFileChange. -- Rillke(q?) 14:42, 6 November 2019 (UTC)
Global usage
editYou can click the white on red question mark "?" in VFC (seen in this screenshot) to show you global usage numbers for all files shown. Please document it appropriately. — Jeff G. ツ please ping or talk to me 14:07, 17 January 2019 (UTC)
- I think this has nothing in common with VisualFileChange. It's the gadget "Global Usage Badges" and documented here. --Stepro (talk) 23:55, 18 January 2019 (UTC)
- Never mind, then. — Jeff G. ツ please ping or talk to me 08:02, 19 January 2019 (UTC)
Help with bulk editing of uploads
editHi,
I used to be a regular contributor on Wikimedia and the English Wikipedia but due to various other commitments my involvement has largely lapsed. I have in the past linked my images to my website www.flagstaffotos.com.au, but unfortunately this website has also lapsed. I am hoping that the VFC tool could be used to help me replace these links to an email instead? I have only rudimentary programming understanding so help would be greatly appreciated!
Many thanks, --Fir0002 www 02:41, 18 February 2019 (UTC)
- Update: I think I have worked out how to do this for myself, please disregard --Fir0002 www 11:36, 20 February 2019 (UTC)
- @Fir0002: It seems you mostly use your own templates for you credit, like User:Fir0002/150MT_credits, so this should be indeed lesser work. Don't forget to use Template:NonSpamEmail. PS: but please not in your signature and please also don't use external links in your sig: w:WP:SIG#EL -- User: Perhelion 14:37, 20 February 2019 (UTC)
- Update: I think I have worked out how to do this for myself, please disregard --Fir0002 www 11:36, 20 February 2019 (UTC)
Link naming "Perform batch task"
editI would suggest changing the link name (task describing) to simply the tool name. The main reason is the recognition, and the description for each language must be elaborately adapted (in fact, it not happened until this day). The tool name is known to everyone, as everyone had to activate it themselves. So the question is: "Visual File Change" or simply "VFC"? -- User: Perhelion 10:52, 26 September 2019 (UTC)
- This may make sense. VFC might need some artistic skills only adding a small click target area. -- Rillke(q?) 14:44, 6 November 2019 (UTC)
I must be being a bit dense
editAt User talk:Timtrent#Your VFC installation method is deprecated I took action. I emptied the deprecated item from User:Timtrent/common.js and clicked the enable item. I followed those steps through, said "Yes" and emptied browser cache and reloaded the browser with a force reload.
I saw the batch processes item go form my left hand menu and I have not seen it return.
Obviously I have missed doing something, and I would like assistance, please. Please ping me when you are kind enough to answer. Timtrent (talk) 13:47, 17 July 2020 (UTC)
- If it's the auto patrol rights thing I've been here a wee while. How do I achieve those rights, please? Timtrent (talk) 13:50, 17 July 2020 (UTC)
- @Timtrent: On some pages "perform batch task" is missing or slow to display, so I have a link useVFC in my Top Links to give me 3-button access to VFC on a new page when I need it. — Jeff G. ツ please ping or talk to me 16:26, 22 May 2022 (UTC)
- @Jeff G. Thank you. I appreciate the additional information. 🇺🇦 Timtrent 🇺🇦 talk to me 🇺🇦 18:10, 22 May 2022 (UTC)
- @Timtrent: You're welcome. — Jeff G. ツ please ping or talk to me 18:30, 22 May 2022 (UTC)
- @Jeff G. Thank you. I appreciate the additional information. 🇺🇦 Timtrent 🇺🇦 talk to me 🇺🇦 18:10, 22 May 2022 (UTC)
- @Timtrent: On some pages "perform batch task" is missing or slow to display, so I have a link useVFC in my Top Links to give me 3-button access to VFC on a new page when I need it. — Jeff G. ツ please ping or talk to me 16:26, 22 May 2022 (UTC)
regex syntax?
editIs there a definition anywhere for the definition of "regexes", as used here? (Like all standards, there are many of them) In particular, can we use this tool to either detect newlines in patterns, or to insert newlines in the replacement text? Andy Dingley (talk) 12:46, 29 March 2021 (UTC)
- @Andy Dingley: For detecting newlines you won't need Regex; just copy the text you wan to replace, including all preceding, intermediate and following newlines (take care not not define an eronneous superfluous newline at the end!). Specify the replacement the same way. Evidently, only "pattern to match" can use Regex, "text to insert instead" can't (except references). -- sarang♥사랑 10:23, 14 May 2021 (UTC)
- @Sarang: Maybe you can help me? I tried this and it failed. What did I do wrong? My search and replace, with regex on was:
- Find:
/\[\[Category:Four Cyrillic letter combinations\|(.)(.)(.)(.)\]\]/g
- change to:
\[\[Category:Four letter combinations including \1\]\]
\[\[Category:Four letter combinations including \2\]\]
\[\[Category:Four letter combinations including \3\]\]
\[\[Category:Four letter combinations including \4\]\]
- Find:
- -- Tuválkin ✉ ✇ 00:53, 14 September 2022 (UTC)
- Bom dia Tuválkin, as far as I understand your examples it won't do this way. A possibility might be to use a template for categorization, which invokes a module where the file description text is checked and searched for the four letters by LUA - a very complicated and sophistic treatment for that very simple need, that will work only when some rules are kept. IMHO it is much better to categorize by hand ! It will not be worth such a huge effort for this simple "problem", we have enough real needs that should be fulfilled -- sarang♥사랑 06:49, 14 September 2022 (UTC)
- @Sarang: Maybe you can help me? I tried this and it failed. What did I do wrong? My search and replace, with regex on was:
Prepend and Append working fine for me, but Custom Replace not so
editVFC has been a great help in making text additions to all 426 entries of c:Category:Digitization of Feinsilber coin images of Eberhard Auer (uploaded myself a few days earlier), using "prepend" and "append". However, "custom replace" so far fails to work for me: E.g. I want to remove again my (wrongly appended) text:
<!-- [[Category:Coins of Anthony Ulrich as Prince of Brunswick-Wolfenbüttel]] -->
from all 426 files, i.e. replace it with just a linefeed. However, instead of the countdown indicating edit progress, a window pops up:
What would you like to do next? Note: You cannot execute new requesta without reloading this page. But you can save your inputs into a profile. The inputs of your last executed statement are automatically saved. . Check your contributions . Reload this page
and nothing is being edited. I am aware that the Help page says: "If you re-launch VisualFileChange and insert the same target, a big yellow box will appear. Just click the link for convenient continuing." -- Indeed, what link should I click? Clicking "Check your contributions" does as it says but is no help here, whereas "Reload this page" deletes the VFC dialogue and has me start all over again, so far without any progress. What am I doing wrong, please? Thanks, --HReuter (talk) 21:42, 2 September 2020 (UTC)
- It seems impossible to find a pattern when a part of it is a comment written with <!-- -->. Neither prefixing nor specifying it with Regex makes it accessable. @Rillke: Does there a workaround exist? -- sarang♥사랑 10:23, 14 May 2021 (UTC)
Install instructions out of date?
editAt Step 0: How to Install this page gives the option:
- Manual: In "Preferences": "gadgets" tab, "Maintenance tools" section: click "VisualFileChange" and hit "Save" at bottom of page.
I was not able to find a "VisualFileChange" in my Preferences/Gadgets. The Automatic process did work, or at least appeared to, after adding the common.js code. Going back to Preferences, I was still not able to find any reference to VisualFileChange in Gadgets or anywhere else. IDK how this is enabled, or if it's now enabled by default, and only the common.js edit was required. At any rate, this section apparently needs to be updated. PoundTales (talk) 01:04, 8 February 2022 (UTC)
- @PoundTales: On some pages "perform batch task" is missing or slow to display, so I have a link useVFC in my Top Links to give me 3-button access to VFC on a new page when I need it. — Jeff G. ツ please ping or talk to me 16:21, 22 May 2022 (UTC)
toolbox
editWhere is the toolbox? —"Add mw.loader.load( 'ext.gadget.VisualFileChange' );
to your common.js
or skin.js
. You should now see a 'Perform batch task' link in your toolbox." Nicole Sharp (talk) 14:51, 13 May 2022 (UTC)
I found "Perform batch task" listed under "Tools" on the left-side menu for the desktop Vector skin. However, clicking that just goes to "special:specialpages
". So this apparently doesn't work and seems unnecessary since VisualFileChange works without installation. Nicole Sharp (talk) 14:55, 13 May 2022 (UTC)
- @Nicole Sharp: I normally use the MonoBook skin, as that's what I am used to from enwiki 15 years ago. The link "Perform batch task" works for me as a test on your user page like normal, as well as when I use the vector skin. However, on some pages it is missing, so I have a link useVFC in my Top Links to give me 3-button access to VFC on a new page when I need it. — Jeff G. ツ please ping or talk to me 16:01, 22 May 2022 (UTC)
VFC generates SPEEDY, when DR is needed
editLooks like VFC creates speedy for "fair use", but DR is required?
For no FoP (permission required) VFC generates speedy, even though DR is required.
I assume this will soon be fixed. I am relying on VFC to comply to commons rules. C.Suthorn (talk) 14:32, 22 May 2022 (UTC)
- @C.Suthorn: If an uploader alleges "fair use", that is automatic qualification for COM:CSD#F1. If there is any FOP or below-TOO reason for a file to be kept, it should have a DR. — Jeff G. ツ please ping or talk to me 15:52, 22 May 2022 (UTC)
- The fair use file (called fair use by uploader) was speedied, than undeleted as needing a DR. The other file with the noFoP issue will be deleted. This is only about VFC. If an FoP no permission case required a DR, than VFC must generate a DR for FoP no permission. It is not my thing to repair VFC. If I see a file, that needs a VTR permission because there is no FoP in the country of the image, than i use VFC to notify the uploader. If that is complicated, if this is more than choosing "no permission" from the dropdown box, than it is to complex. --C.Suthorn (talk) 18:36, 22 May 2022 (UTC)
- @C.Suthorn: VFC's "No permission" action tags with {{subst:npd}}, which expands to 7-day timed {{No permission since}}. That is perfectly appropriate for "fair use" files with no FOP issue that are above TOO. Users should nominate for deletion if files don't fit those criteria. — Jeff G. ツ please ping or talk to me 18:52, 22 May 2022 (UTC)
- The fair use file (called fair use by uploader) was speedied, than undeleted as needing a DR. The other file with the noFoP issue will be deleted. This is only about VFC. If an FoP no permission case required a DR, than VFC must generate a DR for FoP no permission. It is not my thing to repair VFC. If I see a file, that needs a VTR permission because there is no FoP in the country of the image, than i use VFC to notify the uploader. If that is complicated, if this is more than choosing "no permission" from the dropdown box, than it is to complex. --C.Suthorn (talk) 18:36, 22 May 2022 (UTC)
Use for categories
editI know, it's VisualFileChange, but is there any way how to use it for category pages? E.g. prepend/append text / custom replace would be very useful. — Draceane talkcontrib. 08:45, 21 June 2022 (UTC)
- @Draceane: No, but being able to use it on any page would be a nice feature. I used AWB for COM:BR#i18n of sk "CatDiffuse" tags. — Jeff G. ツ please ping or talk to me 09:37, 21 June 2022 (UTC)
- If you prepend the search query with "cat:" for example (or any other namespace) you can actually use VFC on any non-file page.Jonteemil (talk) 02:38, 9 July 2023 (UTC)
- See my contribs for example. Jonteemil (talk) 02:41, 9 July 2023 (UTC)
Add the source in display preview
editHi, It would be very helpful to have the source shown in the display preview, i.e. to detect copyright violations. Yann (talk) 15:46, 26 August 2022 (UTC)
it is not working
editit is not working right now. please fix. if it is not working for you too, then write here like me; so we can see it is actual bug or it is just me. ----modern_primat ඞඞඞ TALK 18:54, 24 May 2023 (UTC)
- it is not working again... since yesterday, it is not working... ----modern_primat ඞඞඞ TALK 13:06, 27 May 2023 (UTC)
- It's also failing for me today. No error message, just nothing happening when I click "Perform batch task" in the sidebar. The top of this talk page says to post support requests to MediaWiki talk:Gadget-VisualFileChange.js, though, so I'll do that. Belbury (talk) 19:10, 27 May 2023 (UTC)
- At least for me if I click on "Just Try Without Installing" in Help:VisualFileChange.js it will just re-load the page instead of starting the tool. --Adamant1 (talk) 21:20, 27 May 2023 (UTC)
- Did anyone report this on Phabricator? This JS tool is also broken. Yann (talk) 15:33, 28 May 2023 (UTC)
- It seems to at least be loading for me now. Although I haven't tried to use it for anything. --Adamant1 (talk) 07:21, 29 May 2023 (UTC)
- Did anyone report this on Phabricator? This JS tool is also broken. Yann (talk) 15:33, 28 May 2023 (UTC)
- At least for me if I click on "Just Try Without Installing" in Help:VisualFileChange.js it will just re-load the page instead of starting the tool. --Adamant1 (talk) 21:20, 27 May 2023 (UTC)
- It's also failing for me today. No error message, just nothing happening when I click "Perform batch task" in the sidebar. The top of this talk page says to post support requests to MediaWiki talk:Gadget-VisualFileChange.js, though, so I'll do that. Belbury (talk) 19:10, 27 May 2023 (UTC)
- it is working now ----modern_primat ඞඞඞ TALK 18:44, 31 May 2023 (UTC)
Query syntax
editWhat is a syntax for a query? Can I load files edited by a certain user in a certain period of time? Juandev (talk) 09:19, 5 January 2024 (UTC)
- You can specify search terms that are evaluated by Special:Search within the file namespace, see Help:Searching for more details. --AFBorchert (talk) 09:41, 5 January 2024 (UTC)
How do I clear out deletion rationales from the drop down?
edit^ The Squirrel Conspiracy (talk) 09:05, 15 January 2024 (UTC)
- @The Squirrel Conspiracy: Please don't per "DO NOT MODIFY BY HAND - FINGERS AWAY!" at User:The Squirrel Conspiracy/common.js. — 🇺🇦Jeff G. ツ please ping or talk to me🇺🇦 03:25, 27 April 2024 (UTC)
- @The Squirrel Conspiracy (unless you know exactly what you're doing) — 🇺🇦Jeff G. ツ please ping or talk to me🇺🇦 12:09, 4 September 2024 (UTC)
F10 a G10 in the tool
editHello Team, I contact you as suggested by Jeff_G. (talk · contribs). Would it be possible to add the choice of F10 and G10 in the tool? Currently, if I want to perform batch tasks about these, it doubles the {{Delete}} template with the F10 or G10 one, as it is not a speedy deletion. It makes more work for everyone. Is it possible to add the two options to the VisualFileChange.js tool, please ? CoffeeEngineer (talk) 09:25, 1 September 2024 (UTC)
- I would find that very helpful, plus a F10 & G10 Combo. I have been successfully using text for that Combo (and F10 and G10 separately) with AQD in User:Jeff G./common.js for four years (search for "Combo"), but that's a one-off action. In theory, every General and File criterion represented in COM:CSD (in addition to {{subst:nsd}}, {{subst:npd}}, and {{subst:nld}} as "No source", "No permission" and "No license" actions) should be able to be used by VFC on files. The preceding would prevent the need for such edits as this. — 🇺🇦Jeff G. ツ please ping or talk to me🇺🇦 15:35, 1 September 2024 (UTC)
Why is 'navigating by keyboard' disabled in this tool and can this be fixed?
editHello. I assume 'scroll down by keyboard' with the scroll down button has been disabled at some point. I think it was enabled some years ago. Selecting batches of like 2k files (by repeatedly mouse clicking on the scrollbar to load more files) has become a tedious task of focussed hit and miss, causing restrained stress injury and eyesores. Why was this disabled and can it be restored? I want to be able to just hold the page down button for some time, not using the mouse at all for this. My current task at hand would be a typo fix in 5k files, but want to ask here : Why is [page down] button not working and can it be fixed ASAP please? Clicking More, More, More appr. 30 times is not a valid alternative. Thanks. Peli (talk) 12:32, 17 September 2024 (UTC)
Continued. In settings I raised the loading of new files to max (=100 per click on more) it makes a great step in the right direction. Here picked an example of a large scale operation: Repacing one category by another in [appr 2k files]. (Other typo fixes could easily concern over 10k files.) It's reasonable and legitimate for anybody to want do this in the smoothest and easiest way, to avoid needles repetitive strain. So the question and request is still open: Can page up and down by keyboard be activated please? I see the app runs in a floater with a scroll bar, but why doesn't the scrolling of the page listen to my keyboard? I Use mozilla and tested this in different browser to the same effect. If the window was a docked part of the browser window, would that fix it? I think there might be an antique piece of code or just a setting as solution to fix this bug in the app design. Thanks Peli (talk) 10:03, 31 October 2024 (UTC)
- I would also find this helpful, as well as resuming the automatic display of the next group of files when we do finally get to the end of the current group. Not all of us have mousewheels. Neither this problem nor the one in the previous section is addressed in the documentation. — 🇺🇦Jeff G. ツ please ping or talk to me🇺🇦 15:27, 16 November 2024 (UTC)
- Sometimes we get a button to click MORE to load more files, this button typically jumps up and down. Other times we just get the scrollbar. Pressing and holding down the arrow in scrollbar is as annoying because these target spots to hit keep jumping up and down too. When we finally reach the end of loading a large batch with an ever smaller scrollbar slider, we have to reversly scroll or click all the way up again to prepare and check the planned edits. Why cannot this very useful keyboard button 'go to page top' (pos1) do that simple trick? Peli (talk) 10:46, 19 November 2024 (UTC)