This extension is specially tailored for https://vowi.fsinf.at/, depends on Attachments and FlexiblePrefix and does the following:
- hooks into FlexiblePrefix to display attachment counts and if an LVA is outdated
- prepends FlexiblePrefix to every LVA page (the prefix is everything up to the LVA type)
- provides
Special:AddLVAto create LVA pages - provides
Special:Resources(likeSpecial:FlexiblePrefixbut shows attachments) - customizes attachments sorting, so that correctly formatted dates (
2020,2020W,2020S,2020-01-28) are sorted newest to oldest - hooks into the edit form to preload configurable text when creating LVAs (
MediaWiki:editformpreload-lva) and Beispiel pages (MediaWiki:editformpreload-beispiel) - provides
Special:CourseByIdwhich redirects you to a LVA page given its course id and namespace (requires Semantic MediaWiki). - provides vastly improved search autocompletion (
$wgSearchType = 'VoWiSearch';), requires Extension:TitleKey- subpages are excluded (except if the search query includes a slash)
- case-insensitive due to Extension:TitleKey
- pages in
$wgOutdatedLVACategoryare demoted - pages in
$wgUniNamespacesare preferred over files - supports matches in the middle of titles (except for files)
- indexes abbreviations set with
{{ABBREVIATION:<text>}}
- provides a
<searchinput>tag to put a search input with autocompletion on a page - provides a
#tossparser function - provides a
#navdisplaytitleparser function, that only works on_Navnamespaces
For an examplary configuration, refer to ExampleLocalSettings.php.
This extension replaces SimilarNamedArticlesHeader, CreatePage and NewArticleTemplate by Mathias Ertl.