[Bug 27925] Timestamp for file upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=27925 --- Comment #8 from Subfader subfa...@gmail.com 2011-03-09 09:45:30 UTC --- I agree it may not be of general use tho. Somebody feel free to close this. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 27925] Timestamp for file upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=27925 Bawolff bawolff...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Comment #9 from Bawolff bawolff...@gmail.com 2011-03-09 23:20:33 UTC --- Ok. Closing as wontfix. If anyone does come up with a general use case, please feel free to re-open. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 27925] Timestamp for file upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=27925 Krinkle krinklem...@gmail.com changed: What|Removed |Added CC||krinklem...@gmail.com --- Comment #1 from Krinkle krinklem...@gmail.com 2011-03-08 10:43:00 UTC --- Although I think it's fairly simple to implement, there are many magic words that could be implemented with ease, but without a good use case it would just end up with a big mess. Can you provide an example use case for this (fictitious is okay, but real one would be preferred) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 27925] Timestamp for file upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=27925 --- Comment #2 from Subfader subfa...@gmail.com 2011-03-08 11:34:19 UTC --- I'd use it to enable 100% proper hotlinking use of my wiki images I created a feature to copy an image to a static destination where images are never renamed or deleted As described in #27917 https://bugzilla.wikimedia.org/show_bug.cgi?id=27917 I'd like to add the tiemstamp of teh file revision (= upload date in the history table, not the last page edit date) to ensure that files are not overwritten. Using {{REVISIONTIMESTAMP}} does work for this case since a file re-upload creates a new {{REVISIONTIMESTAMP}}. But it's not 100% correct when the page is edited after first upload and then copied to the static destination. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 27925] Timestamp for file upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=27925 --- Comment #3 from Krinkle krinklem...@gmail.com 2011-03-08 11:42:48 UTC --- (In reply to comment #2) I'd use it to enable 100% proper hotlinking use of my wiki images I created a feature to copy an image to a static destination where images are never renamed or deleted This feature is not in the wiki itself, right ? Why do you need a {{FILEREVISIONTIMESTAMP}} in the wiki articles ? Why do you even need a timestamp for that, and if you needed, how does knowing the timestamp of the latest revision in the wiki help that ? As for hotlinking in general, see my comment in bug 27917. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 27925] Timestamp for file upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=27925 --- Comment #4 from Subfader subfa...@gmail.com 2011-03-08 12:38:15 UTC --- (In reply to comment #3) This feature is not in the wiki itself, right ? Why do you need a {{FILEREVISIONTIMESTAMP}} in the wiki articles ? I pass it as URL parameter to a script that copies files in a static destination. Why do you even need a timestamp for that, and if you needed, how does knowing the timestamp of the latest revision in the wiki help that ? As for hotlinking in general, see my comment in bug 27917. I add that timestamp URL parameter to the filename. If the file is re-uploaded it will create a new copy instead of overwriting the previously created one. As said, {{REVISIONTIMESTAMP}} does that too but is not 100% correct. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 27925] Timestamp for file upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=27925 --- Comment #5 from Krinkle krinklem...@gmail.com 2011-03-08 21:44:00 UTC --- I get that you add that to the filename, so you need the timestamp in your image-copy script. Why do you need it on-wiki ? The only page where that magic word would return that timestamp is on the file-page itself, and there the image is already shown anyway. And for what it's worth, re-uploading should only rarely occur. In general different version of a work should be uploaded as seperate files. re-uploading is only needed (atleast on the wikis I use) to fix bugs, correct typos, etc. those kind of things. In other words: useful to not have the image link to the exact version and instead auto-correct. Anyone else following the bug stream: What do you think about this magic word ? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 27925] Timestamp for file upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=27925 Bawolff bawolff...@gmail.com changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #7 from Bawolff bawolff...@gmail.com 2011-03-09 00:25:01 UTC --- If the only use case is to do some fancy templating to work with some customization that one person did to their wiki, sounds like it should be implemented as an extension. If there is a more general use case for such a magicword that's not dependant on running some form of custom code, then it'd make more sense to implement in core. So as it stands, I think this is more suited to an extension. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l