Skip to content

Commit

Permalink
docs: Set stable permalink on markdown files
Browse files Browse the repository at this point in the history
In Doxygen 1.9.7, the URL generation logic changed such that input
files in directories (i.e. /docs/Hooks.md) are published with the
slug `md_docs_2Hooks.html` instead of `md_docs_Hooks.html`.

Change-Id: Ifeb03602452c1148bd372555bebac9922c583ac2
(cherry picked from commit 5001f91)
  • Loading branch information
Krinkle committed Mar 27, 2024
1 parent 66dada7 commit 423faa3
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/Hooks.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Hooks
Hooks {#hooks}
=====

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion docs/Language.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Language
Language {#language}
=======

The Language object handles all readable text produced by the software.
Expand Down
7 changes: 5 additions & 2 deletions docs/LinkCache.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
LinkCache {#linkcache}
========

The LinkCache class maintains a list of article titles and the information about
whether or not the article exists in the database. This is used to mark up links
when displaying a page. If the same link appears more than once on any page,
Expand All @@ -11,7 +14,7 @@ purposes of updating the link tables. This application is now deprecated.

To create a batch, you can use the following code:

~~~{.php}
```php
$pages = [ 'Main Page', 'Project:Help', /* ... */ ];
$titles = [];

Expand All @@ -22,4 +25,4 @@ foreach( $pages as $page ){
$linkBatchFactory = MediaWikiServices::getInstance()->getLinkBatchFactory();
$batch = $linkBatchFactory->newLinkBatch( $titles );
$batch->execute();
~~~
```
2 changes: 1 addition & 1 deletion docs/Skin.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Skins
Skins {#skin}
=======

## Core Skins
Expand Down
3 changes: 3 additions & 0 deletions docs/Title.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Title {#title}
========

The MediaWiki software's "Title" class represents article titles, which are used
for many purposes: as the human-readable text title of the article, in the URL
used to access the article, the wikitext link to the article, the key into the
Expand Down
3 changes: 2 additions & 1 deletion docs/contenthandler.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ContentHandler
ContentHandler {#contenthandler}
=====

The *ContentHandler* facility adds support for arbitrary content types on wiki pages, instead of relying on wikitext for everything. It was introduced in MediaWiki 1.21.

Expand Down
3 changes: 2 additions & 1 deletion docs/database.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Database Access
Database Access {#database}
=====

*Some information about database access in MediaWiki. By Tim Starling, January 2006.*

Expand Down
2 changes: 1 addition & 1 deletion docs/magicword.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Magic Words
Magic Words {#magicword}
====================================

Magic words are localizable keywords used in wikitext. They are used for many
Expand Down
4 changes: 1 addition & 3 deletions docs/memcached.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Memcached
Memcached {#memcached}
====================================

MediaWiki has optional support for memcached, a "high-performance,
Expand Down Expand Up @@ -251,5 +251,3 @@ Special:Recentchanges (feed):
calling Special:Recentchanges?action=purge&feed=rss,
Special:Recentchanges?action=purge&feed=atom,
but note need $wgGroupPermissions[...]['purge'] permission.

... more to come ...
2 changes: 1 addition & 1 deletion docs/pageupdater.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PageUpdater
PageUpdater {#pageupdater}
===========

This document provides an overview of the usage of PageUpdater and DerivedPageDataUpdater.
Expand Down
2 changes: 1 addition & 1 deletion docs/schema.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Schema
Schema {#schema}
======

The most up-to-date schema for the tables in the database
Expand Down
2 changes: 1 addition & 1 deletion docs/sitelist.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Sitelist
Sitelist {#sitelist}
========

This document describes the XML format used to represent information about external sites known to a MediaWiki installation. This information about external sites is used to allow "inter-wiki" links, cross-language navigation, as well as close integration via direct access to the other site's web API or even directly to their database.
Expand Down

0 comments on commit 423faa3

Please sign in to comment.