Anomie moved this task from Needs details or plan to Needs Code on the 
MediaWiki-API board.
Anomie added a comment.


  So probably the most consistent thing to do here is to pass it through 
`Title::newFromText( $value, NS_USER )` (then get the IP back out with 
`->getText()`), like `User::getCanonicalName()` does for registered user names, 
before running the regexes to determine if it's an IP.

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/200/

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

To: Anomie
Cc: Xqt, Anomie, Aklapper, Zoranzoki21, pywikibot-bugs-list, WDoranWMF, 
holger.knust, EvanProdromou, DannyS712, Amorymeltzer, Sethakill, dg711, 
Agabi10, Pchelolo, jayvdb, Legoktm
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to