Wikipedia talk:WikiProject Articles for creation/Helper script/Archive 2: Difference between revisions
Content deleted Content added
ClueBot III (talk | contribs) m Archiving 1 discussion from Wikipedia talk:WikiProject Articles for creation/Helper script. (BOT) |
ClueBot III (talk | contribs) m Archiving 1 discussion from Wikipedia talk:WikiProject Articles for creation/Helper script. (BOT) |
||
Line 444:
:::: Cool. Yeah, I'm manually doing it. There's no documentation which could be helpful. -- [[User:Ricky81682|Ricky81682]] ([[User talk:Ricky81682|talk]]) 20:00, 4 December 2015 (UTC)
:::::I just added some documentation, if you're interested. [[User:APerson|APerson]] ([[User talk:APerson|talk!]]) 15:43, 7 December 2015 (UTC)
== Cleaning a Submission ==
There is a function of the AFC Helper Script that cleans or cleans up a submission. What exactly is the effect of this and when should it be done? [[User:Robert McClenon|Robert McClenon]] ([[User talk:Robert McClenon|talk]]) 06:32, 4 December 2015 (UTC)
:It "normalizes" the format of the page. If there's a pending template at the bottom of the draft, it moves it to the top; it also removes extra whitespace, does some formatting fixes, removes some HTML comments, and removes inapplicable templates like {{tl|User sandbox}}. You can see the full code [https://github.com/WPAFC/afch-rewrite/blob/master/src/modules/submissions.js#L490 here]. [[User:APerson|APerson]] ([[User talk:APerson|talk!]]) 13:53, 4 December 2015 (UTC)
|