Public Member Functions | |
EditPage ($article) | |
getArticle () | |
getContent ($def_text= '') | |
Fetch initial editing page content. | |
extractMetaDataFromArticle () | |
This is the function that extracts metadata from the article body on the first view. | |
submit () | |
edit () | |
This is the function that gets called for "action=edit". | |
readOnlyPage ($source=null, $protected=false, $reasons=array(), $action=null) | |
Show a read-only error Parameters are the same as OutputPage:readOnlyPage() Redirect to the article page if redlink=1. | |
importFormData (&$request) | |
tokenOk (&$request) | |
Make sure the form isn't faking a user's credentials. | |
internalAttemptSave (&$result, $bot=false) | |
Attempt submission (no UI). | |
initialiseForm () | |
Initialise form fields in the object Called on the first invocation, e.g. | |
setHeaders () | |
showEditForm ($formCallback=null) | |
Send the edit form and related headers to $wgOut. | |
doLivePreviewScript () | |
Live Preview lets us fetch rendered preview page content and add it to the page without refreshing the whole page. | |
getPreviewText () | |
Get the rendered text for previewing. | |
getTemplates () | |
blockedPage () | |
Call the stock "user is blocked" page. | |
userNotLoggedInPage () | |
Produce the stock "please login to edit pages" page. | |
noSuchSectionPage () | |
Creates a basic error page which informs the user that they have attempted to edit a nonexistent section. | |
spamPage ($match=false) | |
Produce the stock "your edit contains spam" page. | |
mergeChangesInto (&$editText) | |
checkUnicodeCompliantBrowser () | |
Check if the browser is on a blacklist of user-agents known to mangle UTF-8 data on form submission. | |
pseudoParseSectionAnchor ($text) | |
sectionAnchor ($text) | |
Format an anchor fragment as it would appear for a given section name. | |
getCheckboxes (&$tabindex, $skin, $checked) | |
Returns an array of html code of the following checkboxes: minor and watch. | |
getEditButtons (&$tabindex) | |
Returns an array of html code of the following buttons: save, diff, preview and live. | |
livePreview () | |
Output preview text only. | |
showDiff () | |
Get a diff between the current contents of the edit box and the version of the page we're editing from. | |
safeUnicodeInput ($request, $field) | |
Filter an input field through a Unicode de-armoring process if it came from an old browser with known broken Unicode editing issues. | |
safeUnicodeOutput ($text) | |
Filter an output field through a Unicode armoring process if it is going to an old browser with known broken Unicode editing issues. | |
makesafe ($invalue) | |
A number of web browsers are known to corrupt non-ASCII characters in a UTF-8 text editing environment. | |
unmakesafe ($invalue) | |
Reverse the previously applied transliteration of non-ASCII characters back to UTF-8. | |
noCreatePermission () | |
attemptSave () | |
Attempt submission. | |
getBaseRevision () | |
Static Public Member Functions | |
static | matchSpamRegex ($text) |
Check given input text against $wgSpamRegex, and return the text of the first match. | |
static | matchSummarySpamRegex ($text) |
Check given input text against $wgSpamRegex, and return the text of the first match. | |
static | getEditToolbar () |
Shows a bulletin board style toolbar for common editing functions. | |
Public Attributes | |
const | AS_SUCCESS_UPDATE = 200 |
const | AS_SUCCESS_NEW_ARTICLE = 201 |
const | AS_HOOK_ERROR = 210 |
const | AS_FILTERING = 211 |
const | AS_HOOK_ERROR_EXPECTED = 212 |
const | AS_BLOCKED_PAGE_FOR_USER = 215 |
const | AS_CONTENT_TOO_BIG = 216 |
const | AS_USER_CANNOT_EDIT = 217 |
const | AS_READ_ONLY_PAGE_ANON = 218 |
const | AS_READ_ONLY_PAGE_LOGGED = 219 |
const | AS_READ_ONLY_PAGE = 220 |
const | AS_RATE_LIMITED = 221 |
const | AS_ARTICLE_WAS_DELETED = 222 |
const | AS_NO_CREATE_PERMISSION = 223 |
const | AS_BLANK_ARTICLE = 224 |
const | AS_CONFLICT_DETECTED = 225 |
const | AS_SUMMARY_NEEDED = 226 |
const | AS_TEXTBOX_EMPTY = 228 |
const | AS_MAX_ARTICLE_SIZE_EXCEEDED = 229 |
const | AS_OK = 230 |
const | AS_END = 231 |
const | AS_SPAM_ERROR = 232 |
const | AS_IMAGE_REDIRECT_ANON = 233 |
const | AS_IMAGE_REDIRECT_LOGGED = 234 |
$mArticle | |
$mTitle | |
$action | |
$mMetaData = '' | |
$isConflict = false | |
$isCssJsSubpage = false | |
$deletedSinceEdit = false | |
$formtype | |
$firsttime | |
$lastDelete | |
$mTokenOk = false | |
$mTokenOkExceptSuffix = false | |
$mTriedSave = false | |
$tooBig = false | |
$kblength = false | |
$missingComment = false | |
$missingSummary = false | |
$allowBlankSummary = false | |
$autoSumm = '' | |
$hookError = '' | |
$mParserOutput | |
$mBaseRevision = false | |
$save = false | |
$preview = false | |
$diff = false | |
$minoredit = false | |
$watchthis = false | |
$recreate = false | |
$textbox1 = '' | |
$textbox2 = '' | |
$summary = '' | |
$edittime = '' | |
$section = '' | |
$starttime = '' | |
$oldid = 0 | |
$editintro = '' | |
$scrolltop = null | |
$editFormPageTop | |
$editFormTextTop | |
$editFormTextBeforeContent | |
$editFormTextAfterWarn | |
$editFormTextAfterTools | |
$editFormTextBottom | |
$didSave = false | |
$undidRev = 0 | |
$suppressIntro = false | |
Protected Member Functions | |
getPreloadedText ($preload) | |
Get the contents of a page from its title and remove includeonly tags. | |
wasDeletedSinceLastEdit () | |
getEditPermissionErrors () | |
previewOnOpen () | |
Should we show a preview when the edit form is first shown? | |
showIntro () | |
Show all applicable editing introductions. | |
showCustomIntro () | |
Attempt to show a custom editing introduction, if supplied. | |
userWasLastToEdit ($id, $edittime) | |
Check if no edits were made by other users since the time a user started editing the page. | |
showFormBeforeText () | |
showTextbox1 ($classes) | |
showTextbox2 () | |
showTextbox ($content, $name, $attribs=array()) | |
displayPreviewArea ($previewOutput, $isOnTop=false) | |
showPreview ($text) | |
Append preview output to $wgOut. | |
showEditTools () | |
getLastDelete () | |
showDeletionLog ($out) | |
If there are rows in the deletion log for this page, show them, along with a nice little note for the user. | |
Static Protected Member Functions | |
static | matchSpamRegexInternal ($text, $regexes) |
EditPage cares about two distinct titles: $wgTitle is the page that forms submit to, links point to, redirects go to, etc. $this->mTitle (as well as $mArticle) is the page in the database that is actually being edited. These are usually the same, but they are now allowed to be different.
Definition at line 19 of file EditPage.php.
EditPage::attemptSave | ( | ) |
Attempt submission.
Definition at line 2477 of file EditPage.php.
References $bot, $wgOut, $wgRequest, $wgTitle, $wgUser, blockedPage(), internalAttemptSave(), noCreatePermission(), spamPage(), and userNotLoggedInPage().
Referenced by edit().
EditPage::blockedPage | ( | ) |
Call the stock "user is blocked" page.
Definition at line 1828 of file EditPage.php.
References $rows, $source, $wgOut, $wgUser, Xml::closeElement(), and Xml::openElement().
Referenced by attemptSave().
EditPage::checkUnicodeCompliantBrowser | ( | ) |
Check if the browser is on a blacklist of user-agents known to mangle UTF-8 data on form submission.
Returns true if Unicode should make it through, false if it's known to be a problem.
Definition at line 1952 of file EditPage.php.
References $_SERVER, and $wgBrowserBlackList.
Referenced by safeUnicodeOutput(), and showEditForm().
EditPage::displayPreviewArea | ( | $ | previewOutput, | |
$ | isOnTop = false | |||
) | [protected] |
Definition at line 1619 of file EditPage.php.
References $classes, $wgOut, Xml::openElement(), showDiff(), and showPreview().
Referenced by showEditForm().
EditPage::doLivePreviewScript | ( | ) |
Live Preview lets us fetch rendered preview page content and add it to the page without refreshing the whole page.
If not supported by the browser it will fall through to the normal form submission method.
This function outputs a script tag to support live preview, and returns an onclick handler which should be added to the attributes of the preview button
Definition at line 1673 of file EditPage.php.
References $wgOut, and $wgTitle.
Referenced by getEditButtons().
EditPage::edit | ( | ) |
This is the function that gets called for "action=edit".
It sets up various member variables, then passes execution to another function, usually showEditForm()
The edit form is self-submitting, so that when things like preview and edit conflicts occur, we get the same form back with the extra stuff added. Only when the final submission is made and all is well do we actually save and redirect to the newly-edited page.
Definition at line 354 of file EditPage.php.
References $wgOut, $wgRequest, $wgUser, attemptSave(), extractMetaDataFromArticle(), getContent(), getEditPermissionErrors(), MWNamespace::hasSubpages(), importFormData(), initialiseForm(), livePreview(), noSuchSectionPage(), previewOnOpen(), readOnlyPage(), showEditForm(), showIntro(), wfDebug(), wfEmptyMsg(), wfMsgForContent(), wfProfileIn(), wfProfileOut(), wfReadOnly(), and wfRunHooks().
Referenced by importFormData(), and submit().
EditPage::EditPage | ( | $ | article | ) |
EditPage::extractMetaDataFromArticle | ( | ) |
This is the function that extracts metadata from the article body on the first view.
To turn the feature on, set $wgUseMetadataEdit = true ; in LocalSettings and set $wgMetadataWhitelist to the *full* title of the template whitelist
Definition at line 234 of file EditPage.php.
References $key, $ns, $s, $t, $wgContLang, $wgMetadataWhitelist, $wgUseMetadataEdit, getContent(), and Title::newFromText().
Referenced by edit().
EditPage::getArticle | ( | ) |
Definition at line 109 of file EditPage.php.
EditPage::getBaseRevision | ( | ) |
Definition at line 2545 of file EditPage.php.
References $db, Revision::loadFromTimestamp(), and wfGetDB().
Referenced by mergeChangesInto().
EditPage::getCheckboxes | ( | &$ | tabindex, | |
$ | skin, | |||
$ | checked | |||
) |
Returns an array of html code of the following checkboxes: minor and watch.
$tabindex | Current tabindex | |
$skin | Skin object | |
$checked | Array of checkbox => bool, where bool indicates the checked status of the checkbox |
Definition at line 2146 of file EditPage.php.
References $wgUser, Xml::check(), wfMsg(), wfMsgExt(), and wfRunHooks().
Referenced by showEditForm().
EditPage::getContent | ( | $ | def_text = '' |
) |
Fetch initial editing page content.
Definition at line 117 of file EditPage.php.
References $section, $text, $wgContLang, $wgMessageCache, $wgOut, $wgParser, $wgRequest, Revision::DELETED_TEXT, getPreloadedText(), Revision::newFromId(), wfEmptyMsg(), wfMsgForContent(), wfMsgGetKey(), wfMsgNoTrans(), wfProfileIn(), and wfProfileOut().
Referenced by edit(), extractMetaDataFromArticle(), initialiseForm(), and showEditForm().
EditPage::getEditButtons | ( | &$ | tabindex | ) |
Returns an array of html code of the following buttons: save, diff, preview and live.
$tabindex | Current tabindex |
Definition at line 2188 of file EditPage.php.
References $wgLivePreview, $wgUser, doLivePreviewScript(), Xml::element(), wfMsg(), and wfRunHooks().
Referenced by showEditForm().
EditPage::getEditPermissionErrors | ( | ) | [protected] |
Definition at line 474 of file EditPage.php.
References $error, $wgUser, and wfArrayDiff2().
Referenced by edit().
static EditPage::getEditToolbar | ( | ) | [static] |
Shows a bulletin board style toolbar for common editing functions.
It can be disabled in the user preferences. The necessary JavaScript code can be found in skins/common/edit.js.
Definition at line 1993 of file EditPage.php.
References $wgContLang, $wgJsMimeType, $wgLang, $wgStylePath, and wfMsg().
Referenced by showEditForm().
EditPage::getLastDelete | ( | ) | [protected] |
Definition at line 1689 of file EditPage.php.
References $dbr, LogPage::DELETED_COMMENT, LogPage::DELETED_USER, wfGetDB(), and wfMsgHtml().
Referenced by wasDeletedSinceLastEdit().
EditPage::getPreloadedText | ( | $ | preload | ) | [protected] |
Get the contents of a page from its title and remove includeonly tags.
$preload | String: the title of the page. |
Definition at line 210 of file EditPage.php.
References $text, Title::newFromText(), and Revision::newFromTitle().
Referenced by getContent().
EditPage::getPreviewText | ( | ) |
Get the rendered text for previewing.
Definition at line 1725 of file EditPage.php.
References $obj, $wgContLang, $wgLang, $wgMessageCache, $wgOut, $wgParser, $wgRawHtml, $wgTitle, $wgUser, Title::newFromRedirectArray(), ParserOptions::newFromUser(), wfGetLangObj(), wfMsg(), wfProfileIn(), and wfProfileOut().
Referenced by livePreview(), and showEditForm().
EditPage::getTemplates | ( | ) |
Definition at line 1810 of file EditPage.php.
References $ns, and Title::makeTitle().
Referenced by showEditForm().
EditPage::importFormData | ( | &$ | request | ) |
$request |
Definition at line 543 of file EditPage.php.
References $fname, $wgLang, $wgUser, edit(), safeUnicodeInput(), tokenOk(), wfDebug(), wfProfileIn(), wfProfileOut(), and wfTimestampNow().
Referenced by edit().
EditPage::initialiseForm | ( | ) |
Initialise form fields in the object Called on the first invocation, e.g.
when a user clicks an edit link
Definition at line 1097 of file EditPage.php.
References getContent(), and wfProxyCheck().
Referenced by edit().
EditPage::internalAttemptSave | ( | &$ | result, | |
$ | bot = false | |||
) |
Attempt submission (no UI).
Definition at line 741 of file EditPage.php.
References $bot, $fname, $result, $text, $wgFilterCallback, $wgMaxArticleSize, $wgOut, $wgParser, $wgUser, matchSpamRegex(), matchSummarySpamRegex(), mergeChangesInto(), Title::newFromRedirect(), userWasLastToEdit(), wasDeletedSinceLastEdit(), wfDebug(), wfDebugLog(), wfGetIP(), wfMsgForContent(), wfProfileIn(), wfProfileOut(), wfReadOnly(), and wfRunHooks().
Referenced by attemptSave().
EditPage::livePreview | ( | ) |
Output preview text only.
This can be sucked into the edit page via JavaScript, and saves the server time rendering the skin as well as theoretically being more robust on the client (doesn't disturb the edit box's undo history, won't eat your text on failure, etc).
Definition at line 2270 of file EditPage.php.
References $s, $wgOut, Xml::element(), getPreviewText(), and Xml::tags().
Referenced by edit().
EditPage::makesafe | ( | $ | invalue | ) |
A number of web browsers are known to corrupt non-ASCII characters in a UTF-8 text editing environment.
To protect against this, detected browsers will be served an armored version of the text, with non-ASCII chars converted to numeric HTML character references.
Preexisting such character references will have a 0 added to them to ensure that round-trips do not alter the original data.
string | $invalue |
Definition at line 2361 of file EditPage.php.
Referenced by safeUnicodeOutput().
static EditPage::matchSpamRegex | ( | $ | text | ) | [static] |
Check given input text against $wgSpamRegex, and return the text of the first match.
Definition at line 1066 of file EditPage.php.
References $text, $wgSpamRegex, and matchSpamRegexInternal().
Referenced by internalAttemptSave().
static EditPage::matchSpamRegexInternal | ( | $ | text, | |
$ | regexes | |||
) | [static, protected] |
Definition at line 1083 of file EditPage.php.
References $text.
Referenced by matchSpamRegex(), and matchSummarySpamRegex().
static EditPage::matchSummarySpamRegex | ( | $ | text | ) | [static] |
Check given input text against $wgSpamRegex, and return the text of the first match.
Definition at line 1077 of file EditPage.php.
References $text, $wgSummarySpamRegex, and matchSpamRegexInternal().
Referenced by internalAttemptSave(), and Title::isValidMoveOperation().
EditPage::mergeChangesInto | ( | &$ | editText | ) |
Definition at line 1912 of file EditPage.php.
References $db, $fname, $result, getBaseRevision(), Revision::loadFromTitle(), wfGetDB(), wfMerge(), wfProfileIn(), and wfProfileOut().
Referenced by internalAttemptSave().
EditPage::noCreatePermission | ( | ) |
Definition at line 2431 of file EditPage.php.
References $wgOut, and wfMsg().
Referenced by attemptSave().
EditPage::noSuchSectionPage | ( | ) |
EditPage::previewOnOpen | ( | ) | [protected] |
Should we show a preview when the edit form is first shown?
Definition at line 517 of file EditPage.php.
References $wgRequest, and $wgUser.
Referenced by edit().
EditPage::pseudoParseSectionAnchor | ( | $ | text | ) |
EditPage::readOnlyPage | ( | $ | source = null , |
|
$ | protected = false , |
|||
$ | reasons = array() , |
|||
$ | action = null | |||
) |
Show a read-only error Parameters are the same as OutputPage:readOnlyPage() Redirect to the article page if redlink=1.
Definition at line 500 of file EditPage.php.
References $action, $source, $wgOut, and $wgRequest.
Referenced by edit().
EditPage::safeUnicodeInput | ( | $ | request, | |
$ | field | |||
) |
Filter an input field through a Unicode de-armoring process if it came from an old browser with known broken Unicode editing issues.
WebRequest | $request | |
string | $field |
Definition at line 2325 of file EditPage.php.
References $text, and unmakesafe().
Referenced by importFormData().
EditPage::safeUnicodeOutput | ( | $ | text | ) |
Filter an output field through a Unicode armoring process if it is going to an old browser with known broken Unicode editing issues.
string | $text |
Definition at line 2340 of file EditPage.php.
References $text, $wgContLang, checkUnicodeCompliantBrowser(), and makesafe().
Referenced by showTextbox().
EditPage::sectionAnchor | ( | $ | text | ) |
Format an anchor fragment as it would appear for a given section name.
string | $text |
Definition at line 1981 of file EditPage.php.
EditPage::setHeaders | ( | ) |
Definition at line 1105 of file EditPage.php.
References $msg, $title, $wgOut, $wgTitle, and wfMsg().
Referenced by showEditForm().
EditPage::showCustomIntro | ( | ) | [protected] |
Attempt to show a custom editing introduction, if supplied.
Definition at line 721 of file EditPage.php.
References $revision, $title, $wgOut, Title::newFromText(), and Revision::newFromTitle().
Referenced by showIntro().
EditPage::showDeletionLog | ( | $ | out | ) | [protected] |
If there are rows in the deletion log for this page, show them, along with a nice little note for the user.
OutputPage | $out |
Definition at line 2443 of file EditPage.php.
References $count, $out, $wgUser, LogEventsList::endLogEventsList(), SpecialPage::getTitleFor(), and wfMsgHtml().
Referenced by showIntro().
EditPage::showDiff | ( | ) |
Get a diff between the current contents of the edit box and the version of the page we're editing from.
If this is a section edit, we'll replace the section as for final save and then make a comparison.
Definition at line 2296 of file EditPage.php.
References $wgOut, and wfMsgExt().
Referenced by displayPreviewArea().
EditPage::showEditForm | ( | $ | formCallback = null |
) |
Send the edit form and related headers to $wgOut.
$formCallback | Optional callable that takes an OutputPage parameter; will be called during form output near the top, for captchas and the like. |
Definition at line 1134 of file EditPage.php.
References $action, $classes, $fname, $page, $recreate, $summary, $wgContLang, $wgLang, $wgMaxArticleSize, $wgOut, $wgParser, $wgRequest, $wgRightsText, $wgTitle, $wgUseMetadataEdit, $wgUser, Xml::checkLabel(), checkUnicodeCompliantBrowser(), Revision::DELETED_TEXT, displayPreviewArea(), END, getCheckboxes(), getContent(), getEditButtons(), getEditToolbar(), getPreviewText(), getTemplates(), Xml::hidden(), Xml::input(), makeInternalOrExternalUrl(), Xml::openElement(), setHeaders(), showEditTools(), showFormBeforeText(), LogEventsList::showLogExtract(), showTextbox1(), showTextbox2(), Xml::tags(), wasDeletedSinceLastEdit(), wfMsg(), wfMsgExt(), wfMsgForContent(), wfMsgWikiHtml(), wfProfileIn(), wfProfileOut(), wfReadOnly(), wfReadOnlyReason(), and wfRunHooks().
Referenced by edit().
EditPage::showEditTools | ( | ) | [protected] |
EditPage::showFormBeforeText | ( | ) | [protected] |
EditPage::showIntro | ( | ) | [protected] |
Show all applicable editing introductions.
Definition at line 678 of file EditPage.php.
References $username, $wgOut, $wgUser, User::idFromName(), User::isIP(), showCustomIntro(), and showDeletionLog().
Referenced by edit().
EditPage::showPreview | ( | $ | text | ) | [protected] |
Append preview output to $wgOut.
Includes category rendering if this is a category page.
string | $text The HTML to be output for the preview. |
Definition at line 1649 of file EditPage.php.
References $text, $wgOut, and wfRunHooks().
Referenced by displayPreviewArea().
EditPage::showTextbox | ( | $ | content, | |
$ | name, | |||
$ | attribs = array() | |||
) | [protected] |
Definition at line 1594 of file EditPage.php.
References $name, $wgOut, $wgUser, safeUnicodeOutput(), and Xml::textarea().
Referenced by showTextbox1(), and showTextbox2().
EditPage::showTextbox1 | ( | $ | classes | ) | [protected] |
Definition at line 1579 of file EditPage.php.
References $classes, showTextbox(), and wasDeletedSinceLastEdit().
Referenced by showEditForm().
EditPage::showTextbox2 | ( | ) | [protected] |
Definition at line 1590 of file EditPage.php.
References showTextbox().
Referenced by showEditForm().
EditPage::spamPage | ( | $ | match = false |
) |
Produce the stock "your edit contains spam" page.
$match | Text which triggered one or more filters |
Definition at line 1892 of file EditPage.php.
References $wgOut, $wgTitle, wfEscapeWikiText(), and wfMsg().
Referenced by attemptSave().
EditPage::submit | ( | ) |
EditPage::tokenOk | ( | &$ | request | ) |
Make sure the form isn't faking a user's credentials.
$request | WebRequest |
Definition at line 667 of file EditPage.php.
References $wgUser.
Referenced by importFormData().
EditPage::unmakesafe | ( | $ | invalue | ) |
Reverse the previously applied transliteration of non-ASCII characters back to UTF-8.
Used to protect data from corruption by broken web browsers as listed in $wgBrowserBlackList.
string | $invalue |
Definition at line 2403 of file EditPage.php.
References $i, $result, and codepointToUtf8().
Referenced by safeUnicodeInput().
EditPage::userNotLoggedInPage | ( | ) |
Produce the stock "please login to edit pages" page.
Definition at line 1857 of file EditPage.php.
References $wgOut, $wgTitle, $wgUser, SpecialPage::getTitleFor(), wfMsg(), wfMsgHtml(), and wfMsgWikiHtml().
Referenced by attemptSave().
EditPage::userWasLastToEdit | ( | $ | id, | |
$ | edittime | |||
) | [protected] |
Check if no edits were made by other users since the time a user started editing the page.
Limit to 50 revisions for the sake of performance.
Definition at line 1043 of file EditPage.php.
References $dbw, $edittime, $res, $row, and wfGetDB().
Referenced by internalAttemptSave().
EditPage::wasDeletedSinceLastEdit | ( | ) | [protected] |
Definition at line 324 of file EditPage.php.
References getLastDelete(), and wfTimestamp().
Referenced by internalAttemptSave(), showEditForm(), and showTextbox1().
EditPage::$action |
EditPage::$allowBlankSummary = false |
Definition at line 62 of file EditPage.php.
EditPage::$autoSumm = '' |
Definition at line 63 of file EditPage.php.
EditPage::$deletedSinceEdit = false |
Definition at line 51 of file EditPage.php.
EditPage::$didSave = false |
Definition at line 86 of file EditPage.php.
EditPage::$diff = false |
Definition at line 70 of file EditPage.php.
EditPage::$editFormPageTop |
Definition at line 78 of file EditPage.php.
EditPage::$editFormTextAfterTools |
Definition at line 82 of file EditPage.php.
EditPage::$editFormTextAfterWarn |
Definition at line 81 of file EditPage.php.
EditPage::$editFormTextBeforeContent |
Definition at line 80 of file EditPage.php.
EditPage::$editFormTextBottom |
Definition at line 83 of file EditPage.php.
EditPage::$editFormTextTop |
Definition at line 79 of file EditPage.php.
EditPage::$editintro = '' |
Definition at line 74 of file EditPage.php.
EditPage::$edittime = '' |
EditPage::$firsttime |
Definition at line 53 of file EditPage.php.
EditPage::$formtype |
Definition at line 52 of file EditPage.php.
EditPage::$hookError = '' |
Definition at line 64 of file EditPage.php.
EditPage::$isConflict = false |
Definition at line 49 of file EditPage.php.
EditPage::$isCssJsSubpage = false |
Definition at line 50 of file EditPage.php.
EditPage::$kblength = false |
Definition at line 59 of file EditPage.php.
EditPage::$lastDelete |
Definition at line 54 of file EditPage.php.
EditPage::$mArticle |
Definition at line 45 of file EditPage.php.
EditPage::$mBaseRevision = false |
Definition at line 67 of file EditPage.php.
EditPage::$minoredit = false |
Definition at line 71 of file EditPage.php.
EditPage::$missingComment = false |
Definition at line 60 of file EditPage.php.
EditPage::$missingSummary = false |
Definition at line 61 of file EditPage.php.
EditPage::$mMetaData = '' |
Definition at line 48 of file EditPage.php.
EditPage::$mParserOutput |
Definition at line 66 of file EditPage.php.
EditPage::$mTitle |
Definition at line 46 of file EditPage.php.
EditPage::$mTokenOk = false |
Definition at line 55 of file EditPage.php.
EditPage::$mTokenOkExceptSuffix = false |
Definition at line 56 of file EditPage.php.
EditPage::$mTriedSave = false |
Definition at line 57 of file EditPage.php.
EditPage::$oldid = 0 |
Definition at line 74 of file EditPage.php.
EditPage::$preview = false |
Definition at line 70 of file EditPage.php.
EditPage::$recreate = false |
EditPage::$save = false |
Definition at line 70 of file EditPage.php.
EditPage::$scrolltop = null |
Definition at line 74 of file EditPage.php.
EditPage::$section = '' |
EditPage::$starttime = '' |
Definition at line 73 of file EditPage.php.
EditPage::$summary = '' |
EditPage::$suppressIntro = false |
Definition at line 89 of file EditPage.php.
EditPage::$textbox1 = '' |
Definition at line 72 of file EditPage.php.
EditPage::$textbox2 = '' |
Definition at line 72 of file EditPage.php.
EditPage::$tooBig = false |
Definition at line 58 of file EditPage.php.
EditPage::$undidRev = 0 |
Definition at line 87 of file EditPage.php.
EditPage::$watchthis = false |
Definition at line 71 of file EditPage.php.
const EditPage::AS_ARTICLE_WAS_DELETED = 222 |
const EditPage::AS_BLANK_ARTICLE = 224 |
const EditPage::AS_BLOCKED_PAGE_FOR_USER = 215 |
const EditPage::AS_CONFLICT_DETECTED = 225 |
const EditPage::AS_CONTENT_TOO_BIG = 216 |
const EditPage::AS_END = 231 |
const EditPage::AS_FILTERING = 211 |
const EditPage::AS_HOOK_ERROR = 210 |
const EditPage::AS_HOOK_ERROR_EXPECTED = 212 |
const EditPage::AS_IMAGE_REDIRECT_ANON = 233 |
const EditPage::AS_IMAGE_REDIRECT_LOGGED = 234 |
const EditPage::AS_MAX_ARTICLE_SIZE_EXCEEDED = 229 |
const EditPage::AS_NO_CREATE_PERMISSION = 223 |
const EditPage::AS_OK = 230 |
Definition at line 39 of file EditPage.php.
const EditPage::AS_RATE_LIMITED = 221 |
const EditPage::AS_READ_ONLY_PAGE = 220 |
const EditPage::AS_READ_ONLY_PAGE_ANON = 218 |
const EditPage::AS_READ_ONLY_PAGE_LOGGED = 219 |
const EditPage::AS_SPAM_ERROR = 232 |
const EditPage::AS_SUCCESS_NEW_ARTICLE = 201 |
const EditPage::AS_SUCCESS_UPDATE = 200 |
const EditPage::AS_SUMMARY_NEEDED = 226 |
Definition at line 36 of file EditPage.php.
const EditPage::AS_TEXTBOX_EMPTY = 228 |
const EditPage::AS_USER_CANNOT_EDIT = 217 |
Definition at line 27 of file EditPage.php.