From Meta, a Wikimedia project coordination wiki

I cannot vote[edit]

I have been trying to hit the vote button for Turkmen's Steward campaign, but the message will not show up. Is my account not actually eligible to vote or is it something else? GoutComplex (talk) 15:11, 6 February 2024 (UTC)Reply[reply]

@GoutComplex: You could try to manually cast a voce clicking on "Edit" if you're not able to see the script (maybe your javascript is disabled) :) --Superpes15 (talk) 15:14, 6 February 2024 (UTC)Reply[reply]
@GoutComplex: Ah, just noticed, the right page is this one :) Superpes15 (talk) 15:16, 6 February 2024 (UTC)Reply[reply]
Some users had such problems last year as well. The peculiarity is that all these users had few or 0 local edits. I think this happening because users are not autoconfirmed. In this case, need to add vote manually, through "Edit", yes. ❄️Mykola❄️ 15:21, 6 February 2024 (UTC)Reply[reply]

Adding comments and quotes by the visual editor[edit]

I don't have the button to add comments and quotes. I really need this, and I'm pretty new to using mediaWiki. Would appreciate help. Nchmn (talk) 21:43, 12 February 2024 (UTC)Reply[reply]

Question about using the MediaWiki API to edit pages[edit]

I want to use the MediaWiki API to edit pages. And when:

  • My query parameters include "token" (CSRF token), it told me "The following parameter was found in the query string, but must be in the POST body: token."
  • When I move it to the body of the POST, 'The "token" parameter must be set.'
  • No matter how I use it, it responds with a 301 error.

Is it something wrong with the server? Or my code... The content below is my code(in Dart):

final headers = {
  'User-Agent': 'WikiApp/1.0 contact: [email]',
  'Authorization': 'Bearer $credentials', 
final code = await
      scheme: 'https',
      host: fullServerName,
      path: '${wgScriptPath}api.php',
      queryParameters: {
        'action': 'query',
        'meta': 'tokens',
        'format': 'json',
var data = code.body;
final Map wikiTOC = jsonDecode(data);
String token = wikiTOC['query']['tokens']['csrftoken'];
final apiUrl = Uri(
  scheme: 'https',
  host: wgServer,
  path: '${wgScriptPath}api.php',
  queryParameters: {
    'action': 'edit',
    'format': 'json',
    'title': PageName,
    'summary': 'Edited via MyApp',
    'text': textContent,
    'token': token,

final response = await
  headers: headers,

--Creamycd (talk) 06:44, 17 February 2024 (UTC)Reply[reply]

By the way, the full code has been MITed to GitHub--Creamycd (talk) 08:58, 17 February 2024 (UTC)Reply[reply]

Sorry, wrong place --Creamycd (talk) 09:01, 17 February 2024 (UTC)Reply[reply]

OOUI\Exception: OOUI\Theme::singleton was called with no singleton theme set.[edit]

I pulled mediawiki:latest docker desktop.

I received the notification: "You've just made your tenth edit; thank you, and please keep going!".

When I click on it I see the following error:


Fatal error:  OOUI\Exception: OOUI\Theme::singleton was called with no singleton theme set. in /var/www/html/vendor/oojs/oojs-ui/php/Theme.php:31 Stack trace: #0 /var/www/html/vendor/oojs/oojs-ui/php/Element.php(259): OOUI\Theme::singleton() #1 /var/www/html/vendor/oojs/oojs-ui/php/Tag.php(507): OOUI\Element->toString() #2 /var/www/html/extensions/VisualEditor/includes/Hooks.php(244): OOUI\Tag->__toString() #3 /var/www/html/includes/HookContainer/HookContainer.php(161): MediaWiki\Extension\VisualEditor\Hooks->onTextSlotDiffRendererTablePrefix(Object(TextSlotDiffRenderer), Object(RequestContext), Array) #4 /var/www/html/includes/HookContainer/HookRunner.php(1334): MediaWiki\HookContainer\HookContainer->run('TextSlotDiffRen...', Array) #5 /var/www/html/includes/diff/TextSlotDiffRenderer.php(273): MediaWiki\HookContainer\HookRunner->onTextSlotDiffRendererTablePrefix(Object(TextSlotDiffRenderer), Object(RequestContext), Array) #6 /var/www/html/includes/diff/DifferenceEngine.php(942): TextSlotDiffRenderer->getTablePrefix(Object(RequestContext), Object(MediaWiki\Title\Title)) #7 /var/www/html/includes/diff/DifferenceEngine.php(928): DifferenceEngine->showTablePrefixes() #8 /var/www/html/includes/page/Article.php(979): DifferenceEngine->showDiffPage(false) #9 /var/www/html/includes/page/Article.php(490): Article->showDiffPage() #10 /var/www/html/includes/actions/ViewAction.php(78): Article->view() #11 /var/www/html/includes/MediaWiki.php(583): ViewAction->show() #12 /var/www/html/includes/MediaWiki.php(363): MediaWiki->performAction(Object(Article), Object(MediaWiki\Title\Title)) #13 /var/www/html/includes/MediaWiki.php(960): MediaWiki->performRequest() #14 /var/www/html/includes/MediaWiki.php(613): MediaWiki->main() #15 /var/www/html/index.php(50): MediaWiki->run() #16 /var/www/html/index.php(46): wfIndexMain() #17 {main} in /var/www/html/vendor/oojs/oojs-ui/php/Tag.php on line 509

I Googled it and it sent me to

but that line was already in my version of that file.

MediaWiki 1.41.0 PHP 8.1.27 (apache2handler) ICU 72.1 SQLite 3.40.1

How can I fix this error?

I added:

$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cdt'] = 1;
$wgDefaultUserOptions['usebetatoolbar-source'] = 1;
$wgDefaultUserOptions['usebetatoolbar-diff'] = 1;
$wgDefaultUserOptions['usebetatoolbar-wikitext'] = 1;

to LocalSettings.php but that did nothing as far as I can see.

Polygnotus (talk) 15:39, 4 March 2024 (UTC)Reply[reply]