Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown conversion for ru - Replace - XPath section ⚠️ Do not squash merge ⚠️ #8601

Merged
merged 2 commits into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions files/ru/web/xpath/functions/floor/index.html

This file was deleted.

34 changes: 34 additions & 0 deletions files/ru/web/xpath/functions/floor/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Floor
slug: Web/XPath/Functions/floor
translation_of: Web/XPath/Functions/floor
original_slug: Web/XPath/Funkcje/floor
---
{{ XsltRef() }}

Функция `floor` принимает десятичное число и возвращает наибольшее целое, меньшее или равное исходному.

### Синтаксис

```
floor( number )
```

### Аргументы

- `number`
- : Десятичное число

### Возвращаемое значение

Ближайшее целое, меньшее или равное `number`.

### Определено

[XPath 1.0 4.4](http://www.w3.org/TR/xpath#function-floor)

### Поддержка Gecko

Поддерживается

{{ languages( { "fr": "fr/XPath/Fonctions/floor", "ja": "ja/XPath/Functions/floor", "pl": "pl/XPath/Funkcje/floor", "en": "en/XPath/Fonctions/floor" } ) }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this macro?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No we don't, {{languages}} can be removed (it's a source of possible later errors due to mdn/yari#4744 and #5603

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say such a removal may has its place in a "cleanup" PR. Do you want me to open a PR to remove {{languages}} for this section and rebase this current PR on top of it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. Let's do it after migration

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
translation_of: Web/XPath/Functions
original_slug: Web/XPath/Funkcje
---
<p>This page was auto-generated because a user created a sub-page to this page.</p>
This page was auto-generated because a user created a sub-page to this page.
6 changes: 0 additions & 6 deletions files/ru/web/xpath/index.html

This file was deleted.

6 changes: 6 additions & 0 deletions files/ru/web/xpath/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: XPath
slug: Web/XPath
translation_of: Web/XPath
---
This page was auto-generated because a user created a sub-page to this page.