Last edited 5 months ago
by Robert Vogel

AutoDoc:NSFileRepo: Difference between revisions

m (1 revision imported)
forge>Unknown user
No edit summary
Line 23: Line 23:
{{AutoDocListItem
{{AutoDocListItem
|item = DrawioEditor
|item = DrawioEditor
}}
{{AutoDocListItem
|item = EnhancedStandardUIs
}}
}}
{{AutoDocListItem
{{AutoDocListItem
|item = EnhancedUpload
|item = EnhancedUpload
}}
}}
==DefaultUserOptions==
{{AutoDocDefaultUserOptions
|options = {{AutoDocOption
|name = filelist-show-namespace_text
|value = <nowiki>1</nowiki>
}}
}}
}}
}}
Line 65: Line 75:
|Hooks = {{AutoDocCallback
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = NSFileRepoHooks::onBeforePageDisplay
|callback = NSFileRepoHooks::onBeforePageDisplay, specialFilelistAvailableNamespaces
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences GetPreferences]
|callback = userpreference
}}
}}
{{AutoDocCallback
{{AutoDocCallback
Line 74: Line 88:
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ImgAuthBeforeStream ImgAuthBeforeStream]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ImgAuthBeforeStream ImgAuthBeforeStream]
|callback = NSFileRepoHooks::onImgAuthBeforeStream
|callback = NSFileRepoHooks::onImgAuthBeforeStream
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonWebAPIsQueryStoreResult MWStakeCommonWebAPIsQueryStoreResult]
|callback = addNamespaces
}}
}}
{{AutoDocCallback
{{AutoDocCallback

Revision as of 14:50, 10 July 2024

DescriptionMsg

Provide namespace based features to uploaded files

License

GPL-2.0-or-later

Requirements

  • MediaWiki: 1.39.0

IntegratesInto

  • CognitiveProcessDesigner
  • DrawioEditor
  • EnhancedStandardUIs
  • EnhancedUpload

DefaultUserOptions

User options

Name Value
filelist-show-namespace_text 1

Config

Configuration

Name Value
ForceDownload array ( 0 => 'js', 1 => 'css', 2 => 'xml', 3 => 'html', 4 => 'htm', 5 => 'xhtml', )
NamespaceBlacklist array ( 0 => 102, 1 => 104, 2 => 106, 3 => 108, 4 => 274, 5 => 828, )
NamespaceThreshold 100
SkipTalk true

Hooks

Hooks