Dalba added a comment.

I hope this is not too much to ask, but Ideally, when the bot archives a level 
3 header, it should archive it under a level 2 header with the same title.

For example, consider the following case:

The main page content is like:

  == h21 ==
  
  === h31 ===
  archive me. ~~~~
  
  
  == h22 ==
  
  === h32 ===
  archive me. ~~~~

The archive content is like:

  == h21 ==
  
  === h30 ===
  archive me. ~~~~
  
  
  == h22 ==
  
  === h30 ===
  archive me. ~~~~

The new archive should look like:

  == h21 ==
  
  === h30 ===
  previously archived. ~~~~
  
  === h31 ===
  archive me. ~~~~
  
  
  == h22 ==
  
  === h30 ===
  previously archived. ~~~~
  
  === h32 ===
  archive me. ~~~~

Of-course doing this requires parsing of the archive page.


TASK DETAIL
  https://phabricator.wikimedia.org/T119791

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: murfel, Dalba
Cc: gerritbot, jayvdb, zhuyifei1999, Aklapper, StudiesWorld, 
pywikibot-bugs-list, Dalba, Jay8g



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to