[02:11:08] I have an api question [02:11:33] I'm trying to find mediawiki:undo-summary for serbian wikipedia [02:11:39] https://sr.wikipedia.org/wiki/%D0%9F%D0%BE%D1%81%D0%B5%D0%B1%D0%BD%D0%BE:API_%D0%BF%D0%B5%D1%81%D0%B0%D0%BA#action=query&format=json&list=allpages&apprefix=undo-summary&apnamespace=8 [02:11:46] https://sr.wikipedia.org/wiki/%D0%9C%D0%B5%D0%B4%D0%B8%D1%98%D0%B0%D0%B2%D0%B8%D0%BA%D0%B8:Undo-summary [02:11:56] the page exists, but I can't find it in the api [07:01:16] Hi, I set NamespaceProtection in config file, now no one can edit namespace, even when explicitly allowed. Any ideas where did I go wrong? Do I have to use existing "right name" or can I put anything in there like on the website? [07:01:17] https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection#LocalSettings.php$wgNamespaceProtection[NS_MAIN] = array( 'edit-main' ); $wgGroupPermissions['sysop']['edit-main'] = true; $wgGroupPermissions['Main']['edit-main'] = true; [07:02:01] https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection#LocalSettings.php --------$wgNamespaceProtection[NS_MAIN] = array( 'edit-main' ); -------- $wgGroupPermissions['sysop']['edit-main'] = true; -------- $wgGroupPermissions['Main']['edit-main'] = true; [12:51:04] any BlueSpice gurus here? [14:01:33] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:51:18] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @Lucas_WMDE & @James_F - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [16:13:07] Hi - VisualEditor handles core MediaWiki variables like {{PAGENAME}} correctly, but it's not handling variables from my extension (MintyDocs) correctly - it thinks they're all templates. [16:13:33] Is there any way to get VisualEditor that a certain variable is a variable and not a template? [16:14:41] (get VisualEditor to know) [16:23:15] i think it handles the core variables like templates too [16:26:03] MatmaRex: well, you can click on them and get the template editor, but when they're just displayed in the editor, their value is shown. For MintyDocs editors, just the variable name and the jigsaw icon are shown. [16:26:47] So maybe I'm asking the wrong question. Really, I want to know: how do I get my extension's variables to have their values displayed in VE? [16:28:42] hmm. do the variables "look at" the rest of the page to render their contents? when VE renders them, it only passes the variable's wikitext to the API, without the rest of the page [17:17:40] MatmaRex: sorry, I missed your question before. No - they only make use of what's contained in the page_props table.