Jump to content

User talk:Gerges

Add topic
From mediawiki.org
Latest comment: 3 months ago by Mohanad in topic Re: T321111

ParseWiki example

[edit]

Hello! I recently found your ParseWiki project — it looks great and I think it's exactly what I need for a project I'm working on. However, since I'm new to programming and still learning PHP, I wanted to ask if you might be able to share an example of how I would use the ParserInternalLinks feature to convent a block of wiki text? (Having a simple example might be a cool thing to add to the Github page.)

Thank you very much! Huwmanbeing (talk) 22:03, 18 December 2023 (UTC)Reply

Hi Huwmanbeing,
I added examples to the file README.md.
If you find a problem, do not hesitate to inform me.-- Gerges (talk) 23:09, 18 December 2023 (UTC)Reply
Wonderful, thank you for your help! Huwmanbeing (talk) 14:15, 19 December 2023 (UTC)Reply

Re: T321111

[edit]

Hi Gerges, I actually forget what I thought when doing that patch, but when I look back from now, it make sense to remove those entries in wgSemiprotectedRestrictionLevels for arwiki. I've recheck the documents and it said, this entry should contains restriction levels which requires an auto-promote permission. I've made ticket T368207, please have a look. Stang 20:35, 22 June 2024 (UTC)Reply

Thanks --Gerges (talk) 20:54, 22 June 2024 (UTC)Reply
Hi @Stang Can you please point out a link to these documents? --Mohanad (talk) 21:00, 1 September 2024 (UTC)Reply
Hello Gerges and Mohanad, I recalled what I thought when I was doing the previous patch(in T321111). When talking a newly added permission/restriction level, if it's designed to be only assigned to a small group of people, like the sysop or template-editor, it should be seen as a "full protection"; if it's designed to be assigned to a somehow large amount of people, like "autopatrolled" or something else, it should be seen as a "semi protection". There's no such detailed document about this, it's more about programmer's own thought/experience, and some common sense.
I'm not familiar with arwiki's permission design, so it's your choice to value if this two should be considered as semi-protection levels.
Another important thing is that, you don't actually need to revert this patch, you could simply edit the system message at "MediaWiki:Semiprotectedpagewarning". For example, enwiki has a user group called extendedconfirmed, and they use some magic words to distinguish if a page is semi protected or extended protected - just check out their soultion.
Hope this can solve your question. Stang 04:59, 9 September 2024 (UTC)Reply
Forgot the ping @Mohanad Stang 05:00, 9 September 2024 (UTC)Reply
Thx @Stang for your reply, we actually did that here, and wanted to make sure there was no misunderstanding, since you mentioned documents above, Thanks again --Mohanad (talk) 12:32, 9 September 2024 (UTC)Reply