User talk:Desu
About Copyright of Ylvapedia
Hello! Please review, if you would kindly spare your time, Ylvapedia:Copyrights, and if potentially viable, change the page according to your/the management team's understanding.
Since users are beginning to upload in-game images on to Ylvapedia, which might contradict with the licensing agreement by Noa, I fear repercussion could happen due to these actions. I hope it is not too ignorant of me to produce a raw draft of this page to present to you for discussion. --Inno (talk) 03:07, 19 December 2024 (UTC)
I need user CSS
Hi Desu, I am Neko Knight and I am using your wiki. I do not use Discord, so I will contact you on the talk page. My purpose is, I would like to enable user CSS.
Because Mediawiki version has introduced 1.3.10 and the stipulated value is false. https://www.mediawiki.org/wiki/Manual:$wgAllowUserCss
Please, it's very inconvenient if I can't use user CSS! I mean, am I right to contact Desu? I'm sorry if I'm wrong!
Translated from Japanese at DeepL. --Neko Knight (talk) 16:47, 7 January 2025 (UTC)
- Good day, Neko Knight, and thank you for reaching out. My user talk page is a suitable place to reach out to me for issues such as these, and I'm glad I can assist you. I have went ahead and enabled $wgAllowUserCss, feel free to let me know if you need any further assistance and thank you for taking the time to translate your request, too! --Desu (talk) 19:12, 7 January 2025 (UTC)
- I confirm that the user CSS is now enabled. Appreciate your quick work! Thanks! --Neko Knight (talk) 11:56, 8 January 2025 (UTC)
Semantic Mediawikiの拡張機能であるSemantic Scribuntoを導入できますか?
Semantic Scribunto : https://github.com/SemanticMediaWiki/SemanticScribunto
PHP : 7.3 or later
MediaWiki : 1.39 or later
Semantic MediaWiki : 4.0.2 or later
※一応ローカル環境で動作は確認しました。MediaWiki 1.43.1/SMW 5.0.1/Semantic Scribunto 2.3.2
この拡張機能はluaモジュール内でsmwの追加パーサー関数のaskなどが使えるようになる機能です。
先日、アイテムのページでクラフトの材料に含まれる一覧をInline queriesで一覧を作成したら、除外したい情報を取得してしまいました。
また、切り身の分類が「魚」でありながら、加工設備に使用できないなどの細かい設定もありました。
これらをSMWのみの機能では実装することができませんでした。
Semantic Scribuntoを導入できない場合は、moduleにテーブル変数化したcard data(things)を入れて、
クラフトデータを取得して表示するという方法もあるので、Ylvapediaのバージョン環境に不都合があれば諦めます。
機械翻訳で解釈違いがおきそうなので、日本語のままにしています。すみません...
導入の検討よろしくおねがいします! --Neko Knight (talk) 14:43, 15 April 2025 (UTC)
.
↓テストコード↓
前提条件
localp = {}
function p.ask(frame)
local query = '[[Category:Elin アイテム]] [[IngredientAll::果物]] OR [[IngredientAll::~*,果物*]] OR [[IngredientAll::~*果物,*]]'
local resultN = mw.smw.ask{
query,
'?Name',
limit = 99,
mainlabel = '-'
} or {}
mw.log('SMW Query: ' .. query)
mw.log('SMW Result:')
mw.logObject(resultN)
local results = {}
for _, row in ipairs(resultN) do
local name = row.Name
if name then
table.insert(results, '* ' .. name)
end
end
if #results > 0 then
return table.concat(results, '\n')
else
return 'no result'
end
end
return p
|
- Semantic Scribunto 2.3.2 has been installed. Thank you for your suggestion and patience! Also, communication in your native language is okay, translators are unreliable. --Desu (talk) 01:09, 16 April 2025 (UTC)
- 拡張機能の実装ありがとうございます!こちらこそwikiの運営ありがとうです!--Neko Knight (talk) 12:50, 16 April 2025 (UTC)