Math/Math.hooks.php 401: static function onEditPageBeforeEditToolbar( &$toolbar ) { CodeEditor/CodeEditor.hooks.php 45: * @param EditPage $editpage ParserMigration/includes/EditAction.php 15: $page = new MigrationEditPage( $this->getContext(), $this->getTitle() ); ParserMigration/includes/MigrationEditPage.php 5:class MigrationEditPage extends \EditPage { JsonConfig/includes/JCSingleton.php 669: $editor = new \EditPage( $article ); 732: public static function onEditPageCopyrightWarning( $title, &$msg ) { TemplateSandbox/SpecialTemplateSandbox.php 103: EditPage::getPreviewLimitReport( $this->output ) ) ); TemplateSandbox/TemplateSandbox.hooks.php 4: * Hook for EditPage::importFormData to parse our new form fields, and if 10: * @param EditPage $editpage 47: * @param EditPage $editpage 53: public static function templateSandboxPreview( EditPage $editpage, &$content, &$out, 130: ' [[#' . EditPage::EDITFORM_ID . '|' . $lang->getArrow() . ' ' . 179: * Hook for EditPage::showStandardInputs:options to add our form fields to 182: * @param EditPage $editpage FlaggedRevs/backend/FlaggedRevs.hooks.php 400: # Get edit timestamp. Existance already validated by EditPage.php. FlaggedRevs/FlaggedRevs.php 557:$wgHooks['EditPage::showEditForm:initial'][] = 'FlaggedRevsUIHooks::addToEditView'; 560:$wgHooks['EditPageBeforeEditButtons'][] = 'FlaggedRevsUIHooks::onBeforeEditButtons'; 563: $wgHooks['EditPageBeforeEditChecks'][] = 'FlaggedRevsUIHooks::onEditPageBeforeEditChecks'; 565: $wgHooks['EditPageGetCheckboxesDefinition'][] = 566: 'FlaggedRevsUIHooks::onEditPageGetCheckboxesDefinition'; 568:$wgHooks['EditPage::showEditForm:fields'][] = 'FlaggedRevsUIHooks::addRevisionIDField'; 570:$wgHooks['EditPageNoSuchSection'][] = 'FlaggedRevsUIHooks::onNoSuchSection'; FlaggedRevs/frontend/FlaggedRevsUI.hooks.php 684: public static function onEditPageBeforeEditChecks( $editPage, &$checks, &$tabindex ) { 690: public static function onEditPageGetCheckboxesDefinition( $editPage, &$checkboxes ) { FlaggedRevs/frontend/FlaggablePageView.php 951: // HACK: EditPage invokes addToEditView() before this function, so $this->noticesDone 952: // will only be true if we're being called by EditPage, in which case we need to do nothing 958: // HACK fake EditPage 959: $editPage = new EditPage( new Article( $title, $oldid ) ); 1005: * @param EditPage $editPage 1008: public function addToEditView( EditPage $editPage ) { 1116: public function addToNoSuchSection( EditPage $editPage, &$s ) { 1833: $extraQuery .= wfArrayToCgi( $params ); // note: EditPage will add initial "&" 1842: public function changeSaveButton( EditPage $editPage, array &$buttons ) { 1872: * @param EditPage $editPage 1875: protected function editWillRequireReview( EditPage $editPage ) { 1888: * @param EditPage $editPage 1891: protected function editRequiresReview( EditPage $editPage ) { 1903: * @param EditPage $editPage 1906: protected function editWillBeAutoreviewed( EditPage $editPage ) { 1935: public function addReviewCheck( EditPage $editPage, array &$checkboxes, &$tabindex = null ) { 2001: public function addRevisionIDField( EditPage $editPage, OutputPage $out ) { 2014: * @param EditPage $editPage 2018: protected static function getBaseRevId( EditPage $editPage, WebRequest $request ) { 2047: * @param EditPage $editPage 2051: protected static function getAltBaseRevId( EditPage $editPage, WebRequest $request ) { ContentTranslation/ContentTranslation.hooks.php 208: * Hook: EditPage::showEditForm:initial 210: public static function newArticleCampaign( EditPage $newPage, OutputPage $out ) { Wikidata/vendor/composer/autoload_classmap.php 1347: 'Wikibase\\Repo\\Tests\\Api\\EditPageTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/Api/EditPageTest.php', Wikidata/vendor/composer/autoload_static.php 1638: 'Wikibase\\Repo\\Tests\\Api\\EditPageTest' => __DIR__ . '/../..' . '/extensions/Wikibase/repo/tests/phpunit/includes/Api/EditPageTest.php', Wikidata/extensions/Wikibase/lib/includes/Store/EntityStore.php 99: * @see EditPage::userWasLastToEdit() Wikidata/extensions/Wikibase/lib/tests/phpunit/MockRepository.php 557: * @see EditPage::userWasLastToEdit Wikidata/extensions/Wikibase/repo/Wikibase.hooks.php 6:use ApiEditPage; 511: * This implementation causes the execution of ApiEditPage (action=edit) to fail 526: if ( $module instanceof ApiEditPage ) { 538: // trying to use ApiEditPage on an entity namespace Wikidata/extensions/Wikibase/repo/includes/Api/ResultBuilder.php 1074: // like core's ApiEditPage Wikidata/extensions/Wikibase/repo/includes/EditEntity.php 732: * @note Keep in sync with logic in EditPage! 751: * @note Keep in sync with logic in EditPage! Wikidata/extensions/Wikibase/repo/includes/Store/Sql/WikiPageEntityStore.php 351: * @see EditPage::userWasLastToEdit() 395: * @note keep in sync with logic in EditPage Wikidata/extensions/Wikibase/repo/includes/Actions/EditEntityAction.php 385: * Generate standard summary input and label (wgSummary), compatible to EditPage. Wikidata/extensions/Wikibase/repo/tests/phpunit/includes/Api/EditPageTest.php 26:class EditPageTest extends WikibaseApiTestCase { 36: $item->setLabel( "en", "EditPageTest" ); 39: $item->setLabel( "de", "EditPageTest" ); Wikidata/extensions/Wikibase/client/includes/Hooks/EditActionHookHandler.php 5:use EditPage; 84: public function handle( EditPage $editor ) { Wikidata/extensions/Wikibase/client/WikibaseClient.hooks.php 8:use EditPage; 326: * @param EditPage $editor 330: public static function onEditAction( EditPage $editor, OutputPage $output, &$tabindex ) { Wikidata/extensions/Wikibase/client/tests/phpunit/includes/Hooks/EditActionHookHandlerTest.php 5:use EditPage; 42: $editor = $this->getEditPage(); 192: * @return EditPage 194: private function getEditPage() { 197: $editor = $this->getMockBuilder( EditPage::class ) Wikidata/extensions/Wikibase/client/WikibaseClient.php 139: $wgHooks['EditPage::showStandardInputs:options'][] = '\Wikibase\ClientHooks::onEditAction'; CollaborationKit/includes/CollaborationHubContentEditor.php 10:class CollaborationHubContentEditor extends EditPage { CollaborationKit/includes/CollaborationListContentEditor.php 5: * Extends the notorious EditPage class. 11:class CollaborationListContentEditor extends EditPage { SpamBlacklist/SpamBlacklistHooks.php 69: // Always return true, EditPage will look at $status->isOk(). 125: * @param $editPage EditPage TemplateData/TemplateData.hooks.php 83: // Specify format the same way the API and EditPage do to avoid extra parsing 101: * @param EditPage $editPage 105: public static function onEditPage( $editPage, $output ) { TwoColConflict/includes/TwoColConflictPage.php 8:class TwoColConflictPage extends EditPage { TwoColConflict/includes/TwoColConflictHooks.php 41: * @param EditPage $editPage 44: public static function onAttemptSaveAfter( EditPage $editPage, Status $status ) { 51: if ( $status->value == EditPage::AS_SUCCESS_UPDATE ) { MassMessage/includes/SpecialMassMessage.php 150: $m['message']['help'] = EditPage::getCopyrightWarning( $this->getPageTitle( false ), 'parse' ); 262: * The preview generation code was hacked up from EditPage.php 284: // Parser stuff. Taken from EditPage::getPreviewText() 291: // Hooks not being run: EditPageGetPreviewContent, EditPageGetPreviewText MassMessage/includes/SpecialEditMassMessageList.php 104: // Edit notices; modified from EditPage::showHeader() 111: // Protection warnings; modified from EditPage::showHeader() 212: return EditPage::getCopyrightWarning( $this->title, 'parse' ); WikiEditor/WikiEditor.hooks.php 158: * EditPage::showEditForm:initial hook 162: * @param EditPage $editPage the current EditPage object. 214: * EditPage::showEditForm:fields hook 218: * @param EditPage $editPage the current EditPage object. 248: * EditPageBeforeEditToolbar hook 255: public static function EditPageBeforeEditToolbar( &$toolbar ) { 381: * This is attached to the MediaWiki 'EditPage::attemptSave' hook. 383: * @param EditPage $editPage 386: public static function editPageAttemptSave( EditPage $editPage ) { 401: * This is attached to the MediaWiki 'EditPage::attemptSave:after' hook. 403: * @param EditPage $editPage 407: public static function editPageAttemptSaveAfter( EditPage $editPage, Status $status ) { 424: if ( $status->value === EditPage::AS_CONFLICT_DETECTED ) { 426: } elseif ( $status->value === EditPage::AS_ARTICLE_WAS_DELETED ) { WikimediaEvents/WikimediaEventsHooks.php 393: * @see https://www.mediawiki.org/wiki/Manual:Hooks/EditPageBeforeConflictDiff 395: * @param EditPage &$editor 399: public static function onEditPageBeforeConflictDiff( &$editor, &$out ) { VisualEditor/VisualEditor.hooks.php 173: private static function isSupportedEditPage( Title $title, User $user, WebRequest $req ) { 245: if ( self::isSupportedEditPage( $title, $user, $req ) ) { 489: * @param EditPage $editPage The edit page view. 493: public static function onEditPageShowEditFormFields( EditPage $editPage, OutputPage $output ) { VisualEditor/ApiVisualEditor.php 307: // From EditPage#showCustomIntro 391: // HACK of course this code is partly duplicated from EditPage.php :( 437: // HACK: Build a fake EditPage so we can get checkboxes from it 440: $editPage = new EditPage( $article ); VisualEditor/VisualEditorDataModule.php 63: 'copyrightwarning' => EditPage::getCopyrightWarning( ConfirmEdit/includes/ConfirmEditHooks.php 59: static function confirmEditPage( $editpage, $buttons, $tabindex ) { 180: * @param EditPage $editor 186: public static function onAlternateEditPreview( EditPage $editor, &$content, &$html, &$po ) { ConfirmEdit/SimpleCaptcha/Captcha.php 189: * Show error message for missing or incorrect captcha on EditPage. 190: * @param EditPage $editPage 208: * @param EditPage $editPage 806: $status->value = EditPage::AS_HOOK_ERROR_EXPECTED; 894: return $module instanceof ApiEditPage; WikimediaMessages/WikimediaMessages.hooks.php 161: public static function onEditPageCopyrightWarning( $title, &$msg ) { TitleBlacklist/TitleBlacklist.hooks.php 256: * @param EditPage $editor Newsletter/includes/NewsletterEditPage.php 8:class NewsletterEditPage { Newsletter/includes/specials/SpecialNewsletter.php 365: $reasonSpamMatch = EditPage::matchSummarySpamRegex( $data['summary'] ); Newsletter/Newsletter.hooks.php 168: * @param EditPage $editPage 171: public static function onAlternateEdit( EditPage $editPage ) { 202: $editPage = new NewsletterEditPage( $article->getContext(), $newsletter ); 207: $editPage = new NewsletterEditPage( $article->getContext() ); Scribunto/common/Hooks.php 312: * EditPage::showStandardInputs:options hook 314: * @param EditPage $editor 319: public static function showStandardInputsOptions( EditPage $editor, OutputPage $output, &$tab ) { 328: * EditPage::showReadOnlyForm:initial hook 330: * @param EditPage $editor 333: public static function showReadOnlyFormInitial( EditPage $editor, OutputPage $output ) { 342: * EditPageBeforeEditButtons hook 344: * @param EditPage $editor 349: public static function beforeEditButtons( EditPage &$editor, array &$buttons, &$tabindex ) { Translate/Autoload.php 104:$al['TranslationEditPage'] = "$dir/utils/TranslationEditPage.php"; Translate/TranslateEditAddons.php 22: public static function suppressIntro( EditPage $editPage ) { 85: * Hook: EditPage::showEditForm:initial 87: public static function addTools( EditPage $object ) { 101: * Hook: EditPageBeforeEditButtons 103: public static function buttonHack( EditPage $editpage, &$buttons, $tabindex ) { 174: * @param EditPage $editpage 177: private static function editBoxes( EditPage $editpage ) { Translate/tag/PageTranslationHooks.php 403: * edit conflict if there wasn't tpSyntaxCheckForEditPage. Translate/Translate.php 101:$wgHooks['EditPage::showEditForm:initial'][] = 'TranslateEditAddons::addTools'; 104:$wgHooks['EditPageBeforeEditButtons'][] = 'TranslateEditAddons::buttonHack'; Translate/utils/TranslationEditPage.php 15:class TranslationEditPage { 32: * @return TranslationEditPage Translate/utils/TranslationHelpers.php 633: $jsEdit = TranslationEditPage::jsEdit( $target, $groupId, 'dialog' ); Translate/utils/MessageTable.php 193: $linkAttribs += TranslationEditPage::jsEdit( $title, $this->group->getId() ); Translate/specials/SpecialTranslate.php 63: $editpage = TranslationEditPage::newFromRequest( $request ); ProofreadPage/includes/page/PageSubmitAction.php 21: $editor = new EditPagePage( $this->page, $pagePage, Context::getDefaultContext() ); ProofreadPage/includes/page/EditPagePage.php 7:use EditPage; 17:class EditPagePage extends EditPage { 49: * @see EditPage::isSectionEditSupported 56: * @see EditPage::isSupportedContentModel 65: * @see EditPage::showContentForm 75: * @see EditPage::showContentForm 148: * @see EditPage::getCheckBoxes 199: * @see EditPage::importContentFormData 217: * @see EditPage::internalAttemptSave ProofreadPage/includes/page/PageEditAction.php 21: $editor = new EditPagePage( $this->page, $pagePage, Context::getDefaultContext() ); ProofreadPage/includes/index/EditIndexPage.php 6:use EditPage; 19:class EditIndexPage extends EditPage { 33: * @see EditPage::isSectionEditSupported 40: * @see EditPage::isSupportedContentModel 47: * @see EditPage::showContentForm 138: * @see EditPage::importContentFormData 192: * @see EditPage::internalAttemptSave LiquidThreads/classes/Hooks.php 313: * Handle EditPageGetCheckboxesDefinition hook 315: * @param $editPage EditPage LiquidThreads/classes/View.php 543: $e = new EditPage( $article ); 661: $e = new EditPage( $article ); 775: $e = new EditPage( $article ); 880: $e = new EditPage( $article ); 1851: // as it would involve rewriting EditPage, which I do NOT intend to do. 2132: Hooks::run( 'EditPageBeforeEditToolbar', [ &$html ] ); LiquidThreads/api/ApiThreadAction.php 3:class ApiThreadAction extends ApiEditPage { GlobalCssJs/GlobalCssJs.hooks.php 113: * @param EditPage $editPage 117: static function onEditPageshowEditForminitial( EditPage $editPage, OutputPage $output ) {