Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

wikimedia/mediawiki-extensions-AControlImageLink

Repository files navigation

This extension prevents[[File:Something.pdf|thumb]] from rendering on the pages if all of the following is true:

  1. pdf is listed in$wgAControlImageLinkRestrictedExtensions array:
$wgAControlImageLinkRestrictedExtensions = ['pdf' ],
  1. File:Something.pdf has<accesscontrol> tag,
  2. Article that includes[[File:]] syntax either doesn't have<accesscontrol> tag,or its<accesscontrol> tag is different from<accesscontrol> onFile:Something.pdf.

If thumbnailing was prevented, an image link will be shown instead of thumbnail.

Why is this needed

For example, a wiki might want to display a page from PDF book,but also show some disclaimers or something on the same page as PDF thumbnail.

This extension can be used to prevent including this PDF book to pages which are not markedas pages where this PDF book can be included.

(you can allow it by adding<accesscontrol> tag toFile:Something.pdf and article)

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp