Last modified: 2009-07-20 04:44:27 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 T21564, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19564 - Missing hook docs
Missing hook docs
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Documentation (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-07 14:17 UTC by Chad H.
Modified: 2009-07-20 04:44 UTC (History)
2 users (show)

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


Attachments

Description Chad H. 2009-07-07 14:17:30 UTC
>php findhooks.php
Undocumented: DatabaseOraclePostInit
Undocumented: EditPageBeforeEditToolbar
Undocumented: LocalisationCacheRecache
Undocumented: SkinTemplateNavigation
Undocumented: VectorTemplateToolboxEnd

The authors of these hooks need to update /docs/hooks.txt
Comment 1 Roan Kattouw 2009-07-07 16:45:29 UTC
(In reply to comment #0)
> >php findhooks.php
> Undocumented: DatabaseOraclePostInit

> Undocumented: EditPageBeforeEditToolbar
Did this one in r52843.

> Undocumented: LocalisationCacheRecache

> Undocumented: SkinTemplateNavigation
> Undocumented: VectorTemplateToolboxEnd
> 
These two were already done by Trevor in r52806 and r52814.

Comment 2 Chad H. 2009-07-07 16:57:40 UTC
Ah, missed those two (accidentally ran findhooks on my branch, not trunk). 
Comment 3 Brion Vibber 2009-07-19 19:22:49 UTC
Trunk as of r53485:

undocumented: DatabaseOraclePostInit
undocumented: InitPreferencesForm
undocumented: LocalisationCacheRecache
undocumented: PreferencesUserInformationPanel
undocumented: RenderPreferencesForm
undocumented: ResetPreferences
undocumented: SavePreferences
undocumented: SpecialUploadComplete
not found: UploadComplete
not found: UploadVerification
Comment 4 Alex Z. 2009-07-19 20:04:29 UTC
The results I got were different, when I ran it, none of the preferences hooks were in the results.

Updated hooks.txt in r53491. Online docs still need updating:
$ php maintenance/findhooks.php --online
undocumented: DatabaseOraclePostInit
undocumented: EditPage::importFormData
undocumented: EditPageCopyrightWarning
undocumented: EditPageTosSummary
undocumented: LocalisationCacheRecache
undocumented: SkinCopyrightFooter
undocumented: SkinTemplateNavigation
undocumented: SpecialUploadComplete
undocumented: UserLoginMailPassword
not found: AutoAuthenticate
not found: BeforeWatchlist
not found: BrokenLink
not found: EditSectionLinkForOther
not found: InitPreferencesForm
not found: LoadAllMessages
not found: MessageNotInMwNs
not found: PreferencesUserInformationPanel
not found: RenderPreferencesForm
not found: ResetPreferences
not found: SavePreferences
not found: SpecialPageExecuteAfterPage
not found: SpecialPageExecuteBeforeHeader
not found: SpecialPageExecuteBeforePage
not found: SpecialPageGetRedirect
not found: UserrightsChangeableGroups
Comment 5 Alex Z. 2009-07-20 04:44:27 UTC
Updated the maintenance script in r53525 and updated the online docs, should be good now.

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


Navigation
Links