Index: branches/wmf-deployment/docs/hooks.txt |
— | — | @@ -689,6 +689,10 @@ |
690 | 690 | $title: title of page being edited |
691 | 691 | &$msg: localization message name, overridable. Default is either 'copyrightwarning' or 'copyrightwarning2' |
692 | 692 | |
| 693 | +'EditPageNoSuchSection': When a section edit request is given for an non-existent section |
| 694 | +&$editpage: The current EditPage object |
| 695 | +&$res: the HTML of the error text |
| 696 | + |
693 | 697 | 'EditPageTosSummary': Give a chance for site and per-namespace customizations |
694 | 698 | of terms of service summary link that might exist separately from the copyright |
695 | 699 | notice. |
— | — | @@ -1108,6 +1112,7 @@ |
1109 | 1113 | 'PageHistoryLineEnding' : right before the end <li> is added to a history line |
1110 | 1114 | $row: the revision row for this line |
1111 | 1115 | $s: the string representing this parsed line |
| 1116 | +$classes: array containing the <li> element classes |
1112 | 1117 | |
1113 | 1118 | 'PageHistoryPager::getQueryInfo': when a history pager query parameter set |
1114 | 1119 | is constructed |
Property changes on: branches/wmf-deployment/docs |
___________________________________________________________________ |
Name: svn:mergeinfo |
1115 | 1120 | + /branches/REL1_15/phase3/docs:51646 |
/trunk/phase3/docs:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816,59718,60760,61189 |
Index: branches/wmf-deployment/includes/EditPage.php |
— | — | @@ -1952,7 +1952,10 @@ |
1953 | 1953 | $wgOut->setRobotPolicy( 'noindex,nofollow' ); |
1954 | 1954 | $wgOut->setArticleRelated( false ); |
1955 | 1955 | |
1956 | | - $wgOut->addWikiMsg( 'nosuchsectiontext', $this->section ); |
| 1956 | + $res = wfMsgExt( 'nosuchsectiontext', 'parse', $this->section ); |
| 1957 | + wfRunHooks( 'EditPageNoSuchSection', array( &$this, &$res ) ); |
| 1958 | + $wgOut->addHTML( $res ); |
| 1959 | + |
1957 | 1960 | $wgOut->returnToMain( false, $wgTitle ); |
1958 | 1961 | } |
1959 | 1962 | |
Property changes on: branches/wmf-deployment/includes/EditPage.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
1960 | 1963 | - /branches/REL1_15/phase3/includes/EditPage.php:51646 |
/branches/wmf-deployment/includes/EditPage.php:53381 |
/trunk/phase3/includes/EditPage.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,56478,57154-57447,57530,57541,57602,57916,58151,58219,58633,58816,60704,61557 |
1961 | 1964 | + /branches/REL1_15/phase3/includes/EditPage.php:51646 |
/branches/wmf-deployment/includes/EditPage.php:53381 |
/trunk/phase3/includes/EditPage.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,56478,57154-57447,57530,57541,57602,57916,58151,58219,58633,58816,60704,60760,61189,61557 |
Index: branches/wmf-deployment/includes/HistoryPage.php |
— | — | @@ -541,7 +541,7 @@ |
542 | 542 | $classes = array_merge( $classes, $newClasses ); |
543 | 543 | $s .= " $tagSummary"; |
544 | 544 | |
545 | | - wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s ) ); |
| 545 | + wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s, &$classes ) ); |
546 | 546 | |
547 | 547 | $attribs = array(); |
548 | 548 | if ( $classes ) { |
Property changes on: branches/wmf-deployment/includes/HistoryPage.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
549 | 549 | - /branches/REL1_15/phase3/includes/PageHistory.php:51646 |
/trunk/phase3/includes/HistoryPage.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57470,57530,57541,57602,57916,58151,58219,58633,58816,60704,61557 |
550 | 550 | + /branches/REL1_15/phase3/includes/PageHistory.php:51646 |
/trunk/phase3/includes/HistoryPage.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57470,57530,57541,57602,57916,58151,58219,58633,58816,60704,60760,61189,61557 |
Property changes on: branches/wmf-deployment/includes |
___________________________________________________________________ |
Name: svn:mergeinfo |
551 | 551 | - /branches/REL1_15/phase3/includes:51646 |
/branches/wmf-deployment/includes:53381 |
/trunk/phase3/includes:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57530,57541,57602,57916,58151,58219,58633,58816,59718,60704,61557 |
552 | 552 | + /branches/REL1_15/phase3/includes:51646 |
/branches/wmf-deployment/includes:53381 |
/trunk/phase3/includes:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57530,57541,57602,57916,58151,58219,58633,58816,59718,60704,60760,61189,61557 |