The first sentence at Talk pages project/Usability/Prototype#Try the prototype has some exposed wikitext code. Do you know how to fix that?
User talk:Shirayuki
Hi @Shirayuki
could you help me to understand which potential translation issue did you find?
Thanks
It does not contain "$agroup" variable.
right, thanks
Hi! After restoring the main template, could you please restore its documentation page as well? Thanks in advance!
Done
Hello, I looking for the extension author(s).
When launching the upgrade script (php extensions/Contributors/maintenance/PopulateContributorsTable.php
, I get :
Error: Class 'Revision' not found
In the script, this is the line causing the error :
$dbr->bitAnd( 'rev_deleted', Revision::DELETED_USER ) . ' = 0'
➡ How to correct this script please?? 😀😅
Report as a bug on Phabricator.
Bug added here: https://phabricator.wikimedia.org/T306900
- Add
use MediaWiki\Revision\RevisionRecord;
in PopulateContributorsTable.php - Replace
Revision::DELETED_USER
withRevisionRecord::DELETED_USER
Thanks a lot. I'll report a bug on Phabricator.
the replacement did not fix the script.
Error 1054: Unknown column 'rev_user' in 'field list' (localhost)
Unfortunately, nobody wants to update the script. see answer here: https://phabricator.wikimedia.org/T306900
Do you fix at your own risk?
Hi Shirayuki! I saw you reverted by edit on Manual:Schema changes with the summary "boolean unused". I am not sure what you mean by this, as using "boolean" as the type in an abstract schema does work and results in the equivalents detailed in my edit. Could you explain what you mean?
Unused in tables.json.
"generateSchemaSql.php" does not support "boolean"!
It shows the following error message:
Does not have a value in the enumeration ["bigint","binary","blob","datetimetz","float","integer","mwenum","mwtimestamp","mwtinyint","smallint","string","text"]
Thank you, I will update my schema to use an mwtinyint
of length 1.
Hi Shirayuki, I tried to use the type mwtinyint
in my abstract schema, but that gave me the following exception:
Doctrine\DBAL\Exception from line 125 of /Users/xxmarijnwwerk/Documents/Wikis/mediawiki-1.35.6-permissions/vendor/doctrine/dbal/src/Exception.php: Unknown column type "mwtinyint" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then you might have forgotten to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mapping information. #0 /Users/xxmarijnwwerk/Documents/Wikis/mediawiki-1.35.6-permissions/vendor/doctrine/dbal/src/Types/TypeRegistry.php(37): Doctrine\DBAL\Exception::unknownColumnType('mwtinyint') #1 /Users/xxmarijnwwerk/Documents/Wikis/mediawiki-1.35.6-permissions/vendor/doctrine/dbal/src/Types/Type.php(143): Doctrine\DBAL\Types\TypeRegistry->get('mwtinyint') #2 /Users/xxmarijnwwerk/Documents/Wikis/mediawiki-1.35.6-permissions/vendor/doctrine/dbal/src/Schema/Table.php(353): Doctrine\DBAL\Types\Type::getType('mwtinyint') #3 /Users/xxmarijnwwerk/Documents/Wikis/mediawiki-1.35.6-permissions/includes/libs/rdbms/database/DoctrineSchemaBuilder.php(34): Doctrine\DBAL\Schema\Table->addColumn('rule_consequent', 'mwtinyint', Array) #4 /Users/xxmarijnwwerk/Documents/Wikis/mediawiki-1.35.6-permissions/maintenance/generateSchemaSql.php(71): Wikimedia\Rdbms\DoctrineSchemaBuilder->addTable(Array) #5 /Users/xxmarijnwwerk/Documents/Wikis/mediawiki-1.35.6-permissions/maintenance/doMaintenance.php(107): GenerateSchemaSql->execute() #6 /Users/xxmarijnwwerk/Documents/Wikis/mediawiki-1.35.6-permissions/maintenance/generateSchemaSql.php(117): require_once('/Users/xxmarijn...') #7 {main}
I am using MediaWiki 1.35.6 with the maintenance/generateSchemaSql.php
script. Do you know why this might be going wrong?
mwtinyint
was added in MediaWiki 1.36.0. I will update Manual:Schema changes .
I edited the page Manual:$wgCookieExpiration because it used outdated Translate syntax. Specifically, it used <tvar|1></>
instead of <tvar name=1></tvar>
. Why did you think this was undo-worthy?
The page contained wrong markup.
Dear Shirayuki,
I am surprised to see you still segment list outside of bullet points. As you know, this syntax is deprecated since 2020. Plus, this edit made outdated the 14 already done translations. 😠
It was to make updating translations easier.
Because of your trivial edit, many translation units have been invalidated. Update all translations by yourself!
I always update translations doing this kind of edit.
Plus, the translations were already invalidated by your edit.
I have updated translations related to my edit, but you invalidated other translation units.
Thank you for the fix! 🙂 I am handling other invalidation caused by me.
Hello! As an active Japanese translator, I'd like you to review translations from User:Marimonomori.
See Topic:Wq08keqe2of4ablz for background and examples. Let me know if we need to take action to prevent this user from translating contents.
Thankyou.I take a rest to make better translation.
Hello, would you be able to finish translating this instruction? This will be the last prototype of the Desktop Improvements. Thank you!
Hi, thank you for your edits. We've added one question. Could you translate it as well? Also, if you like, you can answer the questions at any time, before we set up the banners.
What do you make of this:
phabricator.wikimedia.org/diffusion/MWDU/history/master/