Last modified: 2013-02-14 21:23:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46886, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44886 - Install RightFunctions MediaWiki extension on Arabic Wikipedia (arwiki)
Install RightFunctions MediaWiki extension on Arabic Wikipedia (arwiki)
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ar.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks: 31235
  Show dependency treegraph
 
Reported: 2013-02-11 20:31 UTC by Antime
Modified: 2013-02-14 21:23 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antime 2013-02-11 20:31:28 UTC
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.
Comment 1 Bawolff (Brian Wolff) 2013-02-11 20:45:48 UTC
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)
Comment 2 Sam Reed (reedy) 2013-02-12 00:15:13 UTC
(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...
Comment 3 MZMcBride 2013-02-12 00:25:27 UTC
(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.
Comment 4 Antime 2013-02-12 02:56:41 UTC
(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.
Comment 5 Antime 2013-02-12 03:26:24 UTC
(In reply to comment #3)
Thanks for explaining other workflows and ideas , I will make in depth investigation regarding such methods.
Comment 6 Andre Klapper 2013-02-12 10:49:45 UTC
(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
Comment 7 Andre Klapper 2013-02-13 05:52:11 UTC
CC'ing extension maintainer - Ryan: Would you initiate an extension review? See comment 6 for the URL with guidelines.
Comment 8 Antime 2013-02-14 15:58:20 UTC
(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.
Comment 9 MZMcBride 2013-02-14 21:23:53 UTC
(In reply to comment #8)
> No, you can dismiss the request now [...]

Marking this bug resolved/worksforme, accordingly.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links