Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki content warning: External embedded images/files #50

Open
LogicAndTrick opened this issue Apr 23, 2021 · 2 comments
Open

Wiki content warning: External embedded images/files #50

LogicAndTrick opened this issue Apr 23, 2021 · 2 comments

Comments

@LogicAndTrick
Copy link
Owner

Create new warning types in the content warnings page (https://twhl.info/wiki-special/maintenance-content) to produce warnings for:

  • Embedded images from external websites
    • For example, images uploaded to imgur (external images can break)
  • Links to external files by extension type (zip, rar, 7z, jpg, jpeg, png, gif, bsp, mdl, spr)
    • May be ok, but also often these files should be hosted in the vault/wiki to avoid broken links
@oskarlh
Copy link
Contributor

oskarlh commented Mar 27, 2022

If you want to reduce the number of external images, it would help if it was easier to paste images. I didn't even know you could paste images until someone told me recently, because if you copy an image file and try to paste that, it doesn't work, you can only paste image data (rectangles of pixels). It's because of this code here. The paste event listener gets called but it doesn't handle file pasting correctly:

document.addEventListener('paste', async event => {

Edit 2024: Created a PR for this #99

@oskarlh
Copy link
Contributor

oskarlh commented Apr 4, 2022

This tutorial has a little zip file download hosted at MediaFire I think would be good to have hosted in the wiki instead https://twhl.info/wiki/page/Tutorial%3A_How_to_Make_HD_1080p_Backgrounds_for_HL1Goldsrc_Games
The address ( http://www.mediafire.com/file/vvfur2kasdiuv52/HD_Background_template.zip/file ) does not end with the file extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants