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

FilesGenerator #101

Merged
merged 3 commits into from
Aug 27, 2023
Merged

Conversation

ashotjanibekyan
Copy link
Contributor

A new generator similar to LinkGenerator but for files (example). List generators returns files only of they are used as a link, like [[:File:Image.svg]], not when the files is used as a file like [[File:Image.svg]].

@@ -53,7 +52,9 @@ public LinksGenerator(WikiSite site, WikiPageStub pageStub) : base(site, pageStu
{
return new Dictionary<string, object?>
{
{"plnamespace", NamespaceIds == null ? null : MediaWikiHelper.JoinValues(NamespaceIds)}, {"pllimit", PaginationSize}, {"pltitles", MatchingTitles == null ? null : MediaWikiHelper.JoinValues(MatchingTitles)},
{"plnamespace", NamespaceIds == null ? null : MediaWikiHelper.JoinValues(NamespaceIds)},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just formatting, no meaningful changes.

@CXuesong
Copy link
Owner

Thanks for the contribution!

I've just done some maintenance work. Please make an empty push (or merge / rebase to the latest source branch) to your working branch to trigger the CI process.

@CXuesong CXuesong enabled auto-merge (squash) August 27, 2023 16:39
@CXuesong CXuesong merged commit 94b9c6c into CXuesong:master Aug 27, 2023
@ashotjanibekyan ashotjanibekyan deleted the feature/FilesGenerator branch August 27, 2023 16:53
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

Successfully merging this pull request may close these issues.

2 participants