Manual:Hooks/ArticleContentOnDiff/ar

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
ArticleContentOnDiff
<translate> Available from <tvar name=1><translate> version <tvar </tvar></translate>
قبل عرض محتوى المقالة أسفل الاختلافات.
<translate> Define function:</translate>
public static function onArticleContentOnDiff( $diffEngine, $output ) { ... }
<translate> Attach hook:</translate> <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
	"Hooks": {
		"ArticleContentOnDiff": "MediaWiki\\Extension\\MyExtension\\Hooks::onArticleContentOnDiff"
	}
}
<translate> Called from:</translate> <translate> File(s):</translate> diff/DifferenceEngine.php
<translate> Interface:</translate> ArticleContentOnDiffHook.php

<translate> For more information about attaching hooks, see <tvar name=1>دليل:وصلات </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:ArticleContentOnDiff extensions/ar</tvar>.</translate>

التفاصيل

استخدمه كي تغيّر المحتوى في هذه المساحة أو كيفية تحميله.

  • $diffEngine - هو DifferenceEngine
  • $output - هو عنصر OutputPage في (‎$wgOut )