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

Use transclusion to include feeds on pages #29

Closed
fako opened this Issue Jan 11, 2017 · 4 comments

Comments

Projects
None yet
1 participant
@fako
Owner

fako commented Jan 11, 2017

When people want to place a feed on their user page they should transclude the User:Wiki Feed Bot/include-feed page.

Once a day WikiFeed will do the following:

  1. Find all pages that transclude the include-feed page in the user namespace
  2. Parse the template to see which parameters should get used
  3. Store which page wants to include which feed with which parameters if it hasn't been stored or update parameters if parameters changed
  4. Check revisions of each page where the template was added or changed to make sure that the template was added/changed by the user owning that page
  5. For each template that is approved (e.g. user wants this template) place the feed on the page where the template is used.

Part of the template page should be a link that refreshes the feed. This allows users to make changes to the templates and see the results. Step 4 to 5 should be executed before updates in this way take place.

Any maliciously placed feeds should be reported on the talk page of the user. This gives the user the opportunity to remove the template and/or report abuse.

Any parsing problems that occur during the parsing of the template should be reported on the feed page if the feed was approved by the user.

@fako fako added this to the first-release milestone Jan 11, 2017

@fako fako changed the title from Prevent vandalism through the feed to Use transclusion to include feeds on pages Jan 11, 2017

@fako fako added this to Todo in Wiki Feed Feb 1, 2017

@fako fako added the feature label Feb 1, 2017

@fako

This comment has been minimized.

Show comment
Hide comment
@fako

fako Feb 22, 2017

Owner
  • create a community that can list all pages transcluding the feed
  • extend community to check revisions that add or change the feed and approve feeds
  • extend community to parse parameters correctly
  • extend community to manifest the relevant recent-changes community manifestations
  • extend community to login the bot if there are any approved feeds
  • extend community to update the pages using the correct manifestations
Owner

fako commented Feb 22, 2017

  • create a community that can list all pages transcluding the feed
  • extend community to check revisions that add or change the feed and approve feeds
  • extend community to parse parameters correctly
  • extend community to manifest the relevant recent-changes community manifestations
  • extend community to login the bot if there are any approved feeds
  • extend community to update the pages using the correct manifestations
@fako

This comment has been minimized.

Show comment
Hide comment
@fako

fako Feb 22, 2017

Owner

Later this should change into an update based community just like the wiki-feed community.

Owner

fako commented Feb 22, 2017

Later this should change into an update based community just like the wiki-feed community.

@fako

This comment has been minimized.

Show comment
Hide comment
@fako

fako Feb 22, 2017

Owner

Later this new community should get module definitions from User:Wiki_Feed_Bot/modules and set them as config for a new type of processor that parses and executed these as hooks.

Owner

fako commented Feb 22, 2017

Later this new community should get module definitions from User:Wiki_Feed_Bot/modules and set them as config for a new type of processor that parses and executed these as hooks.

@fako fako moved this from Todo to In progress in Wiki Feed Mar 4, 2017

@fako fako moved this from In progress to Beta in Wiki Feed Mar 19, 2017

@fako fako moved this from Beta to Release in Wiki Feed Mar 30, 2017

@fako

This comment has been minimized.

Show comment
Hide comment
@fako

fako Apr 20, 2017

Owner

Live on labs

Owner

fako commented Apr 20, 2017

Live on labs

@fako fako closed this Apr 20, 2017

@fako fako removed this from Release in Wiki Feed Jul 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment