Last modified: 2011-03-13 18:04:57 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 T19242, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17242 - GRAMMAR functionality should be accessible via hook
GRAMMAR functionality should be accessible via hook
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-30 09:30 UTC by Purodha Blissenbach
Modified: 2011-03-13 18:04 UTC (History)
4 users (show)

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


Attachments

Description Purodha Blissenbach 2009-01-30 09:30:03 UTC
With revision 39077, much of the implementations of the GRAMMAR functionality have been moved from MediaWiki proper to a more appropriate extension. While that is undoubtedly a good thing, there will be a problem with multiple such extensions, or in cases of laguages implementing more general GRAMMAR routines later, e.g. rule based ones.

In order for those to coexist, both a hook-type access to the various GRAMMAR routines would be advisable, and ways allowing them to priorize themselves before being called.

I have not inspected the R39077 changes in depth. Maybe I missed that there is such a mechanism already. In that case, I apologize for bothering you.
Comment 1 Niklas Laxström 2009-01-31 16:35:07 UTC
Grammar functionality has not gone anywhere, it is just the list of names of Wikimedia projects that have been moved to the extension.

Do you have code which would need a hook in there? By the way, the hook system does not allow prioritisation.
Comment 2 Chad H. 2009-02-01 15:09:06 UTC
I'm with Niklas on this one. GRAMMAR is in core, it just split off some WMF-specific cases to WikimediaMessages, rather than having that in core.

The only use case I could see would be a extension that needs to change the grammar forms defined in WikimediaMessages, which would mean the extension would be Wikimedia-only anyway. Other than that, can't see any correlation.
Comment 3 Siebrand Mazeland 2009-02-08 09:26:38 UTC
WONTFIX based on comment 1 and comment 2. There is no proper use case.
Comment 4 Purodha Blissenbach 2009-02-22 14:25:41 UTC
I assume to have two in mind, yet many things both about them, and GRAMMAR code, appear vague to me. Too vague, to further discuss it issue now. I may come back later, unless having succeeded implementing them. ;)

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


Navigation
Links