Revert "Allow type Language for $lang of doEditSectionLink"
This reverts commit 648491015c
.
Parent patch is being reverted since it didn't follow the
deprecation policy.
Change-Id: Id0e80bf23593d6fc7c986df7b42ff836cc24d867
This commit is contained in:
parent
53741ed02f
commit
b56e82c8a8
|
@ -245,10 +245,10 @@ class SkinMinerva extends SkinTemplate implements ICustomizableSkin {
|
||||||
* @param Title $nt
|
* @param Title $nt
|
||||||
* @param string $section
|
* @param string $section
|
||||||
* @param string|null $tooltip
|
* @param string|null $tooltip
|
||||||
* @param Language $lang
|
* @param string|bool $lang
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function doEditSectionLink( Title $nt, $section, $tooltip = null, Language $lang ) {
|
public function doEditSectionLink( Title $nt, $section, $tooltip = null, $lang = false ) {
|
||||||
if ( $this->isAllowedPageAction( 'edit' ) ) {
|
if ( $this->isAllowedPageAction( 'edit' ) ) {
|
||||||
$message = $this->msg( 'mobile-frontend-editor-edit' )->inLanguage( $lang )->text();
|
$message = $this->msg( 'mobile-frontend-editor-edit' )->inLanguage( $lang )->text();
|
||||||
$html = Html::openElement( 'span' );
|
$html = Html::openElement( 'span' );
|
||||||
|
|
Loading…
Reference in New Issue