Page MenuHomePhabricator

Install RightFunctions MediaWiki extension on Arabic Wikipedia (arwiki)
Closed, DeclinedPublic

Description

Author: slowclick

Description:
Hello !
I would like to request implementation "RightFunctions" Mediawiki's extension in Arabic Wikipedia (arwiki). The purpose is to automatically add the unprotected pages to a given category, per case definition criteria, ie: exceeding a duration of validity of a protected page.
Thanks in advance.


Version: unspecified
Severity: enhancement
URL: http://ar.wikipedia.org/w/index.php?title=ويكيبيديا%3Aالميدان%2Fتقنية%2F01%2F2013&diff=10177510&oldid=10089962

Details

Reference
bz44886

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:19 AM
bzimport set Reference to bz44886.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Feb 11 2013, 8:31 PM

The extension would need review before being installed on a Wikimedia project.

For reference: https://www.mediawiki.org/wiki/Extension:RightFunctions


Note, due to the way caching/linksupdate works, categories added by these functions would not immediately take effect, but instead would only appear once someone edited the page (or edited a template that is used on the page).

Additionally this extension also disables caching (this is separate from what I mentioned in the prior paragraph). This has rather severe performance concerns. (This could be lessoned by varrying on the user's rights instead of disabling caching completely, but would still reduce performance).


I would recommend this extension not be installed, and instead an alternative method be found to accomplish whatever it is arwiki wants to accomplish (Sorry, I don't quite entirely understand your goals given in comment 0)

(In reply to comment #1)

I would recommend this extension not be installed, and instead an alternative
method be found to accomplish whatever it is arwiki wants to accomplish
(Sorry,
I don't quite entirely understand your goals given in comment 0)

Ditto. I'm not sure how an extension that tests user rights could be used for adding categories...

(In reply to comment #2)

Ditto. I'm not sure how an extension that tests user rights could be used for
adding categories...

I _think_ the goal is to auto-categorize pages based on page protection (semi-protected articles, move-protected categories, etc.). This can be done currently with the {{PROTECTIONLEVEL}} magic word, for example https://en.wikipedia.org/wiki/Cell_(biology) has:


Hidden categories:
Wikipedia semi-protected pages

Wikipedia indefinitely move-protected pages

However, these pages must be manually tagged with specific templates (in this case, https://en.wikipedia.org/wiki/Template:Pp-protected).

test.wikipedia.org and some other Wikimedia wikis use JavaScript to auto-tag protected pages (with an icon, not with a category). The English Wikipedia uses manually added templates (though perhaps with some bot assistance these days), which provides both a visual cue (the lock icon) and MediaWiki categorization.

I think the goal here is to automate or semi-automate the process of manually adding/removing protection templates. [[mw:Extension:RightFunctions]] seems like a strange approach to take, though. I think there's another bug about this workflow issue.

slowclick wrote:

(In reply to comment #1)

Note, due to the way caching/linksupdate works, categories added by these
functions would not immediately take effect, but instead would only appear
once
someone edited the page (or edited a template that is used on the page).

I'm aware of this limitation.

Additionally this extension also disables caching (this is separate from
what I
mentioned in the prior paragraph). This has rather severe performance
concerns.
(This could be lessoned by varrying on the user's rights instead of disabling

caching completely, but would still reduce performance).

well, I guess this approach is useless, since it would definitely not exclude '*' users.

slowclick wrote:

(In reply to comment #3)
Thanks for explaining other workflows and ideas , I will make in depth investigation regarding such methods.

(In reply to comment #1)

The extension would need review before being installed on a Wikimedia
project.

More info: https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment

CC'ing extension maintainer - Ryan: Would you initiate an extension review? See comment 6 for the URL with guidelines.

slowclick wrote:

(In reply to comment #7)

CC'ing extension maintainer - Ryan: Would you initiate an extension review?
See
comment 6 for the URL with guidelines.

No, you can dismiss the request now , We find a better [[:w:ar:قالب:حماية نزاع|approach]] to make the job done , thanks all for help, regards.

(In reply to comment #8)

No, you can dismiss the request now [...]

Marking this bug resolved/worksforme, accordingly.