Stigmj added a comment.

The following shows the behaviour with patch set 8:

  $ python pwb.py fixing_redirects.py -simulate 
-page:"Bruker:Stigmj/Redirect_tests" 
  Retrieving 1 pages from wikipedia:no.
  
  >>> Bruker:Stigmj/Redirect tests <<<
  @@ -1,16 +1,16 @@
  - * [[Bruker:Stigmj/Old title]]
  - * [[bruker:Stigmj/Old title]]
  + * [[Bruker:Stigmj/New title|Bruker:Stigmj/Old title]]
  + * [[Bruker:Stigmj/New title|bruker:Stigmj/Old title]]
  - * [[Bruker:Stigmj/Old title|page_title_upper_linktext_lower]]
  + * [[Bruker:Stigmj/New title|page_title_upper_linktext_lower]]
  - * [[Bruker:Stigmj/Old title|Page_title_upper_Linktext_upper]]
  + * [[Bruker:Stigmj/New title|Page_title_upper_Linktext_upper]]
  - * [[bruker:Stigmj/Old title|page_title_lower_linktext_lower]]
  + * [[Bruker:Stigmj/New title|page_title_lower_linktext_lower]]
  - * [[bruker:Stigmj/Old title|Page_title_lower_Linktext_upper]]
  + * [[Bruker:Stigmj/New title|Page_title_lower_Linktext_upper]]
  - * [[Bruker:Stigmj/Old title]]with_blend_and_page_title_upper
  + * [[Bruker:Stigmj/New title|Bruker:Stigmj/Old 
titlewith]]_blend_and_page_title_upper
  - * [[bruker:Stigmj/Old title]]with_blend_and_page_title_lower
  + * [[Bruker:Stigmj/New title|bruker:Stigmj/Old 
titlewith]]_blend_and_page_title_lower
  - * [[Bruker:Stigmj/Old title|page_title_upper_linktext_lower]]with_blend
  + * [[Bruker:Stigmj/New title|page_title_upper_linktext_lowerwith]]_blend
  - * [[Bruker:Stigmj/Old title|Page_title_upper_Linktext_upper]]with_blend
  + * [[Bruker:Stigmj/New title|Page_title_upper_Linktext_upperwith]]_blend
  - * [[bruker:Stigmj/Old title|page_title_lower_linktext_lower]]with_blend
  + * [[Bruker:Stigmj/New title|page_title_lower_linktext_lowerwith]]_blend
  - * [[bruker:Stigmj/Old title|Page_title_lower_Linktext_upper]]with_blend
  + * [[Bruker:Stigmj/New title|Page_title_lower_Linktext_upperwith]]_blend
  - * [[Bruker:Stigmj/Old title|page_title_upper_linktext_lower]]<nowiki 
/>with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title|page_title_upper_linktext_lower]]<nowiki 
/>with_blend_and_nowiki
  - * [[Bruker:Stigmj/Old title|Page_title_upper_Linktext_upper]]<nowiki 
/>with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title|Page_title_upper_Linktext_upper]]<nowiki 
/>with_blend_and_nowiki
  - * [[bruker:Stigmj/Old title|page_title_lower_linktext_lower]]<nowiki 
/>with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title|page_title_lower_linktext_lower]]<nowiki 
/>with_blend_and_nowiki
  - * [[bruker:Stigmj/Old title|Page_title_lower_Linktext_upper]]<nowiki 
/>with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title|Page_title_lower_Linktext_upper]]<nowiki 
/>with_blend_and_nowiki
  
  @@ -18,16 +18,16 @@
  - * [[Bruker:Stigmj/Old title_with_section]]
  - * [[bruker:Stigmj/Old title_with_section]]
  + * [[Bruker:Stigmj/New title#The section|Bruker:Stigmj/Old 
title_with_section]]
  + * [[Bruker:Stigmj/New title#The section|bruker:Stigmj/Old 
title_with_section]]
  - * [[Bruker:Stigmj/Old title_with_section|page_title_upper_linktext_lower]]
  + * [[Bruker:Stigmj/New title#The section|page_title_upper_linktext_lower]]
  - * [[Bruker:Stigmj/Old title_with_section|Page_title_upper_Linktext_upper]]
  + * [[Bruker:Stigmj/New title#The section|Page_title_upper_Linktext_upper]]
  - * [[bruker:Stigmj/Old title_with_section|page_title_lower_linktext_lower]]
  + * [[Bruker:Stigmj/New title#The section|page_title_lower_linktext_lower]]
  - * [[bruker:Stigmj/Old title_with_section|Page_title_lower_Linktext_upper]]
  + * [[Bruker:Stigmj/New title#The section|Page_title_lower_Linktext_upper]]
  - * [[Bruker:Stigmj/Old title_with_section]]with_blend_and_page_title_upper
  + * [[Bruker:Stigmj/New title#The section|Bruker:Stigmj/Old 
title_with_sectionwith]]_blend_and_page_title_upper
  - * [[bruker:Stigmj/Old title_with_section]]with_blend_and_page_title_lower
  + * [[Bruker:Stigmj/New title#The section|bruker:Stigmj/Old 
title_with_sectionwith]]_blend_and_page_title_lower
  - * [[Bruker:Stigmj/Old 
title_with_section|page_title_upper_linktext_lower]]with_blend
  + * [[Bruker:Stigmj/New title#The 
section|page_title_upper_linktext_lowerwith]]_blend
  - * [[Bruker:Stigmj/Old 
title_with_section|Page_title_upper_Linktext_upper]]with_blend
  + * [[Bruker:Stigmj/New title#The 
section|Page_title_upper_Linktext_upperwith]]_blend
  - * [[bruker:Stigmj/Old 
title_with_section|page_title_lower_linktext_lower]]with_blend
  + * [[Bruker:Stigmj/New title#The 
section|page_title_lower_linktext_lowerwith]]_blend
  - * [[bruker:Stigmj/Old 
title_with_section|Page_title_lower_Linktext_upper]]with_blend
  + * [[Bruker:Stigmj/New title#The 
section|Page_title_lower_Linktext_upperwith]]_blend
  - * [[Bruker:Stigmj/Old 
title_with_section|page_title_upper_linktext_lower]]<nowiki 
/>with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title#The 
section|page_title_upper_linktext_lower]]<nowiki />with_blend_and_nowiki
  - * [[Bruker:Stigmj/Old 
title_with_section|Page_title_upper_Linktext_upper]]<nowiki 
/>with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title#The 
section|Page_title_upper_Linktext_upper]]<nowiki />with_blend_and_nowiki
  - * [[bruker:Stigmj/Old 
title_with_section|page_title_lower_linktext_lower]]<nowiki 
/>with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title#The 
section|page_title_lower_linktext_lower]]<nowiki />with_blend_and_nowiki
  - * [[bruker:Stigmj/Old 
title_with_section|Page_title_lower_Linktext_upper]]<nowiki 
/>with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title#The 
section|Page_title_lower_Linktext_upper]]<nowiki />with_blend_and_nowiki
  
  @@ -35,2 +35,2 @@
  - * [[Bruker:Stigmj/Old title|Bruker:Stigmj/New title]]
  - * [[Bruker:Stigmj/Old title|bruker:Stigmj/New title]]
  + * [[Bruker:Stigmj/New title]]
  + * [[bruker:Stigmj/New title]]
  
  @@ -38,2 +38,2 @@
  - * [[Bruker:Stigmj/Old title|:Bruker:Stigmj/New title]]
  + * [[Bruker:Stigmj/New title|:Bruker:Stigmj/New title]]
  - * [[Bruker:Stigmj/Old title|:bruker:Stigmj/New title]]
  + * [[Bruker:Stigmj/New title|:bruker:Stigmj/New title]]
  
  @@ -41,2 +41,2 @@
  - * [[:Bruker:Stigmj/Old title|:Bruker:Stigmj/New title]]
  + * [[Bruker:Stigmj/New title|:Bruker:Stigmj/New title]]
  - * [[:Bruker:Stigmj/Old title|:bruker:Stigmj/New title]]
  + * [[Bruker:Stigmj/New title|:bruker:Stigmj/New title]]
  
  @@ -44,2 +44,2 @@
  - * [[:Kategori:Test-redirect-kategori]]
  - * [[:kategori:Test-redirect-kategori]]
  + * [[:Kategori:Test-redirect-kategori2|:Kategori:Test-redirect-kategori]]
  + * [[:Kategori:Test-redirect-kategori2|:kategori:Test-redirect-kategori]]
  
  @@ -47,2 +47,2 @@
  - * [[:Kategori:Test-redirect-kategori|:kategori:Test-redirect-kategori2]]
  - * [[:kategori:Test-redirect-kategori|:Kategori:Test-redirect-kategori2]]
  + * [[:kategori:Test-redirect-kategori2]]
  + * [[:Kategori:Test-redirect-kategori2]]


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

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

To: Stigmj
Cc: jayvdb, XZise, Xqt, gerritbot, Aklapper, StudiesWorld, Stigmj, 
pywikibot-bugs-list



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

Reply via email to