Wikibooks:Reading room/Technical Assistance

From Wikibooks, open books for an open world
Jump to: navigation, search
Replacement filing cabinet.svgArchivesWikibooks Discussion Rooms
Discussions Assistance Requests
General | Proposals | Projects | Featured books General | Technical | Administrative Deletion | Undeletion | Import | Permissions

Welcome to the Technical Assistance reading room. Get assistance on questions related to MediaWiki markup, CSS, JavaScript, and such as they relate to Wikibooks. This is not a general-purpose technical support room.

To submit a bug notice or feature request for the MediaWiki software, visit Phabricator.

To get more information about the MediaWiki software, or to download your own copy, visit MediaWiki

There are also two IRC channels for technical help: #mediawiki for issues about the software, and #wikimedia-tech for WMF server or configuration issues.

Creating Book Pages[edit]

I am a new user and I am still not familiar with how to correctly create pages in a book. I received this as a comment: Pages should be created as a subpage - e.g,. "Book Name" and "Book Name/Chapter Name" and NOT as "Chapter Name".

It seems that the pages are fixed. Can I create /Chapter Name/ instead? Is this equivalent to Book Name/Chapter Name? --Rjbfigueroa (discusscontribs)

Renaming Book Pages[edit]

How do I rename a Book Page? When I change the name of the Book Page, it seems that the link to the old page is broken and I have copy the old content to the new page that was created as a result of renaming. TIA!

--Rjbfigueroa (discusscontribs)

@Rjbfigueroa: Can you give an example of a page you wanted to move, and where you wanted to move it to, so we can see what happened?

Fwiw, here's how to move a page, if you're using Vector skin (in the desktop interface, rather than the mobile one): View the page you want to move (not its talk page). There should be a control bar at the top of the browser, and way over on the far right of it there should be a dropdown menu. The only option on that menu should be either "rename" or "move"; use that. --Pi zero (discusscontribs)

I cannot reviewe pages anymore[edit]

Is this a bug? PokestarFan • Talk • Contributions 00:14, 3 March 2018 (UTC)

@PokestarFan: Hi. I had to look this up in the user rights log. It seems QU removed your reviewer rights on 12 December, with log comment "Removing reviewer flag. Repeated bad edits being autoreviewed and needing subsequent fixes". --Pi zero (discusscontribs) 00:39, 3 March 2018 (UTC)
That's right. With hundreds of semi automated bad edits still waiting to be fixed, I removed the flag to prevent further damage. Your bot like activities were accepting previous vandalism edits requiring hand fixing and you were unresponsive to requests to stop.

I was considering blocking you actually but settled for damage limitation. If you agree to not use automated edits via your account then you can have the flag back. QuiteUnusual (discusscontribs) 21:44, 4 March 2018 (UTC)

@QuiteUnusual: Ok I will promise not to do bot-like activities. PokestarFan • Talk • Contributions 15:51, 18 March 2018 (UTC)
I like to bring an example. There were few chess articles that had a backlog in special:pendingchanges and were edited by you after a few ip edits. That range of IP users, now globally blocked, had entered malware links amid other, although somewhat decent, edit. You're edits was an impediment from my outright rejecting the (pending) malware edits. I had to go into the history, reject the Ip edits, and accept your.. That was a bit of a trip. Artix Kreiger (discusscontribs) 17:27, 8 March 2018 (UTC)

Please test pings in edit summary[edit]

1. Read this:

"You can notify users in edit summaries. They will get a ping just as if they had been mentioned on a wiki page. phab:T32750"-- meta:Tech/News/2018/10

2. Sign up at using a different user name and password (not the one you use here). You may create multiple accounts if you like, just put a note on their user pages.

3. Edit a page and put a username link in edit summary. Confirm that you are receiving the notification correctly.

4. Test at different pages and in different ways.

5. Report bugs to Phabricator.

6. Share this comment with other people on other wikis, in different languages.

--Gryllida (talk) 23:53, 8 March 2018 (UTC)

Template for cover page[edit]

Do you have a template for cover page which can have contents and cover image in itself. The template should be like these templates but applicable for the first page of the book. I need to translate it for Persian Wikibooks. --Doostdar (discusscontribs) 16:46, 9 March 2018 (UTC)

@Doostdar: Fwiw, if I understand what you're asking (misunderstandings are easy), I don't know of such a thing. Note, there's no one way that all our books handle covers. Afaik, some books don't really have a cover image; on some books the main page of the book (the one whose name is the name of the book) has the cover image and the table of contents; on some books, the main page has the cover image while the TOC is on a separate page; on some books, the main page has the TOC while the cover image is on a separate page. --Pi zero (discusscontribs) 18:06, 9 March 2018 (UTC)
Yes, today it's made like this: The Cold War/Cover or like that: Inkscape/Print version. JackPotte (discusscontribs) 19:19, 9 March 2018 (UTC)
Too bad. It seems that Wikibooks needs such a template. --Doostdar (discusscontribs) 08:10, 10 March 2018 (UTC)
@Doostdar: I do not entirely understand what sort of template you are asking for. It's true, as I've mentioned, that we do not have one single format that all books use; but even if you are describing something that only some of our books would want to use, I'm not sure what it is. Is there an example somewhere of the sort of thing you have in mind? --Pi zero (discusscontribs) 11:27, 10 March 2018 (UTC)
@Pi zero: As we have some default templates for navigation in middle pages of the book, the first page can have predefined templates too. I don't have a specific algorithm for the fore-page in my mind but something like this can be O.K. It has title, preface for the readers, cover image, printable version, pdf version, chapters, caption for each chapter, other images. Apart from, it has two labels, one for development stage and one as featured badge. --Doostdar (discusscontribs) 13:27, 10 March 2018 (UTC)
@Doostdar: This is where I admit I start getting uncomfortable. The variety of ways a book main page might be formatted is really unbounded. A favorite of mine (I partly redesigned it myself a few years ago) is this; but even that is just something that worked for the particular book. And there is always a bit of a learning curve to using a template in the first place, and for overall formatting of a page like this there's a lot of inflexibility implied by a template. So we'd be saying, put in effort to learn to only be allowed to do it a certain way, instead of designing your own book main page. I could imagine this as a task for a semi-automated assistant. --Pi zero (discusscontribs) 14:44, 10 March 2018 (UTC)

Notification from edit summary[edit]

We need your feedback to improve Lua functions[edit]


If you’re regularly using Lua modules, creating and improving some of them, we need your feedback! The Wikidata development team would like to provide more Lua functions, in order to improve the experience of people who write Lua scripts to reuse Wikidata's data on the Wikimedia projects. Our goals are to help harmonizing the existing modules across the Wikimedia projects, to make coding in Lua easier for the communities, and to improve the performance of the modules.

We would like to know more about your habits, your needs, and what could help you. We have a few questions for you on this page.

Thanks a lot for your help, Lea Lacroix (WMDE) (discusscontribs) 08:52, 27 March 2018 (UTC)

Internal Links within a Chapter[edit]

Somehow I cannot figure out how to do internal links. I have added a short subsection :

At the end of that, I would like to link to a subsequent section :

I though that the format would be more or less this: ProxyCommand with Netcat

However, that gives me a "redlink" rather than a link to the existing subsection.

What have I missed? —Preceding unsigned comment added by Larsnooden (discusscontribs) 03:59, 14 April 2018

Looks as if you've omitted the Cookbook part of the page name, in between OpenSSH and Proxies and Jump Hosts. This should do it:
[[OpenSSH/Cookbook/Proxies and Jump Hosts#ProxyCommand with Netcat|ProxyCommand with Netcat]]
which produces
ProxyCommand with Netcat
--Pi zero (discusscontribs) 04:49, 14 April 2018 (UTC)
That was it. Thanks. I'm not sure how I omitted that and didn't notice. Larsnooden (discusscontribs) 04:58, 14 April 2018 (UTC)