Last modified: 2012-08-19 15:53:48 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 T32974, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30974 - Add flags of functionhooks to meta=siteinfo&siprop=functionhooks
Add flags of functionhooks to meta=siteinfo&siprop=functionhooks
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.20.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-18 19:08 UTC by db [inactive,noenotif]
Modified: 2012-08-19 15:53 UTC (History)
4 users (show)

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


Attachments

Description db [inactive,noenotif] 2011-09-18 19:08:37 UTC
Please add the flags of a function hook to api, because it is necessary to know, if a function hook starts with a # are not (not SFH_NO_HASH).

It is also good to know, if a function hook is using objectargs (SFH_OBJECT_ARGS)

See r87147#c22348
Comment 1 Brion Vibber 2011-09-19 17:45:39 UTC
The object args flag is something that's internal to the parser<->function hook API; future changes to its value on some hook should have no visible effect to the outside world.

What would be the purpose of exposing it?
Comment 2 db [inactive,noenotif] 2011-09-24 10:15:51 UTC
(In reply to comment #1)
> The object args flag is something that's internal to the parser<->function hook
> API; future changes to its value on some hook should have no visible effect to
> the outside world.
> What would be the purpose of exposing it?

I do not know. This bug is a general ask for the flags, maybe there are more than two flags. I have seen only the both from comment 0. I do not know, if programmer helps this information, but giving to much information is not wrong.
Comment 3 db [inactive,noenotif] 2012-08-19 15:53:48 UTC
WONTFIX per comment 1, because only internals

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


Navigation
Links