Last edited 5 months ago
by Robert Vogel

AutoDoc:NSFileRepo: Difference between revisions

hw>Unknown user
No edit summary
 
m (1 revision imported)
 
(4 intermediate revisions by 4 users not shown)
Line 19: Line 19:
{{AutoDocIntegratesInto
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|into = {{AutoDocListItem
|item = CognitiveProcessDesigner
}}
{{AutoDocListItem
|item = DrawioEditor
}}
{{AutoDocListItem
|item = EnhancedStandardUIs
}}
{{AutoDocListItem
|item = EnhancedUpload
|item = EnhancedUpload
}}
}}
==DefaultUserOptions==
{{AutoDocDefaultUserOptions
|options = {{AutoDocOption
|name = filelist-show-namespace_text
|value = <nowiki>1</nowiki>
}}
}}
}}
}}
Line 59: 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 68: 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

Latest 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