-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use WikiProject banner shell on draft talk pages (#365)
* allow es6 in test files (since they use node) * make existing test strings multi-line, for readability * add banner shell if needed * Use WikiProject banner shell on draft talk pages - Fix #319 Implement WP:PIQA (put the article's class rating in the banner shell instead of in the wikiproject templates) - Fix #73 Multiple WikiProject banners should be collapsed in {{WikiProject banner shell}} - In unit tests, switch from single quotes to backticks, for increased multi-line readability. * fix linter errors * fix regex bug * add a banner shell, even if there's only 1 wikiproject * handle existing banner shell * remove extra line breaks between banners * add test case * add template redirect I saw in the wild today * add test. mark it as skipped since it's failing * tweak comments * completely rewrite AFCH.addTalkPageBanners() * get rid of "X banners added" edit summary code. simplifies things * remove 3 unused parameters from AFCH.addTalkPageBanners * fix linter errors * simplify AFCH.addTalkPageBanners return values
- Loading branch information
1 parent
d4d8ef6
commit 655a71a
Showing
4 changed files
with
343 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.