Talk:WikimediaDebug

Rendered with Parsoid
From Wikitech

Extension

The ?forceprofiling is not a default of MediaWiki, were can we find the extension source code that enables this parameter?  Preceding unsigned comment added by YOUR1 (talkcontribs) 12:12, 18 December 2018 (UTC)Reply

It's not an extension. The parameter is handled in profiler.php, which Wikimedia has configured to be loaded via PHP's auto-prepend-file ini setting (more specifically, auto-prepend-file is set to load PhpAutoPrepend.php, which in turn loads profiler.php) to turn on XHProf before MediaWiki starts loading. That file also indirectly sets $wgProfiler so the profiling data later gets handled properly by MediaWiki. Anomie (talk) 14:26, 18 December 2018 (UTC)Reply

Adding "mwdebug1003.eqiad.wmnet" to the X-Wikimedia-Debug browser extension list?

Hey 👋🏽

While I was reading the docs, I noticed that there are currently 5 servers reserved for X-Wikimedia-Debug but the browser extension only shows 4 of them (which excludes: mwdebug1003.eqiad.wmnet (reimaged to stretch on 2020-02-11) at the moment). Should this server be added to the X-Wikimedia-Debug extension list or was it left out on purpose?

I'm currently using X-Wikimedia-Debug browser extension on Firefox, not sure if this is the same situation on Google Chrome. Cc User:BryanDavis & User:Krinkle

Thank you. --Alangi Derick (talk) 00:14, 30 April 2021 (UTC)Reply

@Alangi Derick: Hi, the WikimediaDebug extension no longer has a hardcoded list of servers. It fetches it on-demand from noc.wikimedia.org based on the currently active debug servers. The mwdebug1003 server was, as such, naturally in the list when it needed to be. But, it has since been decommisioned, and thus isn't in the browser menu today. See also phab:T267248. --Krinkle (talk) 02:45, 30 April 2021 (UTC)Reply
@User:Krinkle, thank you very much for your response. It's clear now. --Alangi Derick (talk) 09:42, 30 April 2021 (UTC)Reply