[Pywikipedia-bugs] [Maniphest] [Commented On] T123287: Make fixing_redirects.py not use linktext as an option

2016-01-19 Thread Stigmj
Stigmj added a comment.

Examples from running:

Without "-nolinktext":

  $ 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]]with_blend_and_nowiki
  + * [[bruker:Stigmj/New title|page_title_upper_linktext_lower]]with_blend_and_nowiki
  - * [[Bruker:Stigmj/Old title|Page_title_upper_Linktext_upper]]with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title|Page_title_upper_Linktext_upper]]with_blend_and_nowiki
  - * [[bruker:Stigmj/Old title|page_title_lower_linktext_lower]]with_blend_and_nowiki
  + * [[bruker:Stigmj/New title|page_title_lower_linktext_lower]]with_blend_and_nowiki
  - * [[bruker:Stigmj/Old title|Page_title_lower_Linktext_upper]]with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title|Page_title_lower_Linktext_upper]]with_blend_and_nowiki
  
  @@ -18,16 +18,16 @@
  - * [[Bruker:Stigmj/Old title_with_section]]
  - * [[bruker:Stigmj/Old title_with_section]]
  - * [[Bruker:Stigmj/Old title_with_section|page_title_upper_linktext_lower]]
  - * [[Bruker:Stigmj/Old title_with_section|Page_title_upper_Linktext_upper]]
  - * [[bruker:Stigmj/Old title_with_section|page_title_lower_linktext_lower]]
  - * [[bruker:Stigmj/Old title_with_section|Page_title_lower_Linktext_upper]]
  + * [[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/New title#The 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/New title#The section|bruker:Stigmj/Old 
title_with_section]]
  - * [[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/Old 
title_with_section|Page_title_upper_Linktext_upper]]with_blend
  - * [[bruker:Stigmj/Old 
title_with_section|page_title_lower_linktext_lower]]with_blend
  - * [[bruker:Stigmj/Old 
title_with_section|Page_title_lower_Linktext_upper]]with_blend
  - * [[Bruker:Stigmj/Old 
title_with_section|page_title_upper_linktext_lower]]with_blend_and_nowiki
  - * [[Bruker:Stigmj/Old 
title_with_section|Page_title_upper_Linktext_upper]]with_blend_and_nowiki
  - * [[bruker:Stigmj/Old 
title_with_section|page_title_lower_linktext_lower]]with_blend_and_nowiki
  - * [[bruker:Stigmj/Old 
title_with_section|Page_title_lower_Linktext_upper]]with_blend_and_nowiki
  + * [[Bruker:Stigmj/New title#The section|Bruker:Stigmj/Old 
title_with_sectionwith]]_blend
  + * [[Bruker:Stigmj/New title#The section|Bruker:Stigmj/Old 
title_with_sectionwith]]_blend
  + * [[bruker:Stigmj/New title#The section|bruker:Stigmj/Old 
title_with_sectionwith]]_blend
  + * [[bruker:Stigmj/New title#The 

[Pywikipedia-bugs] [Maniphest] [Commented On] T123287: Make fixing_redirects.py not use linktext as an option

2016-01-12 Thread gerritbot
gerritbot added a subscriber: gerritbot.
gerritbot added a comment.

Change 263420 had a related patch set uploaded (by Mpaa):
Added -nolinktext and -always to script

https://gerrit.wikimedia.org/r/263420


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

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

To: Stigmj, gerritbot
Cc: gerritbot, Aklapper, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T123287: Make fixing_redirects.py not use linktext as an option

2016-01-11 Thread Stigmj
Stigmj added a comment.

I have made a patch for this:

https://gerrit.wikimedia.org/r/263420


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

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

To: Stigmj
Cc: Aklapper, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs