بحث مدیاویکی:Common.css: تفاوت میان نسخه‌ها

Page contents not supported in other languages.
از ویکی‌نبشته
آخرین نظر: ۱ سال پیش توسط Arlolra در مبحث Update for T314318
محتوای حذف‌شده محتوای افزوده‌شده
Mardetanha (بحث | مشارکت‌ها)
←‏Update for T314318: بخش جدید
خط ۱۰۹: خط ۱۰۹:
--[[کاربر:Yoosef Pooranvary|یوسف]] ([[بحث کاربر:Yoosef Pooranvary|بحث]]) ‏۴ ژوئن ۲۰۱۹، ساعت ۰۷:۳۴ (UTC)
--[[کاربر:Yoosef Pooranvary|یوسف]] ([[بحث کاربر:Yoosef Pooranvary|بحث]]) ‏۴ ژوئن ۲۰۱۹، ساعت ۰۷:۳۴ (UTC)
:{{شد}}، لطفا بررسی کنید ببنید درست کار می‌کند یا نه '''[[کاربر:Mardetanha|<span style="color: #084C9E">م‍</span><span style="color: #4682b4">‍رد</span><span style="color: #6495ED">تن‍</span><span style="color: #4682b4">‍ه‍</span><span style="color: #084C9E">‍ا</span>]]''' ‏۴ ژوئن ۲۰۱۹، ساعت ۱۱:۰۹ (UTC)
:{{شد}}، لطفا بررسی کنید ببنید درست کار می‌کند یا نه '''[[کاربر:Mardetanha|<span style="color: #084C9E">م‍</span><span style="color: #4682b4">‍رد</span><span style="color: #6495ED">تن‍</span><span style="color: #4682b4">‍ه‍</span><span style="color: #084C9E">‍ا</span>]]''' ‏۴ ژوئن ۲۰۱۹، ساعت ۱۱:۰۹ (UTC)

== Update for T314318 ==

Please make changes like the following,

https://it.wikipedia.org/w/index.php?title=MediaWiki%3ACommon.css&type=revision&diff=130152006&oldid=127986303

For more information, see [[mw:Parsoid/Parser_Unification/Media_structure/FAQ]]

Thanks, [[کاربر:Arlolra|Arlolra]] ([[بحث کاربر:Arlolra|بحث]]) ‏۲ فوریهٔ ۲۰۲۳، ساعت ۲۰:۵۸ (UTC)

نسخهٔ ‏۲ فوریهٔ ۲۰۲۳، ساعت ۲۰:۵۸

خواهشمندم کد زیر را که در الگوی سرصفحه۲ کاربرد دارد به این فایل اضافه کنید:

table.headertemplate {
	width:100%;
	margin-bottom:5px;
	border:1px solid #ADA;
	background:#E4F2E4;
	text-align:center;
	font-size:0.9em;
}
.headertemplate .header_backlink,
.headertemplate .header_forelink {
	width:20%;
	font-size:0.9em;
	line-height:normal;
}
.header_notes {
	width:100%;
	margin-bottom:0.5em;
	background:#FAFAFF;
	border-bottom:1px solid #A88;
	font-size:0.9em;
}
.headertemplate .header_title { width: 60%; }
.headertemplate .header_backlink { text-align:left; }
.headertemplate .header_forelink { text-align:right; }

خیلی ممنون. --یوسف ‏۲۶ اوت ۲۰۰۹، ساعت ۱۱:۲۴ (UTC)پاسخ

لطفاً کد زیر که مربوط به {{اطلاعات متن}} است را هم به این فایل بیفزایید:

/*********
** Most-used standard templates
*********/
/* TextInfo template */
.textinfo
{
 margin: 1px;
 padding: 1px;
 border: 1px solid #0E8605;
 background-color: #B0E0A0;
 text-align: right;
}
.textinfo th
{
 background-color: #0E8605;
 text-align: center;
 font-weight: normal;
 color: #FFF;
}
.textinfo td
{
 background-color: #C6FFC6;
}

ممنون. --یوسف (بحث) ‏۸ آوریل ۲۰۱۳، ساعت ۱۳:۲۵ (UTC)پاسخ

External links icons removed

Hello! If this CSS adds or modifies icons shown after external links, you'll be interested in knowing that such icons have been removed from MediaWiki core, a change which will reach this wiki in few days. You may want to consider whether you still need them. If you have questions, please ask at bugzilla:63725. Regards, Nemo ‏۱۰ آوریل ۲۰۱۴، ساعت ۰۹:۴۵ (UTC)پاسخ

پیغام در صفحهٔ ویرایش

آقایان @Pedram.salehpoor: یا @Mardetanha:: خواهشمندم کد زیر را که برای قرار دادن پیغام در صفحه‌های ویرایش کاربرد دارد به این فایل اضافه کنید:

/* global mw, $ */
// Editing-related javascripts
if (mw.config.get("wgAction") === "edit" || mw.config.get("wgAction") === "submit" || mw.config.get("wgCanonicalSpecialPageName") === "Upload") {
  /* scripts specific to editing pages */
  importScript("مدیاویکی:Common.js/edit.js");
}
/** Magic editintros ****************************************************
 *
 *  Description: Adds editintros on disambiguation pages and BLP pages.
 *  Maintainers: [[User:RockMFR]]
 */
function addEditIntro(name) {
  $(".mw-editsection, #ca-edit").find("a").each(function(i, el) {
    el.href = $(this).attr("href") + "&editintro=" + name;
  });
}

if (mw.config.get("wgNamespaceNumber") === 0) {
  $(function() {
    if (document.getElementById("disambigbox")) {
      addEditIntro("Template:Disambig_editintro");
    }
  });

  $(function() {
    var cats = mw.config.get("wgCategories");
    if (!cats) {
      return;
    }
    if ($.inArray("آثار تصحیحی", cats) !== -1) {
      addEditIntro("Template:BLP_editintro");
    }
  });
}

--یوسف (بحث) ‏۴ ژوئن ۲۰۱۹، ساعت ۰۷:۳۴ (UTC)پاسخ

، لطفا بررسی کنید ببنید درست کار می‌کند یا نه م‍‍ردتن‍‍ه‍‍ا ‏۴ ژوئن ۲۰۱۹، ساعت ۱۱:۰۹ (UTC)پاسخ

Update for T314318

Please make changes like the following,

https://it.wikipedia.org/w/index.php?title=MediaWiki%3ACommon.css&type=revision&diff=130152006&oldid=127986303

For more information, see mw:Parsoid/Parser_Unification/Media_structure/FAQ

Thanks, Arlolra (بحث) ‏۲ فوریهٔ ۲۰۲۳، ساعت ۲۰:۵۸ (UTC)پاسخ