Project:Village Pump/Flow/2019/08

This page is only for discussing issues related to MediaWiki.org site.
To get help with MediaWiki software, ask on Project:Support desk.
Category:MediaWiki.org website#Village%20Pump Category:Languages pagesCategory:MediaWiki.org website#Village%20Pump

Why to create nspace:xxxxx/en as a duplicate of page nspace:xxxxx ?

Hi all, I wonder today about what is the difference between https://www.mediawiki.org/wiki/Manual:HTMLForm_Tutorial_2 and https://www.mediawiki.org/wiki/Manual:HTMLForm_Tutorial_2/en ?

I usually update the mother page of the article in english (here 30 juillet 2019 à 11:38). Then I observe that later (30 juillet 2019 à 11:40) the /EN subpage is updated automatically by FuzzyBot (30 juillet 2019 à 11:40‎ FuzzyBot discussion contributions‎ 12 005 octets -1‎ Updating to match new version of source page annuler Balise : PHP7).

As - normally (?) - there is no difference between nspace:xxxxx and nspace:xxxxx/en , couldn't the /en subpage be a simple redirection onto the EN root page ? which would reduce the amount of pages and free CPU from Fuzzybot ?

Christian Wia (talk) 08:12, 1 August 2019 (UTC)

Compare two pages. I think you get the point.
OK i have investigated and I see that the /EN page is the same as the mother page but without the tags for translation => ok. In a similar way I can then open https://www.mediawiki.org/wiki/Manual:HTMLForm_Tutorial_2/fr?action=edit => pretty fine.
Now f I take the banner :
Autres langues : Deutsch · ‎English · ‎français
one can see that the English link leads to https://www.mediawiki.org/wiki/Manual:HTMLForm_Tutorial_2 so I ask again: what is the use of the FuzzyBot /EN page ? Maybe someone can answer more deeply.
Christian Wia (talk) 18:29, 1 August 2019 (UTC)
My guess is that the /en subpage is created for convenience for when the page needs to be transcluded, then you don't need to special-case the English language, since it's also included in the language subpages. Ciencia Al Poder (talk) 18:50, 1 August 2019 (UTC)
Compare translatable templates:
Template:Bugfix transcludes Template:Bugfix/en (or its translation page if exists). Shirayuki (talk) 21:17, 1 August 2019 (UTC)
No, it transcludes only other languages, #switch provides original code from "main" page if it is not translated page. wargo (talk) 09:13, 4 August 2019 (UTC)
It is wrong. You do not understand {{#switch:<translate></translate>.
Template:Bugfix transcludes Template:Bugfix/en.
See "Templates used on this page:" section in the following page:
cannot open first line because it is locked - only accessible to admin- Christian 🇫🇷 FR 🚨 (talk) 22:07, 1 August 2019 (UTC)
Source code shoul be always wisible in "edit" mode, even when editprotected. wargo (talk) 09:08, 4 August 2019 (UTC)
... ok now, yes at the very bottom but the banner was dissuasive enough to continue Christian 🇫🇷 FR 🚨 (talk) 09:46, 4 August 2019 (UTC)
You can view and compare the source.
https://www.mediawiki.org/w/index.php?title=Special:ComparePages&page1=Template:Bugfix&page2=Template:Bugfix/en&diffmode=source Shirayuki (talk) 22:26, 1 August 2019 (UTC)
Current Translate extension is bad designed at all. This issue is the best thing you can notice ;) wargo (talk) 09:10, 4 August 2019 (UTC)

Help: <languages /> or {{languages}} ?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Some pages use

 
<languages /> (as https://www.mediawiki.org/wiki/Manual:Interface/Sidebar) 
<languages /> (as https://www.mediawiki.org/wiki/Extension:CodeMirror)
{{languages}} (as https://www.mediawiki.org/wiki/Manual:Code). 

what is the difference ? when and what to use really ? thank you.

Christian Wia (talk) 09:37, 1 August 2019 (UTC)

Manual:Code is not marked for translation. I think you get the point. Shirayuki (talk) 14:03, 1 August 2019 (UTC)
Template form is old system before extension:translate installed. The extension comes with new translation method and adds this tag to automatic generate list of languages. On pages marked to use new system you should use tag. wargo (talk) 09:06, 4 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Where to search for the translation of the text hold in gadgets ?

At the very bottom of page https://www.mediawiki.org/wiki/API:Properties/fr for example, you get a feedback request with a thumb. This is the behaviour of https://www.mediawiki.org/wiki/MediaWiki:Gadget-userfeedback.js . On my FR page the text 'We are glad that you found the documentation useful' is in EN. Where is the translation done ? or should have been done ? for my page to be coherent ? Thanks.

Christian Wia (talk) 14:51, 1 August 2019 (UTC)

Sadly, that gadget doesn't support translation (yet) Ciencia Al Poder (talk) 17:41, 1 August 2019 (UTC)
Ah, there's phab:T225995 to track this Ciencia Al Poder (talk) 17:43, 1 August 2019 (UTC)

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi all, on page https://www.mediawiki.org/wiki/Help:System_message , after T10="Finding messages and documentation" i.e. in T11, the link complete documentation in the qqq pseudo-language leads to a number of items to reread in translatewiki (...strange?) where translation language = 'documentation of the message'  ; please can anyone correct ?

How each message is used by MediaWiki, variables available, parameters used, limitations, et cetera is explained with the [<tvar|twn>//translatewiki.net/w/i.php?title=Special%3ATranslate&task=reviewall&group=core&language=qqq&limit=5000&tux=0</> complete documentation in the qqq pseudo-language] files,....

Christian Wia (talk) 12:16, 3 August 2019 (UTC)

Yes Done. "action=page" and explicit "page=" are required. Shirayuki (talk) 12:49, 3 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

help: where is "{{int| " ?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi all, on page https://www.mediawiki.org/wiki/Help:Magic_words parser functions speak of {{#foo:...}} but for my translations I often met following format with a pipe {{int|whatlinkshere} Is then 'int' still a magic word ? Manuals says adding the possible MediaWiki: prefix, but page "https://www.mediawiki.org/wiki/MediaWiki:Whatlinkshere" used to exist and has been suppressed. I m a bit lost. Where can I find the documentation to understand which parameters of 'int' are recognized or not ? Thank you.

Christian Wia (talk) 14:17, 3 August 2019 (UTC)

The pipe version is Template:Int which is actually wrapping the colon version which is the global magic word. The pipe version does work only on a wiki where such template is defined, while the magic word is always available.
Basically both approaches lead to the same result, but in some edge cases the template is more comfortable.
There are thousands over thousands of possible keywords, and every week some dozens are added and some dozens become invalid.
You may visit translatewiki: and filter for MediaWiki messages. PerfektesChaos (talk) 17:03, 3 August 2019 (UTC)
ok so for everyone to understand when you see the pipe, you go to translatewiki, hit on the 'MediaWikiproject', hit 'Translate' button, select 'ALL messages', enter your text i.e. 'whatlinkshere' in the filter box, wait among the 34700 messages .... and wait .... and wait ....
At the end you have all messages containing the string 'whatlinkshere' (today 6 occurences) so I expected to found my single word alone somewhere with its equivalent but there is no such match!
So again Question: => please can someone explain how to reach the translated text starting from the int| parameter ?
One can also request about what is the result of the template for a not translatable text. Let us say we make a mistake and write the improbable 'int|whatlinxhere' . I have made the test and reply is '⧼whatlinxhere⧽'.
Christian Wia (talk) 07:04, 4 August 2019 (UTC)
This is message name started with mediawiki: prefix. On translatewiki you can also view specific "page" for message(s) and with langcode subpage. For example: Mediawiki:whatlinkshere. wargo (talk) 09:02, 4 August 2019 (UTC)
As I said in the subject, the Mediawiki:whatlinkshere has a banner 'this page has been suppressed'. ....so what must the reader understand  ?
Cette page a été supprimée. Les journaux des suppressions, protections et déplacements pour la page sont fournis ci-dessous pour référence.
1 mars 2009 à 15:17 Toliño a supprimé la page MediaWiki:Whatlinkshere (content was: 'Was gleicht do ane?' (and the only contributor was 'Strommops'): that's not English) (remercier)
5 janvier 2007 à 23:56 MediaWiki default a supprimé la page MediaWiki:Whatlinkshere (No longer required) Christian 🇫🇷 FR 🚨 (talk) 09:18, 4 August 2019 (UTC)
Pages in the MediaWiki namespace are special. If the page does not exist or has been deleted, then it may still have content if there's a message associated with it, and it will display the default message in the wiki's content language.
As you can see, even deleted, the page displays some text. Ciencia Al Poder (talk) 09:25, 4 August 2019 (UTC)
Ok I see SOLUTION: you must NOT go on https://translatewiki.net/wiki/Mediawiki:whatlinkshere but stay on mediawiki.org.
In this case I have https://www.mediawiki.org/wiki/MediaWiki:Whatlinkshere/fr where I get "Pages liées" which is the correct answer.
... a beer now 🍺 ! Christian 🇫🇷 FR 🚨 (talk) 09:34, 4 August 2019 (UTC)
The colon version uses the user interface language .
But the pipe version always follows the page content language (for documentation use). Shirayuki (talk) 22:25, 3 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Enabling tabbedWindow Gadget on Mediawiki.org as default for on-wiki documentation

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello everyone, As part of my Google Summer of Code project, I have developed code snippets in PHP, Python and MediaWiki Javascript to demonstrate the use of MediaWiki Action API modules. All these code samples will be shown in a tabbed window in all the API module pages on MediaWiki.org like in https://test.wikipedia.org/wiki/API:Sandbox via a Gadget. This Gadget also deployed in MediaWiki.org. But it is not done yet for non-login users. For Login users, you can enable it from Special:Preferences-> Gadgets.

  1. API:Tokens
  2. API:Opensearch

After enabling the gadget, you can checkout above pages. I am looking for your suggestions and feedback to enable it for non-login users as well. So that we can do on-wiki API documentation. Thank you :) Jayprakash12345 (talk) 13:48, 4 August 2019 (UTC)

Combining the different languages into a single section on the page is a good idea since it takes up less space. MarkAHershberger(talk) 02:35, 5 August 2019 (UTC)
A couple of issues:
The table of contents of the page has now this structure:

2 Example
2.1 GET request
2.2 Response
2.3 Sample code
2.4 Python
2.5 PHP
2.6 Javascript
2.7 MediaWiki JS

  • 2.4 through 2.7 should probably be nested as child of 2.3
  • When clicking the link from the TOC to those tabbed sections, the link doesn't work. It would be good to scroll and switch to the corresponding tab, or if that's not possible, at least scroll to the section. Ciencia Al Poder (talk) 09:08, 5 August 2019 (UTC)
Weird, We have already removing the TOC link like Python, PHP and Javascript etc by the gadget as OOUI does not support to set the id of tab directly. Can you check again with hard reset? Jayprakash12345 (talk) 01:49, 6 August 2019 (UTC)
Still the same. I'm using Firefox Ciencia Al Poder (talk) 09:15, 6 August 2019 (UTC)
I don't normally use Chrome, so I visited the page in Chrome (77.0.3865.10 (Official Build) dev (64-bit)) and saw that 2.4-2.7 were still there. MarkAHershberger(talk) 16:28, 6 August 2019 (UTC)
I tested the Gadget in three different browsers, and I don't see section 2.4-2.7 show up in the TOC. More info on the browser versions:
  • Firefox: 68.0.1 (64-bit)
  • Chrome: 75.0.3770.142 (Official Build) (64-bit)
  • Safari: 12.1.1
@MarkAHershberger @Ciencia Al Poder I'm wondering if you were logged in when you tried to view the API:Tokens or API:Opensearch page in your browser. As this Gadget is not set as default / enabled for everyone, it won't work as expected if you are not logged in. User:SSethi_(WMF) 00:05, 8 August 2019 (UTC)
Yes, I'm logged in because otherwise the gadget won't run :)
Screenshots:

"Yes, I'm logged in because otherwise the gadget won't run :)"

Aha! You maybe be happy to learn, that it is possible to test gadgets whilst logged-out. See Snippets/Load JS and CSS by URL. For example https://en.wikipedia.org/wiki/Foobar?withCSS=MediaWiki:Gadget-Blackskin.css  :) –Quiddity (talk) 16:24, 8 August 2019 (UTC)
Good to know! That would have ruled out problems with gadgets by opening it as a private window :)
https://www.mediawiki.org/wiki/API:Tokens?withJS=MediaWiki:Gadget-tabbedwindow.js Ciencia Al Poder (talk) 21:10, 8 August 2019 (UTC)
Just one question more, Can you see your web console error and warnings And paste here if any? Jayprakash12345 (talk) 11:26, 8 August 2019 (UTC)
Nothing relevant.
Being curious as to what could be failing, I reviewed the code and found that my section headers had a slightly different structure than what the script expects. Then I remembered having the HeadAnchor gadget active, which is what's causing the script to not function properly. If I deactivate that gadget, it works as you described. Sorry for the confusion! Ciencia Al Poder (talk) 15:32, 8 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Manual:Recentchanges_table#rc_namespace : antagonist description 'Incorrect ....

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


On page https://www.mediawiki.org/wiki/Manual:Recentchanges_table/fr#rc_namespace , there is a floating text in english not translated : "(Incorrect. redirect table records redirect to special pages in this way as well.)" . We cannot detail a topic and declare that what we say is incorrect. Either it should be a lost comment of the ENglish page for a further documentation, or it should be translated but article need to be reformulated. Can someone clarify please ?

Christian Wia (talk) 14:35, 5 August 2019 (UTC)

I've removed that, which isn't really useful information Ciencia Al Poder (talk) 18:45, 5 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Autoconfirmed requirements

The page MediaWiki/es is protected requiring at least autoconfirmed status. Yet it was edited by an account with 0 edits on this wiki (their first edit was on that page).

What's the configuration for autoconfirmed users on this wiki? I think it should count some edits before giving the autoconfirmed status. Ciencia Al Poder (talk) 09:23, 8 August 2019 (UTC)

Looking at https://phabricator.wikimedia.org/source/mediawiki-config/browse/master/wmf-config/InitialiseSettings.php, $wgAutoConfirmAge is the default for MediaWiki, at 4 days. The $wgAutoConfirmCount is also the default, at 0. I think it would be a good idea to introduce a minimum, like the 5 required by meta:. Mainframe98 talk 09:29, 8 August 2019 (UTC)
If you request a change to the configuration on Phabricator, please link the task in the summary here. MarkAHershberger(talk) 18:19, 8 August 2019 (UTC)
Another possibility would be to require 4 days after the first edit as condition for autoconfirmed status. MGChecker (talk) 17:07, 9 August 2019 (UTC)

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


please see https://www.mediawiki.org/wiki/Skin%20talk%3AMinerva%20Neue/2019#h-Rereading%3A_red_link_found_for_MediaWiki%3ARandom-url-2019-08-11T11%3A30%3A00.000Z Christian 🇫🇷 FR 🚨 (talk) 11:40, 11 August 2019 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi all. Following page rereading I see a red link on 'suphp' of "If using suphp, make sure...." at paragraph https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Check_directory_security

Is that rather 'suPHP' ? but how can we correct ? redirect ? suppress ? Thank you. Christian 🇫🇷 FR 🚨 (talk) 12:21, 11 August 2019 (UTC)

suPHP is no longer maintained (since 2013!). Although there's a fork, I doubt people are actually using it. So I've removed all references to it Ciencia Al Poder (talk) 18:05, 11 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Manual_talk:Configuring_file_uploads + file too big : what happens ?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi all, re-reading page

https://www.mediawiki.org/wiki/Manual_talk:Configuring_file_uploads

(or other more generic to uploads) I dont see where is described the action following the upload of a too big file: is the upload rejected ? (with failure return code) or is it done with truncation to the limit size ? or is there a dialogue with user to transfer till limit or abort for this file? or ... ? Even if the answer is obvious it 'd be nice to have one simple sentence about that. Thanks.

Christian Wia (talk) 21:33, 11 August 2019 (UTC)

If the upload is too big, it is rejected. The server can often do this before any of the file is transmitted because the browser will tell the server the size before it actually sends the file. MarkAHershberger(talk) 01:23, 12 August 2019 (UTC)
By "The server can often do this" you probably wanted to say "The browser can often do this".
When it fails, the server can give multiple errors depending at which layer the limit was imposed: If it's a server limit (nginx, apache) on the maximum amount of transmitted data, it may simply fail with a HTTP 500 error or HTTP 413 – Request entity too large.
If the limit it's at the PHP level, if post_max_size is hit, you may get a generic HTTP 500 error (or simply a blank page). Otherwise, MediaWiki should give a more meaningful error message Ciencia Al Poder (talk) 09:04, 12 August 2019 (UTC)
I wait a bit and I will try to sum up all these informations ... Christian 🇫🇷 FR 🚨 (talk) 11:04, 12 August 2019 (UTC)
ok sum up as:
Browsers tell the server the size of the file to be uploaded before it actually sends the file.
If the upload is too big, it is rejected by the target (server) and the upload fails providing multiple errors depending at which layer the limit was imposed: 
* If it's a server limit (nginx, Apache) on the maximum amount of transmitted data, it may simply fail with a HTTP 500 error or HTTP 413 – Request entity too large.
* If the limit it's at the PHP level, if post_max_size is hit, you may get a generic HTTP 500 error (or simply a blank page) otherwise, MediaWiki should give a more meaningful error message.
Christian 🇫🇷 FR 🚨 (talk) 13:08, 24 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Template:Note

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


So they decided at Commons to unify files or whatever without considering that this will break a heavily used template here. I tried to fix with this edits however I obviously still do not master the TemplateStyles extensions mechanics. I figured switching to the existing file is enough. Purging and whatever does not help either. Dunno what to do?? To me this appears to be a 2 second task and yet again I already spend 10 minutes on this. I am super grumpy and look for help. Thanks [[kgh]] (talk) 23:20, 15 August 2019 (UTC)

It worked on the actual styles page (not sandbox). Maybe the sandbox doesn't work for styles? Ciencia Al Poder (talk) 09:20, 16 August 2019 (UTC)
Ah, ok, not I get this. Thanks a ton for your help! [[kgh]] (talk) 12:23, 16 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Ambigous 'upload when connected'

done, thanks Shirayuki.

At the beginning of page https://www.mediawiki.org/wiki/Manual:$wgEnableUploads we say that connected users can upload:

"...linking to the Special:Upload page. This link appears for users with the 'upload' right (logged-in users by default)."  

In my case, I am connected in https://www.mediawiki.org but I dont see the Upload link (simply because I have no access to Special:Upload). So "(logged-in users..." should be deleted to simplify; OK  ?

"...linking to the Special:Upload page. This link appears for users with the 'upload' right."

Christian Wia (talk) 11:55, 18 August 2019 (UTC)

In fact in the tool box (left side) I see 'Upload file' on the EN page and 'Importer un fichier' on the french page. As Upload is Téléverser and Import is Importer, the french text of the tool box should be changed into 'Téléverser un fichier' and thus https://www.mediawiki.org/wiki/Manual:$wgEnableUploads remains coherent. Where are translated texts for toolbar please ? Christian 🇫🇷 FR 🚨 (talk) 12:07, 18 August 2019 (UTC)
See Help:System message
ok thanks, corrected there; (not easy to find what is where). Christian 🇫🇷 FR 🚨 (talk) 12:59, 18 August 2019 (UTC)
See the edit summary of the previous revision and the discussion on French Wikipedia.
fr:Wikipédia:Le_Bistro/25_mars_2009#Etes_vous_pour_la_conservation_du_terme_.22t.C3.A9l.C3.A9verser.22_dans_la_Bo.C3.AEte_.C3.A0_outils_.3F
The customization "Téléverser" -> "Importer" should be done on French Wikipedia locally. Shirayuki (talk) 13:24, 18 August 2019 (UTC)
There is no true decision. Some say I agree others, I disagree. No real argument or clear explaination of the logic to adopt. Christian 🇫🇷 FR 🚨 (talk) 22:23, 18 August 2019 (UTC)

New tools and IP masking

14:18, 21 August 2019 (UTC)

MediaWiki message delivery (talk) 14:18, 21 August 2019 (UTC)

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


On page https://www.mediawiki.org/wiki/Manual:Cache

when accessing at bottom the link "Guide about object cache with Saetta Web Server and MediaWiki" (=> http://blog.izysoftware.com/?p=28 ) then the target is no longer existing:

blog.izysoftware.com/?p=28 =>  This Domain Has Expired, To Renew Please Contact Your Provider.

Shall I remove the reference ?

Christian Wia (talk) 18:14, 22 August 2019 (UTC)

sounds appropriate, yes. MarkAHershberger(talk) 18:48, 22 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Manual:File_cache : what happens for connected users ?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi all, on page https://www.mediawiki.org/wiki/Manual:File_cache we say at the beginning "Any subsequent requests from anonymous users are met not by rendering the page again, but by simply sending the stored HTML version which is on the disk. This saves time." but there is no explaination for what happens with connected users. Why this 'advantage' is reserved for anonymous users? do connected users also use the cache? (I hope so) and what is the process for them ? Can someone develop this to complement the paragraph? Thanks.

Christian Wia (talk) 14:20, 23 August 2019 (UTC)

Logged-in users don't benefit from this cache. Basically, because this cache consists of the entire HTML of the page. Logged-in users have difference in the HTML. The main reason is the user name present at the user links (user page, talk, etc, on vector and monobook they're at the top-right corner), and also user preferences like the selected skin, etc. Only anonymous users have the same HTML rendered, that's why this only applies to them. Ciencia Al Poder (talk) 16:34, 23 August 2019 (UTC)
marvellous ! sumed up as "The file cache serves anonymous users only and they see the same HTML rendered. Logged-in users don't benefit from this cache because their page contains user name, selected skin, etc." Christian 🇫🇷 FR 🚨 (talk) 12:37, 24 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Untranslated tab is lost once accessing 'Review translations' and translations still pending

Here for information only => see https://phabricator.wikimedia.org/T231140 Christian 🇫🇷 FR 🚨 (talk) 14:54, 24 August 2019 (UTC)

Manual:Language : wrong translatewiki.net URL to project list

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


When accessing paragraph 'Examples' in https://www.mediawiki.org/wiki/Manual:Language#Page_content_language , link https://translatewiki.net/wiki/Project_list/ar leads to the root of site translatewiki.net , instead of prodiving the list of projects in arabic. How we can transform the URL to get that ? Thanks.

Christian Wia (talk) 10:58, 27 August 2019 (UTC)

It is a redirect.
https://translatewiki.net/wiki/Project_list/ar?action=edit Shirayuki (talk) 11:15, 27 August 2019 (UTC)
Have you tried at least ?
In text "See translatewiki:Project list/ar as a translation of translatewiki:Project list. The directionality of the page is thus correctly set to right-to-left for Arabic."
the first link shows => https://translatewiki.net/wiki/Project_list/ar which is the logon page of https://translatewiki.net/
The second link acts the same way. May be some one provide a simpler example for a case always working to illustrate the topic ? Thanks. Christian 🇫🇷 FR 🚨 (talk) 11:36, 27 August 2019 (UTC)
https://translatewiki.net/wiki/Project_list?action=edit is also a redirect.
These pages were removed from translation on June 6, 2018. Shirayuki (talk) 11:42, 27 August 2019 (UTC)
The topic of the paragraph is not about redirections. The question is to provide to our readers concrete examples of what we say and not to drive them into a dead end. Please dont hurry, may be some one will provide a simpler example for a case always working to illustrate the topic ? Thanks. Christian 🇫🇷 FR 🚨 (talk) 16:39, 27 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


EMWCon Spring 2019/Dockerizing MediaWiki Setup has an incorrect link to a docker-compose.yml.j2 file. It looks like the correct link is https://github.com/dataspects/dataspectsSystem/blob/master/ansible_templates/docker-compose.yml.j2, but an abusefilter prevented the edit. 90.246.247.96 (talk) 09:01, 28 August 2019 (UTC)

Yes Done Shirayuki (talk) 09:12, 28 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Help on redirection syntax to sections of translated page

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


From page https://www.mediawiki.org/wiki/Manual:Title.php/fr I try to click on link {{PAGENAME}}.

Original form of {{PAGENAME}} is #REDIRECT Help:Magic_words#Page_names which leads to corresponding section of EN page.

I want to skip to the equivalent section but of the translated FR page.

I try #REDIRECT [[{{ll|Help:Magic_words#Page_names}}]] but it doesnt redirect.

I try #REDIRECT [[Special:myLanguage/Help:Magic_words#Page_names]] which is accepted as a redirection but doesnot jump.

What is the most clever form working ? Thanks.

Christian Wia (talk) 16:49, 29 August 2019 (UTC)

It jumps for me (opening Help:Magic_words/fr#Page_names works as expected) Ciencia Al Poder (talk) 19:26, 29 August 2019 (UTC)
I redo - and I m sorry but if I take PAGENAME in https://www.mediawiki.org/wiki/Manual:Title.php/fr as example just before getDBKey : ....y a après. Voir le mot magique {{PAGENAME}}. getDBKey()
it links to "https://www.mediawiki.org/wiki/Help:Magic_words#Page_names" and not in the FR. Can you explain what you have done ?
In other words if the contents of the redirection is "Help:Magic words#Page names" how do you explain you can access to "Help:Magic words/fr#Page names" without additional conversion ?
In clear I wish to code #REDIRECT [[{{ll|Help:Magic_words#Page_names}}]] but it is not redirecting although {{ll|Help:Magic_words#Page_names}} provides the right target. Christian 🇫🇷 FR 🚨 (talk) 19:49, 29 August 2019 (UTC)
I have fixed Manual:Title.php and Help:Magic words.
#REDIRECT does not support Special:MyLanguage. Shirayuki (talk) 22:11, 29 August 2019 (UTC)
yes better to get rid of the redirection (...) if we know directly where we are going.
I document bit this aspect of not working redirections, on page https://www.mediawiki.org/wiki/Help:Redirects Christian 🇫🇷 FR 🚨 (talk) 22:26, 29 August 2019 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Help: is there a reliable way to display system icons ?

Hi all.

I have recently documented the redirection topic on => https://www.mediawiki.org/wiki/Help:Redirects where I need to display the icon used on the redirection pages => https://www.mediawiki.org/w/resources/src/mediawiki.action/images/redirect-ltr.png

Then using {{image|file=redirect-ltr.png}} or [[File:redirect-ltr.png]] provide no satisfying results

I guess this type of icon belongs to the wiki software resources and is not a regular element of the wiki database.

So just two questions:

1. how can we display this icon ? (i.e is standard HTML <img src="" alt="" /> allowed in this wikicode ?)

2. Is it reliable to hardcoded point to 'resource' directory ? (may be in next version the icone will be in another place, or simply renamed )

Can anyone develop ? Thanks.

Christian Wia (talk) 13:23, 31 August 2019 (UTC)

Use the following code or something. Give consideration to directionality.
<ul class="redirectText">
<li>[[Page name]]</li>
</ul>
Shirayuki (talk) 14:38, 31 August 2019 (UTC)
In any case I must load the existing class redirectText for it to be defined in statement <link rel="stylesheet"...
This part is too difficult for me, and the directionality page lacks of examples. I must leave this subject postponed. Christian 🇫🇷 FR 🚨 (talk) 08:55, 1 September 2019 (UTC)
Did you test? No need to load additional style sheet.
The class redirectText is defined in mediawiki.action.view.redirectPage.css.
https://phabricator.wikimedia.org/source/mediawiki/browse/master/resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css Shirayuki (talk) 09:54, 1 September 2019 (UTC)
Of course I test before providing my arguments: on https://www.mediawiki.org/wiki/User:Wladek92/save/ I see a standard rounded bullet instead of application of corresponding class. Christian 🇫🇷 FR 🚨 (talk) 10:01, 1 September 2019 (UTC)
That CSS is on a separate file because it's only loaded on redirect pages... Ciencia Al Poder (talk) 10:07, 1 September 2019 (UTC)
Copy CSS using TemplateStyles or add as screenshot. wargo (talk) 22:32, 19 October 2019 (UTC)
Category:Languages pages Category:MediaWiki.org website