Anomie edited projects, added MobileFrontend, Readers-Web-Backlog; removed Core 
Platform Team, MediaWiki-extensions-CentralAuth.
Anomie added a comment.


  This has nothing directly to do with CentralAuth. The logic that mangles URLs 
for mobile domains belongs to #MobileFrontend 
<https://phabricator.wikimedia.org/tag/mobilefrontend/>, specifically it's in 
`MobileContext::getMobileUrl()` and its downstream methods.
  
    anomie@mwmaint1002:~$ mwscript shell.php --wiki=enwiki
    Psy Shell v0.9.12 (PHP 7.2.26-1+0~20191218.33+debian9~1.gbpb5a340+wmf1 — 
cli) by Justin Hileman
    >>> $wiki = WikiMap::getWiki( 'wikidatawiki' );
    => WikiReference {#5960}
    >>> $url = $wiki->getFullUrl( 'Special:CentralAutoLogin/start' );
    => "//www.wikidata.org/wiki/Special:CentralAutoLogin/start"
    >>> MobileContext::singleton()->getMobileUrl( $url )
    => "//www.m.wikidata.org/wiki/Special:CentralAutoLogin/start"
  
  Digging a little deeper, it seems to assume that every URL being mangled can 
use the local value for `$wgMobileUrlTemplate` rather than determining the 
mangling based on the //target// domain.
  
  Poking to #readers-web-backlog 
<https://phabricator.wikimedia.org/tag/readers-web-backlog/> as the owner of 
#mobilefrontend <https://phabricator.wikimedia.org/tag/mobilefrontend/>.

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

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

To: Anomie
Cc: WDoranWMF, Anomie, Stryn, Addshore, Reedy, Jonas, Jakob_WMDE, Legoktm, hoo, 
csteipp, vvv, Framawiki, Lydia_Pintscher, WMDE-leszek, Aklapper, Pablo-WMDE, 
darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, mojoaxel, GoranSMilovanovic, 
QZanden, LawExplorer, Winter, JJMC89, _jensen, rosalieper, Agabi10, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331, Rxy, holger.knust, EvanProdromou, wildly_boy, 
Pchelolo, Wong128hk, Snowolf, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to