Page MenuHomePhabricator

Install PageNotice and ImageSizeInfoFunctions extensions for mlwiki
Closed, DeclinedPublic

Description

Author: sadik.khalid

Description:
Hi, We need two Extensions to be included in ml.wikipedia.org

  1. http://www.mediawiki.org/wiki/Extension:PageNotice
  2. http://www.mediawiki.org/wiki/Extension:ImageSizeInfoFunctions

Thank you


Version: unspecified
Severity: enhancement
Whiteboard: aklapper-moreinfo

Details

Reference
bz17426

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:24 PM
bzimport set Reference to bz17426.
bzimport added a subscriber: Unknown Object (MLST).

Both look acceptable. ImageSizeInfoFunctions may need to move the class definition to a different file and should be added to svn, though.

Could you explain the reasons you need them?

sadik.khalid wrote:

PageNotice is the important one. ImageSizeInfoFunctions can be added later.

We are doing a WikiProject (http://ml.wikipedia.org/wiki/വിക്കിപീഡിയ:വിക്കിപദ്ധതി/ഗുണമേന്മ) to categorize Articles & Images according to their quality and adding a mark (✔✔✔✔✔) on the top of the page. For that we need one template (http://ml.wikipedia.org/wiki/ഫലകം:ഗുണമേന്മ) to be placed on all pages in article & Image namespace.

sadik.khalid wrote:

Please copy paste the above said links. or use the following:
http://ml.wikipedia.org/wiki/Wikipedia:WikiProject/Quality <- Poject
http://ml.wikipedia.org/wiki/Template:Quality <- Template

jeluf wrote:

Are these extensions in use in other WMF wikis already?

mike.lifeguard+bugs wrote:

I think JeLuF means that review (by Brion, presumably) is needed before doing this.

(In reply to comment #1)

ImageSizeInfoFunctions may need to move the class
definition to a different file and should be added to svn, though.

Yes. It's a subset of features offered in MediaFunctions, but it looks pretty decent. The function_exists() wrappers around wfFindFile() are useless and can be removed. Also should be updated to use ParserFirstCallInit and its associated &$parser rather than $wgParser. The $wgMessageCache injections aren't needed anymore either.

PageNotice should have a way to configure it to disable per-page notices and only allow per-namespace. I know Domas didn't like per-page edit notices (see r48276).

jeluf wrote:

This needs review before installation.

Sadik:
See https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment for information on what is needed to get an extension reviewed before potentially deploying it on a wikisite.

Hello, this is a quasi-automated-but-not-really message:

I am reviewing all tracking bugs for extensions to review and deploy to WMF servers. See the list here:
https://bugzilla.wikimedia.org/showdependencytree.cgi?id=31235&hide_resolved=1

The [[mw:Review queue]] page lists the steps necessary to complete the review. I have copied them below and done some initial filling out based on what I can easily gleen from this bug and any linked to sources that are obvious. If I miss something/state something false, please do correct me.

Also, if you haven't yet done so, please review the information on and linked to from:
https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment

TODO/Check list

Extension page on mediawiki.org: Yes for both
Bugzilla component:
Extension in Gerrit: PageNotice yes, ImageSize no
Design Review: no?
Archeticecture/Performance Review: no?
Security Review: no?
Screencast (if applicable): no
Community support: appears so, but may need updating.

Does anyone still want this anymore?

Sadik: Please reply to comment 10-11.

(In reply to This, that and the other from comment #11)

Does anyone still want this anymore?

Seemingly not.